On Thu, 6 Dec 2001, Maurice Lombardi wrote:
Mirsad Todorovac wrote:
In other words, '¾' ('z' with caret above) becomes M->, '¹' ('s' with caret above) becomes M-9, 'æ' ('c' with apostrophe above) becomes M-f ...
What system are you using ?
On sun-sparc-solaris2.7, where I tested it also,
% nroff -man gpc.1
produces a core dump (!?!) (But with english gpc.1 no it doesn't) -- this can be called a problem, since it's not practical for man command to core dump when you ask for manpage, so I guess I'll have to find a workaround (if it's not the case that latin 2 characters make Sun's nroff go berserk?).
I managed to produce acceptable result with some tweaking on Sun with
% groff -Tlatin1 -man gpc.1 | more
It did just what I wanted - passed 8-bit character to terminal, while it's my responsability to load proper font in terminal window.
This was possible only because Sun's ``more'' is 8-bit-clean enough for Latin 2 to work. (``less'' on Sun works the same way as on Digital.)
Yes, I checked that by doing ``nroff -man gpc.1 > gpc.txt'' on DU4.0b and FTP-ing it to Sun: the same file displayed with Sun's and Digital's ``more'' produces different results.
So, with ``groff -Tlatin1 -man gpc.1'' I can about do it, but now the problem is how to force ``more'' or ``less'' to do *less* messing-up of 8-bit chars.
Any ideas?
Mirsad
-- This message has been made up using recycled ideas and language constructs. No plant or animal has been injured in process of making this message.