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)
Thu, Jun 6, 7:23 PM
Unknown Object (File)
Sun, Jun 2, 10:58 AM
Unknown Object (File)
Fri, May 24, 6:22 AM
Unknown Object (File)
May 15 2024, 3:52 PM
Unknown Object (File)
May 15 2024, 3:52 PM
Unknown Object (File)
May 15 2024, 3:52 PM
Unknown Object (File)
May 13 2024, 2:04 AM
Unknown Object (File)
Apr 21 2024, 12:40 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