Joe Peterson wrote: > xterm has a "private mode 45", which turns on reverseWrap, allowing > backspace to wrap. This is similar to mode 7 (supported on xterm and > vt), which is DEVAWM (auto wrap mode). > > I agree that hard-coding backspace/reverse wrap would likely be wrong > (even though it looks like some terminal emulators I've seen, like > "screen" add the feature), but would it be appropriate to add mode 45 to > vt, allowing reverse wrap as an option? I have worked up a new patch (attached) for review. It adds the private mode 45 I mentioned above, but defaults it to off, preserving the old default of no backspace wrap to the previous line. This matches xterm's reverse-wrap behavior (and default settings), so the same escape sequence can be used to control this mode in both xterm and console/vt. -Joe