Page MenuHomeFreeBSD

vt: resolve conflict between VT_ALT_TO_ESC_HACK and DBG
ClosedPublic

Authored by kevans on Nov 6 2020, 3:08 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jul 1, 5:26 PM
Unknown Object (File)
Sun, Jun 30, 9:02 AM
Unknown Object (File)
Sat, Jun 29, 8:18 AM
Unknown Object (File)
Sat, Jun 29, 5:02 AM
Unknown Object (File)
Jun 24 2024, 7:45 PM
Unknown Object (File)
Jun 6 2024, 7:23 PM
Unknown Object (File)
Jun 2 2024, 10:58 AM
Unknown Object (File)
May 24 2024, 6:22 AM
Subscribers

Details

Summary

When using the ALT+CTRL+ESC sequence to break into kdb, the keyboard is completely borked when you return. watch(8) shows that it's working, but it's inserting escape sequences.

Further investigation revealed that VT_ALT_TO_ESC_HACK is the default and directly conflicts with this sequence, so upon return from the debugger ALKED is set.

Let's just assume that they didn't mean to trigger ALKED if they broke into the debugger, because it's certainly surprising.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable