From: "Yevgeniy Bazhenov" <bazhen@mail.kz>
To: community@altlinux.ru
Subject: Re: [Comm] управление диалоговыми утилитами
Date: Thu, 31 Jul 2003 11:37:17 +0700
Message-ID: <20030731113717.1c809217.bazhen@mail.kz> (raw)
In-Reply-To: <E19hsmT-000CDJ-00.horohorinev-mail-ru@f25.mail.ru>
[-- Attachment #1: Type: text/plain, Size: 396 bytes --]
On Wed, 30 Jul 2003 19:22:21 +0400
"Евгений В.Хорохорин" <horohorinev@mail.ru> wrote:
> Приветствую!
>
> Имеется утилита (ontape), которая обязательно требует нажать кнопку ентер для начала работы.
> Как можно автоматизировать процесс, чтобы запускать например ее по крону.
>
> Подскажите пожалуйста!
С помощью expect. Смотрите пример во вложении
(написано, наверное, ужасно, но работает;)
[-- Attachment #2: exp_ontape --]
[-- Type: application/octet-stream, Size: 1645 bytes --]
prev parent reply other threads:[~2003-07-31 4:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-30 15:22 "Евгений В.Хорохорин"
2003-07-31 1:26 ` nikodim
2003-07-31 4:37 ` Yevgeniy Bazhenov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030731113717.1c809217.bazhen@mail.kz \
--to=bazhen@mail.kz \
--cc=community@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git