emacs shell mode

Forum Index » Forums » Programming and Development
Author Message
Joined: Jun 30, 2008
Posts: 148
Other Topics
Posted Oct 28, 2008 at 2:11:27 AM
Subject: emacs shell mode
Hi. I've been using Emacs (and loving it) for several months now. I learned the other day how to make an emacs window enter shell mode (M-x shell). I was wondering -- is it possible to make that window act a little bit more "shell-like", and less "emacs-like"? For example, in normal shell pressing 'up' causes the last command to be brought up -- but in emacs that takes me to the previous line on the screen.

PerlCoder (http://indicium.us)

Back to top Profile Email Website
proopnarine

Joined Apr 03, 2008
Posts: 590
Location:San Francisco

Other Topics
Posted: Oct 28, 2008 3:11:09 AM
Cool! Good for you. Emacs rules. I think that the command you want is M-p (Alt+p on my system).

Take the red pill

Climate Change Blog

Food Weblog

Back to top Profile Email Website
PerlCoder
Joined Jun 30, 2008
Posts: 148

Other Topics
Posted: Oct 28, 2008 5:10:44 PM
Thanks! That helps. I also tried M-n and that cycles forward through the history list, which is also helpful.

PerlCoder (http://indicium.us)

Back to top Profile Email Website
proopnarine

Joined Apr 03, 2008
Posts: 590
Location:San Francisco

Other Topics
Posted: Oct 29, 2008 4:07:09 AM
Good. I think, and I mean think, that p=previous and n=next. But, why would anyone expect something so logical in Emacs? :-)

Take the red pill

Climate Change Blog

Food Weblog

Back to top Profile Email Website
Forum Index » Forums » Programming and Development