[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Getting escape sequence
From: |
Werner LEMBERG |
Subject: |
Re: [Groff] Getting escape sequence |
Date: |
Tue, 05 Aug 2003 08:02:58 +0200 (CEST) |
> I have been trying to get a escape sequence [i.e. esc[5h ] when page
> no = 1 by using a macro. But these sequence get corrupts. Would
> anyone help on this. Is it escape sequences are not allowed in
> groff.
It's not clear to me what you really want to do. Fact is that the
following input characters are not allowed in groff (on ASCII-based
systems): `0x00', `0x0B', `0x0D'-`0x1F', `0x80'-`0x9F'. So the
escape character 0x1B can't be used directly.
With groff 1.19 it is nevertheless possible to *output* such bytes if
the output device is a TTY (e.g. `latin1') using groff's \N escape
sequence. For example, 0x1B can be output as \N'27'.
Werner