~fultonbrowne/rc-scripts

ref: 68da554c01b584108eb3c7cffe86961ca09e1d2b rc-scripts/util/riostart -rwxr-xr-x 346 bytes
68da554c — glenda so I clearly don't know rc very well 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
#!/bin/rc
window 0,0,114,115 winwatch -e '^(cat|winwatch|stats|faces)'
window -hide 'cat /dev/kprint'
window 'cat /usr/glenda/lib/color > /dev/theme;
        sleep 0.5;
        grep softscreen /dev/vgactl >> /dev/vgactl;
        echo hwblank off >> /dev/vgactl'
# run a system shell on the serial console
~ $#console 0 || window -scroll console