(64 lines)
1 .\" Manpage for ascii.2 .\" Contact bruce@bruce-hill.com to correct errors or typos.3 .TH man 8 "3 January 2019" "1.0" "ascii man page"4 .SH NAME5 ascii \- An ASCII table viewer6 .SH SYNOPSIS7 .B ascii8 [9 .I N1 N2...10 ]11 .SH DESCRIPTION12 This will display an interactive ASCII table, with the byte numbers and13 descriptions. You can also build up raw ASCII output, which will be printed to14 stdout when the program closes.15 .SH INPUT16 .TP17 If any input is piped to \fBascii\fR, it will appear in the output buffer.18 .SH OPTIONS19 .B \--help20 Print the command line usage.22 .B N...23 If decimal or hex numbers are passed as extra arguments, the corresponding raw24 ASCII values will be appended to the output buffer after any piped input.26 .SH CONTROLS27 .TP28 .B Navigating:29 In the ASCII table, arrow keys or h/j/k/l can be used to navigate.31 .TP32 .B Searching:33 Pressing \fB/\fR will open a search. You can begin typing to search by34 character or by name, and hit \fBenter\fR to select the result or \fBescape\fR35 to cancel. After selecting a result, you can hit \fBn\fR to jump to the next36 match or \fBN\fR to jump to the previous match.38 .TP39 .B Editing:40 You can hit \fBenter\fR to append the selected character to the output buffer41 and \fBbackspace\fR to delete from the output buffer. Or, for more rapid input,42 press \fBi\fR to enter insert mode, where you can type freely, and \fBescape\fR43 when you're done.45 .TP46 .B Exiting:47 Press \fBq\fR or \fBescape\fR to quit and print the output buffer or hit48 \fBcontrol-c\fR to quit without printing anything.51 .SH EXAMPLES52 .TP53 .B54 ascii55 Open the ASCII table.57 .TP58 .B59 printf "h" | ascii 105 | base6460 Open the ASCII table with "hi" in the buffer, and pipe the output to base6461 when the program closes.63 .SH AUTHOR64 Bruce Hill (bruce@bruce-hill.com)