Path: utzoo!attcan!uunet!lll-winken!ames!mailrus!csd4.milw.wisc.edu!bbn!gateway!RELAY.NSWC.NAVY.MIL!dsill From: dsill@RELAY.NSWC.NAVY.MIL Newsgroups: comp.emacs Subject: ksh shell enhancements Message-ID: <37314@bbn.COM> Date: 16 Mar 89 13:42:23 GMT Sender: news@bbn.COM Organization: BBN news/mail gateway Lines: 60 >Do any of you have the ksh >style enhancement to shell.el? Dave Sill? which one of the various >shell.el enhancements adds [kt]sh style command line history editing >to shell.el? I have a copy of Wolfgang Rupprecht's ksh enhancements: shellext 87-10-12 W. Rupprecht, Ksh-like extensions to shell. Excerpted from his posting: ;This is a ksh-like extention to shell.el. These extentiions implement ;command history (backwards, forwards, back-search, forward-srearch), ;filename completion, and history printout for an emacs shell window. ;The one glaring difference between this and ksh, is that all of the ;shell-mode commands are bound to the Control-C prefix map. (Eg. ;previous command is C-c C-p). ; ;The full list of shell commands is: ; ; C-c C-a shell-beginning-of-line ; C-c C-c interrupt-shell-subjob ; C-c C-d shell-send-eof ; C-c C-h Prefix Command ; C-c TAB shell-filename-expand ; C-c RET shell-push-input ; C-c C-n shell-next-command ; C-c C-o kill-output-from-shell ; C-c C-p shell-previous-command ; C-c C-r shell-history-search-backward ; C-c C-s shell-history-search-forward ; C-c C-u kill-shell-input ; C-c C-w backward-kill-word ; C-c C-x Prefix Command ; C-c C-y copy-last-shell-input ; C-c C-z stop-shell-subjob ; C-c ESC Prefix Command ; C-c C-\ quit-shell-subjob ; C-c [ show-output-from-shell ; C-c h shell-list-history ; ;This is a diff for shell.el(18.49) (to add a few hooks, and some ;personal bug-fixes/hacks) and a file shellext.el, which does the real ;work. ; ;This basic code has been running on 18.26 as well as 18.49, so you ;shouldn't have much trouble, even on older emacses. I'll be happy to send it out to anyone who provides me with an adequate address or uunet-based path. ========= /* * This means that the return which is executed * immediately after the call to artu actually returns * from the last routine which did the savu. * * You are not expected to understand this. */ -- Comment in UNIX Sixth Ed. Kernel