GNU bug report logs - #15575
24.3.50; New tty menus crash Emacs

Previous Next

Package: emacs;

Reported by: Jan Djärv <jan.h.d <at> swipnet.se>

Date: Wed, 9 Oct 2013 17:07:01 UTC

Severity: normal

Found in version 24.3.50

Done: Jan Djärv <jan.h.d <at> swipnet.se>

Bug is archived. No further changes may be made.

Full log


Message #136 received at 15575 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 15575 <at> debbugs.gnu.org
Subject: Re: bug#15575: 24.3.50; New tty menus crash Emacs
Date: Wed, 16 Oct 2013 20:45:08 +0200
>> (gdb) tty /dev/pts/3
>
> What is /dev/pts/3?  It should name an existing terminal.

It is an existing terminal where I did tty before ...

>> (gdb) show inferior-tty
>> Terminal for future runs of program being debugged is "/dev/pts/3".

... and the last line confirms it because it wouldn't say that if the
terminal did not exist.

>> (gdb) run -Q -nw
>> Starting program: /home/martin/emacs/trunk/src/bootstrap-emacs -Q -nw
>> [Thread debugging using libthread_db enabled]
>> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
>> [New Thread 0x7fffefd46700 (LWP 4629)]
>> [Thread 0x7ffff7fcd960 (LWP 4626) exited]
>> (gdb)
>>
>> ... and it still tells me that my terminal is dumb.
>
> Not sure why is dumb terminal relevant here.

That's what gdb told me.  Probably because I used -nw.

> Anyway, AFAIK the way to do this is as follows:
>
>  gdb ./emacs
>  (gdb) tty /dev/SOMETHING
>  (gdb) r -Q -t /dev/SOMETHING
>
> (Not sure if -t /dev/SOMETHING is necessary.)
>
> But there seems to be some bug (or feature) in Emacs: it says "emacs:
> Could not open file: /dev/tty" and quits.

Same here.

martin




This bug report was last modified 11 years and 215 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.