DataMuseum.dk

Presents historical artifacts from the history of:

RC9000

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about RC9000

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: @ F T

⟦bba80501b⟧ TextFile

    Length: 1540 (0x604)
    Types: TextFile
    Notes: @(#)Form.make_now 13.1 (RC International) 91/09/19
    Names: »Form.make_now«

Derivation

└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
    └─⟦bbf173f5c⟧ »0004« 
        └─⟦this⟧ »./usr/sadm/sysadm/menu/files/make/Form.make_now« 

TextFile

# Ident: @(#)Form.make_now	13.1 (RC International) 91/09/19
lifetime=longterm
help=`set -l OBJ_DIR=$OAMBASE/menu/files/make`OPEN TEXT $INTFBASE/Text.itemhelp $LININFO
form="Start making the filesystem"
done=`
     if [ $F3 = "yes" ];
     then
       message -t "making $VOLNAME";
       /etc/mkfs -f "$FRQ" -p "$PRIMEXT" -s "$SECEXT" "$TYPE" "$VOLNAME" > /tmp/mkfs 2>/tmp/mkfs;
       echo "" >> /tmp/mkfs;
       if [ $F4 = "yes" ];
       then
         /etc/mount "$VOLNAME" >> /tmp/mkfs;
         if [ $RET = 0 ];
         then
            echo "$VOLNAME mounted" >> /tmp/mkfs;
         fi;
       fi;
       set -l cmd="OPEN TEXT $OAMBASE/menu/files/make/Text.mkfs";
     else set -l cmd="close";
     fi;
     `$cmd

begrow=any
begcol=any

# Table field - F1
inactive=true
name="Volume name: \+bd$VOLNAME\-bd"
nrow=1
ncol=1
frow=1
fcol=50
rows=1
columns=0
` if [ "$TYPE" = "-B" ];
  then
    set -l msg="BSD";
  else
    set -l msg="systemV";
  fi;
`
name="Type: \+bd$msg\-bd"
nrow=2
ncol=1
frow=2
fcol=50
rows=1
columns=0
# Table field - F3
name="Start now?"
inactive=false
lininfo=Form.make_now:F3
nrow=4
ncol=1

frow=4
fcol=15
rows=1
columns=3

value=yes
rmenu={ yes no }
menuonly
fieldmsg="Enter yes if you want to start the 'make filesystem' now"
invalidmsg="$F3 are not valid"

# Table field - F4
name="Mount?"
lininfo=Form.make_now:F4
nrow=5
ncol=1

frow=5
fcol=15
rows=1
columns=3

value=yes
rmenu={ yes no }
menuonly
fieldmsg="Enter yes if you want to get the filesystem mounted, when created"
invalidmsg="$F4 are not valid"