unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* suspend-tty
@ 2008-10-10 15:21 Eli Zaretskii
  2008-10-10 17:15 ` suspend-tty Stefan Monnier
  0 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2008-10-10 15:21 UTC (permalink / raw)
  To: emacs-devel

Does anyone know what is the purpose of suspend-tty?  (Please don't
tell "to stop I/O from/to a terminal", since that just repeats the
name of the function.)  IOW, under what circumstances would a Lisp
program want to do that, and what could be then done with the terminal
which Emacs ``suspended''?

I tried invoking suspend-tty on a GNU/Linux machine, and the terminal
just got hang, the only thing I could do is abort Emacs.  (If I had
another tty open in the same session, I understand I could resume-tty,
but that doesn't really answers my question.)  I thought suspend-tty
would leave the terminal free for use by other programs, but it sounds
like I misunderstood?

The only non-trivial user of suspend-tty is server.el, but the new
functionality that uses it is completely undocumented, both in the
code, in NEWS and in the manuals, and the semantics of using this API
evaded me.

Can someone give a hint?

TIA




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-10-11  3:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-10 15:21 suspend-tty Eli Zaretskii
2008-10-10 17:15 ` suspend-tty Stefan Monnier
2008-10-10 18:39   ` suspend-tty Eli Zaretskii
2008-10-11  3:32     ` suspend-tty Stefan Monnier
2008-10-10 18:39   ` suspend-tty Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).