[konsole] [Bug 462495] Konsole need to implement openpty mode to support gdb's --tty option

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Fri Dec 9 23:17:08 GMT 2022


https://bugs.kde.org/show_bug.cgi?id=462495

--- Comment #10 from ninjalj at gmail.com ---
(In reply to chiheng.xu from comment #8)
> (In reply to ninjalj from comment #7)
> > Sorry, that should have been:
> > 
> > konsole --hold -e 'sh -c "/usr/bin/tty > konstty"'
> 
> Have you tried that ? On windows using mintty, this method does not work
> perfectly.
> sometimes the program(emacs) does not respond.

I don't use windows. With this method, you will need to wait for konsole/mintty
to open the pty pair and execute 'sh -c "/usr/bin/tty > konstty"'. E.g: you
could remove the "konstty" file, and wait for it to have a valid terminal name.

On my testing, I have not seen any problem debugging emacs.

Note that there may be unavoidable problems with SIGINT, see
https://lwn.net/Articles/909496/

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list