*BSD News Article 60660


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!metro!metro!news.cs.su.oz.au!inferno.mpx.com.au!news.mel.aone.net.au!imci4!imci5!suck-feed.internetmci.com!news.internetMCI.com!newsfeed.internetmci.com!in2.uu.net!newsfeed.pitt.edu!news.pgh.net!usenet
From: Jim Durham <durham>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Up arrow command recall
Date: 5 Feb 1996 01:42:23 GMT
Organization: Pittsburgh OnLine, Inc.
Lines: 24
Message-ID: <4f3n9v$api@dropit.pgh.net>
References: <310E3D29.4824@cs.montana.edu>
NNTP-Posting-Host: w2xo.pgh.pa.us
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 1.1N (X11; I; BSD/386 uname failed)
To: ashworth@cs.montana.edu
X-URL: news:310E3D29.4824@cs.montana.edu

Justin Ashworth <ashworth@cs.montana.edu> wrote:
>Does anybody know of a way to get the up arrow key to work as a command 
>recall method in FreeBSD 2.10? I know this is something that comes with 
>the Linux package, but haven't gotten it to work in FreeBSD yet...
>
>E-mail response if possible...
>Thanks!
>	
Use the tcsh shell in the "emacs" command mode. The up and down arrows
work just fine to zing you up and down through the command history, plus,
if you know emacs, you can edit old command lines. The left and right
arrows also work to move you back and forth in the line. Curiously, the
DEL key does not work, you have to use control-D . Insert is automatic,
so that works.

I never investigated this before I saw your posting, but I suspected it
would work..and it does.
-- 
You should be able to do some good with keymaps to customize the keys,
since the tcsh shell will basically do what you want with the right
key strokes, like fixing DEL to generate control-D.

-Jim Durham