Re: putting ascii keys in a script

2004-12-09 Thread martin f krafft
also sprach Robert Vangel [EMAIL PROTECTED] [2004.12.09.0154 +0100]: what about echo -e \n echo -e \012 (that's octal) -- Please do not send copies of list mail to me; I read the list! .''`. martin f. krafft [EMAIL PROTECTED] : :' :proud Debian developer, admin, user, and

Re: putting ascii keys in a script

2004-12-09 Thread Frank Gevaerts
On Thu, Dec 09, 2004 at 09:29:06AM +0100, martin f krafft wrote: also sprach Robert Vangel [EMAIL PROTECTED] [2004.12.09.0154 +0100]: what about echo -e \n echo -e \012 (that's octal) IIRC the OP wanted character 13, that is \r or \015 Frank -- Please do not send copies of list

Re: putting ascii keys in a script

2004-12-09 Thread Matt Zagrabelny
On Wed, 2004-12-08 at 18:38 -0600, Michael Martinell wrote: I have a script that I need to send an enter keystroke with. perhaps the 'expect' package? -- matt zagrabelny -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

putting ascii keys in a script

2004-12-08 Thread Michael Martinell
I have a script that I need to send an enter keystroke with. On the keyboard I can do alt + 013 which is the ascii code for the enter key. I wanted to put this into my script using vi. Any suggestions for an escape-type sequence that will record the keystroke and not cause vi to interpret it as

Re: putting ascii keys in a script

2004-12-08 Thread Robert Vangel
Michael Martinell wrote: I have a script that I need to send an enter keystroke with. On the keyboard I can do alt + 013 which is the ascii code for the enter key. I wanted to put this into my script using vi. Any suggestions for an escape-type sequence that will record the keystroke and not

Re: putting ascii keys in a script

2004-12-08 Thread Richard Hector
On Thu, Dec 09, 2004 at 08:54:52AM +0800, Robert Vangel wrote: Michael Martinell wrote: I have a script that I need to send an enter keystroke with. On the keyboard I can do alt + 013 which is the ascii code for the enter key. I wanted to put this into my script using vi. Any suggestions