groff
[Top][All Lists]
Advanced

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

Re: [Groff] Re: groff .cc page trap issue


From: Ralph Corderoy
Subject: Re: [Groff] Re: groff .cc page trap issue
Date: Fri, 01 Aug 2003 12:15:50 +0100

Hi Ian,

> When a trap occurs, a macro executes.  The commands in that macro have
> no way of knowing what the current control character might be when the
> trap triggers.  You can't have ".ecs" or ".cc ." at the start of the
> macro; because, "." might not be the control character.  We need some
> escape sequence that *always* works as the control character and that
> is not affected by users playing with ".cc @".

Would an alternative to \. be to have the escape character temporarily
set to whatever it was when the trap was set for the duration of the
macro?  Just an idea, I don't know enough about the internals to see the
flaws...

Cheers,


Ralph.


reply via email to

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