[Top][All Lists]

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

Re: no up arrow command history

From: Chris Jones
Subject: Re: no up arrow command history
Date: Mon, 24 Dec 2012 14:43:14 -0500
User-agent: Mutt/1.5.21 (2010-09-15)

On Mon, Dec 24, 2012 at 09:25:23AM EST, Eric Smith wrote:

> > > For more than a year now, screen does not give me the option
> > > of cycling through history with the up/down arrows in colon
> > > mode.
> > >
> > > Till now I was not sure if this was a blessing or a curse.
> > > Now I want it back.
> >
> Thanks Aaron
> I just saw this now for the first time!.
> > what's your TERM setting?
> address@hidden ~] $ echo $TERM
> xterm-256color

When running the command under screen..?


| % screen -T screen-256color

Probably won't make any difference.. but 256-color xterm and screen do
have somewhat different capabilities.

You could also look for any additional termcap command in your screenrc
and perhaps check out the ‘dumptermcap’ screen command in the manual..

> > what happens if you type Ctrl-v, then up-arrow? the most common result
> > is "^[[A".
> ^[OA
> > these are the sort of things that screw up arrow-based history in the
> > shell, they might affect screen as well

Also.. are there any commands in your history..?

Contrary to shells, screen does not sport a history file.. So, you're
only able to recall commands issued during the current session.. screen
silently does nothing when you hit up/down arrows and your history list
is empty.

Anyway, just to let you know that this works out of the box here with
recent versions of GNU/screen, xterm, & terminfo. 

If you can't think of anything else, maybe try a debian.. ubuntu.. etc.
live CD. If it works, you might want to compare the versions of the
different components involved..? 


Focus follow mouse users will burn in hell!!!

reply via email to

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