03 March 2016

rio

System: Slackware Linux (version 14.0)
CPUs: Intel(R) Atom(TM) CPU N270 @1.60GHz
Deps: plan9port-20140306.tgz

Setting up rio with a Danish keyboard layout.

https://slackbuilds.org/repository/14.1/system/plan9port/

Boot into the default runlevel 3.

Welcome to Linux 3.2.29-smp (tty1)
darkstar login: root
Password:
Linux 3.2.29-smp
Last login: Wed Mar 3 06:08:32 +0100 2016 on /dev/tty1

root@darkstar~# installpkg plan9port-20140306-i486-1_SBo.tgz
root@darkstar~# cat /home/glen/.xinitrc
#!/bin/sh

# Merge in defaults
userresources=$HOME/.Xresources
[ -f $userresources ] && xrdb -merge $userresources

# Change the key map to Danish
/usr/bin/setxkbmap -layout dk

# Start the window manager:
if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
  exec ck-launch-session rio
else
  exec rio
fi
root@darkstar~#

Modifying the above to read 'exec ck-launch-session rio -grey' will
display a stippled grey background, instead of Plan 9's solid grey.

Use Ctrl+Alt+F2 to access tty2.

Welcome to Linux 3.2.29-smp (tty2)
darkstar login: glen
Password:
Linux 3.2.29-smp
glen@darkstar:~$ startx

Use mouse button 3 to access the menu, select New,
then use mouse button 3 to draw a window.

9term is a dumb terminal.

As I have not ported Mothra to plan9port
start an xterm in the background to use a
text-browser; likewise for emacs, vi(m), or
yi (vty frontend with vim keymap), if you
prefer those to acme, ed, or sam.

From a running 9term in rio the number of processes is minimal.

sh-4.2$ ps x
  PID TTY      STAT   TIME COMMAND
 1912 tty2     Ss     0:00 -sh
 1944 tty2     S+     0:00 /bin/sh /usr/bin/startx
 1960 tty2     S+     0:00 xinit /home/glen/.xinitrc -- /usr/bin/X :0 -auth /home/glen/.serverauth.1944
 1966 tty2     S      0:00 ck-launch-session rio
 1975 tty2     S      0:00 rio
 1978 tty2     S      0:00 9term -w
 1979 tty2     Sl     0:00 9term -w
 1980 tty2     S      0:00 9term 9term (devdraw)
 1985 pts/0    Ss     0:00 /bin/sh -i
 1999 pts/0    R+     0:00 ps x
sh-4.2$

Type 'rio exit' in 9term to end your session.

Logout of tty2 and use Ctrl+Alt+F1 to access tty1.

root@darkstar~# halt

NB: For ordinary use (after the software is installed) one can run exclusively on
/dev/tty1, delaying the 'root' login until the end, which factually is only needed
to run the commands "halt" or "reboot".