39 lines
830 B
Bash
39 lines
830 B
Bash
bind -a $home/bin/rc /bin
|
|
bind -a $home/bin/$cputype /bin
|
|
bind -c $home/tmp /tmp
|
|
font = /lib/font/bit/pelm/euro.9.font
|
|
switch($service){
|
|
case terminal
|
|
plumber
|
|
startupasfs
|
|
echo -n accelerated > '#m/mousectl'
|
|
echo -n 'res 3' > '#m/mousectl'
|
|
prompt=('term% ' ' ')
|
|
fn term%{ $* }
|
|
exec rio
|
|
case cpu
|
|
if (test -e /mnt/term/mnt/wsys) {
|
|
# rio already running
|
|
wsys = /mnt/term^`{cat /mnt/term/env/wsys}
|
|
bind -a /mnt/term/mnt/wsys /dev
|
|
echo -n $sysname > /dev/label
|
|
}
|
|
bind /mnt/term/dev/cons /dev/cons
|
|
bind /mnt/term/dev/consctl /dev/consctl
|
|
bind -a /mnt/term/dev /dev
|
|
prompt=('cpu% ' ' ')
|
|
fn cpu%{ $* }
|
|
startupasfs
|
|
news
|
|
if (! test -e /mnt/term/mnt/wsys) {
|
|
# cpu call from drawterm
|
|
font=/lib/font/bit/pelm/latin1.8.font
|
|
plumber
|
|
auth/factotum
|
|
exec rio
|
|
}
|
|
case con
|
|
prompt=('cpu% ' ' ')
|
|
startupasfs
|
|
news
|
|
}
|