From: Sebastian Hungerecker Date: 2007-09-17T18:09:18+09:00 Subject: Re: Representing arrow keys in a string 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