Fixing some manpage formatting and formatting in xembed.c.

This commit is contained in:
Christoph Lohmann 2015-05-09 21:06:00 +02:00
parent d60069a3e7
commit 55dc32b27b
2 changed files with 10 additions and 8 deletions

View file

@ -13,7 +13,7 @@ tabbed \- generic tabbed interface
.RB [ \-n .RB [ \-n
.IR name ] .IR name ]
.RB [ \-p .RB [ \-p
.IR [ s +/- ] pos ] .RB [ s {+/-} ] \fIpos\fR ]
.RB [ \-o .RB [ \-o
.IR normbgcol ] .IR normbgcol ]
.RB [ \-O .RB [ \-O
@ -28,7 +28,7 @@ tabbed \- generic tabbed interface
.IR urgfgcol ] .IR urgfgcol ]
.RB [ \-r .RB [ \-r
.IR narg ] .IR narg ]
.IR [ command ... ] .RI [ "command ..." ]
.SH DESCRIPTION .SH DESCRIPTION
.B tabbed .B tabbed
is a simple tabbed container for applications which support XEmbed. Tabbed is a simple tabbed container for applications which support XEmbed. Tabbed
@ -54,7 +54,9 @@ will print the usage of tabbed.
.BI \-g " geometry" .BI \-g " geometry"
defines the X11 geometry string, which will fixate the height and width of defines the X11 geometry string, which will fixate the height and width of
tabbed. tabbed.
Them form is [=][<width>{xX}<height>][{+-}<xoffset>{+-}<yoffset>]. See The syntax is
.RI [=][ width {xX} height ][{+-} xoffset {+-} yoffset ].
See
.BR XParseGeometry (3) .BR XParseGeometry (3)
for further details. for further details.
.TP .TP
@ -62,7 +64,7 @@ for further details.
will set the WM_CLASS attribute to will set the WM_CLASS attribute to
.I name. .I name.
.TP .TP
.BI \-p " [ s +/-] pos" .BR \-p " [" s {+-}] \fIpos\fR
will set the absolute or relative position of where to start a new tab. When will set the absolute or relative position of where to start a new tab. When
.I pos .I pos
is is given without 's' in front it is an absolute position. Then negative is is given without 's' in front it is an absolute position. Then negative
@ -84,8 +86,8 @@ will disable automatic spawning of the command.
.TP .TP
.BI \-o " normbgcol" .BI \-o " normbgcol"
defines the normal background color. defines the normal background color.
.IR #RGB , .RI # RGB ,
.IR #RRGGBB , .RI # RRGGBB ,
and X color names are supported. and X color names are supported.
.TP .TP
.BI \-O " normfgcol" .BI \-O " normfgcol"

View file

@ -33,8 +33,7 @@ main(int argc, char **argv)
if(pgrp == tcpgrp) { /* in foreground of tty */ if(pgrp == tcpgrp) { /* in foreground of tty */
argv[0] = argv[2]; argv[0] = argv[2];
argv[2] = xembed; argv[2] = xembed;
} } else {
else {
noembed: noembed:
argv += 2; argv += 2;
} }
@ -44,3 +43,4 @@ noembed:
perror(argv[0]); /* failed to execute */ perror(argv[0]); /* failed to execute */
return 1; return 1;
} }