GNU bug report logs -
#57434
28.1.91; Terminal Emacs Mac OS flickering.
Previous Next
Full log
View this message in rfc822 format
Eli Zaretskii <eliz <at> gnu.org> writes:
>> but then Emacs gets stuck. Maybe it's a bug in LLDB.
>
> Is this specific to -nw sessions? If so, maybe LLFB has a command
> similar to GDB's "set new-console 1"? That's what I do to make sure
> the console used by GDB doesn't get messed up by the terminal setup
> used by Emacs to prepare the terminal for itself. Like this:
>
> $ gdb ./emacs
> ...
> (gdb) set new-console 1
> (gdb) r -Q -nw
>
> Then Emacs gets a new console for its TTY frame, while GDB retains its
> original console.
That was an excellent hint, thanks!
The following seems to work:
cd src
lldb emacs
b main
process launch --tty -- -nw -Q
LLDB then opens a new terminal window with a working Emacs in it,
and stops at main in the original window. One can interrupt the running
Emacs by issuing
process interrupt
in the LLDB terminal window and so on. The process launch --tty instead
of run is key here.
This bug report was last modified 219 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.