mount /srv/kfs /n/kfs
disk/kfs -f /dev/sd00/fs mount /srv/kfs /n/kfs
srv il!vampira mount -c /srv/il!vampira /n/vampira
cpu -h bela -a netkey ( login as bootes, you will need to use netkey on your host to complete the challenge response) bind -b '#S' /dev rm /srv/dos dossrv mount -c /srv/dos /n/9fat /dev/sd00/9fat
cpu -h bela -a netkey ( login as bootes, you will need to use netkey on your host to complete the challenge response) bind -b '#f' /dev rm /srv/dos dossrv a:
cpu -h bela a:
assuming il!vampira is hung up, to fix:
rm /srv/il!vampira srv il!vampira mount -c /srv/il!vampira /n/vampira
9660srv mount /srv/9660 /n/tapefs /dev/sdD0/data
select w/ 1, use 2 to cut 3 to paste, 2,3 to snarf.
cpu -a netkey -h plan9.acl.lanl.gov
fn vi { sam $* } fn acme { builtin acme -f $font $* }
prompt=($sysname%' ') fn $sysname%{ $* }
acme -l acmemail.dumpwill load your configuration.
plumber acme
drawterm -a plan9 -c plan9 -n
mkdir $home/lib/face mkdir $home/lib/face/48x48x1 cp /lib/face/48x48x1/.dict $home/lib/face/48x48x1/
modify $home/lib/face/48x48x1/.dict, and add a line to your $home/lib/profile like:
bind -b $home/lib/face/48x48x1 /lib/face/48x48x1
Note: in the 4th Ed. the "Q" command in acme replaces this functionality
Sometimes it is nice to reply to just a selected part of a message rather than using acme's Include: feature. To do this I use a small script call ireply:
#!/bin/rc awk '{ print "> " $0}'then to reply so some selected text:
1) select text to include in reply w/ button 1
2) type "|ireply" in message tag and run w/ button 2
3) run "reply" in message tag w/ button 2
4) use the button 1,3 chord to paste text into reply
5) remove Include: line from message and type your reply.
#!/bin/rc bind -ca $home /usr/inferno/$home EMU='-g900x900 -c1' emu /dis/wm/logon.dis -u $user
#!/bin/rc EMU='-g900x900 -c1' emu /dis/charon.disNOTE: this script is for an older version of charon. For the latest inferno add these changes to /appl/charon/charon.b:
plan9% diff charon.b charon.b.old 35,38d34 < include "tk.m"; < tk: Tk; < include "tkclient.m"; < tkclient: Tkclient; 147,151d142 < tk = load Tk Tk->PATH; < tkclient = load Tkclient Tkclient->PATH; < tkclient->init(); < if (ctxt == nil) < ctxt = tkclient->makedrawcontext(); plan9%
import plan9 /net.alt import plan9 /net.alt /net or bind /net.alt /net
import plan9 /net.alt import plan9 /net.alt /netOnce inside inferno make sure /net.alt exists and then:
bind /net /net.altApplications such as charon will now have access to the external network inferface on plan9.
import -C plan9.acl.lanl.gov /usr(-C is so it will use the cfs cache filesystem) To get access to machines behind the gateway:
import plan9.acl.lanl.gov /netRun faces:
fn rfaces { import plan9.acl.lanl.gov /net; cpu -h bela -c faces -i }To run acmemail we use the function:
fn racmemail { import plan9.acl.lanl.gov /net; cpu -h bela -c acmemail }which calls the function:
fn acmemail { import plan9 /net.alt; acme -f $font -l acmemail.dump }
user=<username>in plan9.ini
import plan9 /net.alt import plan9 /net.alt /netadd these to your lib/profile:
CVSROOT=:pserver:ddd@cvs.acl.lanl.gov:/n/father/p0/plan9/repository CVSEDITOR=samNow you can use CVS:
cvs login cvs checkout mp
9fs dump cd /n/dump/
bind /net.alt /net vncsvncs will return a connection number, for this example we will assume that is :X
Note: because you need to bind /net.alt on to /net to have vncs talk to the external network you will need access to a plan9 machine or drawterm.
on unix:
vncviewer plan9.acl.lanl.gov:Xwhere is X is the connection number you got from vncs.
at this point you will have a plan9 console, now issue the commands:
bind '#l0' /net bind '#I0' /net ndb/cs rioat which point you should have a functional plan9 desktop.
auth/secstored mkdir /adm/secstore mkdir /adm/secstore/store mkdir /adm/secstore/who auth/secuser dpxon terminal:
touch /tmp/factotum auth/secstore -p /tmp/factotum ramfs -p; cd /tmp auth/secstore -g factotum secstore password: echo 'key proto=apop dom=x.com user=dpx !password=y~1' >> factotum auth/secstore -p factotum secstore password: cat factotum > /mnt/factotum/ctland delete the window.
cd /sys/src/boot/pc mk 9fat: cp 9load /n/9fat/
disk/kfscmd allow aux/ssh_genkey chgrp -u bootes /sys/lib/ssh/hostkey* disk/kfscmd disallow disk/kfscmd sync
awk '{print $1,$8/1000.0}' /dev/sysstat
awk -F/ '{print $2}' /dev/swap | awk '{print $1*4/1024,"MB"}'
awk -F/ '{print $1}' /dev/swap | awk '{print $1*4/1024,"MB"}'
awk -F/ '{print 100*$1/$2}' /dev/swap
<program> &for example: charon &
grep filename /proc/*/fd
lp -dstdout file.txt >file.ps
htmlfmt file.html | lp -dstdout >file.ps
FIX...