1
0

profile 847 B

1234567891011121314151617181920212223242526272829303132333435
  1. bind -a $home/bin/rc /bin
  2. bind -a $home/bin/$cputype /bin
  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/pelm/euro.9.font
  7. upas/fs
  8. switch($service){
  9. case terminal
  10. plumber
  11. echo -n accelerated > '#m/mousectl'
  12. echo -n 'res 3' > '#m/mousectl'
  13. prompt=('term% ' ' ')
  14. fn term%{ $* }
  15. exec rio -i riostart
  16. case cpu
  17. if (test -e /mnt/term/mnt/wsys) { # rio already running
  18. bind -a /mnt/term/mnt/wsys /dev
  19. if(test -w /dev/label)
  20. echo -n $sysname > /dev/label
  21. }
  22. bind /mnt/term/dev/cons /dev/cons
  23. bind /mnt/term/dev/consctl /dev/consctl
  24. bind -a /mnt/term/dev /dev
  25. prompt=('cpu% ' ' ')
  26. fn cpu%{ $* }
  27. news
  28. if (! test -e /mnt/term/mnt/wsys) { # cpu call from drawterm
  29. font=/lib/font/bit/pelm/latin1.8.font
  30. exec rio
  31. }
  32. case con
  33. prompt=('cpu% ' ' ')
  34. news
  35. }