src/Tools/8bit/perl/codetable.pl
author paulson
Mon, 21 Oct 1996 11:37:21 +0200
changeset 2119 1d8ae796f3bf
parent 1826 2a2c0dbeb4ac
child 2795 d136fff43370
permissions -rwxr-xr-x
Mentions the possibility of pathnames in ISABELLECOMP;

#!/usr/local/dist/DIR/perl4/bin/perl
#
# codetable.pl
# Franz Regensburger <regensbu@informatik.tu-muenchen.de>
# 21.3.95
#
# last changed: 
#
# print the extended ascii-code table
# leave out unprintable characters.
#
# needs an 8bit terminal for output

$index = 0;
while ($index <= 255) {
     if ( $index < 32 || (126 < $index && $index < 161)){# unprintable
#    if ( $index < 32){# unprintable
	$ascii_code = 32;}
	else { 	$ascii_code = $index;} 	

    printf( "%-3o  %-3d  %-2x  %c \n", 
                 $index,
                 $index,
                 $index,
		 $ascii_code);

    $index += 1;
}