From: Ilya Zakharevich <nospam-abuse@ilyaz.org>
Subject: Re: How to put emacs in fg if it was run by "xterm -e emacs -nw"
Date: Tue, 29 Nov 2005 22:51:40 +0000 (UTC) [thread overview]
Message-ID: <dmim1s$2lqr$1@agate.berkeley.edu> (raw)
In-Reply-To: mailman.17184.1133268938.20277.help-gnu-emacs@gnu.org
[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
next prev parent reply other threads:[~2005-11-29 22:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.17184.1133268938.20277.help-gnu-emacs@gnu.org>
2005-11-29 14:08 ` How to put emacs in fg if it was run by "xterm -e emacs -nw" Pascal Bourguignon
2005-11-29 14:34 ` Stein Arild Strømme
2005-11-29 22:51 ` Ilya Zakharevich [this message]
2005-11-29 22:59 ` Matthieu Moy
[not found] <mailman.17297.1133335134.20277.help-gnu-emacs@gnu.org>
2005-11-30 8:14 ` Pascal Bourguignon
2005-11-30 7:17 Chenfu.Wang
-- strict thread matches above, loose matches on Subject: below --
2005-11-29 12:55 Chenfu.Wang
2005-11-29 16:09 ` Peter Dyballa
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='dmim1s$2lqr$1@agate.berkeley.edu' \
--to=nospam-abuse@ilyaz.org \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.