#!/bin/sh - # # Print all Xterm graphics characters # assumes you have the following resources set. # XTerm*VT100.eightBitInput: true # XTerm*VT100.eightBitOutput: true # # # FYI... # The following controls are ignored... # 0 null 5 enquire 7 bell 8 backspace # 9 tab 10 linefeed 11 vertical_tab 12 formfeed 13 return # 14/15 alt_char_set start/stop (xterms) # #stty pass8 # allow 8 bit chactacters to be sent to tty echo " Non Control Characters" echo " _0__1__2__3__4__5__6__7__8__9__a__b__c__d__e__f_" for j in 0 1 2 3 4 5 6 7 10 11 12 13 14 15 do awk ' BEGIN { row='$j' * 16; #printf("%03o ", row) printf("%02x ", row) for( i=0; i<16; i++ ) { char = row + i if ( char != 0 && char != 5 && ( char < 7 || char > 15 ) ) printf("%c ", char ) else printf(" ") endif } print }'