unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kai Grossjohann <kai@emptydomain.de>
Subject: Re: is easy to get hung in infinite ^G stream; how to stop it?
Date: Fri, 28 May 2004 10:22:50 +0200	[thread overview]
Message-ID: <86brk9nep1.fsf@rumba.de.uu.net> (raw)
In-Reply-To: c93vha$eav$1@reader2.panix.com

dkcombs@panix.com (David Combs) writes:

> And Kai wants me to use eshell -- but I'm used to csh/tcsh, and
> *really, really* don't want to get into bash, and am not sure just
> what I must do to my .cshrc to adjust it for eshell, and the
> info-doc that comes with eshell seems *really* lacking in anything
> useful as far as how to actually *use* the thing (esp for a
> csh-user), ...

Yes, eshell definitely needs more documentation.

But simple usage should be, well, simple.  For instance, to find a
word in a file, type

    grep word file.txt

at the shell prompt, just like you would with another shell.

The result will be quite different, though ;-)  That is the beauty
about eshell...

> (using vi as the example to get the ^G^G... stuff is only showing an
> easy way to get into the situation -- of course, that's not what I
> actually do, when I *inadvertently* trigger it -- actually, I have
> little idea of what I did to cause it -- can't even do a "C-h l" at
> that time, to see what I've recently entered as keystrokes.)

Hm.  If C-c C-c (which is like Ctrl-C in a "normal" shell) doesn't
stop the program, then perhaps C-c C-z (which is like Ctrl-Z in a
"normal" shell) can interrupt it.  After C-c C-z, you can use the
usual "kill %1" thing to kill the process.

Does this help?

Kai

  parent reply	other threads:[~2004-05-28  8:22 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-25  6:28 is easy to get hung in infinite ^G stream; how to stop it? David Combs
2004-04-25  6:57 ` David Combs
2004-04-25 14:04 ` Barry Margolin
2004-05-25 23:45   ` David Combs
2004-05-26  4:31     ` Barry Margolin
2004-05-26 22:00       ` David Combs
2004-05-26 22:15         ` Stefan Monnier
2004-05-27  5:49           ` David Combs
2004-05-27  6:56             ` Barry Margolin
2004-05-27 19:34             ` Stefan Monnier
2004-05-28  8:22             ` Kai Grossjohann [this message]
2004-04-25 17:06 ` Kai Grossjohann
2004-05-25  6:31   ` David Combs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86brk9nep1.fsf@rumba.de.uu.net \
    --to=kai@emptydomain.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).