Re: [9fans] vac errors after updating to latest p9p archive
On Aug 16, 2009, at 10:26 AM, Fernan Bolando wrote: oops seeing that I posted this blindly anybody can now gain access to my files. Is this true? I would have thought access to your Venti would be a requisite too. — Daniel Lyons
Re: [9fans] HP: Printing with the Illiterate
I don't trust multifunction devices anyway. ^ http://en.wikipedia.org/wiki/Mark_V_Shaney#cite_note-1 I hope that there are sour apples in every bushel. oops, wrong one /Those days are dead and gone and the eulogy was delivered by Perl./ I did a Markov of Uriel, that was amusing but I didn't save them.
Re: [9fans] Using proportional fonts in Acme for Programming
On Sat, 15 Aug 2009 06:34:03 -0400, Akshat Kumar aku...@mail.nanosouffle.net wrote: Speaking of fonts in Acme, using the default, I spent extra amount of time tracking down a bug in my gs(1) source, which was the mix-up between -lijs and -Iijs. Apparently 'I' is shorter than 'l' by some portion of a pixel. I use Times in Acme. That distinguishes things pretty well. Aaron W. Hsu -- Of all tyrannies, a tyranny sincerely exercised for the good of its victims may be the most oppressive. -- C. S. Lewis
Re: [9fans] 9fans.net/archive/ google index
On 2009-08-17, hiro 23h...@googlemail.com wrote: interestingly, googling for this with     site:9fans.net/archive/2009/08 PAT returns nothing. I've seen these kind of problems a lot. I have looked around, I searched for any misconfigured robot file, but not having found any I am left wondering. Why doesn't google index our archive? Even very old posts are often note found with google's search. Anybody have an idea? Searching Google for site:9fans.net/archive/2009/08 just returned 8 hits . -- Steve Kostecke st...@kostecke.net I am a citizen, not a consumer. I am a human being, not a revenue source. Public Key at gopher://kostecke.net or `finger st...@kostecke.net`
[9fans] Inserting Special Characters into Acme
Is there some way to insert special characters into Acme text windows? Specifically, I want to do some file editing and put CRLF line endings into some files, or around specific lines. Is there a way to do this regularly, just typing, I'd also like to know a bulk or Edit command to do it, also. Aaron W. Hsu -- Of all tyrannies, a tyranny sincerely exercised for the good of its victims may be the most oppressive. -- C. S. Lewis
Re: [9fans] Using proportional fonts in Acme for Programming
On Fri, 14 Aug 2009 19:31:08 -0400, Noah Evans noah.ev...@gmail.com wrote: For Lisp variants ask Alex Shinn(alexsh...@gmail.com), he's got an interesting scheme implementation mostly working. It's a summer of code project this year. Indeed, there are a number of fairly portable Scheme implementations that I could see working with Plan 9. Aaron W. Hsu -- Of all tyrannies, a tyranny sincerely exercised for the good of its victims may be the most oppressive. -- C. S. Lewis
Re: [9fans] Using proportional fonts in Acme for Programming
On Fri, 14 Aug 2009 12:56:18 -0400, Daniel Lyons fus...@storytotell.org wrote: If that's something you're thinking about doing, let me suggest you take a look at Clojure. The Java aspect aside, it is a good compromise in design between Scheme and Lisp and introduces lots of good ideas. This is something I would want to do but I have a long way to go with Plan 9 before I think I could be serious about it. Sorry, I'm a Scheme programmer, and Clojure does not appeal to me in enough aspects (very few, actually) to make me even learn how to use it. Rather, I think a very small number of simple conveniences would suffice to make Scheme programming very convenient with Acme. Already, most of the necessary features are there, and I am using Acme pleasantly right now in my daily Scheme work. Aaron W. Hsu -- Of all tyrannies, a tyranny sincerely exercised for the good of its victims may be the most oppressive. -- C. S. Lewis
Re: [9fans] HP: Printing with the Illiterate
On Mon, Aug 17, 2009 at 01:50:42AM -0600, Daniel Lyons wrote: On Aug 14, 2009, at 8:12 PM, Akshat Kumar wrote: Suggestions (model, company, etc.) welcome. Although, this thing can do photoscanning, copying, and faxing. I make great use of the former two, along with printing (of course). I have a Samsung ML-2850ND, which I think stands for Monochrome Laser, Network Duplex. Otherwise it has no features whatever. It cost me $180, does PostScript natively and I absolutely love it. Wish the toner was cheaper but it's not a major ink hog. Haven't tried printing on it with Plan 9 but I'm sure it won't be an issue. i use a samsung ml-3051nd. works great with plan 9 (over network). has a duplex button on the printer do make normal prints go duplex too. i wish it had slightly fewer paper jams though. mjl
Re: [9fans] Inserting Special Characters into Acme
I'd have another window holding the special characters, and just copy-paste them in the lines you want to (mouse chords are the key for doing this quickly). Obviously this makes sense only if you have to insert few special characters per file, and not to many files. But if you want to add them at the end of each line I think that ,s/$/SP/g should work. Replace SP for any string of characters you need. 2009/8/17, Aaron W. Hsu arcf...@sacrideo.us: Is there some way to insert special characters into Acme text windows? Specifically, I want to do some file editing and put CRLF line endings into some files, or around specific lines. Is there a way to do this regularly, just typing, I'd also like to know a bulk or Edit command to do it, also. Aaron W. Hsu -- Of all tyrannies, a tyranny sincerely exercised for the good of its victims may be the most oppressive. -- C. S. Lewis -- Hugo
Re: [9fans] Inserting Special Characters into Acme
^M inserts a c/r see /lib/keyboard for the other text entries the second column is the key sequence, the first uses the modifier key (left Alt on my pc) so, for instance, æ is alt-a e alt-shift-o c is © alt-d g is † Is there some way to insert special characters into Acme text windows? Specifically, I want to do some file editing and put CRLF line endings into some files, or around specific lines. Is there a way to do this regularly, just typing, I'd also like to know a bulk or Edit command to do it, also. Aaron W. Hsu
Re: [9fans] copying a venti
Also, I have since discoverd the venti/copy command which looks to be exactly what I should be using, but how do I generate a score to copy the whole venti tree? There's no such thing as the whole venti tree. A venti store may have lots of trees representing different fossil partitions, vac(1) archives, etc. You would have to find every root block (or every one you care about preserving) and venti/copy it. If your venti store holds nothing but the archives from one fossil partition, then in theory a venti/copy of the most recent archive score will transfer the entire dump history. But from my experience of corrupted fossil archives I would want to do some very careful checking to make sure nothing was lost.
Re: [9fans] Lua on Plan9
On Fri, Aug 14, 2009 at 7:27 PM, Roman V. Shaposhnik r...@sun.com wrote: On Fri, 2009-08-14 at 09:27 +0100, Robert Raschke wrote: Last time I tried, the standard Lua compiled out of the box under the APE. That is good to know. Still, I'd rather see it run without APE. Great little language. I use it in my day job (together with Erlang). *together* with Erlang?!?! That I have to know more about. Perhaps off-list. It's implementation is indeed just as enlightening as the Plan 9 code. An exercise in doing exactly what is required and no more. Very elegant in my eyes. Couldn't agree more! Thanks, Roman.
Re: [9fans] vac errors after updating to latest p9p archive
yes, having this score makes your files available to anyone with access to your venti. i'd suggest keeping it off the public network, assuming you have things on there you care about.
[9fans] securing venti and fileservers was: (vac errors after updating to latest p9p archive)
Hi all We have discussed the common setup used by 9fans. Can somebody post there method of securing venti stores. regards fernan -- http://www.fernski.com
[9fans] make slides in plan 9
Hi, everyone: How to make slides in plan 9 ? I always use ConTeXt in linux, but it doesn't contained in the TeX distrbutions that plan 9 provides. so how to make slides in plan 9 ? I'm looking forward for the answer..thanks first !!
Re: [9fans] make slides in plan 9
I have no idea about tex on plan 9, but I've always used beamer on linux, maybe it's included on plan 9. 2009/8/17, xiangyu xiantingma...@gmail.com: Hi, everyone: How to make slides in plan 9 ? I always use ConTeXt in linux, but it doesn't contained in the TeX distrbutions that plan 9 provides. so how to make slides in plan 9 ? I'm looking forward for the answer..thanks first !! -- Hugo
Re: [9fans] vga and vmware
/dev/vgactl says 0xe000 has 0x3c mapped. Enough for 1024x768x4 bytes but not enoug hfor 1280x1024x4 bytes. I patched vgavmware.c line 179 to allocate 2*vmrd(vm, Rfbsize) instead of vmrd(vm, Rfbsize) and now I'm able to go into 1280x1024x8 mode. This is obviously just a hack, I don't know what a real solution would be (is it possible that the hardware register returns a different size after changing the mode?) why would 8 bit color require 4 bytes-per-pixel? - erik
[9fans] nemo book
Does anyone here know if it's possible to obtain printed copies of nemo's book if you live in the United States? Dykinson's website doesn't seem to offer overseas shipping... Thanks in advance! -Ben
Re: [9fans] Thrift RPC
On Thu, Aug 13, 2009 at 8:41 PM, Uriel urie...@gmail.com wrote: On Thu, Aug 13, 2009 at 4:27 PM, David Leimbachleim...@gmail.com wrote: On 8/13/09, erik quanstrom quans...@coraid.com wrote: we don't use te*xt for 9p, do we? the difference being, 9p is the transport not the representation of the data and 9p has a fixed set of messages. Also 9p aims at file systems pretty obviously where Thirft is a generic RPC mechanism with stub compilers for bindings for several languages. I have not been able to convince coworkers that filesystem namespaces are the way to go. I think they think it is too hard. *shrug* you can lead a horse... Funny, the problem I usually have is that people think file systems are *too simple*, oh, no data types other than *byte stream* and *drectory*, and no type checking! We are all going to die! Interestingly enough, people dealing with management of servers have been using stuff like SMASH CLP, which uses commands like cd and show, which may as well have been cd or ls to access system resources. I'm talking about smart power strips from Raritan, which have power monitoring and control per receptacle. So really, a lot of the things I do like about plan 9 are just nearly there in the wild in some cases, and feel quite natural. The next step is to make a generic CLP filesystem that speaks 9p :-). Might be fun, but I don't have an extra 600 dollars for a power strip right now :-) People seem to have trouble believing something simple can do a job that they have convinced themselves needs to be very complicated. Seems like in some cases people still do want the simplicity of filesystem access. So perhaps we're not entirely screwed yet. :-) Dave uriel
Re: [9fans] securing venti and fileservers was: (vac errors after updating to latest p9p archive)
Less of a here's my experience than a summary of earlier conversations with various people, but still perhaps relevant or helpful: 0) Venti contains neither authentication nor authorization. If you care, you are advised to stick it on a trusted network, or listen only on loopback. 1) The venti protocol reserves space for auth (see VtTauth0 and VtTauth1 in /sys/include/venti.h), but I'm pretty sure nobody implements it. Certainly I haven't found any definition of those fields. 2) My biggest security concern wrt venti is denial-of-service by way of spamming my disk (intentionally or not). /sys/src/cmd/venti/ro.c implements a read-only proxy which reduces this risk. 3) The proxy also provides a useful example of how more complex proxies could be constructed. What I'd like (it's on my todo, but down a few rungs) is an extended version that allows r/w access from trusted hosts/networks and r/o from everyone else. 4) There's always ssl or the like. Some people argue that's the best path to take; I'm less convinced. - P.S.: I have no idea why, but gmail thinks an appropriate ad for this topic is for Emo Teens: Explore Emo Style Personality. The Latest Family Topics!. Funny, Glenda doesn't *look* emo to me.
Re: [9fans] Thrift RPC
It had to happen: System and method for accessing SMASH-CLP commands as a web service United States Patent Application 20080016143 ron
Re: [9fans] securing venti and fileservers was: (vac errors after updating to latest p9p archive)
0) Venti contains neither authentication nor authorization. If you care, you are advised to stick it on a trusted network, or listen only on loopback. 1) The venti protocol reserves space for auth (see VtTauth0 and VtTauth1 in /sys/include/venti.h), but I'm pretty sure nobody implements it. Certainly I haven't found any definition of those fields. it is typical to not do authentication or authorization on block-level storage. venti may be fancy, but it's still block storage. iscsi notwithstanding, storage networks tend to be pretty locked down. 4) There's always ssl or the like. Some people argue that's the best path to take; I'm less convinced. i think it makes a lot of sense to use ssl like a streams module. push it when necessary. (venti already requires a streaming protocol, so this isn't a big loss.) for a lower-level solution, you could also use various flavors of vpn. - erik
Re: [9fans] Thrift RPC
On Mon, Aug 17, 2009 at 8:44 AM, ron minnich rminn...@gmail.com wrote: It had to happen: System and method for accessing SMASH-CLP commands as a web service United States Patent Application 20080016143 Oh there's absolutely no prior art there ... in the namespace thing. I think I'm going to patent patenting things now, and then sue everyone. I can be a professional sewer. Dave ron
Re: [9fans] nemo book
On Mon, Aug 17, 2009 at 8:20 AM, Benjamin Huntsmanbhunts...@mail2.cu-portland.edu wrote: Does anyone here know if it's possible to obtain printed copies of nemo's book if you live in the United States? Dykinson's website doesn't seem to offer overseas shipping... Thanks in advance! -Ben I've looked at the cost for printing Nemo's book on lulu.com; if you get it in black and white it should be about $25 for one copy. I'd be interested in getting one myself... it's a great reference for Plan 9 programming. John -- Object-oriented design is the roman numerals of computing -- Rob Pike
Re: [9fans] vga and vmware
/dev/vgactl says 0xe000 has 0x3c mapped. Enough for 1024x768x4 bytes but not enoug hfor 1280x1024x4 bytes. I patched vgavmware.c line 179 to allocate 2*vmrd(vm, Rfbsize) instead of vmrd(vm, Rfbsize) and now I'm able to go into 1280x1024x8 [...] why would 8 bit color require 4 bytes-per-pixel? I don't know. I just know that the libdraw primitives were going off the edge of allocated memory and the ctl file said something about x8r8g8b8 so I got out the calculator and noticed that if there are 4 bytes per pixel then I would expect 1024x768 to fit and 1280x1024 not to. I plead ignorance on how the plan9 vga system is actually set up. - erik Tim Newsham http://www.thenewsh.com/~newsham/
[9fans] iwp9 papers
remember, the deadline is fast approaching. please send your submissions to iwp9pa...@quanstro.net. more information here: http://iwp9.org - erik
Re: [9fans] nemo book
Does anyone here know if it's possible to obtain printed copies of nemo's book if you live in the United States? I'am intrigued, you have a weblink to where I could buy a printed copy (in europe)? I thought sites like lulu only allowed the author to offer the document for publication, not that you can chose an arbitary PDF and ask for it to be printed and bound - unless nemo has done this and I missed the link? I would also be interested a printed and bound copy of the 3rd edition kernel source and commentry... -Steve
Re: [9fans] nemo book
I'am intrigued, you have a weblink to where I could buy a printed copy (in europe)? I'm not sure you can order it online, but here is the link: http://www.dykinson.com/book--Notes_on_the_plan_9tm_3rd_edition_kernel_source--232471.html winmail.dat
Re: [9fans] make slides in plan 9
How to make slides in plan 9 rsc has an example /n/sources/rsc/talk/* I have used the usenix-era troff foils macros quite often recently. /n/sources/contrib/steve/foils.tgz TeX is available seperately - created a contrib package for it or there is an iso (which has bitrotted a little but is still usable). Beware: downloading it will take a long time (hours). % contrib/list -v steve/tex steve/tex: Description: TeX, metafont, metapost fonts etc, circa 1998 This TeX package was built in the labs in 2000. I have recompiled it and packaged it as a contrib, however TeX is under continual development and the package could be updated to current release. I don't use TeX so I have no idea if this is a good idea or not and it would require effort I would rather put elsewhere. Steve Simon Dec 2007 Contents: 109.13Mb in 7309 files Modified: Fri Jun 19 06:57:06 GMT 2009 Depends: -Steve
Re: [9fans] nemo book
On Mon, Aug 17, 2009 at 2:01 PM, Benjamin Huntsmanbhunts...@mail2.cu-portland.edu wrote: I'am intrigued, you have a weblink to where I could buy a printed copy (in europe)? I'm not sure you can order it online, but here is the link: http://www.dykinson.com/book--Notes_on_the_plan_9tm_3rd_edition_kernel_source--232471.html Oh, different book... I was thinking of the 'Introduction to OS Abstractions Using Plan 9 John -- Object-oriented design is the roman numerals of computing -- Rob Pike
Re: [9fans] Inserting Special Characters into Acme
On Mon, Aug 17, 2009 at 10:48:23AM +0100, matt wrote: see /lib/keyboard for the other text entries the second column is the key sequence, the first uses the modifier key (left Alt on my pc) man keyboard -- Kris Maglione I did say something along the lines of C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows your whole leg off. --Bjarne Stroustrup
Re: [9fans] make slides in plan 9
On Mon, Aug 17, 2009 at 5:03 PM, Steve Simonst...@quintile.net wrote: TeX is available seperately - created a contrib package for it or there is an iso (which has bitrotted a little but is still usable). Beware: downloading it will take a long time (hours). The last time this came up, I did some research into the dependencies of the newer TeX engines (XeTeX, pdfTex, luaTeX). Seems they all depend on a PDF-manipulation library written in C++. But so long as you stick to the tex | dvips | ghostscript route, there's some really nice stuff that's been done in the last ten years in TeX that can be ported to Plan 9. —Joel
[9fans] Awakening the Dormant and Printing with the Illiterate
I've been looking into the tools of Research UNIX versions 7 and 8 and 4.2BSD, as well as other old utilities that we may still find useful. So, with the sources at hand of most such programs, I've started porting some to native Plan 9. As the ports are completed, I'll make them available in /n/sources/contrib/akumar/^(cmd relic). Only a couple exist so far; diff(1) files are included for comparison - I've tried to retain the original coding style and logic. See the respective NOTES files for extraneous comments in the style of annotations, and some background information on the tools. If there are any such tools you would find useful and would like to see ported to Plan 9, let me know (perhaps offline). Thanks to Russ Cox's help and Prof. Kenji Okamoto's code, I was able to get my Post- script illiterate printer, an HP OfficeJet 5610, to print with Plan 9. For anyone else requiring IJS support in gs(1) (hpijs binary included), the necessary files are in /n/sources/contrib/akumar/gs -- see the NOTES file therein for documentation and references. Best, ak
Re: [9fans] Awakening the Dormant and Printing with the Illiterate
On Tue Aug 18 00:42:24 EDT 2009, mirtchov...@gmail.com wrote: make sure you teach cat(1) the -v flag. that should make some people very happy and will widely be regarded as a good move ;) i believe the point here is that the first paper i read on plan 9 Plan 9 from Bell Labs, /sys/doc/9.ps points out that dropping the old tools is part of the point! Providing a more efficent way to run the old UNIX warhorses is empty engineering... i'm all for history. but there are plenty of old timey unix projects. - erik
Re: [9fans] Awakening the Dormant and Printing with the Illiterate
make sure you teach cat(1) the -v flag. that should make some people very happy and will widely be regarded as a good move ;) Research UNIX version 8 has vis(1) -- the not-so-harmful. ak