Running M-x terminal, I got "stty: standard input: Inappropriate ioctl for device".
"tail -f" is really an example. I need to find out a way to stop a running process on the shell.
From: Dieter Wilhelm <dieter@duenenhof-wilhelm.de>
To: "song chang" <songchang@hotmail.com>
CC: dsoliver@earthlink.net, help-gnu-emacs@gnu.org
Subject: Re: question on Ctrl-C
Date: Thu, 24 Aug 2006 07:44:36 +0200
>"song chang" <songchang@hotmail.com> writes:
>
> > I started a shell (cygwin/bash) under emacs, and run a "tail -f". Now I want to stop the tail process. Ctrl-C doesn't work and Ctrl-G doesn't work either.
>
>Please try either M-x terminal (instead of M-x shell) for running
>"tail -f" (or better "less -F") or even better: Open the respective
>file with the CVS Emacs 22 and use the auto-revert-tail-mode.
>
From: "dsoliver@earthlink.net" <dsoliver@earthlink.net>
> > To: help-gnu-emacs@gnu.org
> > Subject: Re: question on Ctrl-C
> > Date: 23 Aug 2006 19:02:25 -0700
> > >
> > >song chang wrote:
> > > > I am using GNU emacs 21.3.1 and cygwin/bash shell on Win 2000. Ctrl-C or
> > > > Ctrl-C Ctrl-C doesn't kill the process. I also tried different combinations,
> > > > for example Ctrl-Q Ctrl-C etc, none works. Any idea? Thanks.
> > >
> > >Song, I'm not exactly sure what you are asking looking at the other
> > >responses. If you simply want to stop a process that was started in
> > >Emacs, try C-g. That's the usual way to do that in a Linux environment.
> > >Are you trying to shut down Emacs? Good luck--Douglas
> > >
> > >_______________________________________________
> > >help-gnu-emacs mailing list
> > >help-gnu-emacs@gnu.org
> > >http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
> >
> > _______________________________________________
> > help-gnu-emacs mailing list
> > help-gnu-emacs@gnu.org
> > http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
>
>--
> Best wishes
>
> H. Dieter Wilhelm
> Darmstadt, Germany