User Tools

Site Tools


vps_-_plan9front_-_unicode_utf_and_fontviewer

Unicode, UTF-8 and fontviewer

Unicode

At the rio rc prompt:

cpu% cat /lib/unicode|grep 'superscript two'
00b2    superscript two
cpu% grep< /lib/unicode -e 'superscript two'
00b2    superscript two
cpu% grep 'superscript two' /lib/unicode
00b2    superscript two
cpu% unicode 00b2
²
cpu% g 'superscript two' /lib/unicode
/lib/unicode:179 00b2  superscript two
cpu% unicode 00b2
cpu% ²
cpu% page /lib/unicode.notice

Within acme:

cpu% acme
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 /lib/unicode|grep 'superscript two' in the panel.
Newcol Kill Putall Dump Exit
New Cut Paste Snarf Sort Zerox Delcol Mail
Del Snarf : Look
cat /lib/unicode|grep 'superscript two'⇐ Highlight the text string, then mouse button 2 press to execute the command.
grep< /lib/unicode -e 'superscript two'⇐ Highlight the text string, then mouse button 2 press to execute the command.
grep 'superscript two' /lib/unicode⇐ Highlight the text string, then mouse button 2 press to execute the command.

UTF-8

cpu% man utf

fontviewer

cpu% fontviewer
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
vps_-_plan9front_-_unicode_utf_and_fontviewer.txt · Last modified: 2021/10/16 21:08 by pallas