bug-groff
[Top][All Lists]
Advanced

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

groff 1.18 escapes escape sequences :-(


From: Andreas Steinmetz
Subject: groff 1.18 escapes escape sequences :-(
Date: Wed, 21 Aug 2002 10:51:41 +0200 (CEST)

                           Groff Bug Report

GROFF VERSION: 1.18

MACHINE: i686

OS: Linux 2.4.16

COMPILER: gcc 3.2 (binutils 2.13)

INPUT FILES: groff package configured with options
\"'--prefix=/usr' '--sysconfdir=/etc' 'CFLAGS=-O3 -fomit-frame-pointer 
-funroll-loops -fexpensive-optimizations -fschedule-insns2 -fcse-follow-jumps 
-fcse-skip-blocks -frerun-cse-after-loop -frerun-loop-opt -fgcse -fgcse-lm 
-fgcse-sm -fdelete-null-pointer-checks -falign-loops -falign-jumps 
-falign-functions -mcpu=pentiumpro -march=pentiumpro -mmmx 
-minline-all-stringops' 'CXXFLAGS=-O3 -fomit-frame-pointer -funroll-loops 
-fexpensive-optimizations -fschedule-insns2 -fcse-follow-jumps 
-fcse-skip-blocks -frerun-cse-after-loop -frerun-loop-opt -fgcse -fgcse-lm 
-fgcse-sm -fdelete-null-pointer-checks -falign-loops -falign-jumps 
-falign-functions -mcpu=pentiumpro -march=pentiumpro -mmmx 
-minline-all-stringops'\"

COMMAND LINE: ./test-groff -man -Tascii src/roff/groff/groff.n | less

DESCRIPTION OF INCORRECT BEHAVIOUR:

On a standard xterm with TERM=xterm groff produces ("ESC" printed inverse,
i.e. white on black):

ESC[1mNAMEESC[0m
       groff - front-end for the groff document formatting system

ESC[1mSYNOPSISESC[0m
       ESC[1mgroff ESC[22m[ESC[1m-abcegilpstzCEGNRSUVXZESC[22m] [ESC[1m-d 
ESC[4mESC[22mcsESC[24m] [ESC[1m-f ESC[4mESC[22mfamESC[24m] [ESC[1m-F 
ESC[4mESC[22mdir
ESC[24m] [ESC[1m-I ESC[4mESC[22mdirESC[24m]
             [ESC[1m-L ESC[4mESC[22margESC[24m] [ESC[1m-m 
ESC[4mESC[22mnameESC[24m] [ESC[1m-M ESC[4mESC[22mdirESC[24m] [ESC[1m-n 
ESC[4mESC[22mnumESC[24m] [ESC[1m-o ESC[4mESC[22mlistESC[24m] [ESC[1m-P 
ESC[4mESC[22margESC[24m] [ESC[1m-r ESC[4mESC[22mcnESC[24m]
             [ESC[1m-T ESC[4mESC[22mdevESC[24m] [ESC[1m-w 
ESC[4mESC[22mnameESC[24m] [ESC[1m-W ESC[4mESC[22mnameESC[24m] 
[ESC[4mfileESC[24m ...]
       ESC[1mgroff -h ESC[22m| ESC[1m--helpESC[0m
       ESC[1mgroff -v ESC[22m| ESC[1m--version ESC[22m[ESC[4moptionESC[24m ...]

       The  command line is parsed according to the usual GNU convention.  The
       whitespace between a command line option and its argument is  optional.
       Options can be grouped behind a single ESC[1m- ESC[22m(minus character).
 A filename
       of ESC[1m- ESC[22m(minus character) denotes the standard input.

---SNIP---
As a sidenote 1.17.2 works fine.
--
Andreas Steinmetz
D.O.M. Datenverarbeitung GmbH





reply via email to

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