Sebastian Hungerecker
9/17/2007 9:09:00 AM
Arindam Goswami wrote:
> Is there any way to represent the arrow keys in the string that I am
> sending to the remote machine?
Typing gets in irb and then hitting the four arrow keys (in the order up,
down, right, left) (and then enter) gives me:
"\e[A\e[B\e[C\e[D\n"
HTH,
Sebastian
--
Jabber: sepp2k@jabber.org
ICQ: 205544826