* [Comm] управление диалоговыми утилитами
@ 2003-07-30 15:22 "Евгений В.Хорохорин"
2003-07-31 1:26 ` nikodim
2003-07-31 4:37 ` Yevgeniy Bazhenov
0 siblings, 2 replies; 3+ messages in thread
From: "Евгений В.Хорохорин" @ 2003-07-30 15:22 UTC (permalink / raw)
To: community
Приветствую!
Имеется утилита (ontape), которая обязательно требует нажать кнопку ентер для начала работы. Как можно автоматизировать процесс, чтобы запускать например ее по крону.
Подскажите пожалуйста!
--
С уважением, Genix!
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Comm] управление диалоговыми утилитами
2003-07-30 15:22 [Comm] управление диалоговыми утилитами "Евгений В.Хорохорин"
@ 2003-07-31 1:26 ` nikodim
2003-07-31 4:37 ` Yevgeniy Bazhenov
1 sibling, 0 replies; 3+ messages in thread
From: nikodim @ 2003-07-31 1:26 UTC (permalink / raw)
To: community
> Имеется утилита (ontape), которая обязательно требует нажать кнопку ентер
> для начала работы. Как можно автоматизировать процесс, чтобы запускать
> например ее по крону.
Например так:
echo "" | /usr/local/bin/programma
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Comm] управление диалоговыми утилитами
2003-07-30 15:22 [Comm] управление диалоговыми утилитами "Евгений В.Хорохорин"
2003-07-31 1:26 ` nikodim
@ 2003-07-31 4:37 ` Yevgeniy Bazhenov
1 sibling, 0 replies; 3+ messages in thread
From: Yevgeniy Bazhenov @ 2003-07-31 4:37 UTC (permalink / raw)
To: community
[-- 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 --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-07-31 4:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-30 15:22 [Comm] управление диалоговыми утилитами "Евгений В.Хорохорин"
2003-07-31 1:26 ` nikodim
2003-07-31 4:37 ` Yevgeniy Bazhenov
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