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

Re: problem with keys in shell



On Fri, Dec 19, 2003 at 12:13:10PM -0500, ScruLoose wrote:
> On Fri, Dec 19, 2003 at 10:13:23AM +0100, Jeroen Keppens wrote:
> > Hi,
> > 
> > I've been looking for a solution for something (I think) must be easily
> > solved. On a few of our servers when we type up/down we scroll in a list of
> > previous command, home/end brings us to the beginning and the end of the
> > line. On some other servers this doesn't work. For each of those commands a
> > "~" is printed to the screen.
> 
> I don't actually know why home/end would work on some systems and not
> others, but if you get in the habit of using CTRL-a and CTRL-e instead,
> I _think_ that should work consistently.
> I suppose you could be clever and keymap home and end to CTRL-a and
> CTRL-e if you wanted, but I don't know the details, and that might be
> annoying if you try to use home and end in other contexts.
> 
> 	Cheers!
> -- 
Hi all,
the keystrokes that work on the commandline are SET in you 'set'
environment.
type:
set -o
if you say:
set -o vi
you will have vi keybindings.
if youu say
set -o emacs
you will have emacs keybindings.
-Kev

Attachment: signature.asc
Description: Digital signature


Reply to: