groff
[Top][All Lists]
Advanced

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

Re: [Groff] surprise, surprise


From: Jon Snader
Subject: Re: [Groff] surprise, surprise
Date: Tue, 28 Aug 2001 18:27:07 -0400
User-agent: Mutt/1.2.5i

On Tue, Aug 28, 2001 at 02:41:05PM +0100, Ralph Corderoy wrote:
> 
> Having looked into it I'm convinced that allowing . or ' commands to
> be preceded by \ commands is intended and documented.
> 
> The Plan 9 source (which is essentially Bell Labs troff) has this
> structure.
> 
>     loop:
>         ch = get_character()
>         if ch is . or '
>             process_control()
>             flush_input()
>         else
>             textline()
>         goto loop
> 

For what it's worth, the SysIII (~1982) and Solaris 8 troff both have the
same structure.

Jon Snader

reply via email to

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