Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

<Ctrl>D in Shell Mode

698 views
Skip to first unread message

Jega Aravandy

unread,
May 19, 1998, 3:00:00 AM5/19/98
to

How can I send a <Ctrl>D when in a Emacs shell mode?
I start a c shell in Emacs using M-x shell. Some of the PVCS
Version Manager commands need a <Ctrl>D at the end to
complete it. However the shell in Emacs ignores the <Ctrl>D?
Any idea on how I can send the <Ctrl>D command?
Thanks.

--
Jega Aravandy
AddVal Technology Inc.
je...@addval.com (408) 524 6301


Edward Arthur

unread,
May 19, 1998, 3:00:00 AM5/19/98
to Jega Aravandy

Did you try <Ctrl>Q<Ctrl>D???

/Ed

Jega Aravandy wrote:

> How can I send a <Ctrl>D when in a Emacs shell mode?
> I start a c shell in Emacs using M-x shell. Some of the PVCS
> Version Manager commands need a <Ctrl>D at the end to
> complete it. However the shell in Emacs ignores the <Ctrl>D?
> Any idea on how I can send the <Ctrl>D command?
> Thanks.

--
Edward S. Arthur e...@ultranet.com http://www.ultranet.com/~eda

Ping Huang

unread,
May 19, 1998, 3:00:00 AM5/19/98
to Jega Aravandy

> How can I send a <Ctrl>D when in a Emacs shell mode? I start a c
> shell in Emacs using M-x shell. Some of the PVCS Version Manager
> commands need a <Ctrl>D at the end to complete it. However the shell
> in Emacs ignores the <Ctrl>D? Any idea on how I can send the <Ctrl>D
> command?

C-h m to see shell-mode's help, which explicitly mentions how to
forcibly send the EOF character through to the shell or program
that the shell is running.

(I don't seem to need to do anything special to get C-d to be
recognized by the shell or programs run by the shell. Your mileage
clearly varies in this case.)

--
Ping Huang <psh...@sgi.com> | Silicon Graphics, Inc., Mountain View, CA
http://web.mit.edu/pshuang/.plan PGP: 1906684DD1537EC4 30876EACC18ADFC5
Disclaimer: unless explicitly otherwise stated, my
statements represent my personal viewpoints only.


Geoffrey S Knauth

unread,
May 19, 1998, 3:00:00 AM5/19/98
to

Jega Aravandy <je...@addval.com> writes:
>How can I send a <Ctrl>D when in a Emacs shell mode?

Try: C-c C-d

--
Geoffrey S. Knauth <gkn...@bbn.com> <http://world.std.com/~gsk/>

0 new messages