[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] preserve ascii escape characters from input
From: |
Ralph Corderoy |
Subject: |
Re: [Groff] preserve ascii escape characters from input |
Date: |
Thu, 25 Feb 2010 08:41:26 +0000 |
Hi Ted,
> I *think* what he is trying to do is find out how to create groff
> input such that the character "\" is displayed in the output.
I read it as he's trying to get real ESC characters, ASCII 27, to be
written to the terminal by man in order that he can give a description
of an ANSI escape sequence and then show it in action.
That the man page may be being displayed on a terminal that doesn't
support such control-sequences, or may be being rendered as PostScript
for printing, suggests this isn't a good idea. Perhaps better would be
to give an example command that shows the effect, e.g. using printf(1)
printf 'before\x1b[1mbold\x1b[mafter\n'
and have the user run that if they think their terminal supports it.
Cheers,
Ralph.
- [Groff] preserve ascii escape characters from input, Leonardo Boiko, 2010/02/24
- Re: [Groff] preserve ascii escape characters from input, Werner LEMBERG, 2010/02/24
- Re: [Groff] preserve ascii escape characters from input, Ted Harding, 2010/02/24
- Re: [Groff] preserve ascii escape characters from input,
Ralph Corderoy <=
- Re: [Groff] preserve ascii escape characters from input, Ted Harding, 2010/02/25
- Re: [Groff] preserve ascii escape characters from input, Ralph Corderoy, 2010/02/25
- Re: [Groff] preserve ascii escape characters from input, Leonardo Boiko, 2010/02/25
- Re: [Groff] preserve ascii escape characters from input, Keith Marshall, 2010/02/25
- Re: [Groff] preserve ascii escape characters from input, Leonardo Boiko, 2010/02/27
- Re: [Groff] preserve ascii escape characters from input, Ralph Corderoy, 2010/02/27
- Re: [Groff] preserve ascii escape characters from input, Ralph Corderoy, 2010/02/27
- Re: [Groff] preserve ascii escape characters from input, Mike Bianchi, 2010/02/27
- Re: [Groff] preserve ascii escape characters from input, Werner LEMBERG, 2010/02/25