screen-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sending arrow keys to a session


From: Stephane Chazelas
Subject: Re: sending arrow keys to a session
Date: Fri, 12 Jan 2007 15:55:03 +0000
User-agent: Mutt/1.5.6i

On Fri, Jan 12, 2007 at 10:40:53AM -0500, Jason wrote:
> Anyone?  Anything?  I haven't heard a word on this.  Is it at least 
> possible?
> 
> On 12/28/06, Jason <address@hidden> wrote:
> >To send regular keys to a screen session externally I can do:
> >
> >screen -S sessionname -X eval 'stuff "asdf"'
> >
> >But how can I send the arrow keys?
> >
> >screen -S sessionname -X eval 'stuff "\033[A"'
> >
> >Doesn't appear to do the job.
[...]

Just send the real characters:

With zsh, ksh93 or bash:

screen -X stuff $'\e[A'

-- 
St├ęphane




reply via email to

[Prev in Thread] Current Thread [Next in Thread]