-
Notifications
You must be signed in to change notification settings - Fork 3
Description
I noticed you've been adding a bunch of info on character sets, and I think it's worth mentioning how the National Replacement Character Sets (NRCs) work, because that's something that I think is not immediately obvious if you aren't familiar with the history of these terminals.
My understanding (which may be wrong) is that most if not all NRC sets will not work by default. You first have to enable National Replacement Character Set Mode (DECNRCM), and that itself only works if your keyboard dialect is set to something other than North American. Then even with DECNRCM enabled, you'll still only have access to one of the NRC sets - the one that matches your keyboard dialect.
The point of these sets was for use on 7-bit systems, so once DECNRCM is enabled, everything is 7-bit. If you've got a British keyboard, for example, then Shift+3 is labelled as producing a pound symbol (£), but the keyboard can't generate an 0xA3 codepoint on a 7-bit system. So instead it generates 0x23, and relies on the fact that the British NRC set has 0x23 mapped to £. That way it'll at least look like a £ when you type it, even though the backend system is still receiving an ASCII # character.
So unless you're tied to a 7-bit system with a specific non-ASCII locale, and you're also using a matching keyboard, there's not much use for these character sets. And I'm assuming that's why they only allow for one at a time (if my understanding is correct).