Screen and VI

Chris Hill chris at
Sat May 24 16:17:04 PDT 2003

On Sat, 24 May 2003, Aaron Peterson wrote:

> > > Anyone know why, while in screen if i move the cursor (arrow key on 
> > > keyboard) right i get the letter C ? (inside vi)
> > -- 
> > I've personally been wondering why some keys don't seem to work for me
> > at the console or anywhere else for freebsd.  the primary offenders are
> > the non-alphanumerics like backspace often gives me "~" instead of a
> > backspace, The home/end pgup/pgdown and arrow keys in vi give me fits,
> > etc...  did i choose the wrong keyboard type at some point?  i've looked
> > through the keyboard configuration options in sysinstall but other
> > choices seemed worse rather than better. i don't think that's what i'm
> > looking for is it?
> > 
> > aaron
> --
> okay, a little white lie there -->  del produces the "~"s not backspace :)

It seems that many people, using many editors, often have trouble with
the Insert, Delete, Home, End, PgUp and PgDn keys. I think this may have
something to do with the fact that Unix editors generally were designed
for use with a terminal, which doesn't have these keys.

Unfortunately I can't offer any idea why the arrow keys don't work
properly - they always have for me - but I generally don't even try to
use the Silly Six keys in any Unix editor. Instead, I use the
Ctrl-whatever keys that the editor wants (e.g., ^V in pico rather than
PgDn, or shift-A in vi rather than End). 

Chris Hill               chris at
**                     [ Busy Expunging <|> ]

More information about the freebsd-questions mailing list