SLUG Mailing List Archives
Re: [SLUG] ask emacs(get the previous command )
- To: henry <henry@xxxxxxxxxxxxxx>
- Subject: Re: [SLUG] ask emacs(get the previous command )
- From: Jessica Mayo <jm-slug@xxxxxxxxxxxxxxxxxxxxx>
- Date: Mon Jun 3 20:37:01 2002
- Cc: slug@xxxxxxxxxxx
On Mon, 3 Jun 2002, henry wrote:
> Dear list :
> I enter shell in emacs by
> M-x shell .
> but I found that I cant get the previous command by press ^ (up-arrow) , or like doskey in DOS
> Is there experienced emacs-user can share their experience ?
I am by no means an experienced emacs user (but I know what it is. :)
Emacs style key bindings are VERY common, however.
Cursor movement usually goes along the lines of CTRL-P for previous line,
CTRL-N for next line, CTRL-B to move cursor backwards, and CTRL-F to move
Try CTRL-N and CTRL-P. :)
This is how I use Bash on terminals with broken cursor key emulations, and
without resorting to VI mode. (yuk :)
-- Jessica Mayo.
(Everything with a Grin :)