In case you just want to remove the bad characters from a man file:
Say you telnet to FQ and type
man tar > tar.txt
where tar is any command you want info on. Then you download tar.txt to your friendly Win98 computer. Well, it will be really hard to read because it is full of ASCII character #8 (backspace), followed by an underscore. That's for underlining.
This is my Delphi/Pascal code to fix it, which you can adapt to your favorite language:
Code:
if not eof(infile) then begin
read(infile, prevch);
while not eof (infile) do begin
read (infile, ch);
if (ch<>#8) and (prevch<>#8) then begin
write(outfile, prevch);
end;
prevch:=ch;
end;
write (outfile, prevch);
end;
I will even send you the working exe file if you want it.
Nowadays, I find Googling on "man tar" is almost as good, but you may not get it for the exact version of Unix you want.