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)
Oct 14 2024, 8:40 PM
Unknown Object (File)
Oct 14 2024, 8:08 PM
Unknown Object (File)
Oct 12 2024, 5:29 PM
Unknown Object (File)
Sep 23 2024, 2:37 PM
Unknown Object (File)
Sep 17 2024, 6:04 PM
Unknown Object (File)
Sep 17 2024, 12:30 PM
Unknown Object (File)
Sep 17 2024, 12:30 PM
Unknown Object (File)
Sep 17 2024, 12:30 PM
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