[OpenAFS-Doc] new man pages: pts_interactive, pts_sleep, and pts_quit

Jason Edgecombe jason@rampaginggeek.com
Fri, 10 Aug 2007 21:42:24 -0400


This is a multi-part message in MIME format.
--------------000605000309080005080406
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

I fixed the name section of pts_quit. New file is attached.

Thanks to andrew deason for pointing that out.


Jason

Jason Edgecombe wrote:
> Hi guys,
>
> These are the latest versions of the pts_interactive, pts_sleep, and 
> pts_quit man pages. they should probably go in man-pages/pod1. Please 
> disregard earlier versions. I've included a patch for man-pages/README 
> against CVS head.
>
> I had added some commas in the "SEE ALSO" section to the newer versions.
>
> Only one more and all pts commands will be documented!
>
> Sincerely,
> Jason
> ------------------------------------------------------------------------
>
> =head1 NAME
>
> pts sleep - Pauses for a few seconds
>
> =head1 SYNOPSIS
>
> =for html
> <div class="synopsis">
>
> B<pts sleep> S<<< [B<-delay>] <I<# of seconds>> >>>
>    S<<< [B<-cell>] <I<cell name>> >>> [B<-noauth>] [B<-force>]
>
> B<pts sl> S<<< [B<-delay>] <I<# of seconds>> >>>
>    S<<< [B<-cell>] <I<cell name>> >>> [B<-noauth>] [B<-force>]
>
> =for html
> </div>
>
> =head1 DESCRIPTION
>
> The B<pts sleep> pauses for a specified number of seconds. The command
> can be run from the command line or interactively. Running B<pts
> sleep> on the command line isn't very useful. It's primarily for use
> in interactive mode where you can use it to pause for a few seconds
> between batch commands.
>
> =head1 CAUTIONS
>
> The B<pts_sleep> command is only available if OpenAFS was compiled
> with the supergroups option, which is disabled by default.
>
> Running bulk B<pts> commands may degrade the performance of the pts
> server while they are run. In addition, server resource may not be
> released immediately after commands are run. Because of this, the
> L<pts sleep> command can be used in interactive mode to give the
> B<ptserver> a change to catch up.
>
> =head1 OPTIONS
>
> B<pts sleep> takes the following options:
>
> =over 4
>
> =item B<-cell> <I<cell name>>
>
> Specifies an alternate cell to talk to.
>
> =item B<-delay> <I<# of seconds>>
>
> Specifies the number of seconds to pause.
>
> =item B<-force>
>
> Continue the operation even if there are errors. This is useful for
> bulk operations where you would like to continue even if one of the
> many operations fails.
>
> =item B<-noauth>
>
> Perform the action as the unauthenticated user instead of using the
> current users credentials.
>
> =back
>
> =head1 OUTPUT
>
> This command has no output.
>
> =head1 EXAMPLES
>
> Here is an example of a B<pts interactive> session:
>
>    %pts interactive
>    pts> sleep 5
>    pts> quit
>    %
>
> =head1 SEE ALSO
>
> L<pts(1)>,
> L<pts_interactive(1)>,
> L<pts_quit(1)>
>
> =head1 COPYRIGHT
>
> Copyright 2007 Jason Edgecombe <jason@rampaginggeek.com>
>
> This documentation is covered by the IBM Public License Version 1.0. This
> man page was written by Jason Edgecombe for OpenAFS.
>   
> ------------------------------------------------------------------------
>
> =head1 NAME
>
> pts sleep - Pauses for a few seconds
>
> =head1 SYNOPSIS
>
> =for html
> <div class="synopsis">
>
> B<pts quit> S<<< [B<-cell>] <I<cell name>> >>> [B<-noauth>] [B<-force>]
>
> B<pts q> S<<< [B<-cell>] <I<cell name>> >>> [B<-noauth>] [B<-force>]
>
> =for html
> </div>
>
> =head1 DESCRIPTION
>
> The B<pts quit> exits from pts interactive mode.  The command can be
> run from the command line or interactively. Running B<pts quit> on the
> command line isn't very useful.
>
> =head1 CAUTIONS
>
> The B<pts_quit> command is only available if OpenAFS was compiled
> with the supergroups option, which is disabled by default.
>
> =head1 OPTIONS
>
> Even though they have no appreciable effect, B<pts quit> takes
> the following options:
>
> =over 4
>
> =item B<-cell> <I<cell name>>
>
> Specifies an alternate cell to talk to.
>
> =item B<-force>
>
> Continue the operation even if there are errors. This is useful for
> bulk operations where you would like to continue even if one of the
> many operations fails.
>
> =item B<-noauth>
>
> Perform the action as the unauthenticated user instead of using the
> current users credentials.
>
> =back
>
> =head1 OUTPUT
>
> This command has no output.
>
> =head1 EXAMPLES
>
> Here is an example of a B<pts interactive> session:
>
>    %pts interactive
>    pts> quit
>    %
>
> =head1 SEE ALSO
>
> L<pts(1)>,
> L<pts_interactive(1)>,
> L<pts_sleep(1)>
>
> =head1 COPYRIGHT
>
> Copyright 2007 Jason Edgecombe <jason@rampaginggeek.com>
>
> This documentation is covered by the IBM Public License Version 1.0. This
> man page was written by Jason Edgecombe for OpenAFS.
>   
> ------------------------------------------------------------------------
>
> =head1 NAME
>
> pts interactive - Enters interactive mode
>
> =head1 SYNOPSIS
>
> =for html
> <div class="synopsis">
>
> B<pts interactive> S<<< [B<-cell>] <I<cell name>> >>> [B<-noauth>]
>    [B<-force>]
>
> B<pts in> S<<< [B<-cell>] <I<cell name>> >>> [B<-noauth>] [B<-force>]
>
> =for html
> </div>
>
> =head1 DESCRIPTION
>
> The B<pts interactive> command allows the user to enter an interactive
> mode which is useful for running bulk commands like creating new users
> or groups.
>
> =head1 CAUTIONS
>
> The B<pts_interactive> command is only available if OpenAFS was
> compiled with the supergroups option, which is disabled by default.
>
> Running bulk B<pts> commands may degrade the performance of the pts
> server while they are run. In addition, server resource may not be
> released immediately after commands are run. Because of this, the
> L<pts sleep> command can be used in interactive mode to give the
> B<ptserver> a change to catch up.
>
> =head1 OPTIONS
>
> B<pts interactive> only takes the standard B<pts> options.
>
> =over 4
>
> =item B<-cell> <I<cell name>>
>
> Specifies an alternate cell to talk to.
>
> =item B<-noauth>
>
> Perform the action as the unauthenticated user instead of using the
> current users credentials.
>
> =item B<-force>
>
> Continue the operation even if there are errors. This is useful for
> bulk operations where you would like to continue even if one of the
> many operations fails.
>
> =back
>
> =head1 OUTPUT
>
> The output is the same as if each individual command were run from the
> command line.
>
> =head1 EXAMPLES
>
> Here is an example of a B<pts interactive> session:
>
>    %pts interactive
>    pts> examine admin
>    Name: admin, id: 1, owner: system:administrators, creator: anonymous,
>      membership: 2, flags: S----, group quota: 20.
>    pts> help
>    pts: Commands are:
>    adduser         add a user to a group
>    apropos         search by help text
>    chown           change ownership of a group
>    creategroup     create a new group
>    createuser      create a new user
>    delete          delete a user or group from database
>    examine         examine an entry
>    help            get help on commands
>    interactive     enter interactive mode
>    listentries     list users/groups in the protection database
>    listmax         list max id
>    listowned       list groups owned by an entry or zero id gets orphaned groups
>    membership      list membership of a user or group
>    quit            exit program
>    removeuser      remove a user from a group
>    rename          rename user or group
>    setfields       set fields for an entry
>    setmax          set max id
>    sleep           pause for a bit
>    source          read commands from file
>    pts> quit
>    %
>
>
> =head1 PRIVILEGE REQUIRED
>
> The same privilege is required to run the command in interactive mode
> as is required to run the command by itself on the command line. Some
> commands such as B<pts createuser> require AFS administrator
> privileges, while others do not.
>
> =head1 SEE ALSO
>
> L<pts(1)>,
> L<pts_sleep(1)>,
> L<pts_quit(1)>
>
> =head1 COPYRIGHT
>
> Copyright 2007 Jason Edgecombe <jason@rampaginggeek.com>
>
> This documentation is covered by the IBM Public License Version 1.0. This
> man page was written by Jason Edgecombe for OpenAFS.
>   
> ------------------------------------------------------------------------
>
> ? doc/man-pages/readpod
> ? doc/man-pages/pod1/pts_interactive.pod
> ? doc/man-pages/pod1/pts_quit.pod
> ? doc/man-pages/pod1/pts_sleep.pod
> Index: doc/man-pages/README
> ===================================================================
> RCS file: /cvs/openafs/doc/man-pages/README,v
> retrieving revision 1.14
> diff -u -r1.14 README
> --- doc/man-pages/README	5 Aug 2007 21:58:35 -0000	1.14
> +++ doc/man-pages/README	10 Aug 2007 01:48:32 -0000
> @@ -201,9 +201,6 @@
>         fs rxstatproc
>         fs setcbaddr
>         kseal
> -       pts interactive
> -       pts quit
> -       pts sleep
>         pts source
>         read_tape
>         restorevol
> Index: doc/man-pages/pod1/pts.pod
> ===================================================================
> RCS file: /cvs/openafs/doc/man-pages/pod1/pts.pod,v
> retrieving revision 1.2
> diff -u -r1.2 pts.pod
> --- doc/man-pages/pod1/pts.pod	9 Dec 2005 13:26:31 -0000	1.2
> +++ doc/man-pages/pod1/pts.pod	10 Aug 2007 01:48:32 -0000
> @@ -52,6 +52,15 @@
>  
>  =item *
>  
> +Commands to run commands interactively: B<pts interactive>, B<pts
> +sleep>, and B<pts quit>
> +
> +=item *
> +
> +A command to read bulk commands form a file: B<pts source>
> +
> +=item *
> +
>  Commands to obtain help: B<pts apropos> and B<pts help>.
>  
>  =back
> @@ -136,14 +145,17 @@
>  L<pts_delete(1)>,
>  L<pts_examine(1)>,
>  L<pts_help(1)>,
> +L<pts_interactive(1)>,
>  L<pts_listentries(1)>,
>  L<pts_listmax(1)>,
>  L<pts_listowned(1)>,
>  L<pts_membership(1)>,
> +L<pts_quit(1)>,
>  L<pts_removeuser(1)>,
>  L<pts_rename(1)>,
>  L<pts_setfields(1)>,
> -L<pts_setmax(1)>
> +L<pts_setmax(1)>,
> +L<pts_sleep(1)>
>  
>  =head1 COPYRIGHT
>  
>   


--------------000605000309080005080406
Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0";
 name="pts_quit.pod"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="pts_quit.pod"

=head1 NAME

pts quit - Exit from B<pts interactive> mode

=head1 SYNOPSIS

=for html
<div class="synopsis">

B<pts quit> S<<< [B<-cell>] <I<cell name>> >>> [B<-noauth>] [B<-force>]

B<pts q> S<<< [B<-cell>] <I<cell name>> >>> [B<-noauth>] [B<-force>]

=for html
</div>

=head1 DESCRIPTION

The B<pts quit> exits from pts interactive mode.  The command can be
run from the command line or interactively. Running B<pts quit> on the
command line isn't very useful.

=head1 CAUTIONS

The B<pts_quit> command is only available if OpenAFS was compiled
with the supergroups option, which is disabled by default.

=head1 OPTIONS

Even though they have no appreciable effect, B<pts quit> takes
the following options:

=over 4

=item B<-cell> <I<cell name>>

Specifies an alternate cell to talk to.

=item B<-force>

Continue the operation even if there are errors. This is useful for
bulk operations where you would like to continue even if one of the
many operations fails.

=item B<-noauth>

Perform the action as the unauthenticated user instead of using the
current users credentials.

=back

=head1 OUTPUT

This command has no output.

=head1 EXAMPLES

Here is an example of a B<pts interactive> session:

   %pts interactive
   pts> quit
   %

=head1 SEE ALSO

L<pts(1)>,
L<pts_interactive(1)>,
L<pts_sleep(1)>

=head1 COPYRIGHT

Copyright 2007 Jason Edgecombe <jason@rampaginggeek.com>

This documentation is covered by the IBM Public License Version 1.0. This
man page was written by Jason Edgecombe for OpenAFS.

--------------000605000309080005080406--