|
|
1.1 ! root 1: .TH CHAR 1 ! 2: .SH NAME ! 3: char, ½char, rschar \- browse the Unicode Standard ! 4: .SH SYNOPSIS ! 5: .B char ! 6: [ ! 7: .I font ! 8: ] ! 9: .br ! 10: .B ½char ! 11: [ ! 12: .B -s ! 13: .I file ! 14: ] ! 15: [ ! 16: .I font ! 17: ] ! 18: .br ! 19: .B rschar ! 20: [ ! 21: .B -bgj ! 22: ] ! 23: [ ! 24: .B -s ! 25: .I file ! 26: ] ! 27: [ ! 28: .I font ! 29: ] ! 30: .SH DESCRIPTION ! 31: .I Char ! 32: displays two square arrays of characters on the screen. The left square shows ! 33: the first character of each 256-character page of the Unicode Standard. ! 34: The right square ! 35: shows the contents of one page. ! 36: Using button 1 or 2 to select a character in the ! 37: left square changes the right square to display the corresponding page and ! 38: displays the offset and name of the page in the upper left corner of the screen. ! 39: Selecting a character in the right square displays its hexadecimal value and ! 40: name. ! 41: In addition, any characters selected with ! 42: button 2 are added to the end of 8½'s snarf buffer. Button 3 pops up a menu containing an ! 43: .I exit ! 44: button, whose selection must be confirmed by pressing button 3 again ! 45: and a ! 46: .I clear snarf ! 47: button that empties the snarf buffer. ! 48: .PP ! 49: The optional argument indicates which font to use (default ! 50: .BR $font ). ! 51: .PP ! 52: .I ½char ! 53: is intended for a smaller window and displays only a single ! 54: 256-character panel. Clicking button 1 on a character displays its ! 55: code and, if possible, description; button 2 works similarly, but also ! 56: writes the character to ! 57: .IR file , ! 58: default ! 59: .B /dev/snarf ! 60: (8½'s snarf buffer), which it displays near the bottom of the ! 61: window. Clicking button 3 selects the page corresponding to ! 62: the cursor position in the panel. Typed characters are added to the ! 63: file, except: ! 64: backspace ! 65: deletes the last character; ! 66: control-U ! 67: clears the buffer; ! 68: control-D ! 69: exits. ! 70: .PP ! 71: .I Rschar ! 72: is the radical/stroke chart from Volume 2 of the Unicode Standard. ! 73: Flags can be used to restrict the display to one or more Asian ! 74: character sets: ! 75: .TP ! 76: .B -b ! 77: Big Five (traditional Chinese). ! 78: .TP ! 79: .B -g ! 80: GB 2312-80 (simplified Chinese). ! 81: .TP ! 82: .B -j ! 83: JIS X 0208-1990 (Japanese). ! 84: .PP ! 85: By default, all characters are shown. ! 86: Button 3 controls a menu to change flag selections. ! 87: Radicals are shown in a panel on the left side ! 88: of the window. Clicking on a radical with button 1 or 2 brings up, on ! 89: the right, a panel of characters ordered by stroke count. If the ! 90: window is too small to contain them all, one may scroll through ! 91: successive panels by clicking on arrows that appear at the top. ! 92: Clicking on a character with button 1 displays its code; clicking with ! 93: button 2 adds the character to the snarf buffer. Typed characters ! 94: behave as in ! 95: .IR ½char . ! 96: .SH FILES ! 97: .B /lib/unicode ! 98: contains the names of the unicode characters. Many characters have no name. ! 99: .SH SOURCE ! 100: .B /sys/src/cmd/char.c ! 101: .br ! 102: .B /sys/src/cmd/½char.c ! 103: .br ! 104: .B /sys/src/cmd/rschar ! 105: .SH "SEE ALSO" ! 106: 8½(1), 8½(4) ! 107: .SH BUGS ! 108: .I Char ! 109: needs a largish window to work properly and doesn't complain if it doesn't ! 110: get it.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.