unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Disabling command completion in eshell?
@ 2004-09-25 12:05 bgm-rao
  2004-09-25 17:02 ` Kai Grossjohann
  0 siblings, 1 reply; 2+ messages in thread
From: bgm-rao @ 2004-09-25 12:05 UTC (permalink / raw)



How do I disable completion on a eshell prompt? 
If I launch an interactive program from within eshell, 
I find that program's command completion is disabled. Is there a way to 
work-around to ensure that programs started out of eshell behave the 
way they do from within a normal tcsh xterm?

-Madhu
-- 
_________________________________________
DSP Design, Texas Instruments, Bangalore.
E-mail: bgm-rao@ti.com
Phone : +91-80-5099799

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Disabling command completion in eshell?
  2004-09-25 12:05 Disabling command completion in eshell? bgm-rao
@ 2004-09-25 17:02 ` Kai Grossjohann
  0 siblings, 0 replies; 2+ messages in thread
From: Kai Grossjohann @ 2004-09-25 17:02 UTC (permalink / raw)


bgm-rao@ieee.org writes:

> How do I disable completion on a eshell prompt? 

This won't work for the question you have.

> If I launch an interactive program from within eshell, 
> I find that program's command completion is disabled. Is there a way to 
> work-around to ensure that programs started out of eshell behave the 
> way they do from within a normal tcsh xterm?

The problem is that eshell is not a normal terminal.  In a normal
terminal, every keypress, including TAB, is sent to the application
right away.  In eshell, however, stuff you type is sent to the
application en bloc when you hit RET.

But you can run your program with M-x term RET.  That sends every
keypress directly to the application.

Eshell also knows to invoke M-x term RET automatically for some
programs, such as vi.  So you could hook into that mechanism to invoke
term for your program, too.

Kai

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-09-25 17:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-25 12:05 Disabling command completion in eshell? bgm-rao
2004-09-25 17:02 ` Kai Grossjohann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).