groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] intermediate output command `F'


From: Bernd Warken
Subject: Re: [Groff] intermediate output command `F'
Date: Fri, 26 Apr 2002 17:43:03 +0200
User-agent: Mutt/1.2.5i

On Fri, Apr 26, 2002 at 02:04:42PM +0200, Werner LEMBERG wrote:
> 
> I know that the intermediate output command `F' is no longer used by
> grohtml, and I wonder how it can be converted to something useful.
> 
> Currently, `F <filename>' is emitted as soon as a file is read by
> troff, but there is no indication that a file has been finished.  I
> suggest to implement two things
> 
>   . A new request `.file <name>' to give a name to the current file.
> 
Good idea.  This makes file processing and the file content 
independent of how it is actually named on the disk and whether it was
called as a piped input.  It's a security feature for sheltering the
content.

>   . The output command `F' without a parameter should pop the current
>     filename off from the filename stack (which doesn't exist yet).
> 
That could be a second step.

Bernd Warken


reply via email to

[Prev in Thread] Current Thread [Next in Thread]