bug-groff
[Top][All Lists]
Advanced

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

[groff 1.20.1] Missing from groff.7, groff.texinfo


From: Denis M. Wilson
Subject: [groff 1.20.1] Missing from groff.7, groff.texinfo
Date: Sun, 01 Feb 2009 11:46:08 +0000
User-agent: Thunderbird 2.0.0.19 (X11/20090105)

I enclose a pair of patches as a shar file attachmant
Denis M. Wilson
Groff Bug Report

GROFF VERSION:  1.20.1
MACHINE:        Dell inspiron
OS:             Ubuntu 8,04
COMPILER:       c++ (GCC) 4.2.4 (Ubuntu 4.2.4-1ubuntu3)
INPUT FILES:    none
COMMAND LINE:   none

DESCRIPTION OF INCORRECT BEHAVIOUR:
groff.7:
        Missing number registers in
        ($$ .b .F .j .k .L .O .P .R opmaxx opmaxy opminx opminy,
        and rsb rst skw ssc have changed to the read-write)
groff.texinfo
        Missing .R; .U ommited from register index

SUGGESTED FIX:
        Two patch files in shar
---- Cut Here and feed the following to sh ----
#!/bin/sh
# This is a shell archive (produced by GNU sharutils 4.6.3).
# To extract the files from this archive, save it to some FILE, remove
# everything before the `#!/bin/sh' line above, then type `sh FILE'.
#
lock_dir=_sh21349
# Made on 2009-02-01 11:33 GMT by <address@hidden>.
# Source directory was `/home/dmw/TEXT/TROFF/GROFF/GROFF-BUGS/fixes'.
#
# Existing files WILL be overwritten.
# This format requires very little intelligence at unshar time.
# "echo", "mkdir", and "sed" may be needed.
#
# This shar contains:
# length mode       name
# ------ ---------- ------------------------------------------
#   2394 -rw-r--r-- groff-man-1.20.1.patch
#    749 -rw-r--r-- groff.texinfo-1.20.1.patch
#
echo=echo
if test ! -d ${lock_dir}
then : ; else ${echo} 'lock directory '${lock_dir}' exists'
  exit 1
fi
if mkdir ${lock_dir}
then : ; else ${echo} 'failed to create lock directory'
  exit 1
fi
# ============= groff-man-1.20.1.patch ==============
  sed 's/^X//' << 'SHAR_EOF' > 'groff-man-1.20.1.patch' &&
X--- groff.man  2009-01-09 14:25:52.000000000 +0000
X+++ groff.man-new      2009-01-31 18:04:49.000000000 +0000
X@@ -3439,6 +3439,11 @@
X .PD 0
X .
X .TPx
X+.REG $$
X+The process ID of 
X+.BR troff .
X+.
X+.TPx
X .REG .$
X Number of arguments in the current macro or string.
X .
X@@ -3457,6 +3462,12 @@
X .BR nroff .
X .
X .TPx
X+.REG .b
X+The emboldening offset while
X+.request .bd
X+is active.
X+.
X+.TPx
X .REG .br
X Within a macro, set to\~1 if macro called with the `normal' control
X character, and to\~0 otherwise.
X@@ -3512,6 +3523,10 @@
X Current font number.
X .
X .TPx
X+.REG .F
X+The name of the current input file (string-valued).
X+.
X+.TPx
X .REG .fam
X The current font family (string-valued).
X .
X@@ -3591,6 +3606,15 @@
X .esc c .
X .
X .TPx
X+.REG .j
X+The current adjustment mode.
X+It can be stored and used to set adjustment.
X+(n=1, b=1, l=0, r=5, c=3).
X+.
X+.TPx
X+.REG .k
X+The current horizontal output position (relative to the current indentation).
X+.TPx
X .REG .kern
X 1\~if pairwise kerning is enabled, 0\~otherwise.
X .
X@@ -3599,6 +3623,11 @@
X Current line length.
X .
X .TPx
X+.REG .L
X+The current line spacing setting as set by
X+.request .ls .
X+.
X+.TPx
X .REG .lg
X The current ligature mode (as set by the
X .request lg
X@@ -3650,10 +3679,21 @@
X Current page offset.
X .
X .TPx
X+.REG .O
X+The suppression nesting level (see
X+.esc O ).
X+.
X+.TPx
X .REG .p
X Current page length.
X .
X .TPx
X+.REG .P
X+1\~if the current page is being printed, 0\~otherwise (as determined by the
X+.option \-o
X+command line option).
X+.
X+.TPx
X .REG .pe
X 1\~during page ejection, 0\~otherwise.
X .
X@@ -3676,6 +3716,11 @@
X The current post-vertical line spacing.
X .
X .TPx
X+.REG .R
X+The number of unused number registers.
X+Always 10000 in GNU troff.
X+.
X+.TPx
X .REG .rj
X The number of lines to be right-justified as set by the
X .request rj
X@@ -3871,6 +3916,21 @@
X Vertical position of last printed text base-line.
X .
X .TPx
X+.REG opmaxx
X+.TPx
X+.REG opmaxy
X+.TPx
X+.REG opminx
X+.TPx
X+.REG opminy
X+These four registers mark the top left and bottom right hand corners of a box
X+which encompasses all written glyphs.
X+They are reset to \-1 by
X+.escarg O 0
X+or
X+.escarg O 1 .
X+.
X+.TPx
X .REG rsb
X Like
X .register sb ,
X@@ -3952,6 +4012,16 @@
X .
X .PD
X .
X+.P
X+.IR Note :
X+the registers
X+.REG rsb ,
X+.REG rst ,
X+.REG skw
X+and
X+.REG ssc
X+were read-only in earlier releases.
X+.
X .
X .\" --------------------------------------------------------------------
X .SH COMPATIBILITY
SHAR_EOF
:
if test $? -ne 0
then ${echo} 'restore of groff-man-1.20.1.patch failed'
fi
# ============= groff.texinfo-1.20.1.patch ==============
  sed 's/^X//' << 'SHAR_EOF' > 'groff.texinfo-1.20.1.patch' &&
X--- groff.texinfo      2009-01-09 14:25:52.000000000 +0000
X+++ groff.texinfo-new  2009-02-01 09:10:55.000000000 +0000
X@@ -6276,11 +6276,19 @@
X @vindex .H
X Horizontal resolution in basic units.
X 
address@hidden \n[.R]
address@hidden number of registers register (@code{.R})
address@hidden registers, number of, register (@code{.R})
address@hidden .R
X+The number of number registers available.  This is always 10000 in
address@hidden@code{troff}; it exists for backward compatibility.
X+
X @item \n[.U]
X @cindex safer mode
X @cindex mode, safer
X @cindex unsafe mode
X @cindex mode, unsafe
address@hidden .U
X If @code{gtroff} is called with the @option{-U} command line option to
X activate unsafe mode, the number register @code{.U} is set address@hidden,
X and to zero otherwise.  @xref{Groff Options}.
SHAR_EOF
:
if test $? -ne 0
then ${echo} 'restore of groff.texinfo-1.20.1.patch failed'
fi
if rm -fr ${lock_dir}
then ${echo} 'x - removed lock directory `'${lock_dir}\''.'
else ${echo} 'x - failed to remove lock directory `'${lock_dir}\''.'
  exit 1
fi
exit 0

reply via email to

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