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
F105923664: D27109.diff
Sun, Dec 22, 5:46 PM
Unknown Object (File)
Wed, Dec 11, 8:21 PM
Unknown Object (File)
Sun, Nov 24, 8:37 PM
Unknown Object (File)
Sat, Nov 23, 3:20 PM
Unknown Object (File)
Sat, Nov 23, 10:54 AM
Unknown Object (File)
Nov 22 2024, 9:38 AM
Unknown Object (File)
Nov 18 2024, 3:49 PM
Unknown Object (File)
Oct 14 2024, 8:40 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