[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#15575: 24.3.50; New tty menus crash Emacs

From: martin rudalics
Subject: 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]