@cks @drscriptt

By the way: It's DEC Private Mode 67 (a.k.a. DECBKM) for controlling Backspace, and DEC Private Mode 1037 for Delete.

Not every terminal emulator understands these. But they're understood by things as wide ranging as hterm and mintty.

I copied these from #DECVTs and XTerm in my terminal emulator, and my #setterm has options for generating both DECSM/DECRM mode switches.

http://jdebp.info/Softwares/nosh/guide/commands/setterm.xml

#nosh #TerminalEmulators