[9fans] Looking for Printed Plan 9 Manuals
I am looking to purchase printed editions of the Plan 9 (and/or Unix) manuals, principally the 2nd and 3rd edition manuals. Please contact me if you are willing to part with copies for reasonable compensation. Thanks very much.
Re: [9fans] /acme/edit commands?
Skip Tavakkolian <9nut 9netics.com> writes: > all the recipes in /acme/edit/guide start with 'e' command (ee.l). 'e' > starts by looking in /mnt/acme/index for the buffer id of "file"; it > then operates on the corresponding buffer. so the edit commands are > meant to operate in /mnt/acme namespace (i.e. inside acme). > > you can use 'sam -d' for shell scripts. > Got it, thanks. Unfortunately sam isn't available on Inferno, so I'll have to make do with using acme. When I get around to it, I'll work on extracting the logic from acme/sam and write stand-alone versions of the /acme/edit commands. What would people generally prefer, separate commands for a, c, d, g, i, p and x, or one command that collectively implements the sam language?
Re: [9fans] /acme/edit commands?
Skip Tavakkolian <9nut 9netics.com> writes: > > i misunderstood the original question. as you noted, the Edit command > provides sam-style text editing, which is probably why nobody misses > /acme/edit. i don't think they were in 4ed (at all or for very long); > they were in 2ed, and the commands are written in Alef. > > i had forgotten about them! > I had thought the /acme/edit commands (Limbo versions are included with the latest Inferno distribution, which also has an Acme with Edit) allow for the editing of files at the command line using the Sam command language (without having to run Acme itself), while using Edit requires loading the files into Acme before operating on them. Am I wrong about either of these beliefs? If I am correct, I like the idea of being able to use the /acme/edit commands in shell scripts, just as I would use sed or other commands (rather than having to use Acme itself, which is more complicated), and I would be interested in having the /acme/edit commands available on Plan 9 / plan9port for use there as well.
[9fans] /acme/edit commands?
Are the /acme/edit commands (as discussed in the Acme paper and included with the Inferno version of Acme) included in Plan 9 or plan9port? If not, what is the workflow replacement? Thanks.
[9fans] Inferno hosted on Plan 9 for Raspberry Pi?
Has anyone successfully run Inferno hosted on Plan 9 for Raspberry Pi 2? I'm having difficulty getting Inferno to boot directly on my Raspberry Pi 2 (i.e., nothing seems to happen), and so I'm hoping to be able to get Inferno running hosted on Plan 9 (which runs very well for me on the Raspberry Pi). I'm not sure how to go about this, though, and so any tips/hints would be much appreciated. Thank you very much.
Re: [9fans] raspberry pi model B+
Is there a reasonably easy way to set up Plan 9 on the raspberry pi so that the SD card is used only to boot the system, with all actual activity after that run off of a USB hard drive (so as to avoid hassles related to wearing out SD cards, slow/bad SD cards, etc.)? On Thu, Jul 17, 2014 at 5:47 AM, Richard Miller 9f...@hamnavoe.com wrote: If anyone's curious about the new raspberry pi model announced this week, I can confirm that it runs Plan 9 with no apparent problems. Compared to the old model B, the B+ has some power supply improvements and two more USB ports, which are said to make it work better with usb hard drives.
[9fans] Web browser on Raspberry Pi
Is it possible to get monthra or abaco running on Plan 9 on Raspberry Pi? I have the internet working (I can access the wiki) but I'm not sure how to get the source for either on to the SD card and compile it. Any help would be appreciated.
[9fans] Update Raspberry Pi Steps (Wiki Confusion)
I am trying to update my Raspberry Pi, and I've run: replica/pull -v /dist/replica/network The wiki at http://www.plan9.bell-labs.com/wiki/plan9/Updating_an_ARM_system/index.html says that I now have to recompile anything which has changed by running 'mk install' in the appropriate directory. What is / which are the appropriate directory(ies)? I can't seem to figure out where the update source code is. Thanks very much.
[9fans] 9fans RSS Feed?
Is there a working RSS feed that corresponds to the 9fans mailing list? The gmane feeds seem to be at least a few weeks behind, and the groups.google.com feeds, to the extent they exist/work at all, are even more out of date (on a side note, is groups no longer being synchronized with the mailing list?). Any suggestions would be appreciated. Thanks very much.
[9fans] Script Available: Acme Chords for AutoHotkey
For those times when I have to use Windows, I've put together a short script for AutoHotkey (http://www.autohotkey.com/) that implements Acme's cut, copy and paste mouse chords, available at: https://github.com/bvito/ahk. I thought I would share the script (which is below) just in case it helps anyone else out there -- without the BSD license or the copyright Brian D. Vito (me) notice, is quite short: ~LButton MButton::Goto, Cut ;; Button 1 held down, button 2 clicked ~LButton RButton::Goto, Paste ;; Button 1 held down, button 3 clicked return Cut: Send, {LButton up} ;; Confirm no additional text selection is made SendInput, ^x ;; Control-X (Cut) return Paste: Send, {LButton up} ;; Confirm no additional text selection is made SendInput, ^v ;; Control-V (Paste) return Please feel free to use this in any manner you would use any BSD-licensed code. I'd also appreciate any suggestions, bug reports or comments -- I'd ideally like to try to implement as much of Acme as is possible in this way (i.e., an AHK script). ~bVd
Re: [9fans] Setting 9pi Start State / Drawterm to 9pi
Thank you, that's good to know. What instructions would you suggest I start with for setting up a full cpu + auth + fossil server or mounting the pi file system remotely with 9fs from Windows or Mac OS X? I'm not particularly interested in overclocking, but was curious how Plan 9 might respond if I were to play around with it a little. If you'll indulge two more quick questions, I would very much appreciate it. (1) Is there any support for the Edimax EW-7811Un USB-WiFi adaptor -- or any other USB-WiFi adaptor? Or would an ethernet to WiFi adaptor be the only option? And (2), is it advisable or necessary to update the 9pi distribution's firmware files from https://github.com/raspberrypi/firmware/at any time or from time to time? Once I figure out how to customize the startup to run my own acme.dump (I think some of the earlier answers will help me fix that) and anything else related to getting things set up that might be useful to other new users, I plan on posting easy instructions at http://blogs.law.harvard.edu/plan9/. Thanks, 픹 On Sat, Feb 22, 2014 at 6:00 AM, 9fans-requ...@9fans.net wrote: Date: Sat, 22 Feb 2014 07:52:26 + From: Richard Miller 9f...@hamnavoe.com To: 9fans@9fans.net Subject: Re: [9fans] Setting 9pi Start State / Drawterm to 9pi Message-ID: abdf9be3cb8fde01aafab722c9f12...@hamnavoe.com Content-Type: text/plain; charset=US-ASCII So if I were to want to connect to my 9pi at home from my office, would I have to make the 9pi into a cpu server? If you just want to use drawterm to connect, the reply you quoted shows a simple way. If you want to use more plan 9 capabilities, like mounting the pi file system remotely with 9fs, or connecting with a different user name, setting up a full cpu + auth + fossil server gives you that (and gives you a chance to understand plan 9 more thoroughly). Also, I was wondering if Plan 9 uses the Raspberry Pi's GPU. In other words, should I allocate the smallest amount of memory to the GPU (I think 16 is the minimum) rather than the default of 64? And in that case, I would also assume that overclocking the GPU wouldn't be of any benefit. The 9pi.img already sets gpu ram size to the minimum. Plan 9 doesn't use the gpu's accelerated graphics api, but the gpu is still doing some low-level functions behind the scenes. I wouldn't advise overclocking anything. If you care that much about speed, why use a raspberry pi?
Re: [9fans] Setting 9pi Start State / Drawterm to 9pi
So if I were to want to connect to my 9pi at home from my office, would I have to make the 9pi into a cpu server? I'm looking for the simplest way to be able to have access to my 9pi files/system from another computer (and use the Plan 9 environment while doing so). Also, I was wondering if Plan 9 uses the Raspberry Pi's GPU. In other words, should I allocate the smallest amount of memory to the GPU (I think 16 is the minimum) rather than the default of 64? And in that case, I would also assume that overclocking the GPU wouldn't be of any benefit. Thanks again. 픹 On Fri, Feb 21, 2014 at 6:00 AM, 9fans-requ...@9fans.net wrote: Date: Fri, 21 Feb 2014 10:28:23 + From: Richard Miller 9f...@hamnavoe.com To: 9fans@9fans.net Subject: Re: [9fans] Setting 9pi Start State / Drawterm to 9pi Message-ID: e00c3dd558dedeb67f80b0a110799...@hamnavoe.com Content-Type: text/plain; charset=US-ASCII i'm not sure what type of kernel is on the stock 9Pi image. The 9pi.img has both types of kernel in the dos partition. To boot the pi as a cpu server instead of a terminal, change 'kernel=9pi' to 'kernel=9picpu' in config.txt, and copy cmdline-cpu.txt to cmdline.txt But I think the query was about a simple way to connect to your own plan 9 terminal with drawterm, without making it into a cpu server. if it's a term kernel, you can't drawterm to it; Actually that's not so. For example, a quick-and-dirty method posted to 9fans by Luke Evans on 10 Dec 2012 (which applies to any Plan 9 terminal, not just the pi): echo 'key proto=p9sk1 dom=plan9 user=glenda !password=MYPASS' /mnt/factotum/ctl aux/listen -t tcp!*!ncpu /bin/cpu -R This will only allow the terminal owner to connect. For more general cpu-like service on a terminal, I use this script (which requires some prior setup with auth/changeuser to create the lib/keys file): #!/bin/rc auth/factotum -g 'user=miller dom=hamnavoe.com proto=p9sk1 !password?' rfork ne echo auth server password: auth/keyfs -p $home/lib/keys aux/listen1 -t tcp!*!ticket /bin/rc -c '/bin/auth/authsrv -d $net' service=cpu aux/listen1 tcp!*!17007 /bin/exportfs -a service=cpu aux/listen1 tcp!*!cpu /bin/cpu -O service=cpu aux/listen1 tcp!*!ncpu /bin/cpu -R Nowadays there's hardly any difference between cpu and terminal kernels, and in fact I would advocate combining the two. Only a few lines of kernel source code need to be changed to allow it to decide at boot time whether to behave as a cpu server or terminal, depending on the setting of service= in plan9.ini. End of 9fans Digest, Vol 118, Issue 29 **
[9fans] Setting 9pi Start State / Drawterm to 9pi
I have recently installed Plan 9 on my Raspberry Pi but I can't seem to figure out how to modify the start state -- while I've configured acme the way I want it and have used the dump command (so I can manually re-load acme with -l and get my system back), I can't find where I set which acme.dump file for acme to load when the system starts (I always get the default, regardless of what I try doing). If someone could point me to the correct configuration file, it would be much appreciated. Also, is there anything special that needs to be done to set up 9pi as a server that I can drawterm to? The instructions I've found all seem to fit a much more complicated scenario or otherwise just not apply to a simple, new Plan 9 user on his Raspberry Pi wanting to make his new Plan 9 system available to him at work, for example, using drawterm. For example, http://www.plan9.bell-labs.com/wiki/plan9 /Drawterm_to_your_terminal/index.html lost me -- do I need to set up keyfs, or is it not necessary in this situation? Finally, does anyone know of a drawterm application for Mac OS X that runs on 10.9? The download shows up as a document that I can't seem to get to launch from the terminal or otherwise. Thank you very much for any help you may be able to provide. 픹
[9fans] Acme-style chording in other applications?
I'm curious if anyone has experimented with AutoHotKey or Visual Basic for Office to try to get Acme-style chording to work in Windows applications, in particular Word 2007+.
[9fans] Win starting rc?
Is there a way to have Acme's Win command start an rc session rather than bash? Also, is it possible to set the bash prompt to PS1=: {\w} %; if bash is started by Win? Thanks again.
[9fans] sam on Windows?
What is the current status of sam on Windows? Does anyone have a version that runs under Windows 7? The one from http://ib.wmipf.de/pf9.html doesn't seem to work anymore. Thanks very much.
[9fans] Mouse acceleration under Plan 9
If you'll excuse another question from a non-programmer, does Plan 9 use a mouse pointer acceleration algorithm (if so, where would it be documented?) or is it 1:1? Thanks so much.
Re: [9fans] Show/edit acme snarf buffer
On Jun 25, 5:24 am, 9f...@hamnavoe.com (Richard Miller) wrote: Using either/both acme under Plan 9 and/or Mac OS X via plan9port, is there a file that can be opened in acme that displays the current contents of the acme snarf buffer? /dev/snarf If so, is there a way to have that window automatically update when the snarf buffer changes? Not quite automatically. You can write a program which polls /dev/snarf using fstat(2); qid.vers will be updated when the file is written to. would it be possible that by editing the snarf buffer window to edit the contents of the snarf buffer itself Just as with any acme window, the underlying file will only change when you click Put. Again if you're willing to do some programming, you could monitor changes in the window using the acme event file and do the Put automatically. Thank you -- these are useful suggestions. Is there an equivalent to / dev/snarf when using plan9port under Mac OS X? [bv]
[9fans] Show/edit acme snarf buffer
Using either/both acme under Plan 9 and/or Mac OS X via plan9port, is there a file that can be opened in acme that displays the current contents of the acme snarf buffer? If so, is there a way to have that window automatically update when the snarf buffer changes? Basically, I'm wondering if there is a way to duplicate the functionality that was generally present in old Macintosh text editors under the show clipboard command. Finally, if this functionality is available, would it be possible that by editing the snarf buffer window to edit the contents of the snarf buffer itself (as was possible in Nisus's old editor QUED/M)?
[9fans] Summary of acme chords
I've put together a rudimentary chart of acme chords -- if anyone has any suggestions, revisions, corrections, etc., they would be greatly appreciated. Eventually the chart will form part of an introduction to acme for non-programmers. https://docs.google.com/open?id=0B1QVUS-qAuuienlTMHdRYkFzSHM
Re: [9fans] Summary of acme chords
On Apr 25, 7:26 am, 23h...@googlemail.com (hiro) wrote: When only half of the fields of your table have a meaning you're doing something wrong. And nobody wants to learn motoric motions from some stupid table. Things like select are too trivial for this and Snarf can be left out because essentially it's just the same as cutting and pasting together. Soon your pupils will ask you how you can cancel select. Thanks for the criticism. How would you put together the chart without any empty fees? How do you suggest people learn motoric [sic] motions? From stupid list? And how would you suggest expressing that button 1, rather than two or three, selects? And that button 3 searches? Select isn't trivial when there are three buttons. And While you know that snarf is a cut/paste, how did you learn that? This chart is meant for people who don't already know all the commands. But thanks for your criticism. Next time, trying to be helpful would be nice.
Re: [9fans] Summary of acme chords
On Apr 25, 7:26 am, 23h...@googlemail.com (hiro) wrote: When only half of the fields of your table have a meaning you're doing something wrong. And nobody wants to learn motoric motions from some stupid table. Things like select are too trivial for this and Snarf can be left out because essentially it's just the same as cutting and pasting together. Soon your pupils will ask you how you can cancel select. If you don't find it to be helpful, you could suggest a better way of presenting the information, rather than referring to it as a stupid table. How did you learn this information -- from a stupid textual list?
[9fans] devdraw in Mountain Lion?
Has anyone tried running sam on Mountain Lion? Devdraw launches for me, but just shows a blank window.
[9fans] Hide devdraw?
Are there plans to add a Hide devdraw/Command-H function to devdraw on Mac OS X? I'd add it if I could, but I'm not a programmer (just a user of sam).
[9fans] 9vx Binary for Mac OS X
Is there any way someone could post a binary of rminnich's vx32/9vx for Mac OS X 10.6/Intel to the bitbucket site at https://bitbucket.org/rminnich/vx32, or provide detailed instructions on how to build it for a non- programmer? I use 9vx 0.12 to run sam, but I am not a programmer, so I haven't been able to get this newer version up and running. Thanks, Brian