[KLUG Members] Escape code

Adam Tauno Williams adam at morrison-ind.com
Mon Aug 30 07:30:50 EDT 2004


> 1) The vertival tab "\v" produces "stair step" like output on screen,
> which it should. But diverting output to printer produces result in a
> line with "inverted ?" inplace of vertical tab. How to solve this.

You can't send terminal escape sequences to a printer.  You probably want to "tr
-d \v" and remove all the characters,  or perhaps you can use "expand" to turn
the tab stops into literal spaces.

> 2) What is the purpose of escape code "\?", when we can produce same
> result without "\".

There is no ACSII character Ctrl-?, perhaps you mean some application is sending
Esc+? (Hex 1b 3f)  In which case the meaning is implementation specific.




More information about the Members mailing list