Article View: gnu.emacs.help
Article #189818Re: tcsh under emacs
From: Kimmo Suominen
Date: Fri, 02 Nov 1990 10:18
Date: Fri, 02 Nov 1990 10:18
30 lines
1953 bytes
1953 bytes
>>>>> On 25 Oct 90 21:46:15 GMT, egsirer@burn.Princeton.EDU (Emin Gun Sirer) said:
Emin> I have a problem running tcsh under emacs. I cannot get the
Emin> file-completion feature of tcsh to work within emacs. I am not
I think emacs sends the whole input line to the shell when you press
return. So, you are not interactively talking to the shell, but
instead isolated from it by emacs.
I use the elisp code called filec-shell. Here's a name I managed to
find from the elisp file.
;; File-completion-in-shell-mode by Shinichirou Sugou 90/6/8
;; shin%sgtp.apple.juice.or.jp@uunet.uu.net
It works great with me, and I bound the keys it provides to TAB and
C-c ? instead of the META keys it used (if I remember correctly).
Here's a caption of my emacs definitions:
(load "filec-shell" nil t)
(setq shell-mode-hook
'(lambda ()
(define-key shell-mode-map "\C-i" 'my-shell-complete)
(define-key shell-mode-map "\C-c\?" 'my-shell-completion-help)))
If you can't get the elisp file from any real elisp archive, drop me a
line.
--
Kim / Internet: Kimmo.Suominen@lut.fi
"That's what I think." / Bitnet: KIM@FINFILES
Technical Details
Message-ID:
<KIMMO.SUOMINEN.90Nov2111852@kannel.lut.fi>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!sunic!news.funet.fi!kannel!Kimmo.SuominenReferences:
<3593@idunno.Princeton.EDU>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103b8b,36710d1e682df5c6 X-Google-Attributes: gid103b8b,public X-Google-ArrivalTime: 1990-11-02 02:18:52 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!sunic!news.funet.fi!kannel!Kimmo.Suominen From: Kimmo.Suominen@lut.fi (Kimmo Suominen) Newsgroups: gnu.emacs.help Subject: Re: tcsh under emacs Message-ID: <KIMMO.SUOMINEN.90Nov2111852@kannel.lut.fi> Date: 2 Nov 90 10:18:52 GMT References: <3593@idunno.Princeton.EDU> Sender: kim@lut.fi (Kimmo Suominen) Organization: Lappeenranta University of Technology, Finland Lines: 30 Posted: Fri Nov 2 11:18:52 1990 In-Reply-To: egsirer@burn.Princeton.EDU's message of 25 Oct 90 21:46:15 GMT Disclaimer: These are my opinions unless otherwise stated