Subject: bind(1) and mount(1) options synopsis: bind [option ... ] new old mount [option ... ] servename old [spec] unmount [new] old options: -b Add the new directory to the beginning of the union directory represented by the old file. -a Add the new directory to the end of the union directory represented by the old file. -c permit creation in this element of the union. Subject: The 8 1/2 window system synopsis: 81/2 [ -i 'cmd' ] [ -s ] [ -f font ] eg: 81/2 -i lib/windows -s # want scrolling on Characters typed replace the selected text, which is placed in a snarf buffer. Hit ESC to toggle 'hold mode' (mail does this automatically). Use 'view key' to scroll forward half a window. button 2 menu: cut deletes the selected text & puts it in the snarf buffer snarf copies the selected text to the snarf buffer paste replaces the selected text with the contents of the snarf buffer send copies the snarf buffer to just after the output point button 3 menu: New Create a window. Reshape Change the size and location of a window. Move Move a window to another location. Delete Sends hangup note to all processes in that window's process group, see notify(2). Hide pseudo-iconify, moves a window off the screen. label restore a hidden window. devices: /dev/[cons label nbmouse select snarf text winid screen] Subject: The text editor Sam ESC selects the text typed since the last mouse button hit. button 2 menu: cut delete dot and save the deleted text in the snarf buffer paste replace the text in dot by the contents in the snarf buffer snarf save the text in dot in the snarf buffer look search forward for the next occurance of the literal text in dot. If dot is the null string, the text in the snarf buffer is used. <81/2> Exchange snarf buffers with 8 1/2. /regexp Search forward for the next match of the last regular expression typed in a command. (Not in command window.) send send the text in dot, or the snarf buffer if dot is the null string, as if it were typed to the command window. button 3 menu: new Create a new, empty file. zerox Create a copy of an existing window. reshape as in 8 1/2 close Delete the window. In the last window of a file, close is equivalent to a D for the file. write Equivalent to a w for the file. Subject: The RC shell All scripts must start with '#!/bin/rc' flags x + # trace on cdpath=(/sys/src /lib) whatis path cd who /env/fn#roff functions to setup: cd, pwd Subject: VGA hell manpages are vga(3), vgadb(6), vga(8), plan9.ini(8) to dump the registers, and see if your card is in /lib/vgadb: aux/vga -p > /tmp/x if that doesn't kill the system, use the following for more info: aux/vga -pv > /tmp/xx what does this do?: aux/vga -lpv Force the VGA controller to a known state: aux/vga -m vga -l Getting more fancy: aux/vga -m multisync75 -l 1024x768x8 aux/vga -m multisync75 -l 1280x1024x8 to find the current settings: cat /dev/vgactl Subject: Once you escape vga hell, have some fun fb/9v /lib/image/mandrill.3c # view image file fb/colors # display colormap fb/picinfo file # get picture info fb/cvt2pic file > file.pic # tiff, xbm, gif, jpeg, facesaver? mugs file.pic > file.icon # then install the icon in /lib/face seemail # icons of received mail /lib/face/.machinelist # *research.att.com astro /lib/face/*/.dict # microsoft.com/bill b/bill.1 manpages: art(1), tweak(1), rgbpix(2), bitmap(6), face(6), 9v(9.1), cvt2pic(9.1), mugs(9.1), getmap, colors, pic2ps, pic2gif Subject: Impress your friends import plan9 /net # or /proc (uses exportfs on plan9) cpu -hplan9 # does the opposite of import ftpfs plan9.att.com # to see files in /n/ftp tarfs update.tar # cd /n/tapefs to see contents Subject: APE ape/psh binds /$cputype/bin/ape and /rc/bin/ape into /bin, then runs /bin/sh sh(ksh93), stty, chown, ln, umask Subject: Misc. mail -c # to create mailbox auth/cron -c # to create crontab sysmon(8) # to see system stats ls /net/tcp bpr /dev/screen