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)
Sun, Apr 21, 12:40 AM
Unknown Object (File)
Feb 23 2024, 8:57 PM
Unknown Object (File)
Feb 23 2024, 8:57 PM
Unknown Object (File)
Feb 23 2024, 8:57 PM
Unknown Object (File)
Feb 23 2024, 2:17 PM
Unknown Object (File)
Feb 22 2024, 3:55 PM
Unknown Object (File)
Dec 20 2023, 4:29 AM
Unknown Object (File)
Dec 15 2023, 6:39 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