Re: [9fans] Heresy alert, Zerox - Clone

2012-06-04 Thread erik quanstrom
I'll admit I don't have anything quite as convenient as that for an immediate undo. I'd put a cp in the shell loop and for undo: for(f in *.orig) {mv $f `{echo $f | sed 's/.orig$//'}}. Or use a scm, e.g. git reset --hard HEAD. this is significantly more complicated for the user, and it

[9fans] has anyone wished for

2012-06-04 Thread erik quanstrom
static extern register? i know, the syntax doesn't make sense, but if you take extern register to have the standard plan 9 meaning, and static to mean visibility limited to this file, then there you have it. - erik

Re: [9fans] has anyone wished for

2012-06-04 Thread Lucio De Re
i know, the syntax doesn't make sense, but if you take extern register to have the standard plan 9 meaning, and static to mean visibility limited to this file, then there you have it. At a glance, I'd say you're looking for inline assembly? ++L

Re: [9fans] has anyone wished for

2012-06-04 Thread erik quanstrom
On Mon Jun 4 11:26:56 EDT 2012, lu...@proxima.alt.za wrote: i know, the syntax doesn't make sense, but if you take extern register to have the standard plan 9 meaning, and static to mean visibility limited to this file, then there you have it. At a glance, I'd say you're looking for

Re: [9fans] has anyone wished for

2012-06-04 Thread Rob Pike
What happens when two files linked into the same binary both declare static extern register variables? -rob

Re: [9fans] has anyone wished for

2012-06-04 Thread cinap_lenrek
then the front falls off. -- cinap

Re: [9fans] has anyone wished for

2012-06-04 Thread Matthew Veety
On Jun 4, 2012, at 12:31 PM, cinap_len...@gmx.de wrote: then the front falls off. -- cinap And probably the back too. -- Veety

Re: [9fans] drawterm to cpu/auth server with ordinary user

2012-06-04 Thread erik quanstrom
On Mon Jun 4 14:53:57 EDT 2012, ja...@cs.ioc.ee wrote: Hi, I'm trying to set up a combined cpu/auth server. I can drawterm into it using bootes but if I try the other user then I created the following happens after I type in my password: cpu: cannont get auth tickets in p9sk1:

Re: [9fans] drawterm to cpu/auth server with ordinary user

2012-06-04 Thread James Chapman
cpu%cat /cfg/$sysname/cpustart aux/listen -q -t /rc/bin/service.auth -d /rc/bin/service tcp cpu%ls /rc/bin/service.auth /rc/bin/service.auth/authsrv.il566 /rc/bin/service.auth/tcp567 I guess I am already flailing... and I can't run anything on the server's console until tomorrow. Thanks,

Re: [9fans] drawterm to cpu/auth server with ordinary user

2012-06-04 Thread James Chapman
P.S. mv /rc/bin/service/tcp567 /rc/bin/service/!tcp567 This line didn't work when I was following the instructions on the wiki for configuring a standalone cpu server as the file tcp567 wasn't there. James On Jun 4, 2012, at 10:14 PM, James Chapman wrote: cpu%cat /cfg/$sysname/cpustart

Re: [9fans] drawterm to cpu/auth server with ordinary user

2012-06-04 Thread erik quanstrom
On Mon Jun 4 15:16:01 EDT 2012, ja...@cs.ioc.ee wrote: cpu%cat /cfg/$sysname/cpustart aux/listen -q -t /rc/bin/service.auth -d /rc/bin/service tcp cpu%ls /rc/bin/service.auth /rc/bin/service.auth/authsrv.il566 /rc/bin/service.auth/tcp567 that looks correct. you need to make sure you're

Re: [9fans] drawterm to cpu/auth server with ordinary user

2012-06-04 Thread David du Colombier
I'm trying to set up a combined cpu/auth server. I can drawterm into it using bootes but if I try the other user then I created the following happens after I type in my password: cpu: cannont get auth tickets in p9sk1: Connection refused goodbye When you are running plan9port factotum,

Re: [9fans] drawterm to cpu/auth server with ordinary user

2012-06-04 Thread James Chapman
I just discovered that I can drawterm in from a machine on the same network with my user but it doesn't work from outside (over the internet). I am using dhcp with just the following in /lib/ndb/local: cpu% cat /lib/ndb/local # # files comprising the database, use as many as you like, see

Re: [9fans] drawterm to cpu/auth server with ordinary user

2012-06-04 Thread James Chapman
And now I discovered the problem was a typo in setting up an ssh tunnel. Sorry for the noise, and thanks for the help! James On Jun 4, 2012, at 10:59 PM, James Chapman wrote: I just discovered that I can drawterm in from a machine on the same network with my user but it doesn't work from