No.998 | Wed May 16 18:27:18 GMT 2012 | raw
#!/bin/rc

# update client for no-ip.com

rfork ne
webfs

agent='BenceFs no-ip.com update client Plan9/0.1 bencef@elte.com'
url=dynupdate.no-ip.com
host= # <host>
user= # <user>
pass= # <pass>
getip=http://prociweb.hu/ip
ip=()
oldip=()

while(){ #how do we loop nicely?
	ip=`{hget $getip}
	if(!  ~ $ip $oldip){
		<>/mnt/web/clone {
			dir=/mnt/web/^`{sed 1q}
			echo -n url 'http://' ^ $user ^ ':' ^ $pass ^ '@' ^ $url \
				^ '/nic/update?hostname=' ^ $host \
				^ '&myip=' ^ $ip >[1=0]
			echo -n useragent $agent >[1=0]
			echo -n request GET >[1=0]
			error=`{cat $dir/body}
			switch($error){
				case good*
					oldip=$ip
				case nochg*
					if(~ $#oldip 0)
						oldip=$ip
				case nohost
					exit 'wrong host'
				case badauth
					exit 'bad username or password'
				case badagent
					exit 'bad user agent'
				case abuse
					exit 'abuse'
				case 911
					exit 'fatal error'
				case *
					exit 'unknown error'
			}
		}
	sleep 300
	}
}


No.997 | Wed May 16 00:26:12 GMT 2012 | raw
term% diff -c <{dmesg2mp </tmp/dmesg | sort | uniq} <{dmesg2mp
</tmp/sl.dmesg2 | sort | uniq}
/tmp/diff100000017514:1,11 - /tmp/diff200000017514:1,7
- 03 00 00 00 00 04 02 10
- 03 00 00 00 00 0D 02 11
- 03 00 00 00 00 0E 02 12
  03 00 00 00 00 64 02 14
  03 00 00 00 00 68 02 14
  03 00 00 00 00 69 02 15
  03 00 00 00 00 6A 02 16
- 03 00 00 00 00 6D 02 11
  03 00 00 00 00 70 02 14
  03 00 00 00 00 71 02 15
  03 00 00 00 00 72 02 16
/tmp/diff100000017514:14,23 - /tmp/diff200000017514:10,16
  03 00 00 00 00 75 02 11
  03 00 00 00 00 76 02 12
  03 00 00 00 00 77 02 13
+ 03 00 00 00 00 7C 02 17
  03 00 00 00 00 7D 02 10
  03 00 00 00 00 7E 02 10
- 03 00 00 00 01 00 02 10
- 03 00 00 00 03 00 02 11
  03 00 00 00 15 00 02 10
- 03 00 00 00 15 01 02 11
- 03 00 00 00 15 02 02 12


No.996 | Tue May 15 23:53:22 GMT 2012 | raw
Plan 9
126 holes free
00018000 0009d000 544768
00485000 10000000 263696384
264241152 bytes free
cpu0: 1997MHz GenuineIntel Xeon5000-series (cpuid: AX 0x06FA CX 0xE3BD DX
0xBFEBFBFF)
ELCR: 0C00
LAPIC: fee00000 e0000000
cpu1: 1995MHz GenuineIntel Xeon5000-series (cpuid: AX 0x06FA CX 0xE3BD DX
0xBFEBFBFF)
pcirouting: Cannot find south bridge PCI.255.31.7
#Y0: Ricoh 476 PCI/Cardbus bridge, F8300000 intl 10
#l0: i82566: 1000Mbps port 0xFE000000 irq 11: 001e37183734
#S/sdE: ich: sata-I with 2 ports
#A0: hda mem e0024000 irq 11
hda: invalid connection 2:aout[0] -> 1
#A0: codec #0, vendor 11d41984, rev 00100400
3063M memory: 256M kernel data, 2806M user, 3431M swap
sdE0: LLBA 117,210,240 sectors
  HITACHI HTS541660J9SA00 SBBIC7UP SB2B41SB2B41SLCDT5HE [newdrive]
bad nvram key
nvrcheck: can't read nvram
current fs is "main"
11 uids read, 8 groups used
63-bit cwfs as of Thu May 10 07:39:16 2012
	last boot Tue May 15 23:51:42 2012

init: starting /bin/rc
dt

No.995 | Tue May 15 23:05:56 GMT 2012 | raw
bootfile=9pcf
bootargs=local!/dev/sdE0/fscache
nobootprompt=local!/dev/sdE0/fscache
nvram=/dev/sdE0/nvram
mouseport=ps2
monitor=vesa
vgasize=1680x1050x32
#ether0=type=wavelan essid=MESH crypt=off station=ns irq=11
*msi=1
user=sl
*mp0=00 00 14 03 fb 06 00 00 ff fb eb bf 00 00 00 00
*mp1=00 00 00 00 00 01 14 01 fb 06 00 00 ff fb eb bf
*mp2=00 00 00 00 00 00 00 00 01 00 50 43 49 20 20 20
*mp3=01 03 50 43 49 20 20 20 01 15 50 43 49 20 20 20
*mp4=01 16 49 53 41 20 20 20 02 02 20 01 00 00 c0 fe
*mp5=03 03 05 00 16 00 02 00 03 00 05 00 16 01 02 01
*mp6=03 00 05 00 16 00 02 02 03 00 05 00 16 03 02 03
*mp7=03 00 05 00 16 04 02 04 03 00 05 00 16 05 02 05
*mp8=03 00 05 00 16 06 02 06 03 00 05 00 16 07 02 07
*mp9=03 00 05 00 16 08 02 08 03 00 05 00 16 09 02 09
*mp10=03 00 05 00 16 0a 02 0a 03 00 05 00 16 0b 02 0b
*mp11=03 00 05 00 16 0c 02 0c 03 00 05 00 16 0d 02 0d
*mp12=03 00 05 00 16 0e 02 0e 03 00 05 00 16 0f 02 0f
*mp13=04 03 05 00 16 00 ff 00 04 01 05 00 16 00 ff 01
*mp14=03 00 00 00 00 04 02 10 03 00 00 00 00 0D 02 11
*mp15=03 00 00 00 00 0E 02 12 03 00 00 00 00 64 02 14
*mp16=03 00 00 00 00 68 02 14 03 00 00 00 00 69 02 15
*mp17=03 00 00 00 00 6A 02 16 03 00 00 00 00 6D 02 11
*mp18=03 00 00 00 00 70 02 14 03 00 00 00 00 71 02 15
*mp19=03 00 00 00 00 72 02 16 03 00 00 00 00 73 02 17
*mp20=03 00 00 00 00 74 02 10 03 00 00 00 00 75 02 11
*mp21=03 00 00 00 00 76 02 12 03 00 00 00 00 77 02 13
*mp22=03 00 00 00 00 7D 02 10 03 00 00 00 00 7E 02 10
*mp23=03 00 00 00 03 00 02 11 03 00 00 00 15 00 02 10
*mp24=03 00 00 00 15 01 02 11 03 00 00 00 15 02 02 12
*mp=400

No.994 | Sun May 13 17:46:15 GMT 2012 | raw
Plan 9
126 holes free
00018000 0009d000 544768
00491000 0938b000 149921792
150466560 bytes free
cpu0: 1997MHz GenuineIntel Xeon5000-series (cpuid: AX 0x06FB CX 0xE3BD DX
0xBFEBFBFF)
ELCR: 0C00
LAPIC: fee00000 e0000000
*mp0=00 00 14 03 fb 06 00 00 ff fb eb bf 00 00 00 00
*mp1=00 00 00 00 00 01 14 01 fb 06 00 00 ff fb eb bf
*mp2=00 00 00 00 00 00 00 00 01 00 50 43 49 20 20 20
*mp3=01 03 50 43 49 20 20 20 01 15 50 43 49 20 20 20
*mp4=01 16 49 53 41 20 20 20 02 02 20 01 00 00 c0 fe
*mp5=03 03 05 00 16 00 02 00 03 00 05 00 16 01 02 01
*mp6=03 00 05 00 16 00 02 02 03 00 05 00 16 03 02 03
*mp7=03 00 05 00 16 04 02 04 03 00 05 00 16 05 02 05
*mp8=03 00 05 00 16 06 02 06 03 00 05 00 16 07 02 07
*mp9=03 00 05 00 16 08 02 08 03 00 05 00 16 09 02 09
*mp10=03 00 05 00 16 0a 02 0a 03 00 05 00 16 0b 02 0b
*mp11=03 00 05 00 16 0c 02 0c 03 00 05 00 16 0d 02 0d
*mp12=03 00 05 00 16 0e 02 0e 03 00 05 00 16 0f 02 0f
*mp13=04 03 05 00 16 00 ff 00 04 01 05 00 16 00 ff 01
cpu1: 1994MHz GenuineIntel Xeon5000-series (cpuid: AX 0x06FB CX 0xE3BD DX
0xBFEBFBFF)
pcirouting: Cannot find south bridge PCI.255.31.7
#Y0: Ricoh 476 PCI/Cardbus bridge, F8300000 intl 10
#l0: i82566: 1000Mbps port 0xFE000000 irq 11: 001fe21c1581
#S/sdE: ich: sata-I with 1 ports
#A0: hda mem e0024000 irq 11
hda: invalid connection 2:aout[0] -> 1
#A0: codec #0, vendor 11d41984, rev 00100400
3063M memory: 148M kernel data, 2915M user, 3540M swap
sdE0: LLBA 156,301,488 sectors
  WDC WD800BEVS-08RST2 08.01G08 WD-WXCD-WXC308481170 [newdrive]
current fs is "main"
13 uids read, 8 groups used
63-bit cwfs as of Fri Apr 13 10:21:34 2012
	last boot Sun May 13 17:36:20 2012

init: starting /bin/rc
sp#

No.993 | Sat May 12 07:38:25 GMT 2012 | raw
Plan 9
126 holes free
00018000 0009d000 544768
00491000 0938b000 149921792
150466560 bytes free
cpu0: 1994MHz GenuineIntel Xeon5000-series (cpuid: AX 0x06FB CX 0xE3BD DX
0xBFEBFBFF)
ELCR: 0C00
LAPIC: fee00000 e0000000
cpu1: 1994MHz GenuineIntel Xeon5000-series (cpuid: AX 0x06FB CX 0xE3BD DX
0xBFEBFBFF)
mpintrenablex: bus 22 intin 1 irq 1
pcirouting: Cannot find south bridge PCI.255.31.7
#Y0: Ricoh 476 PCI/Cardbus bridge, F8300000 intl 10
#l0: i82566: 1000Mbps port 0xFE000000 irq 11: 001fe21c1581
#S/sdE: ich: sata-I with 1 ports
#A0: hda mem e0024000 irq 11
hda: invalid connection 2:aout[0] -> 1
#A0: codec #0, vendor 11d41984, rev 00100400
mpintrenablex: bus 22 intin 6 irq 6
mpintrenablex: no entry irq 11 (104), tbdf C00D000
mpintrenablex: bus 22 intin 11 irq 11
mpintrenablex: no entry irq 11 (105), tbdf C00D100
mpintrenablex: bus 22 intin 11 irq 11
usbuhci vector 104 (!imask)
mpintrenablex: multiple botch irq 11 (11), tbdf 5000000, lo 00000068, n 00000068
mpintrenable: out of choices eisa -1 isa 22 tbdf C00D100 irq 11
intrenable: couldn't enable irq 11, tbdf 0xC00D100 for usbuhci
mpintrenablex: no entry irq 10 (116), tbdf C00E800
mpintrenablex: bus 22 intin 10 irq 10
mpintrenablex: no entry irq 11 (117), tbdf C00E900
mpintrenablex: bus 22 intin 11 irq 11
usbuhci vector 104 (!imask)
mpintrenablex: multiple botch irq 11 (11), tbdf 5000000, lo 00000068, n 00000068
mpintrenable: out of choices eisa -1 isa 22 tbdf C00E900 irq 11
intrenable: couldn't enable irq 11, tbdf 0xC00E900 for usbuhci
mpintrenablex: no entry irq 11 (118), tbdf C00EA00
mpintrenablex: bus 22 intin 11 irq 11
usbuhci vector 104 (!imask)
mpintrenablex: multiple botch irq 11 (11), tbdf 5000000, lo 00000068, n 00000068
mpintrenable: out of choices eisa -1 isa 22 tbdf C00EA00 irq 11
intrenable: couldn't enable irq 11, tbdf 0xC00EA00 for usbuhci
mpintrenablex: no entry irq 11 (106), tbdf C00D700
mpintrenablex: bus 22 intin 11 irq 11
usbehci vector 104 (!imask)
mpintrenablex: multiple botch irq 11 (11), tbdf 5000000, lo 00000068, n 00000068
mpintrenable: out of choices eisa -1 isa 22 tbdf C00D700 irq 11
intrenable: couldn't enable irq 11, tbdf 0xC00D700 for usbehci
mpintrenablex: no entry irq 11 (119), tbdf C00EF00
mpintrenablex: bus 22 intin 11 irq 11
usbehci vector 104 (!imask)
mpintrenablex: multiple botch irq 11 (11), tbdf 5000000, lo 00000068, n 00000068
mpintrenable: out of choices eisa -1 isa 22 tbdf C00EF00 irq 11
intrenable: couldn't enable irq 11, tbdf 0xC00EF00 for usbehci
3063M memory: 148M kernel data, 2915M user, 3540M swap
mpintrenablex: bus 22 intin 14 irq 14
sdE0: LLBA 156,301,488 sectors
  WDC WD800BEVS-08RST2 08.01G08 WD-WXCD-WXC308481170 [newdrive]
current fs is "main"
13 uids read, 8 groups used
63-bit cwfs as of Fri Apr 13 10:21:34 2012
	last boot Sat May 12 07:26:38 2012
3 keys read

No.989 | Fri May 11 09:17:10 GMT 2012 | raw
never

No.988 | Thu May 10 22:24:07 GMT 2012 | raw
% for(i in 0.26.0 0.26.1 0.26.7 0.29.0 0.29.1 0.29.2 0.29.7){echo $i; dd -if
/dev/pci/$i^raw -bs 1 -count 1 -iseek 61 >[2]/dev/null | xd -x1}
0.26.0
0000000 01
0000001
0.26.1
0000000 02
0000001
0.26.7
0000000 01
0000001
0.29.0
0000000 01
0000001
0.29.1
0000000 02
0000001
0.29.2
0000000 03
0000001
0.29.7
0000000 01
0000001

No.986 | Wed May 9 14:35:36 GMT 2012 | raw
aiju wrote an arm emulator for 9front some time ago and
i remember he implemented floating point on it.

might have a look there:

http://code.google.com/p/plan9front/source/browse/sys/src/cmd/5e

--
cinap


No.985 | Thu May 3 20:25:56 GMT 2012 | raw
term% mkufont terminus.18.font ../*/unicode.font
17 14
0x0319 0x0419 terminus.18.0319
0x0218 0x0318 terminus.18.0218
0x0101 0x0201 terminus.18.0101
0x0000 0x0100 terminus.18.0000
0x0200 0x02ff ../vga/vga02
0x0400 0x04ff ../vga/vga04
0x0500 0x05ff ../vga/vga05
0x0600 0x06ff ../vga/vga06
0xfb00 0xfbff ../vga/vgafb
0xfc00 0xfcff ../vga/vgafc
0xfd00 0xfdff ../vga/vgafd
0xfe00 0xfeff ../vga/vgafe
0xff00 0xffff ../vga/vgaff
0x1000 0x10ff ../vga/vga10
0x1e00 0x1eff ../vga/vga1e
0x1f00 0x1fff ../vga/vga1f
0x2000 0x20ff ../vga/vga20
0x2100 0x21ff ../vga/vga21
0x2200 0x22ff ../vga/vga22
0x2300 0x23ff ../vga/vga23
0x2400 0x24ff ../vga/vga24
0x2500 0x25ff ../vga/vga25
0x2600 0x26ff ../vga/vga26
0x1600 0x16ff ../fixed/6x10.1600
0x2800 0x28ff ../fixed/6x10.2800
0x3000 0x30fe ../naga10/knj10.3000
0x4e00 0x4ffe ../naga10/knj10.4e00
0x5005 0x51fe ../naga10/knj10.5005
0x5200 0x53fa ../naga10/knj10.5200
0x5401 0x55fe ../naga10/knj10.5401
0x5606 0x57fc ../naga10/knj10.5606
0x5800 0x59ff ../naga10/knj10.5800
0x5a01 0x5bff

No.984 | Mon Apr 30 10:56:50 GMT 2012 | raw
asdasdasdaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa