User Tools

Site Tools


plan9front_-_unicode_utf_and_fontviewer

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plan9front_-_unicode_utf_and_fontviewer [2023/10/10 00:04] – [keyboard] hc9plan9front_-_unicode_utf_and_fontviewer [2023/10/15 05:45] (current) – [Unicode] hc9
Line 1: Line 1:
 +====== Unicode, UTF-8 and fontviewer ======
 +
 +===== Unicode =====
 +
 +At the rio rc prompt:
 +
 +<code>
 +cpu% cat /lib/keyboard|grep 'superscript digit two'
 +00B2  s2          ²    superscript digit two
 +cpu% grep< /lib/keyboard -e 'superscript digit two'
 +00B2  s2          ²    superscript digit two
 +cpu% grep 'superscript digit two' /lib/keyboard
 +00B2  s2          ²    superscript digit two
 +cpu% unicode 00B2
 +²
 +cpu%
 +</code>
 +
 +<code>
 +cpu% g 'superscript digit two' /lib/keyboard
 +/lib/keyboard:18: 00B2  s2          ²  superscript digit two
 +cpu% unicode 00B2
 +cpu%
 +²
 +cpu%
 +</code>
 +
 +<code>
 +cpu% page /lib/keyboard
 +</code>
 +
 +Within acme:
 +
 +<code>
 +cpu% acme
 +</code>
 +
 +^Newcol Kill Putall Dump Exit^^^
 +|**New Cut Paste Snarf Sort Zerox Delcol Mail**|:::|⇐ Mouse button 2 press //New//.|
 +
 +^Newcol Kill Putall Dump Exit^^^
 +|**New Cut Paste Snarf Sort Zerox Delcol Mail**|:::|
 +|**Del Snarf : Look**|
 +|[blank panel]|
 +
 +^Newcol Kill Putall Dump Exit^^^
 +|**New Cut Paste Snarf Sort Zerox Delcol Mail**|
 +|**Del Snarf : Look**|
 +|[blank panel]|:::|⇐ Type //cat <nowiki>/</nowiki>lib<nowiki>/</nowiki>keyboard|grep 'superscript digit two'// in the panel.|
 +
 +^Newcol Kill Putall Dump Exit^^^
 +|**New Cut Paste Snarf Sort Zerox Delcol Mail**|
 +|**Del Snarf : Look**|
 +|cat /lib/keyboard<nowiki>|</nowiki>grep 'superscript digit two'|:::|⇐ Highlight the text string, then mouse button 2 press to execute the command.|
 +|grep< /lib/keyboard -e 'superscript digit two'|:::|⇐ Highlight the text string, then mouse button 2 press to execute the command.|
 +|grep 'superscript digit two' /lib/keyboard|:::|⇐ Highlight the text string, then mouse button 2 press to execute the command.|
 +
 +===== UTF-8 =====
 +
 +<code>
 +cpu% man utf
 +</code>
 +
 +===== keyboard =====
 +
 +<code>
 +cpu% man keyboard
 +</code>
 +
 +<code>
 +cpu% grep smiley /lib/keyboard
 +263A  :)          ☺   smiley face
 +</code>
 +
 +<code>
 +cpu% grep 'fraction one half' /lib/keyboard
 +00BD  12          ½    fraction one half
 +</code>
 +
 +|x|//The sequence for entering 8 1/2 on an IBM keyboard is// ''8-ALT-1-2''.|
 +
 +<code>
 +cpu% pwd
 +/sys/doc
 +cpu% cd 8½
 +cpu% pwd
 +/sys/doc/
 +cpu%
 +</code>
 +
 +===== fontviewer =====
 +
 +<code>
 +cpu% fontviewer
 +</code>
 +
 +^Font Family:^^^
 +|//Plem//|:::|⇐ Mouse button 1 press to select a menu.|
 +|**Font File:**|:::|
 +|//unicode.9.font//|:::|⇐ Mouse button 1 press to select a menu.|
 +|The quick brown fox jumps over the lazy dog|:::|
 +|A B C D E F G H I|:::|
 +|J K L M N O P Q R|:::|
 +|S T U V W X Y Z|:::|
 +|a b c d e f g h i|:::|
 +|j k l m n o p q r|:::|
 +|s t u v w x y z|:::|
 +|0123456789|:::|