Re: Irritating ^H and double characters in documentation

1998-07-10 Thread Benoit Goudreault-Emond
 Johann == Johann Spies [EMAIL PROTECTED] writes:

Johann Hallo,

Johann Several documentation files on the 1.3.1 distribution
Johann contains text like this from the Afterstep FAQ:
Johann --- 11..
[snip]
Johann ---

Johann I was trying to read this file with emacs in X11.

Those are files that are using troff-like backspace+character
sequences to simulate bold and underline.  You can probably view those
properly through less and more.  However,

1- To view it with emacs, use M-x Man-fontify-manpage (you may have to
view a manual page first to load the function, but I'm not sure)

2- Filter the file through `col -b'.

-- 
Benoit Goudreault-Emond -- Reply to: [EMAIL PROTECTED]
CoFounder, KMS Group.  Student, B. CompEng, Concordia University.
PGP public key fingerprint: 11 43 A9 04 7C 11 41 44  5F FC 69 B1 B6 0A ED 78
E-mail me to receive the actual public key.


--  
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null


Re: Irritating ^H and double characters in documentation

1998-07-10 Thread Johann Spies
Thank you all for explaining that which I should have known.

I did not know about the col filter before.

Have a nice day.

Johann.

 --
| Johann Spies Windsorlaan 19  |
| [EMAIL PROTECTED]3201 Pietermaritzburg   |
| Tel/Faks Nr. +27 331-46-1310 Suid-Afrika (South Africa)  |
 --

 Delight thyself also in the LORD; and he shall give
  thee the desires of thine heart.
  Psalms 37:4 


--  
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null


Irritating ^H and double characters in documentation

1998-07-09 Thread Johann Spies
Hallo,

Several documentation files on the 1.3.1 distribution contains text
like this from the Afterstep FAQ:
---
11..  GGeenneerraalliinnffoorrmmaattiioonn

  11..11..  WWhhaatt iissAAfftteerrSStteepp??


  AfterStep is a Window Manager for X that emulates the NEXTSTEP look
  and feel, which many adepts will tell you is not only the most
  visually pleasant interface, but also one of the most functional and
  intuitive out there.

---

I was trying to read this file with emacs in X11.

Through the 'eyes' of Mosaic it looked like this:


  1 1. .  G Ge en ne er ra al li in nf fo or rm ma at ti io on n

Using lynx it looked like this:

  11..  GGeenneerraall iinnffoorrmmaattiioonn

  11..11..  WWhhaatt iiss AAfftteerrSStteepp??

Is there a quick way to correct this?

Johann

 --
| Johann Spies Windsorlaan 19  |
| [EMAIL PROTECTED]3201 Pietermaritzburg   |
| Tel/Faks Nr. +27 331-46-1310 Suid-Afrika (South Africa)  |
 --

 And this is the confidence that we have in him, that,
  if we ask any thing according to his will, he heareth
  us; And if we know that he hears us, whatsoever we
  ask, we know that we have the petitions that we
  desired of him.I John 5:14,15


--  
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null


Re: Irritating ^H and double characters in documentation

1998-07-09 Thread jdassen
On Thu, Jul 09, 1998 at 03:01:43PM +0200, Johann Spies wrote:
 Several documentation files on the 1.3.1 distribution contains text like
 this from the Afterstep FAQ:
 ---
 11..  GGeenneerraalliinnffoorrmmaattiioonn

This is *roff-style bold, which several programs (e.g. less, mutt)
understand.

 Is there a quick way to correct this?

You can filter them through col -b.

HTH,
Ray
-- 
UNFAIR  Term applied to advantages enjoyed by other people which we tried 
to cheat them out of and didn't manage. See also DISHONESTY, SNEAKY, 
UNDERHAND and JUST LUCKY I GUESS. 
- The Hipcrime Vocab by Chad C. Mulligan  


--
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null


Re: Irritating ^H and double characters in documentation

1998-07-09 Thread Oliver Elphick
Johann Spies wrote:
  Several documentation files on the 1.3.1 distribution contains text
  like this from the Afterstep FAQ:
  ---
  11..  GGeenneerraalliinnffoorrmmaattiioonn
...
  Is there a quick way to correct this?

sed -e '//s/\(.\)./\1/g'  infile  outfile

The  is actually ctrl-h (backspace).  To type it in as a real character
at the terminal, you will have to precede it with ctrl-v.


-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver
   PGP key from public servers; key ID 32B8FAA1
 
 And this is the confidence that we have in him, that,
  if we ask any thing according to his will, he heareth
  us; And if we know that he hears us, whatsoever we
  ask, we know that we have the petitions that we
  desired of him.I John 5:14,15



--  
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null