1
0

profile 839 B

1234567891011121314151617181920212223242526272829303132
  1. bind -a $HOME/cmd/rc /cmd
  2. bind -a $HOME/cmd/$CPUTYPE /cmd
  3. bind -c tmp /tmp
  4. if(! syscall create /tmp/xxx 1 0666 >[2]/dev/null)
  5. ramfs # in case we're running off a cd
  6. font = /lib/font/bit/fixed/unicode.6x13.font
  7. switch($SERVICE){
  8. case terminal
  9. plumber
  10. echo -n accelerated > '#m/mousectl'
  11. echo -n 'res 3' > '#m/mousectl'
  12. prompt=('term% ' ' ')
  13. fn term%{ $* }
  14. exec rio -i riostart
  15. case cpu
  16. if (test -e /mnt/term/mnt/wsys) { # rio already running
  17. bind -a /mnt/term/mnt/wsys /dev
  18. if(test -w /dev/label)
  19. echo -n $SYSNAME > /dev/label
  20. }
  21. bind /mnt/term/dev/cons /dev/cons
  22. bind /mnt/term/dev/consctl /dev/consctl
  23. bind -a /mnt/term/dev /dev
  24. prompt=('cpu% ' ' ')
  25. fn cpu%{ $* }
  26. if (! test -e /mnt/term/mnt/wsys) { # cpu call from drawterm
  27. font=/lib/font/bit/fixed/unicode.6x13.font
  28. exec rio
  29. }
  30. case con
  31. prompt=('cpu% ' ' ')
  32. }