From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <775b8d1905021412313a0ec28d@mail.gmail.com> Date: Tue, 15 Feb 2005 07:31:04 +1100 From: Bruce Ellis To: Russ Cox , Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] Re: plan9port: recent changes In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: Cc: Topicbox-Message-UUID: 08a0aec0-ead0-11e9-9d60-3106f5b1d025 i don't like autoindent ... it always seems to do what i don't want it to do, the tab key is big, and i don't write deeply nested code. but if you do - fine ... make it an option (i hate thousands of options too). good to see a prolifertion of factota - the ozinferno one is even simpler than the original, but loads modules on demand to do the good stuff. brucee On Mon, 14 Feb 2005 14:09:34 -0500, Russ Cox wrote: > A few people have reported that running acme and exiting > leaves behind a 9pserve process with the effect that you can't > run acme a second time. I believe I just checked in a fix to this bug, > which I introduced trying to work around the pthread nonsense > we were discussing last week. After updating from CVS, you'll > have to rebuild libthread and then 9pserve (or just use > cd $PLAN9; ./INSTALL -- it's still much faster than compiling the > Linux kernel). > > It's worth noting for everyone that you can't run two acmes in > the same "name space" since they'll both want to post as the Unix > socket `namespace`/acme. If you want to start a new "name space" > you can set $NAMESPACE manually, as in > > mkdir /tmp/ns; NAMESPACE=/tmp/ns; export NAMESPACE > > and then you'll have a separate acme that is isolated from the > first (and from the plumber that the first acme is using). > > Intro(4) has details. > > Setting $NAMESPACE also lets you run file servers before you > start X and share them with your X session. For example, in my > .profile I have the following: > > # Logging in on tty1 sets up factotum and then runs X automatically > if [ "`/bin/ls -l /proc/self/fd/0 2>/dev/null | awk '{print $NF}'`" = > '/dev/tty1' ] > then > NAMESPACE=/tmp/ns.`hostname` > export NAMESPACE > rm -rf $NAMESPACE; mkdir $NAMESPACE > 9 factotum > eval `9 ssh-agent -e` > startx > fi > > I have to start factotum and ssh-agent before X because I run > stats to remote machines (via ssh) in my .xinitrc, and so that > the $SSH_AUTH_SOCK variable is set in all my X windows. > > Russ >