[9fans] silly Q
hi all, what is the reason why the dir structure of /usr/xxx does not follow that of / (according to namespace(4)), please? e.g., /386/bin, /386/lib, /386/include, /rc/bin, /rc/lib, but, /usr/glenda/bin/386, /usr/glenda/bin/mips, /usr/glenda/bin/rc. thanks, ++pac.
Re: [9fans] SATA inst: some progress
Thank you very much, Erik! ++pac -Original Message- i can reproduce this problem but haven't yet figured out what's going on, yet. i think it's my error due to some junk sneaking onto cd. i'm working on it. - erik winmail.dat
[9fans] SATA inst. finally succeeded!
WOW! With the new cdimage from Eric's ftp://ftp.quanstro.net/other/9atom.iso.bz2, the install friom sdE1 was s smooth! Almost just hitting 'Enter' key all the time ;-) A big THANKYOU, Eric! After first login I got some 'black' messages, however: sdE0: i/o error 5...@4,461,520 fossil: diskReadRaw failed: /dev/sdE0/fossli: score 0xe 1ca: part=data block 57802: i/o error sde0: LLBA 1,953,525,168 sectors WDC WD1002FBYS-02a6B0 03.00C06 WD-WMAD-WMATV 1829348 (This may have been caused by the fact that I forgot to do the following in BIOS setup: Jmicron SATA/PATA Controller [Enabled] Jmicron SATA Controller Mode [AHCI] ) Now, when I have 1TB fossil disk, I can leave linux behind as a toy system!!! Many thanks to all once more, ++pac.
[9fans] oh, no! (again)
Sadly, I was too optimistic when SATA install succeeded... :-( This is a report of error messages I've got while booting new system on (and from) sdE0: sdiahci: drive 0 in state ready after 0 resets # SATA HD with Plan 9 system on it sdiahci: drive 1 won't come up; in state new after 10 resets # SATA DVD sdE1 waitready: [new] task=50 sstat=113 sdE1 waitready: [new] task=50 sstat=113 sdE1 waitready: [new] task=50 sstat=113 sdE1 waitready: [new] task=50 sstat=113 sdE1 not responding; offline sdiahci: drive 2 won't come up; in state portreset after 10 resets sdiahci: drive 3 won't come up; in state portreset after 10 resets sdiahci: drive 0 in state missing after 0 resets # strange! sdiahci: drive 1 in state missing after 0 resets # strange! . 1. 1 2. 1 3. none of the above *nobiosload: 1 [snip] user[none]: glenda sdE0: LLBA blah blah ... sdE1: LBA 0 sectors time... fossil(#S/sdE0/fossil)...version...time init: starting /bin/rc sdEO: i/o error d0 @206,672 fossil: diskReadRaw failed: /dev/sdE0/fossil: score 0x005e: part=label block 94: i/o error sdEO: i/o error d0 @ 3,707,248 fossil: diskReadRaw failed: /dev/sdE0/fossil: score 0x29a4: part=data block c0660: i/o error aux/vga: error reading block 0x29a4 rio: can't open display: initdisplay: /dev/draw/new: no frame buffer init: rc exit status: rio 29: display open init: starting /bin/rc == Other time, rio comes up, with acme running, but: term% 9fat: sdE0: i/o error d0 @ 4,317,856 # the number after @ changes when cmd is repeated fossil: diskReadRaw failed: /dev/sdE0/fossil: score 0xbeb7: part=data block 48823: i/o error # the numbers after 'score' and 'block' change when cmd is repeated Sorry for being so verbose, but I can't realize which parts are not significant, thanks, wishing a great day, ++pac.
[9fans] SATA inst: some progress
Hi, while installing from erik quanstrom's 9atom.iso CD, everything went just right up to: mountfs [/dev/sdE0/fossil] preparing menu ... fossil 833: suicide: sys: fp: stack overflow fppc=0x23304 status=0x82c1 pc=0x23308 'black' message is: matherror note: sys: fp: stack overflow fppc=0x23304 status=082c1 notify cpu0: registers for fossiul 836 FLAGS=10046 TRAP=E ECODE=0 PC=F010391E SS=722C USP=F2B745EC AX BX 0001 CX F0018178 DX F01CAF94 SI 0003E5A4 DI DFFFEBA8 BP 0008 CS0010DS 0008 ES 0008 FS 0001B GS 001B CR0 80010039 CR2 0004 CR3 121ac000 CR4 00d0 MCA c001c400 MCT ur 0xf2b7459c up 0xf0351180 panic: fault: 0x4 panic: fault: 0x4 dumpstack disbled cpu0: exiting Any hint appreciated, best regards, ++pac.
[9fans] oh, no!
hi, all, after two weeks of unsuccessful installation IDE CD to SATA HD, wit any conceivable combination of BIOS settings and 'boot from' settings, i bought a SATA CD, so now I have HD ( to be installed onto) on SATA1 CD *( to be installed from) on SATA2, and SATA configured as IDE in BIOS, however, this is what i get during boot from CD: PBS1... extgetsize: drive 0x80 info flags 0x0 bios0: drive 0x80 extension 0 version 48.0 cx 0x5 biosinit: sorry, only one bios drive; can't read last one probing cd...probing sd...no plan9 ini cpu 0:L401Mkfe P6 loop 135856 Boot devices: fd0 boot from: cant get past this, any hint? (i have working plan 9 system on other comp on IDE HD, maybe i could just copy??) thanks, best regards, ++pac
[9fans] installation on SATA
hi, would an installation on SATA-IIdisk be smooth provided I have HD on sdE0, and CD on sdE1 (with appropriately modified plan9.ini)?? (going forSATA-CD if yes), thanks, ++pac
[9fans] installation on SATYA disk failed
Hi, folks! I have bought a WDC WD1002FBYS-01A6B0 SATA II disk to install a Plan 9 on it. However , my CD/DVD drive is not SATA, but a rather old one hanging on an IDE cable (primary master). Moreover, there is only one IDE slot on the motherboard, thus I cannot make the CD to be 'secondary master'. Trying to boot from CD did not work any combination of sdXX!cdboot!9pcflop.gz Thus, I made a small DOS-formatted FAT16 partition on the SATA disk, copied files from installation floppy on it, and tried to boot from it: boot from: bios0!9pcflop.gz This is what I get: PBS1... Plan 9 from Bell Labs ELCR:CCL8 pcirouting: South bridge 8086, 2810 not found islba: drive 0x80 extensions version 48.0 cx 0x5 exgetsize: drive 0x80 info flags 0x0 bios0: drive 0x80: 1,000,204,886,016 bytes, type 3 reading drive 0x80 offset 0 into seg: off 0x600...biosdiskcall: int 13 op 042 drive 0x80 failed, ah error code 0x80 sectread: bios failed to read 5...@sector 0 of 0x80 bios0!9fat does not contain a FAT file system This seems to me like SATA disk is unreadable. So, I added a second (slave) HD on IDE0, with a small FAT partition, etc., and booted: sdB0!dos!9pcflop.gz and voila, installer runs, but only up to the '[partdisk]: no disk devices were found on your system. The installation process cannot continue.' I consulted the 9fans archives getting a hint that the SATA driver must be built in the 9pcflop.gz Now I am lost so I would be grateful for any advice. Thanks, regards, ++pac.
Re: [9fans] installation on SATA disk failed
I have enabled AHCI in bios (instead of IDE mode before), now I can boot from sdE0!dos!9pcflop.gz, but only up to '[partdisk]: no disk devices were found on your system. The installation process cannot continue.' I still get 'biosdiskcall: int 13 op 041 drive 0x80 failed, ah error code 0x1', but then everything seems OK: ahci0: port 0xfebff800: hba sss1; ncs 31; coal 1; mports 3; led 1; clo 1; ems1; unk: sata-II with 4 ports sdiahci: drive 0 in state ready after 0 resets sdiahci: drive 1 in state missing after 0 resets ...etc... As mentioned, I can't process past [partdisk]. Can it be that 9load does not see the SATA disk? There is only a 20 MB FAT partition (primary) on it, the rest is free space. I'm lost, please, help. Best regards, thanks, ++pac. winmail.dat
Re: [9fans] dcp - a deep copy script, better than dircp
hi, i'm quite happy with the 'cpdir' by Kenji Arisawa (thanks, Kenji!) on sources/contrib/arisawa. However, your scripty seems fine, too. Could we add a switch to conform with gnu's cp -au? Just not to overwrite newer files. I don't know there is an option there in 'tar' (I can't see in in tar(1)). At least we have the 'k' modifier, which could help. Regards, ++pac. winmail.dat
Re: [9fans] Why does Acme only show text?
Maybe, it would also be great if the column-handle could react in the same way as the window-handle works: B3 to hide all other columns, B2 to show all and maximize the current column, B1 widen the current column. I don't know whether it is even possible in current design, nor, if it is, how complicated the coding of these features would be. Just an idea. I suspect also that it was already mentioned on 9fans. Greetings, ++pac. winmail.dat
Re: [9fans] Why does Acme only show text?
Maybe, it would also be great if the column-handle could react in the same way as the window-handle works: B3 to hide all other columns, B2 to show all and maximize the current column, B1 widen the current column. wily does this ufff, so could sb put his/her hands on it to bring this functionality back to native Acme? Thanks, regards, ++pac. winmail.dat
Re: [9fans] Why does Acme only show text?
I also take issue with the statement Acme is a text editor, that never sounds right, no more than describing Emacs as a text editor. It's natural to use Acme as a text editor and it provides many more text-editing facilities than Rio does, but it is also natural to use it as a file manager, shell window provider, email client, etc, etc. It provides more than Rio and it does it all with tiling windows and without menus, but that's just style. I always thought of using Acme as 'The' UI for Plan 9, much in the Oberon way. I'm not a techie, but I use Plan 9 since 2000, or so, as my main OS. I would *way* love having graphics in Acme, asi it IS a great UI, IMHO. Peter A. Cejchan, aka ++pac. winmail.dat
[9fans] Announcing: glimpse (APE)
An APE-port of the 'glimpse text indexing and search suite is on sources: /n/sources/contrib/pac/sys/src/ape/cmd/txt/glimpse-4.18.6.tbz http://plan9.bell-labs.com/sources/contrib/pac/sys/src/ape/cmd/txt/glimpse-4.18.6.tbz Included is 'agrep', grep with spelling errors. Unfortunately, all the stuff is not aware of UTF-8 (as you might expect from being APE). Sorry. Feedback and contributions are more than welcome. Enjoy!
[9fans] preprocessing C code
Hi all, I'm APE-porting some programs densely peppered wioth #-directives. Is there a way to preprocess the code, say: #define CLIENTSERVER0 #if CLIENTSERVER blah blah blah... #else //some useful code here #endif /*CLIENTSERVER*/ to get: //some useful code here ?? I mean, just to extract the relevant portions of code under #defined conditions. Thanks, ++pac.
[9fans] which model of SATA II HD?
Does anyone have a SATA II 1TB (or more) hard drive working under Plan 9? I am about to buy one, and it would be nice to know that the model was tested. And yes, I read the wiki, but I don't know how to realize about which controller is used by the by the HD in my basklet :-) thanks, ++pac.
Re: [9fans] preprocessing C code
Thanks, going there, Peter. -Original Message- I'm APE-porting some programs densely peppered wioth #-directives. I have this too, try: contrib/install steve/unifdef -Steve winmail.dat
Re: [9fans] How to add another (local) fossil partition?
-Původní zpráva- Od: 9fans-boun...@9fans.net za uživatele Yaroslav Odesláno: pá 26.6.2009 15:40 Komu: Fans of the OS Plan 9 from Bell Labs Předmět: Re: [9fans] How to add another (local) fossil partition? Thank you , Yaroslav. I missed the fossil(4) manpage. I'll try again on Monday, when I'm on plan9 box. --Peter winmail.dat
[9fans] How to add another (local) fossil partition?
hello, i want to format and add a free space on /dev/sdC0 for use with fossil. i ended up with /dev/sdC0/plan9 and /dev/sdC0/plan9.1 partitions... then i did: disk/prep w a fossil /dev/sdC0/plan9.1 but now, i cant find any clue what to do next , in prep(8), or fossilcons(8) sorry for this stupid question, any guidance appreciated, ++pac.
Re: [9fans] window's content clearing
Wouldn't Acme be a nice UI? (Repeating myself, sorry). ++pac In acme you can do something like Edit ,$-1d but I don't know how to deal with a terminal outside acme. 2009/4/8, Rudolf Sykora rudolf.syk...@gmail.com: Hello, Imagine I have a rio window with a long history, i.e. lots of text have been entered and the scroll bar is just a tiny box. And I'd like to clear everything, so that only the last prompt remains. I know I can clear some portions with a mouse. But that is often tedious. Is there any nice way how to achieve the goal? /dev/text is readonly... Thanks ruda -- Hugo winmail.dat
Re: [9fans] music video that everone on this list will agree with :-)
Yep!! Another one: http://www.youtube.com/watch?v=J5LNTTGDKYo ++pac == C++ is to C as lung cancer is to lung . [anonymous on the Web] == winmail.dat
[9fans] pdf2txt anyone??
hi all!! seeking existing solutions to PDF -- txt extraction before i dive to rewriting xpdf to C. i hope that [page /|| gs] must be capable of it ... best regards, ++pac
[9fans] (no subject)
-Original Message- From: 9fans-boun...@9fans.net on behalf of mattmob...@proweb.co.uk Sent: Mon 2/23/2009 1:13 AM To: 9fans@9fans.net Subject: [9fans] actionfs Hi, this one was an experiment /n/sources/contrib/maht/actionfs.c invoked with a regex like actionfs (file.mpg).([0-9]+).(ppm) if you then cat /n/actionfs/file.mpg.100.ppm actionfs responds with the output from executing /bin/action-read $fd file.mpg.100.ppm file.mpg 100 ppm where $fd will be an fd to write to i.e. trivially action-read would be something like #!/bin/rc fd = $1 shift echo $* /fd/$fd - The coresponding action-write also works #!/bin/rc fd = $1 shift cat /fd/$fd /dev/null # or whatever - I wrote it specifically to extract individual frames from video files using ffmpeg on Linux and bring them into Plan9 for processing but generalized the arguments in case I thought of something interesting later. My first round of experiment went like this cpu% cat /bin/action-read #!/bin/rc # expect fd fullname videoname frameno fname = `{echo -n $3 | tr ! '/'} { ssh storm single_frame $fname $4 } /fd/$1 cpu% cat /n/storm/home/maht/bin/single_frame #!/usr/local/plan9/bin/rc # expect filename frameno timer = `{echo $2 | awk ' { printf %d.%02d\n, $1/ 25, 4 * ($1 % 25) }'} { ffmpeg -i $1 -t 00.001 -ss $timer /tmp/frame_$pid ^_%d.ppm cat /tmp/frame_$pid ^_1.ppm rm -f frame_$pid ^_1.ppm rm -f frame_$pid ^_2.ppm # stupid ffmpeg outputs 2 frames (sometimes) } [2] /dev/null I was then using imgfs to calculate the average rgb value to look for black frames but (unsurprisingly) it was taking too long (4 secs per frame) esp. as the Plan9 I was using is in Qemu, cue installing Plan 9 on my terminal. The ffmpeg part on the Linux side (2Ghz Opteron) was taking 1 second on its own so I have to come up with some sort of look ahead cache which is contrary to the idea, I may as well just convert the whole file to ppms at the start! I've not looked if it is I/O or CPU - perhaps a bit of both. I've not got round to doing it on my fresh terminal yet. I've got a new 3.2Ghz Dual Xeon server to migrate to and a Quad Core terminal to play with so we'll see how that works out. I was hoping to get Xcpu in there but I couldn't see how to get the Plan9 part working though I have the Linux bits up. I have a couple of decent OSX boxes available too (one PPC one Intel) but I gave up getting it to compile :) too many projects . matt winmail.dat
Re: [9fans] pdf2txt anyone??
Thanks, Steve! Have a great day, ++pac -Original Message- From: 9fans-boun...@9fans.net on behalf of Steve Simon Sent: Thu 3/5/2009 10:18 PM To: 9fans@9fans.net Subject: Re: [9fans] pdf2txt anyone?? This may work for you but your mileage may vary. /n/sources/contrib/steve/rc/ps2txt -Steve winmail.dat
Re: [9fans] Web interface to '/n/sources/contrib' gone??
I found a mirror at http://www.kix.in/plan9/mirror/sources/contrib/ It is working, cheers, ++pac -Original Message- From: 9fans-boun...@9fans.net on behalf of Pietro Gagliardi Sent: Tue 2/10/2009 5:13 AM To: Fans of the OS Plan 9 from Bell Labs Subject: Re: [9fans] Web interface to '/n/sources/contrib' gone?? I'm trying to transfer files from my Plan 9 virtual PC to Mac OS X for printing; QEMU has no USB yet and SAMBA fails on Mac OS X Leopard. I print on systems without plan9ports, and where I have no development tools (so I can't build it). Right now I've been using my FTP server, but it disconnects me after I access the PDF file, so I need to log on and delete it. On Feb 9, 2009, at 11:04 PM, Bruce Ellis wrote: 9fs not good enough for you? what operating system are you using? brucee On Tue, Feb 10, 2009 at 5:26 AM, Nicola Gagliardi pietr...@mac.com wrote: I'm talking about the web interface to /n/sources/contrib, which is http://plan9.bell-labs.com/sources/contrib/ . That has been down for two weeks. On Monday, February 09, 2009, at 08:08AM, Bruce Ellis bruce.el...@gmail.com wrote: I will not comment - I've been asked to leave 95% boy alone. Certainly works from Brazil. I downloaded a CD image just last night. brucee On Mon, Feb 9, 2009 at 11:52 PM, erik quanstrom quans...@quanstro.net wrote: This is my only concern over the whole sources is gone thing; this time the web interface has been down for longer than usual (two weeks, maybe more?). not true. i just tried it an http://plan9.bell-labs.com/plan9/ comes up instantly. perhaps your machine is on the fritz? - erik winmail.dat
[9fans] Web interface to '/n/sources/contrib' gone??
? ++pac
Re: [9fans] Small program PlanKey (paraphrase of DOSKey)
Yes, it is more about the number of options than anything else. i go a little further. after using acme, menus sure feel clunky. [cut] How about turning acme to universal UI, in the style of old Oberon? thanks, ++pac winmail.dat
Re: [9fans] Small program PlanKey (paraphrase of DOSKey)
How about turning acme to universal UI, in the style of old Oberon? From a UI design perspective, it's not clear what it ought to look like. More strongly, I'm not really convinced there *is* a good way for a UI like that to work. You'd have all the problems the X11 tiled window managers have, and if you don't separately provide for either floating windows (as some of them do) or horribly throw tiles around, things like viewing large postscript documents is going to be hella disruptive. What about adding a hide/unhide column functionality? And, perhaps, HideAll (tiles except the current one)? I love acme, but I think rio's the right starting place for GUI things. Maybe just move the menu into a pre-populated tag, similar to Acme's. I agree. Maybe I am to much Acme-biased. ++pac winmail.dat
Re: [9fans] troff bibliography
i have aded the -B option from heirloom to forsyth's port of refer, plus a simple script 'roffbib.rc' that makes complete bibliography from the database, plus a tmac.bib macro; the stuff is in: /n/sources/contrib/pac/sys/src/ape/cmd/txt/refer.tgz until, perhaps, forsyth will host it?? enjoy, ++pac. winmail.dat
Re: [9fans] troff bibliography
seems like doref() does it all... ++pac winmail.dat
[9fans] troff bibliography
Hi, how do I publish complete bibliographies w/ refer | troff? (on loonix I use this: /usr/bin/refer -B bib | nroff -mbib but with refer and tmac.bib from heirloom-doctools: the -B option is essential (beat me for still using loonix)) thanks, ++pac.
Re: [9fans] troff bibliography
yes. i have it, but it does not work due to the lack of -B switch. i took and edited the tmac.bib from heirloom sources, however -B in refer seems to be essentiali'm diving into heirloom refer2.c to see what -B does... thanks, ++pac. -Original Message- From: [EMAIL PROTECTED] on behalf of Pietro Gagliardi Sent: Tue 12/9/2008 12:33 PM To: Fans of the OS Plan 9 from Bell Labs Subject: Re: [9fans] troff bibliography On Dec 9, 2008, at 6:23 AM, [EMAIL PROTECTED] wrote: Hi, how do I publish complete bibliographies w/ refer | troff? (on loonix I use this: /usr/bin/refer -B bib | nroff -mbib but with refer and tmac.bib from heirloom-doctools: the -B option is essential (beat me for still using loonix)) thanks, ++pac. You can get V7 refer from /n/sources/contrib/forsyth/refer.tgz. winmail.dat
Re: [9fans] troff bibliography
yep. i'll try just referallies, and we'll see. looks like it wouldn't make much problem, namely if i follow the style forsyth did the ape port... thanks, regards, peter, aka ++pac. This is probably because the Heirloom tools are different from the Plan 9 tools. I think you should try compiling the Heirloom tools using ape/psh and see what happens. winmail.dat
Re: [9fans] ext2srv
Hi, I noticed that ext2srv did not do well with files 2GB,and, says 'disk full' when there is more than (I guess) 1024 files in a directory. However, I do not have the latest distribution of ext2srv... Thanks for your work, iru! ++pac -Original Message- From: [EMAIL PROTECTED] on behalf of Iruata Souza Sent: Tue 5/13/2008 8:40 PM To: Fans of the OS Plan 9 from Bell Labs Subject: Re: [9fans] ext2srv On Tue, May 13, 2008 at 9:07 AM, [EMAIL PROTECTED] wrote: would help me much until I get rid of linux completely. I have dirs with big photos (~ 300MB each) so I had to split them into subdirs to hadle them via ext2srv. i also tried tofiddle with the source, but I gave up. since i already got my hands dirty could you, or anyone, explain what are the limits/bugs/constraints you've found using ext2srv? I've heard of the 2gb limit but don't know exactly what it is all about. iru winmail.dat
Re: [9fans] ext2srv
Does it still suffer from the 2GB size problem, or s it solved already? Thanks, ++pac On 5/12/08, Iruata Souza [EMAIL PROTECTED] wrote: 9fans, I have hacked ext2srv to support symlinks so that now, when resolving a name, a walk will present the client with the file pointed to by the link, not the link itself. In hope for it to be useful to someone I have put it under /n/sources/contrib/iru/ext2srv.tgz iru -- Federico G. Benavento winmail.dat
Re: [9fans] ext2srv
would help me much until I get rid of linux completely. I have dirs with big photos (~ 300MB each) so I had to split them into subdirs to hadle them via ext2srv. i also tried tofiddle with the source, but I gave up. Many thanks, ++pac. -Original Message- From: [EMAIL PROTECTED] on behalf of Iruata Souza Sent: Tue 5/13/2008 1:40 PM To: Fans of the OS Plan 9 from Bell Labs Subject: Re: [9fans] ext2srv On Tue, May 13, 2008 at 7:32 AM, [EMAIL PROTECTED] wrote: Does it still suffer from the 2GB size problem, or s it solved already? Thanks, sincerely, I added symlinks because of fgb's (and others) needs. I can take a look on the 2GB issue too if that would help someone. iru winmail.dat
Re: [9fans] Worksheet program
You might try control(2) instead. See /sys/src/cmd/auth/factotum/fgui.c /sys/src/cmd/bitsy/keyboard.c for examples. Sape Alternatively, you might like to use Acme interface. ++pac winmail.dat
Re: [9fans] Worksheet program
Do you think it is very cool to program in plan9 ? yep. winmail.dat