X-Git-Url: https://git.distorted.org.uk/~mdw/xtoys/blobdiff_plain/90b2c5d453c6e561a00913baa7aa8b9c213f0173..c5f8baff93b1a66fd66136781db7a75a846e84e7:/xscsize.1 diff --git a/xscsize.1 b/xscsize.1 index 30caf39..0ba808c 100644 --- a/xscsize.1 +++ b/xscsize.1 @@ -1,4 +1,5 @@ -.TH xscsize 1 "15 November 1998" "Edgeware tools" +.\" -*-nroff-*- +.TH xscsize 1 "15 November 1998" "Straylight/Edgeware" "xtoys" .SH NAME xscsize \- return size of an X display to a shell script .SH SYNOPSIS @@ -31,29 +32,34 @@ Typical use would be something like eval `xscsize` .ft R .fi -.SS OPTIONS +.SS Options .TP 5 -.B \-b +.BI "\-d, \-\-display " display +Choose which display to connect to. +.TP 5 +.B \-b, --bourne-shell Output the assignments in Bourne shell syntax (usable by Bourne, POSIX, Korn, Z and Bourne Again shells). .TP 5 -.B \-c +.B \-c, --c-shell Output the assignments in C shell syntax (usable by C and Terminal C shells). .TP 5 -.B \-x +.B \-x, --export Output a variable export command, so that the screen size is inherited by child processes. The default is to just set local shell variables. .SH ENVIRONMENT .TP .B XWIDTH Set to the width of the display in pixels. +.TP .B XHEIGHT Set to the height of the display in pixels. +.TP .B SHELL Used to decide the nature of the calling shell. If absent, a Bourne shell is assumed. -.SH AUTHOR -Mark Wooding (mdw@nsict.org). .SH BUGS Hopefully none. +.SH AUTHOR +Mark Wooding (mdw@distorted.org.uk).