* How to put emacs in fg if it was run by "xterm -e emacs -nw"
@ 2005-11-29 12:55 Chenfu.Wang
2005-11-29 16:09 ` Peter Dyballa
0 siblings, 1 reply; 8+ messages in thread
From: Chenfu.Wang @ 2005-11-29 12:55 UTC (permalink / raw)
Hi,
Run "xterm -e emacs -nw" and then press "Ctrl + Z". Is there way to put emacs back to foreground?
Br,
- Chenfu
^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <mailman.17184.1133268938.20277.help-gnu-emacs@gnu.org>]
* Re: How to put emacs in fg if it was run by "xterm -e emacs -nw"
[not found] <mailman.17184.1133268938.20277.help-gnu-emacs@gnu.org>
@ 2005-11-29 14:08 ` Pascal Bourguignon
2005-11-29 14:34 ` Stein Arild Strømme
2005-11-29 22:51 ` Ilya Zakharevich
2 siblings, 0 replies; 8+ messages in thread
From: Pascal Bourguignon @ 2005-11-29 14:08 UTC (permalink / raw)
<Chenfu.Wang@nokia.com> writes:
> Run "xterm -e emacs -nw" and then press "Ctrl + Z". Is there way to
> put emacs back to foreground?
Depends on your shell.
man $(basename $SHELL)
search for job control commands.
--
__Pascal Bourguignon__ http://www.informatimago.com/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: How to put emacs in fg if it was run by "xterm -e emacs -nw"
[not found] <mailman.17184.1133268938.20277.help-gnu-emacs@gnu.org>
2005-11-29 14:08 ` Pascal Bourguignon
@ 2005-11-29 14:34 ` Stein Arild Strømme
2005-11-29 22:51 ` Ilya Zakharevich
2 siblings, 0 replies; 8+ messages in thread
From: Stein Arild Strømme @ 2005-11-29 14:34 UTC (permalink / raw)
[Chenfu Wang]
| Hi,
|
| Run "xterm -e emacs -nw" and then press "Ctrl + Z". Is there way to
| put emacs back to foreground?
fg
SA
--
Stein Arild Strømme +47 55584825, +47 95801887
Universitetet i Bergen Fax: +47 55589672
Matematisk institutt www.mi.uib.no/stromme/
Johs Brunsg 12, N-5008 BERGEN stromme@mi.uib.no
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: How to put emacs in fg if it was run by "xterm -e emacs -nw"
[not found] <mailman.17184.1133268938.20277.help-gnu-emacs@gnu.org>
2005-11-29 14:08 ` Pascal Bourguignon
2005-11-29 14:34 ` Stein Arild Strømme
@ 2005-11-29 22:51 ` Ilya Zakharevich
2005-11-29 22:59 ` Matthieu Moy
2 siblings, 1 reply; 8+ messages in thread
From: Ilya Zakharevich @ 2005-11-29 22:51 UTC (permalink / raw)
[A complimentary Cc of this posting was sent to
<Chenfu.Wang@nokia.com>], who wrote in article <mailman.17184.1133268938.20277.help-gnu-emacs@gnu.org>:
> Run "xterm -e emacs -nw" and then press "Ctrl + Z". Is there way to put =
> emacs back to foreground?
[Please disregard the BS in the earlier answers to your post (there is
no shell in the picture).]
I do not think you have a chance; this is a serious bug in the design
of TTYs (it should have been the shell who enables SUSP tty setting,
not the creator of TTY). I think I saw something in XTerm changelog
http://dickey.his.com/xterm/xterm.log.html
to address this shortcoming. You may also try disabling tty's SUSP
setting from inside emacs in this situation:
xterm -e env NO_SHELL=yes emacs -nw
and check for NO_SHELL in your .emacs (do not know how to do analogue
of stty from within emacs; of couse, you can call stty directly).
Hope this helps,
Ilya
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: How to put emacs in fg if it was run by "xterm -e emacs -nw"
2005-11-29 22:51 ` Ilya Zakharevich
@ 2005-11-29 22:59 ` Matthieu Moy
0 siblings, 0 replies; 8+ messages in thread
From: Matthieu Moy @ 2005-11-29 22:59 UTC (permalink / raw)
Ilya Zakharevich <nospam-abuse@ilyaz.org> writes:
> [A complimentary Cc of this posting was sent to
>
> <Chenfu.Wang@nokia.com>], who wrote in article <mailman.17184.1133268938.20277.help-gnu-emacs@gnu.org>:
>> Run "xterm -e emacs -nw" and then press "Ctrl + Z". Is there way to put =
>> emacs back to foreground?
>
> [Please disregard the BS in the earlier answers to your post (there is
> no shell in the picture).]
Actually, on my machine, C-z doesn't suspend Emacs when started with
xterm -e emacs -nw.
> I do not think you have a chance;
I think "kill -CONT pid-of-emacs" should do it.
--
Matthieu
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: How to put emacs in fg if it was run by "xterm -e emacs -nw"
@ 2005-11-30 7:17 Chenfu.Wang
0 siblings, 0 replies; 8+ messages in thread
From: Chenfu.Wang @ 2005-11-30 7:17 UTC (permalink / raw)
Cc: help-gnu-emacs
It happens for me now and then that I press Ctrl + Z when I want Ctrl + X...
That's annoying because I was editing some document and was stopped by C + z.
Br,
- Chenfu
> -----Original Message-----
> From: Peter_Dyballa@Web.DE [mailto:Peter_Dyballa@Web.DE]
> Sent: 29 November, 2005 18:09
> To: Wang Chenfu (Nokia-TP/Tampere)
> Cc: help-gnu-emacs@gnu.org
> Subject: Re: How to put emacs in fg if it was run by "xterm -e emacs
> -nw"
>
>
>
> Am 29.11.2005 um 13:55 schrieb <Chenfu.Wang@nokia.com>:
>
> > Run "xterm -e emacs -nw" and then press "Ctrl + Z". Is there way to
> > put emacs back to foreground?
> >
>
> Have you tried fg? Being foreground? It depends on the shell ...
>
>
> BTW: why do you press C-z? GNU Emacs has a much more
> comfortable shell
> ...
> --
> Greetings
>
> Pete
>
> The day Microsoft makes something that doesn't suck is the day they
> start selling vacuum cleaners.
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <mailman.17297.1133335134.20277.help-gnu-emacs@gnu.org>]
end of thread, other threads:[~2005-11-30 8:14 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-29 12:55 How to put emacs in fg if it was run by "xterm -e emacs -nw" Chenfu.Wang
2005-11-29 16:09 ` Peter Dyballa
[not found] <mailman.17184.1133268938.20277.help-gnu-emacs@gnu.org>
2005-11-29 14:08 ` Pascal Bourguignon
2005-11-29 14:34 ` Stein Arild Strømme
2005-11-29 22:51 ` Ilya Zakharevich
2005-11-29 22:59 ` Matthieu Moy
-- strict thread matches above, loose matches on Subject: below --
2005-11-30 7:17 Chenfu.Wang
[not found] <mailman.17297.1133335134.20277.help-gnu-emacs@gnu.org>
2005-11-30 8:14 ` Pascal Bourguignon
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).