Mercurial > emacs
view lisp/toolbar/exit.xpm @ 83032:b8237c556f0e
Fix the case when emacsclient is run on Emacs's controlling tty.
src/term.c (O_NOCTTY): Make sure it's defined.
(no_controlling_tty): New variable.
(init_initial_display, mark_ttys): Remove unused variable.
(term_init): Check that the given filename is a terminal device.
Dissociate the controlling terminal if we reopen it for other purposes.
(Reported by Dan Nicolaescu <dann at ics dot uci dot edu>.
(Fdelete_tty): Return nil.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-72
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Mon, 02 Feb 2004 22:09:56 +0000 |
parents | 8f4a34146a9d |
children |
line wrap: on
line source
/* XPM */ static char *magick[] = { /* columns rows colors chars-per-pixel */ "24 24 6 1", " c Gray0", ". c #ae6e66e76a0a", "X c #c6c67d7d8181", "o c #cdcd86868989", "O c #e4e4e4e4dcdc", "+ c None", /* pixels */ "++++++++++++++++++++++++", "++++++++++++++++++++++++", "++++++++++++++++++++++++", "++++++++++++++++++++++++", "++++++++++++++++++++++++", "++++++++++ +++++", "++++++++++ OOOOOO +++++", "++++++++++ OOOOOO +++++", "++++++++ OOOOOO +++++", "++++++++ . OOOOOO +++++", "+++ .X OO O +++++", "+++ ......Xo O O +++++", "+++ ......Xo OOOO +++++", "+++ .X OOOOO +++++", "++++++++ . OOOOOO +++++", "++++++++ OOOOOO +++++", "++++++++++ OOOO +++++", "++++++++++ OO +++++", "++++++++++ +++++", "++++++++++++++++++++++++", "++++++++++++++++++++++++", "++++++++++++++++++++++++", "++++++++++++++++++++++++", "++++++++++++++++++++++++" };