delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/05/15/19:36:54

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Matched-Lists: []
Message-ID: <145990-220045615233639603@cantv.net>
Reply-To: rodmedina AT cantv DOT net
X-ORIGINATOR-IP: 200.44.20.123
From: "Rodrigo Medina" <rodmedina AT cantv DOT net>
To: cygwin AT cygwin DOT com
Subject: Re: The rxvt.1 manpage of the rxvt-2.7.10-4 package
Date: Sat, 15 May 2004 19:36:39 -0400
MIME-Version: 1.0

Hi all,

On Wed, 12 May 2004 12:00:58 +0800 Fung Chai wrote:
> The rxvt manpage cannot be correctly formatted because the nroff file
> doc/rxvt.1 contains some left-over yodl bits.  I suspect that the
> yold2man-post program was not invoked to remove the yodl stuff.

An easy way of deleting the YODL garbage is to use the VIM editor.
The following VIM script (call it patch.vim) does the job:

Q
%s/^\.YODLTAGSTART\./\.YYODLTAGSTART\./
%s/\.YODLTAGSTART\./\r\.YODLTAGSTART\./g
%s/\.YODLTAGSTART\. roffcmd //
%s/\.YYODLTAGSTART\. roffcmd //
%s/\.YODLTAGEND\.//
%s/\n\.YYODLTAGSTART\..*//
1
/\.TH
1,.-1d
wq


Then call VIM to modify the wrong rxvt.1

$ vim -s patch.vim -- rxvt.1

bye.

Rodrigo Medina



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019