|
|
DataMuseum.dkPresents historical artifacts from the history of: RC9000 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about RC9000 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - downloadIndex: @ F T
Length: 1473 (0x5c1)
Types: TextFile
Notes: @(#)Form.list 13.2 (RC International) 91/08/23
Names: »Form.list«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./usr/sadm/sysadm/add-ons/lp/printers/printers/Form.list«
# @(#)Form.list 13.2 (RC International) 91/08/23 form="List Printer(s)" help=OPEN TEXT $INTFBASE/Text.itemhelp $LININFO `indicator -w; set -l name_2="/tmp/lp.n2$VPID"; shell "/usr/sadm/sysadm/bin/lpdata -p > $name_2"; if [ -s "$name_2" ]; then echo "init=true"; else echo "init=false"; message -b "There are no printers available"; fi` done=`message -w "Gathering printer lists."; if [ "$F1" != "all" ]; then echo "$F1" | tr " " "," | set -l PRINTERS; else set -l PRINTERS=""; fi; lpstat -p$PRINTERS > /tmp/list$VPID; rm -f $name_2; `OPEN TEXT $OAMBASE/add-ons/lp/printers/printers/Text.list #F1 name=Printer name(s): lininfo="list:F1" nrow=1 ncol=1 frow=1 fcol=18 rows=1 columns=40 fieldmsg='Enter printers to be listed then press [SAVE]' scroll=true rmenu=`set -e OBJ_DIR="$OAMBASE/add-ons/lp/printers/printers"`OPEN MENU $OBJ_DIR/Menu.pr.ch choicemsg="MARK choices then press ENTER" valid=`indicator -w; unset -l bad_one; shell "/usr/sadm/sysadm/bin/lpdata -p > $name_2"; echo "all" >> $name_2; if [ -z "$F1" ]; then set -l no_value=true -l name_valid=false; else set -l no_value=false -l name_valid=true; fi; echo "$F1" | tr " ," "[\012*]" | regex -e '^(.*)$0$' '`fmlgrep "^$m0$" $name_2 || set -l bad_one="$m0" -l name_valid=false`' > /dev/null`$name_valid invalidmsg=`if [ "$no_value" = "true" ]; then echo "You must enter a value for this field."; else echo "$bad_one is an invalid printer - press [CHOICES] for selection"; fi`