Re: [9fans] New user question

2008-03-06 Thread andrey mirtchovski
the following should do it from the live cd: fossil/fossil -c 'srv fossil' –f /dev/sdC0/fossil mount /srv/fossil /n/fossil if your fossil was configured correctly during install, you can skip the '-c 'srv fossil'' part.

Re: [9fans] New user question

2008-03-06 Thread andrey mirtchovski
or, you can try -c 'srv -AWP fossil' on the command line. change 'fossil' to something else (and as the argument to mount) if it complains that 'fossil' is already used.

Re: [9fans] thoughs about venti+fossil

2008-03-05 Thread andrey mirtchovski
Well, cracking the lottery jackpot happens quite often (if people would buy as many lotter tickets as we've got disitinct data blocks as we have in larger data storages or network traffic over several years, it would happen very regularily). i think what you fail to take into

Re: [9fans] Mouse advice for Acme

2008-02-28 Thread andrey mirtchovski
standard suggestion is the ibm scrollpoint. three buttons and a more ergonomic scrolling interface than the wheel: http://web.mit.edu/atic/www/images/mice/ibm.jpg

Re: [9fans] Mouse advice for Acme

2008-02-28 Thread andrey mirtchovski
the original poster asked about OSX and Plan 9, on which the scrollpoint works quite fine: i've been using one for close to 6 years now. I have a couple of those, but found I didn't like the scroll knob. Under Linux (sorry) at least, it was way too sensitive. I couldn't press and release

Re: [9fans] GSOC 2008

2008-02-27 Thread andrey mirtchovski
we don't assume students are all 30-years grizzled veterans. you just turn them into ones ;) seriously though, as a former intern of Ron's I can only recommend it! there's no better way to learn new skills and Ron is a great mentor and a fine master of the programming sword. everybody who

Re: [9fans] a challenge

2008-02-22 Thread andrey mirtchovski
well, i checked the source. turns out bash 3.2 drops privileges if uid != euid and requires the -p flag to allow itself to run in setuid mode: $ cp /bin/bash . $ sudo chown root bash $ sudo chmod 4755 bash $ ./bash -p # id uid=500(andrey) gid=500(andrey) euid=0(root) groups=500(andrey) # whoami

Re: [9fans] New to plan 9: what next?

2008-02-19 Thread andrey mirtchovski
On Feb 19, 2008 10:10 PM, Pietro Gagliardi [EMAIL PROTECTED] wrote: Or perhaps someone should write a book aimed at newbies on using Plan 9 from Bell Labs. It would be called Using Plan 9 from Bell Labs, typeset in troff, and not go into technical details. Oh, that one's easy: the single page

Re: [9fans] plan9port rio not serving any fs?

2008-02-07 Thread andrey mirtchovski
p9p rio doesn't use the Plan 9 file model and is not based on file descriptors. it was written at a much earlier age and is a straight X11 program that emulates the rio look and feel. it used to be called '9wm'. On Feb 7, 2008 7:52 AM, Lluís Batlle [EMAIL PROTECTED] wrote: Isn't the plan9port

Re: [9fans] managing windows in rio

2008-02-07 Thread andrey mirtchovski
a non-plan9 solution: run rio with -virtuals num and have a few different desktops, switching between them with the middle button. i typically run 'rio -virtuals 4' andrey On Feb 7, 2008 10:22 AM, [EMAIL PROTECTED] wrote: Hi all, to cut it short: how do you guys do it? Since I am not to

Re: [9fans] drawterm crash log

2008-02-04 Thread andrey mirtchovski
Or even better to forget drawterm and replace it with Inferno. inferno also needs to know how to display natively on OSX.

Re: [9fans] I like this one

2008-01-29 Thread andrey mirtchovski
the optional argument is obviously a text description of the desired priority level (e.g., superbad!, or not in a big hurry, care for a spot of tea?) accompanied by an optional justification in 150 words or less. support for interpretive dance descriptions to follow in the next release :p

Re: [9fans] Re: Building GCC

2008-01-24 Thread andrey mirtchovski
http://mirtchovski.com/p9/artwork.jpg

Re: [9fans] consolefs

2008-01-22 Thread andrey mirtchovski
a console that's not associated with anything and can be used for communication between people. i think the chat option has a few extras like prepending people's names in front of their text and so on. we used it for quite a while as a substitute for IRC when that got too noisy. i'm not sure how

Re: [9fans] Building GCC

2008-01-20 Thread andrey mirtchovski
and then mk aborts. Am I doing anything wrong? Thanks. there's a script in the source directory called p9config, take a look at it.

Re: [9fans] dmamode

2008-01-10 Thread andrey mirtchovski
echo in cpurc. same for rwm...

Re: [9fans] dmamode

2008-01-10 Thread andrey mirtchovski
I hate changing cpurc, but maybe I'm too squeamish. Is that really the way? i've always carried my config from way back, when such niceties as cpurc.local didn't exist and cpurc pretty much had to be edited to get a local cpu server up. i just put it in a if(test -w /dev/sdC?/ctl)

Re: [9fans] Mac OS X Drawterm Oddity

2007-12-28 Thread andrey mirtchovski
here's the offending code in clipread (gui-osx/screen.c): while (*s) { if (*s == '\r') *s = '\n'; s++; } i don't know the reason this is in there, but if you remove this and recompile you can test whether anything breaks for

Re: [9fans] ata drive capabilities

2007-12-26 Thread andrey mirtchovski
How do you check if your disks are still ok? i used to run cmp on the two mirrorred partitions to verify weekly that devfs hadn't missed anything. i would imagine if one of the disks went south cmp would fail.

Re: [9fans] a question on APE

2007-12-17 Thread andrey mirtchovski
Anyone ever done a select on a socket in ape? the links port does that and it works fine, at least for a while. the code snippet you gave is suspect, although i don't know how that relates to the stack trace. libssh2 lacks documentation, but from the little that i read libssh2_channel_read()

Re: [9fans] videos of IWP9 talks

2007-12-13 Thread andrey mirtchovski
Everything is now there, please update your mirrors :) New videos: Acid Trips, Van Hensbergen, Guardiola, Nichols, Quanstrom We apologize if your talk is missing or incomplete. Sincerely: Ensign Ricky

Re: [9fans] videos of IWP9 talks

2007-12-12 Thread andrey mirtchovski
New videos have been uploaded. Including the keynote speaker :) Still working on Acid Trips and Van Hensbergen's talk. New talks: Cox, Evans, Ganti, Ritchie and the THNX tutorial.

Re: [9fans] videos of IWP9 talks

2007-12-12 Thread andrey mirtchovski
also, i'd like to have a word with Mr. Van Hensbergen after class, regarding Bulgarians and font sizes ;) oh, it's all there :P On Dec 12, 2007 10:11 PM, ron minnich [EMAIL PROTECTED] wrote: It's just a shame about the video camera failure during Lucho's very fine talk :-) ron

Re: [9fans] videos of IWP9 talks

2007-12-12 Thread andrey mirtchovski
http://swtch.com/~rsc/talks/ On Dec 12, 2007 11:46 PM, Skip Tavakkolian [EMAIL PROTECTED] wrote: any pointers to the paper or slides for Russ' talk?

[9fans] videos of IWP9 talks

2007-12-11 Thread andrey mirtchovski
Lucho and I are slowly going through encoding the videos of the IWP9 talks for those who weren't there. To ease the downloading pain we will announce the ones we've already completed for your viewing pleasure, and will let you know when we've added more. The videos are located at:

Re: [9fans] videos of IWP9 talks

2007-12-11 Thread andrey mirtchovski
oops. i think i know what happened. i'll reencode it.

Re: [9fans] videos of IWP9 talks

2007-12-11 Thread andrey mirtchovski
well, i tried to get iMovie to encode one while importing the other. turns out iMovie is multitasking only in spirit. once again, sorry about the inconvenience. On Dec 11, 2007 6:33 PM, Skip Tavakkolian [EMAIL PROTECTED] wrote: oops. i think i know what happened. i'll reencode it. same with

Re: [9fans] WIP session at IWP9

2007-11-27 Thread andrey mirtchovski
better yet: videos. i will gladly handle the reencoding and hosting for russ' tutorials if someone videotapes them. On Nov 27, 2007, at 12:51 PM, Pietro Gagliardi wrote: I'm not coming to IWP9 this year, but I looked at the transcript and I was interested in some of them (Acid Trips - does

Re: [9fans] Attempt at making 3D graphics library

2007-11-24 Thread andrey mirtchovski
Use q to quit (and crash, for some threadexitsall-related reason). that usually means you need a bigger stack for your threads.

Re: [9fans] VMWare Fusion on the Mac, can't install Plan 9 ....

2007-11-20 Thread andrey mirtchovski
It draws nicely then. I can even boot the live Plan 9 CD, but it will not boot from the installed system for some reason. If you have an older kernel lying around try booting with it instead of the latest kernels. i recently did a pull on my parallels installation and found that 9load does its

Re: [9fans] VMWare Fusion on the Mac, can't install Plan 9 ....

2007-11-20 Thread andrey mirtchovski
in my case commenting out the consinit line does not fix the problem. i can still load an older kernel in parallels, but crash when attempting to load a recent one.

Re: [9fans] VMWare Fusion on the Mac, can't install Plan 9 ....

2007-11-20 Thread andrey mirtchovski
that does the trick. cpu kernel. the cutoff point seems to be somewhere above 2.5megs (after decompression). what kernel? cpu or terminal? if it's cpu build a smaller kernel and try that. i ran into this recently with a pccpuf kernel.

Re: [9fans] thousands of interrupts per second

2007-11-20 Thread andrey mirtchovski
the best way to catch timesync-related issues is to use a stop watch to measure the duration of 'sleep 60'. seriously :) On Nov 20, 2007 5:08 PM, erik quanstrom [EMAIL PROTECTED] wrote: On Tue Nov 20 17:38:05 EST 2007, [EMAIL PROTECTED] wrote: I figured maybe something is going on with venti

Re: [9fans] VMWare Fusion on the Mac, can't install Plan 9 ....

2007-11-20 Thread andrey mirtchovski
i don't seem to be able to replicate this with my setup. could you try to rebuild 9pcf with /n/sources/contrib/quanstro/l.s to see if this fixes your problem? if it does, i'll submit it. I tried l.s with both consinit() enabled and disabled in 9load with identical results: booting an older,

Re: [9fans] VMWare Fusion on the Mac, can't install Plan 9 ....

2007-11-20 Thread andrey mirtchovski
to add a bit more, now that we have printing enabled: the kablamo appears to be in meminit().

Re: [9fans] VMWare Fusion on the Mac, can't install Plan 9 ....

2007-11-20 Thread andrey mirtchovski
the vm is configured with 512 megs of ram. the code immediately following lowraminit() is e820init, which works fine (i presume) for kernels that boot fine. here's the output for a normal kernel, a modified 9pccpuf 2.8 megs in size: E820: 0009fc00 memory E820: 0010 2000 memory

Re: [9fans] VMWare Fusion on the Mac, can't install Plan 9 ....

2007-11-20 Thread andrey mirtchovski
still crashes: x=4231168; pa=8388608 memset 4157440 but now i'm suddenly much more depressed about it...

Re: [9fans] /n/sources/contrib/

2007-11-17 Thread andrey mirtchovski
that will require BL to give each author in there the ability to push things to the repository. i suggest using something like rsync (tra, most likely: http://swtch.com/tra/) to keep track of contrib updates. On Nov 16, 2007 10:35 PM, [EMAIL PROTECTED] wrote: I started to mirror the entirety

Re: [9fans] A sad story and a question

2007-11-10 Thread andrey mirtchovski
I suspect a lot of eyecandy would be easier to implement on plan9. I have been thinking about openGL on plan9. Has anyone looked at adding openGL to Plan9? the free opengl libraries (mesagl) were ported long time ago without any of the optimizations. they were never tied to the windowing

Re: [9fans] consterm

2007-11-06 Thread andrey mirtchovski
(gets me 4 parallel interactive fdisk's on the four nodes md,d1,d2,d3 -- it seems weird but worked wonderfully well. cpu is just not set up to do this type of thing, and neither would your consterm be). we had a cpu that could talk to multiple nodes at the same time (multiplex i/o) in 2002, i

Re: [9fans] Acme SAC for OS X Version 0.24

2007-11-05 Thread andrey mirtchovski
What do you think does the Look command do? On 11/5/07, Pietro Gagliardi [EMAIL PROTECTED] wrote: I still don't get the Look part. I tried this (on this email) Look Nov 2-clicked on Look. Nothing. Selected Look Nov and 2-clicked. Still nothing. Put Nov before and tried again.

Re: [9fans] Acme SAC for OS X Version 0.24

2007-11-05 Thread andrey mirtchovski
of literal text indicated by the argument or, if none is given, by the selected text in the body. On 11/5/07, Pietro Gagliardi [EMAIL PROTECTED] wrote: The same thing as grep(1) On Nov 5, 2007, at 4:26 PM, andrey mirtchovski wrote: What do you think does the Look command do? On 11/5/07, Pietro

Re: [9fans] Acme SAC for OS X Version 0.24

2007-11-05 Thread andrey mirtchovski
I believe this might be a bug. Using `Look' with an argument doesn't seem to work for me either. However, selecting some text in the body and executing `Look' alone does work. look with an argument works, you just need to make sure you've selected both Look and the argument. a shortcut is to

Re: [9fans] Acme SAC for OS X Version 0.24

2007-11-05 Thread andrey mirtchovski
I pass russ's test with flying colors on OSX (native acme from p9p), and Plan 9. i can't get the extra mouse buttons to work on the X11 acme :) now, if you want something a bit more difficult, try opening a file named test(1).txt from within acme :) it's not exactly trivial.

Re: [9fans] Plan 9 port namespace directory and $DISPLAY in leopard

2007-11-05 Thread andrey mirtchovski
I believe Russ just fixed the problem, try updating your sources. On 11/5/07, Noah Evans [EMAIL PROTECTED] wrote: Hey, How do you guys deal with the the $DISPLAY variable in leopard? The default on my machine dies because $DISPLAY contains a directory name(something like:

Re: [9fans] Re: Plan 9 Port error in mpvecadd-Darwin.s on Leopard

2007-10-31 Thread andrey mirtchovski
I haven't gotten to the point where David is, but i'm trying (leopard isn't approved for use in our organization yet, they expect it to be in a few months, but i can still use it at home :). something to add to the knowledge base (although pretty obvious, it stunned me this morning): if you are

Re: [9fans] Re: Plan 9 Port error in mpvecadd-Darwin.s on Leopard

2007-10-31 Thread andrey mirtchovski
the problem comes from libmp: the machine-dependent files written in assembly (/src/libmp/386/*-Darwin.s) are causing it (and they are all broken, not just the one reported). it's beyond me to figure out why at the moment. i tried a couple of things at random, but that's not a way to fix a

[9fans] unicode input for OSX-native drawterm

2007-10-29 Thread andrey mirtchovski
this is the last piece of the puzzle that i was missing from the OSX drawterm: the ability to input text when i'm using a different keyboard layout than the english one (that's bulgarian for me). this file will pick up the unicode key from the input event and send it directly to plan9 without

Re: [9fans] drawterm authentication failure

2007-10-23 Thread andrey mirtchovski
At this point you're best off putting a packet sniffer on the wire and taking a look to see what is really happening (or not happening). ...then let us know what happened so we can finally have an answer when google asks to please describe a situation in which you used tcpdump to diagnose and

Re: [9fans] drawterm authentication failure

2007-10-22 Thread andrey mirtchovski
looks like your drawterm can't connect to the authentication server's port. are you specifying '-a' on the command line? do you have anything filtering port 567? are you behind a nat and have to forward it? On 10/22/07, Martin Neubauer [EMAIL PROTECTED] wrote: I've set up a new auth/cpu/fossil

Re: [9fans] I appear to have stumped the brains at chacha.com

2007-10-16 Thread andrey mirtchovski
is this a google interview question? i love those NOT! first thing to do is to limit the number from above, so at least we know how large the playing field is: assume a microprocessor is 1 cm³ on average. the slabs of silicone used to make such processors are 1 m³ in volume, so one of

[9fans] gnugo port for plan9

2007-10-16 Thread andrey mirtchovski
available on sources and here: http://mirtchovski.com/p9/GnuGo/ see README.PLAN9 for installation instructions. sample game: 9grid% gnugo --boardsize 5 GNU Go 3.6 Copyright 1999, 2000, 2001, 2002, 2003 and 2004 by the Free Software Foundation, Inc. See http://www.gnu.org/software/gnugo/ or

Re: [9fans] gnugo port for plan9

2007-10-16 Thread andrey mirtchovski
i did not know that: http://www.intelligentgo.org/Home/Events/Usenix/Usenix%201984.html On 10/16/07, Bruce Ellis [EMAIL PROTECTED] wrote: goanna would kick its ass. brucee

Re: [9fans] drawterm segfault

2007-10-13 Thread andrey mirtchovski
does it happen when you open this specific file, or any other file from src/johnny? if it's only wc.c that kills it, does it kill it when you open the file directly (acme wc.c)? if it's wc.c, then is there something special that you have in that file, special french characters, perhaps? can we see

Re: [9fans] Re: X Window System

2007-10-01 Thread andrey mirtchovski
i'll finish the sshv2 port of libssh i was working on. send the money to me :) On 10/1/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: On Mon, 1 Oct 2007, Enrico Weigelt wrote: * app [EMAIL PROTECTED] wrote: Hi, So, if not X, then how about some higher (or eperhaps lower?) layer

Re: [9fans] Re: X Window System

2007-10-01 Thread andrey mirtchovski
How much you think it's worth? :-) 0 I'm curious as to how far along it is :-) search the 9fans archives :)

Re: [9fans] Re: X Window System

2007-10-01 Thread andrey mirtchovski
i promise you that we'll look at the edge of criticality from below, as it speeds away at 9.78ms¯² :) On 10/1/07, ron minnich [EMAIL PROTECTED] wrote: Andrey, I hope you will restructure the code completely, and be sure to use transparent accessor functions, spontaneous self-organization, and

Re: [9fans] Support for Mac OS X Leopard

2007-09-30 Thread andrey mirtchovski
the right thing to do is to fix timesync to notice such jumps and write them off as suspend/resume instead of assuming that the cpu has gotten *very* slow. timesync still needs to set the correct time (a system which was suspended for, say, 10 hours will live 10 hours in the past). perhaps

Re: [9fans] Support for Mac OS X Leopard

2007-09-29 Thread andrey mirtchovski
- Can I safely assume I will be able to run Plan9 on a VM like Parallels on the Mac with OS X Leopard? yes (it doesn't depend on plan9, but rather on Parallels running under Leopard). - Any idea when plan9port, Inferno, and drawterm will be available for Leopard? right after leopard is

Re: [9fans] Support for Mac OS X Leopard

2007-09-29 Thread andrey mirtchovski
On 9/29/07, Francisco J Ballesteros [EMAIL PROTECTED] wrote: I´m using both a macbook pro and a macbook regularly. Plan9 on Parallels works fine, although time does funny things when you suspend (I do not) and some times parallels crashes (not plan 9) when you start it. if you don't mind

Re: [9fans] Support for Mac OS X Leopard

2007-09-29 Thread andrey mirtchovski
the system recalculated the cpu clock rate and forces it down the cpu's throat, which causes time to run much faster than usual. that statement is incorrect, the throat belongs to the kernel. sorry :)

Re: [9fans] nventi becomes venti

2007-09-05 Thread andrey mirtchovski
how stable is the new venti on plan9? how tested? we tried it here about a year ago on a 1.7TB single raided partition and for two weeks it wasn't able to stay up for more than 24 hours... On 9/5/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I'm about to change the distribution on sources to

Re: [9fans] Fortran?

2007-08-29 Thread andrey mirtchovski
there's f2c: a fortran 77 to C converter... On 8/29/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Does Plan 9 support any sort of Fotran programming? Thanks for the help.

Re: [9fans] Parallels v 3 and Plan 9, anyone tried yet?

2007-08-29 Thread andrey mirtchovski
Axel, I've resorted to running a cpu server inside parallels and connecting to it via the OSX-native drawterm. I need this in order to get full three-button support on my laptop. I have not experience the effect that you're seeing under vnc, for me the graphics have always ran fine (including

Re: [9fans] Plan 9 Workshop

2007-08-22 Thread andrey mirtchovski
You know what I'd really like to see? It would be great if the organizing committee could invite Rob Pike to give a talk: an update to Systems Software Research Is Irrelevant (preferably with an accompanying article, so we're not left with just the talk slides). The reason for this is that the

Re: [9fans] 9P vs. FUSE

2007-08-10 Thread andrey mirtchovski
Thx. But I don't see any not whether things like symlinks are represented by file modes. when you figure that bit out, you'll be enlightened :)

Re: [9fans] how to run screensaver on cpu server console

2007-07-31 Thread andrey mirtchovski
that was a hack to allow locking of terminals as per management's requirements: http://mirtchovski.com/lanlp9/rlock/index.html not really sure that's what Antonin was looking for. there is blanking for vga enabled displays (man 3 vga) but i'm not sure consoles can actually be blanked if there's

Re: [9fans] ssh host key

2007-07-27 Thread andrey mirtchovski
put it in the hostowner's secstore where factotum will pick it up every time the machine boots. let me know if you need an example. On 7/27/07, erik quanstrom [EMAIL PROTECTED] wrote: the sshserve(1) (sic.) man page mentions how to generate a host key on-the-fly, but doesn't mention where to

Re: [9fans] ssh host key

2007-07-27 Thread andrey mirtchovski
factotum /mnt/factotum/ctl with the host key in the factotum file, of course. andrey On 7/27/07, andrey mirtchovski [EMAIL PROTECTED] wrote: put it in the hostowner's secstore where factotum will pick it up every time the machine boots. let me know if you need an example. On 7/27/07, erik

Re: [9fans] ssh host key

2007-07-27 Thread andrey mirtchovski
invalidate the nvram first and make sure you set the secstore password correctly to the one that you have set for hostowner's user in secstored when it asks you on the next reboot. if you have done already then simply cat the nvram partition: you should be able to see it in full and in plain text

Re: [9fans] Arithmetic on Plan 9

2007-07-25 Thread andrey mirtchovski
i may not be qualified to answer all those questions for you, but i'll try my best. i was dealing with FP exceptions last week and consequently may have some of the answers: 1) Is there a Plan 9 policy concerning the notes (exceptions) on arithmetic operations, both integer and float? i don't

Re: [9fans] Download of links-varfont today won't build

2007-07-15 Thread andrey mirtchovski
i just did a pull: it's not only links that fails, it's everything in /sys/src/ape/cmd :) from a first glance it looks like not all libraries are linked (a few pragmas missing?). for example, by adding libc to the mix you get rid of all warnings but one. the following example is from

Re: [9fans] Download of links-varfont today won't build

2007-07-15 Thread andrey mirtchovski
oops, the first line in my paste in the previous message should not have /386/lib/libc.a in it: it's a leftover from editing. the line should match the output from mk as it shows in /sys/src/ape/cmd/diff

Re: [9fans] Download of links-varfont today won't build

2007-07-15 Thread andrey mirtchovski
found the problem. change DIRS in /sys/src/ape/lib/ap/mkfile to include $objtype (the badly named patch mkfile-broken i just submitted has the fix). you'll need to recompile libap. the old mkfile had the $objtype hidden in the 'for' loop in install. putting it in the DIRS definition makes it

Re: [9fans] Plan9 unknown people

2007-07-12 Thread andrey mirtchovski
upper management, in a concerted effort with the Plan 9 PR department and damage mitigation team, have requested that the following picture be disseminated to quell the disturbance among the ranks: http://mirtchovski.com/screenshots/UnixRoom2007.jpg ensign ricky

Re: [9fans] Plan9 unknown people

2007-07-12 Thread andrey mirtchovski
On 7/12/07, yplan9 [EMAIL PROTECTED] wrote: What a shame !!! you don't like young jmk? we ran him through a time machine and now we can keep him working on plan9 for another 40 years before retirement ;)

Re: [9fans] Plan9 unknown people

2007-07-12 Thread andrey mirtchovski
High Command and the PR department have released the following image from the engine room, which replaces all occurrences of the previously referred to Plan9-1995.gif image effective immediately: http://mirtchovski.com/screenshots/Plan9-jmk.jpg Please make all necessary adjustments immediately.

Re: [9fans] Colors and other fun

2007-06-27 Thread andrey mirtchovski
colors are hardcoded for applications, however there's a small loophole you can use on 8-bpp displays to get something that is almost, but not quite, entirely unlike X's resources. the 'getmap' command will let you change to a different colormap from the default. pre-defined cmaps are in

Re: [9fans] Colors and other fun

2007-06-27 Thread andrey mirtchovski
That decision would depend entirely on whom you are making the software for. You can't possibly decide for a large majority of the people in the world, considering they are all different with different perceptions of what works the best for them. you can if what you're designing is different

[9fans] Re: grep and grep -v

2007-06-22 Thread andrey mirtchovski
On 6/20/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: current problem is, given an ip address, say 135.104.9.7 and an ip mask, say 255.255.255.0,how do i get the result of addr mask using only sed and echo? sitting idly at usenix, not listening to the boring talks. it can be done, but it's

Re: [9fans] smtpd no longer running?

2007-06-20 Thread andrey mirtchovski
The file was getting pretty big, so I deleted it. i cron a C program^W^Wscript to clean up the logs once a month so they are kept manageable. i don't care if i miss a few minutes' worth: cpu% cat /bin/chop #!/bin/rc cd /sys/log for (i in \ aan \ auth

Re: [9fans] equivalent of fstat | grep $portnumber ?

2007-06-19 Thread andrey mirtchovski
i just found a small program i had forgotten about that mimics unix' lsof. it's in /contrib/andrey/cmd/lsof.c you can do lsof | grep 'tcp/25' to get the pid of the program.

Re: [9fans] equivalent of fstat | grep $portnumber ?

2007-06-19 Thread andrey mirtchovski
But, assuming it's useful, why write it in C when you may as well write it in rc? why is ps written in C when it may as well be written in rc?

Re: [9fans] equivalent of fstat | grep $portnumber ?

2007-06-19 Thread andrey mirtchovski
But your lsof is equivalent to about 3 lines of rc script, done almost entirely by programs written in C, and is much clearer. I doubt that there's any noteworthy difference in speed, or that it would matter much if there were, so I just can't imagine why you'd want to write it in C. either i

Re: [9fans] Experiences with remote connections?

2007-06-16 Thread andrey mirtchovski
cfs can be a problem for a programmer: compile/run/debug/compile cycles tend to be unfavourably long since everything has to be copied back to the server and then read again.

Re: [9fans] Some libdraw help

2007-06-08 Thread andrey mirtchovski
see loadimage for the function that creates an Image * from a bitstream. if you look at the xscreensaves hacks (xscr.tgz in /contrib/andrey on sources) you'll find a couple that use that hack, most notably eruption. you can fullscreen an application in two ways: use that app instead of rio (then

Re: [9fans] Parallels v 3 and Plan 9, anyone tried yet?

2007-06-08 Thread andrey mirtchovski
further to lucho's comments, he and i just confirmed that a converted v2 image works fine in v3 (except a crash during reboot which used to happen with v2 too). i'll try a fresh install now and let you know how it goes.

Re: [9fans] Parallels v 3 and Plan 9, anyone tried yet?

2007-06-08 Thread andrey mirtchovski
definitive guide to installing plan9 on parallels v3, compile 4124: note: if you've done this before you need not bother reading the rest, just make sure you say no when asked whether you want DMA enabled for your disks. if you say yes then after boot you'll get the following error message:

Re: [9fans] Parallels v 3 and Plan 9, anyone tried yet?

2007-06-08 Thread andrey mirtchovski
I just updated to build 4144 and Plan 9 works fine on a Macbook Pro with that's confusing. my copy, downloaded and installed today, says build 4124 (June 7, 2007)

Re: [9fans] Parallels v 3 and Plan 9, anyone tried yet?

2007-06-08 Thread andrey mirtchovski
what hardware? fresh install or a converted disk image? On 6/8/07, David Leimbach [EMAIL PROTECTED] wrote: On 6/8/07, David Leimbach [EMAIL PROTECTED] wrote: On 6/8/07, Anant Narayanan [EMAIL PROTECTED] wrote: russell wrote: I tried this the other day (on an older parallels and the most

Re: [9fans] Parallels v 3 and Plan 9, anyone tried yet?

2007-06-08 Thread andrey mirtchovski
for the record: i've been using a converted image all morning on a MacBook Pro (one generation old now, 2.1ghz) with no crashes. for those that have systems that crash, i suggest recording the panic messages and sending them either to lionkov or to me. we'll get together with jmk next week and

Re: [9fans] Parallels v 3 and Plan 9, anyone tried yet?

2007-06-08 Thread andrey mirtchovski
i got it to freeze by suspending a machine and then trying to stop it from the suspended state. turned on the VT-x extensions and now can not reboot it in 9 cases out of 10. in the one case when i reboot it i have a severely restricted set of vesa modes to use. what's interesting is that i need

Re: [9fans] Parallels v 3 and Plan 9, anyone tried yet?

2007-06-08 Thread andrey mirtchovski
i'm now running a stock kernel on Parallels with VT-x on and with full graphics. it still takes a few tries and errors to get it booted up but at least i have all the available screen sizes that vesa should support. what i did: changed the OS Type to Linux and the OS Version to Red Hat. at this

Re: [9fans] Re: You might enjoy this

2007-06-05 Thread andrey mirtchovski
http://www.joeyoder.com/papers/patterns/BBOM/mud.html Why does this paper have SO MANY CAPITALIZED WORDS, and what can we do to improve it?

Re: [9fans] Re: You might enjoy this

2007-06-05 Thread andrey mirtchovski
come on you two, i was throwing a jab at this sentence from the abstract: Why are so many existing systems architecturally undistinguished, and what can we do to improve them?

Re: [9fans] Newbie Questions

2007-06-01 Thread andrey mirtchovski
i find google to be a very good search engine for the wiki: http://www.google.com/search?q=plan9%20site%3Ahttp%3A%2F%2Fplan9.bell-labs.com%2Fwiki%2Fplan9%2F

[9fans] xscr

2007-05-31 Thread andrey mirtchovski
if you're bored with nothing to do there's a new hack in /n/sources/contrib/andrey/xscr.tgz called boxfit. http://mirtchovski.com/p9/xscr/boxfit.png

Re: [9fans] Plan 9 On Parallels

2007-05-30 Thread andrey mirtchovski
I have no problems with parallels and plan9 . i started with david's changes initially but recompiled a brand new kernel just today (after a source update) which runs just fine.

[9fans] copy/paste between osx and plan9 running in parallels

2007-05-30 Thread andrey mirtchovski
i'm using parallels more and more often nowadays to run Plan 9. one of the things that annoy me is the inability to copy/paste between the hosted plan9 and the hosting osx. i couldn't find a solution anywhere so i wrote a file server that exports the osx snarf buffer to the parallels network via

Re: [9fans] questions for the Plan 9 aces out there...

2007-05-30 Thread andrey mirtchovski
the perl script i use to generate galleries can be rewritten in rc or awk or whatever: http://mirtchovski.com/2007-05-04-Karting/ it can be hosted on plan 9 just fine (it was hosted on 9grid for a year or so) if anyone wants to use it give me a shout in private and i'll send it to you together

  1   2   3   4   >