View Single Post
Old 05-21-2020, 12:38 PM   #10
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 14,159
Karma: 105212035
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Quote:
Originally Posted by JSWolf View Post
There is no AltGr on an American keyboard layout. So how would you type a non-breaking space in Linux using an American keyboard?
Same way as on mine.
Ctrl Shift Space

OR
<whatever compose key is> Space Space

I'd think Shift AltGr wouldn't be Compose on a US keyboard layout.
A click in the Control Panel Keyboard settings sets CapsLock as Compose, which is handy.

The USA Keyboard layout is more stupid than mobi. Bad for Spanish and missing one ASCII key. Non USA keyboards have an extra letter key to the left side of Z or below the Backspace key (left of Enter). This gives the traditional 96 characters on a daisywheel, with only shift. The true USA layout has only 94.
Also Altgr (or the special key on Apple) allows up to another 96 characters though the UK Windows only adds seven.
AltGr is actually Ctrl-RightAlt, it's not really an extra code. If your keyboard does AltGr (and many US Keyboard do even if not labelle) then it will add accented characters if you change to the US International layout in windows. It makes some keys be dead keys, you press them twice, or else they accent the next letter,
` is the only dead key on my layout. Allows à etc easily. The " is recognised by the Compose key: thus Compose " e is ë
Because I'm not using the Windows US International layout which is the same physical keys, lettering and codes as dumb US English only layout, but enables AltGr and "dead keys" (press twice for key, once plus letter to accent).
Also the US layout gratuitously swaps " @ ' #~ on the keys.
Insanely some USB and BT keyboards for tablets and phones are really UK layouts printed as US! The clue is |\ to the left of the Z and a SECOND key labelled |\ near the Enter key. If you change on Android or iOS to UK layout that key becomes ~#, the 3# becomes 3£, 2@ becomes 2" and "' becomes @'. I think the key with ~` changes to ¬` (Means Not) and altgr of it is ¦.
Some layouts swap the ¦ and | on the printed keys. They are not the same thing even in DOS and Windows scripts!

The right Alt, if there is one, becomes AltGr. Sometimes that's a Menu (or context menu, like right mouse click). On Android the Esc key is "Back".

The Apple US Keyboards do seem to have all the letters and the four leaf clover seems to be AltGr.

IBM really messed up on the USA Keyboard layout. The Apple Mac and UK layout are better. MS DOES have a keyboard layout Editor, the produced file works on Windows 10, but I only have the correct .Net packages to install it on XP and Win7. It lets you have all 48 marking keys (or 47 on USA layout) have AltGr and Shift AltGr, to increase 96 (or 94) to 192 (or 188) characters without a compose key and optionally define which punctuations are "dead keys" for û, ù, ü, ǔ, ú etc.

So even on Windows, it's about 10 years since I needed to use numeric + code. On Windows I either used the Character Map tool (same is on Linux) or used the extended custom layout I created using the MS Windows Keyboard definition tool, free download extending AltGr from about 7 keys to all marking keys.

Last edited by Quoth; 05-21-2020 at 12:43 PM.
Quoth is offline   Reply With Quote