IBM Extended Characters

Larry Dighera root at conexch.UUCP
Mon Apr 4 01:26:09 AEST 1988


In article <651 at jclyde.UUCP> john at jclyde.UUCP (John B. Meaders Jr.) writes:
>I would like to be able to print the IBM Extended Character set on my
>printer.  However, I can't get Xenix to do it.  For test purposes I
>have been 'echo \octal code for character'.  All that gets printed is
>'\whatever the octal code was'.  I am running SCO Xenix V Rel 2.1.3.
>I would also like to print Extended Characters on the screen.  The characters
>that are important to me are the Greek characters, and the bullets and squares
>(ie the upper 32 characters of the extended set).  Any help would be greatly
>appreciated.

The only way I have found to get the shell to output the upper ASCII character
set is with the octal-echo method mentioned above.  The problem is caused
by misleading statements in the SCO documentation which indicate that 
no more than three digits are acceptable when constructing the octal number.
In fact, prepending a zero to the octal number yields the desired result.
So, If you want to print octal character 376:

	echo "\376"	yields		\376

while

	echo "\0376"	yields		(a small squar character)

Obscure, but true.

Larry Dighera


-- 
USPS: The Consultants' Exchange, PO Box 12100, Santa Ana, CA  92712
TELE: (714) 842-6348: BBS (N81); (714) 842-5851: Xenix guest account (E71)
UUCP: conexch Any ACU 2400 17148425851 ogin:-""-ogin:-""-ogin: nuucp
UUCP: ...!ucbvax!ucivax!icnvax!conexch!root || ...!trwrb!ucla-an!conexch!root



More information about the Comp.unix.xenix mailing list