[Info-vax] macOS Terminal app. Numeric keypad fails for EDT.
Johnny Billquist
bqt at softjar.se
Thu Sep 22 04:21:23 EDT 2022
On 2022-09-21 17:24, Craig A. Berry wrote:
> On 9/21/22 9:42 AM, Bill Gunshannon wrote:
>> On 9/21/22 09:30, Craig A. Berry wrote:
>>>
>>>
>>>
>>> I just tried it with XQuartz 2.8.2. VMS recognizes it as VT400_Series
>>> with "VMS Style Input," but backspace is mapped to control-H, not
>>> backspace
>>
>> Ummm... BACKSPACE is control-H. At least as defined by ASCII.
>> The BACKSPACE key in most of the terminals I have used sends DELETE
>> but also most terminal programs I have used have the built in option
>> to map it either way.
>
> Yes, it is a setting in the terminal or emulator, usually the default
> setting, but not on xterm, which purportedly needs no configuration. I
> maintain that it does need configuration.
I was objecting to people using xmodmap or various scripts to make xterm
send the correct sequences. xterm can do it all without anything that
fancy. Either use xresources, or use the command line (or even the
built-in menus) to get it right. If you call that configuration or not,
I don't know.
My xresources file looks like this:
===
*.vt100.decTerminalID: 220
*.vt100.c132: true
*.vt100.saveLines: 1000
*.ptyInitialErase: true
*.backarrowKeyIsErase: true
*.backarrowKey: false
*.sunKeyboard: true
*.rightScrollBar: true
xterm.vt100.activeIcon: false
xterm.vt100.multiScroll: true
vms.utmpInhibit: true
vms.title: VMS terminal
vms.vt100.loginShell: false
vms.vt100.scrollBar: true
===
And then I start xterm with:
xterm +sf +sp -aw -ut -132 -ti vt220 -sb -sl 5000 -name vms $* &
Several of those switches are definitely just duplicating the resources
anyway, so I'm just silly, but I haven't bothered really cleaning it up.
Johnny
More information about the Info-vax
mailing list