RTadmin, user menu

Generic menu for any user, where we do not have a role specific menu.

18/02/2003      AIX Ver 4 rel 2
Default Print Queue := postscript

        1  Media menu.
        2  Print services.
        3  Mail menu.
        6  fred's programme menu.
        7  fred's backup menu.
        8  print last page of fred's backup log.
        Q  Quit.


                [ ]

The first 3 options are common across, all users.

Customizable options

program menu

Unique to each users, generated from the configuration file $HOME/.programs.menu. This is a stanza format file.

Example


rr:
        title   =       Roadrunner
        command =       rr

rrstop:
        title   =       Stop my Roadrunner processes
        command =       RRstopProc

pay:
        title   =       payroll
        command =       bp01

Options

The following options are recognised.

titleCompulsoryDescriptive line for menu1993
commandCompulsoryCommand for the shell to run1993
cdOptionalSwitch to designated directory before running the command1993
groupObsolete

backup menu

Unique to each users, generated from the configuration file $HOME/.backups.menu.

Same format as the program menu. Intended for backup options for users private programs.

Options

The following options are recognised.

titleCompulsoryDescriptive line for menu1993
cdOptionalSwitch to designated directory, use before find to backup using relative path names.1993
findCompulsoryPath to run find against1993
mediaCompulsorytape|diskette1993
methodCompulsory?(cpio|tar)1993
(xclone|xclonet) AIX only1999

Note media option diskette is not supported on linux. Code will allways look for a tape device. As UDEV functionality in Linux matures, this may change on a future release.

Note methods xclone, and xclonet are AIX only.

Example


home:
        title   =       Backup home directory
        cd      =       /home/fred
        find    =       .
        media   =       tape
        method  =       cpio

pay:
        title   =       Backup payroll
        cd      =       /usr/share/bonus
        find    =       .
        media   =       tape
        method  =       cpio

print $LOGNAME's backup log

$HOME/.backups.log