How can I de-escape my strings at run time?

Peter Jeffe 512.823.4091/500000 jeffe at sandino.austin.ibm.com
Tue Jun 12 10:24:32 AEST 1990


In article <1990Jun11.092136.7800 at gdr.bath.ac.uk> P.Smee at bristol.ac.uk (Paul Smee) writes:
>>Whether EBCDIC has codes for these characters is one question (to which the
>>answer is, yes it has); whether you can easily use those characters in an
>>IBM environment (under VM/CMS for example) is another question, to which
>>the answer is again, _yes_.  
>
>Or, sometimes, _no_.  This depends heavily on precisely what
>make/model, and even submodel of terminal you have (some but not all
>3270's work, for example) and on the precise details of how they are
>connected to the machine.  And, possibly, even on how your MAINT has
>configured things.

On VM, I think that the only trick is in doing the appropriate CP command to
translate the incoming/outgoing codes; unfortunately (for you; fortunately
for me) it has been too long for me to remember the exact command, but it
was something like "CP TERM [IN | OUT] CHAR1 CHAR2"; I had it in my
profile.exec and it did the trick.  I successfully worked with Whitesmith C
on a 9370 and CP did the terminal-bracket-to-Whitesmith-bracket conversion
just fine (there were occeasional glitches, but nothing compared to having
to use the trigraph abominations).  Sorry I can't provide more info, but I've
happily blocked out the whole miserable experience.
----------------------------------------------------------------------
disclaimer: all persons (including myself) and events mentioned herein
are fictitious and, given the subjective nature of reality, can bear no
resemblence to any other person's conception of real persons or events.
	Peter Jeffe 512.823.4091 jeffe at sandino.austin.ibm.com
	...cs.utexas.edu!ibmchs!auschs!sandino.austin.ibm.com!jeffe



More information about the Comp.lang.c mailing list