Using commands with clogin that require confirmation

Saku Ytti saku+rancid at ytti.fi
Mon Oct 3 15:21:59 UTC 2005


On (2005-10-03 16:09 +0100), Jee Kay wrote:

> Is there any way to force clogin to, fx, wait 1 second, hit enter, and
> _then_ expect the prompt again? I've tried various combinations of -c
> 'clear count;;' but it doesn't seem to send anything until it has seen
> a new prompt.

 Waiting probably doesn't work, but \r should work. You should have
all in one line, until you're back in the prompt.

-- 
  ++ytti



More information about the Rancid-discuss mailing list