=head1 NAME

gspl-user - list spool user details.

=head1 SYNOPSIS

B<gspl-user>
[ I<-options> ]

=head1 DESCRIPTION

B<gspl-user> provides 3 functions:

With no arguments it lists the permissions for the invoking user and
exits.

With the B<-c> option it enables the invoking user to edit his own
default priority, form type and printer. The user must have I<change
default priority> permission to do this.

With the B<-i> option it enables the invoking user to interactively
review and update the list of permissions for all users. The user must
have I<edit admin file> permission to do this.

=for man
For more information about the details of the interactive commands,
please see the on-line help information, obtained by pressing ?
(although this may be changed on your site). This section focuses on
the command-line options which may be used to control the initial
display.

=for html
<P>Please see <a href="TxtRef-7.html#Sect_7_2">Chapter 7</a> for more
details of the interactivecommands. This section focuses on the
command-line options which may be used to control the initial display.</P>

=head1 OPTIONS

=for man
Note that the order of treatment, letters and keywords described below
may be modified by editing the file \fIrest.help\fR \-
see \fIspsyntax\fR\|(5).

The environment variable on which options are supplied is C<GSPL_USER> and the
environment variable to specify the help file is C<SPUSERCONF>.

Certain commands available on-screen enable many of these options to
be changed and saved in configuration files.

=over 4

=item -? or +explain

causes a summary of the other options to be displayed without taking
further action.

=item -B or +no-help-box

put help messages in inverse video rather than in a box.

=item -b or +help-box

put help messages in a box rather than displaying inverse video.

=item -c or +form-and-prio

interactively set default priority, form type and printer for the
invoking user.

=item -d or +display

is the default. A list of permissions is output to the standard
output, for example.

	Default form a4 form types a4*
	Maximum copies 10
	Priority: min 100 max 200 default 150.  Current charge is 0.
	Default printer `' printer types ``
	Class code: A-Pa-p
	Privileges:
	You may Use other printers.
	You may Access queue options.
	You may Save new default options.

=item -H or +keep-char-help

when displaying a help screen, interpret the next key press as a
command as well as clearing the help screen.

=item -h or +lose-char-help

discard whatever key press is made to clear a help screen.

=item -i or +administer

view and update the list of users

=item -M or +no-error-box

put error messages in inverse video rather than in a box.

=item -m or +error-box

put error messages in a box rather than displaying inverse video.

=item -n or +numeric-sort

sort users by numeric userid (default).

=item -u or +user-sort

sort users by user name

=back

=head1 FILES

F<~/.gnuspool>
configuration file (home directory)

F< .gnuspool>
configuration file (current directory)

F<gspl-user.help>
message file

F<spufile0>
User control file

=head1 ENVIRONMENT

=over 4

=item GSPL_USER

space-separated options to override defaults.

=item SPUSERCONF

location of alternative help file.

=back

=head1 SEE ALSO

gspl-charge(1),
gspl-uchange(1),
gspl-ulist(1),
spsyntax(5),
gnuspool.conf(5),
gnuspool.hosts(5).

=head1 DIAGNOSTICS

Various diagnostics are read and printed as required from the message
file, by default F<gspl-user.help>.

=head1 AUTHOR

John M Collins, Xi Software Ltd.

=cut

## Local Variables:
## mode: nroff
## End:
## LocalWords:  gspl-user
