Re: [Groff] Trying to escape user input.

2008-04-22 Thread Ralph Corderoy
Hi Mike, > I'm fairly certain that the things I need to translate are > "\" --> "\[rs]", > "\n." --> "\n\&." There's /^'/ as well as /^\./. Cheers, Ralph.

Re: [Groff] Trying to escape user input.

2008-04-22 Thread brian m. carlson
On Tue, Apr 22, 2008 at 11:37:22AM -0500, Mike Burns wrote: Are they any other gotcha's people have experienced out there? Remember that strings, requests, macros, and diversions are all in the same namespace. Therefore, if you define a macro called "tl", it will override the request of the

Re: [Groff] Trying to escape user input.

2008-04-22 Thread Mike Burns
On Mon, Apr 21, 2008 at 6:16 PM, Clarke Echols <[EMAIL PROTECTED]> wrote: > If what you are picking up as user input contains text with a line > starting with ".", insert "\&" in front of it. That places a > zero-width space at the start of the line and puts the dot in > third place on the line s