Re: [9fans] native install

2010-03-29 Thread michael block
On Mon, Mar 29, 2010 at 13:57, Georg Lehner jorge-pl...@magma.com.ni wrote:
 Would right/left-handed dvorak be a good choice to keep one hand on the
 mouse and the other on the keyboard?

it works alright for web browsing or if you're just typing english
(and probably german as well), but you really have to stretch for
non-alphabetic keys so it's less suitable for programming or anything
but simple rc commands. i mapped many of the special keys to the numpad,
but that might not work so well for a lefty



Re: [9fans] tiny rio hack: Delete

2010-02-08 Thread michael block
 [...] it has happened to me too often to select [delete] by mistake
 and to delete a window afterwards before I realized my mistake.

there is a patch on sources that allows you to change rio's linear menus
into pie menus. this allows you to associate the desired action with a
mouse gesture rather than requiring you to either remember the menu state
or to always look carefully at what you're doing. since i began using pie
menus with rio, my rate of absent-minded window loss has sharply dropped


satisfaction guaranteed. and thank you to whoever wrote the patch



Re: [9fans] Plan9 awk vs. GNU awk

2009-10-23 Thread michael block
try using [_a-zA-Z][_a-zA-Z0-9] rather than the expanded form. i
didn't track it down to be sure, but plan 9 awk seem to have a limit
34 characters inside square brackets. a rather odd number

cpu% echo hello | awk '/^[abcdefghijklmnopqrstuvwxyzABCDEFGH].+/ {
line = $0 ; print line }'
cpu% echo hello | awk '/^[abcdefghijklmnopqrstuvwxyzABCDEFG].+/ { line
= $0 ; print line }'
hello



Re: [9fans] venti/copy question....

2009-08-21 Thread michael block
thanks for the tip. i got the same error (even the score, i think)
when i tried copying some vbackup scores to a new server a few weeks
ago. i hadn't thought of trying a different copy until you brought it
up. using plan 9's copy instead of p9p's seems to be working well
enough so far



Re: [9fans] the old floppy set

2009-08-13 Thread michael block
On Fri, Aug 7, 2009 at 23:49, John Florenslawmas...@gmail.com wrote:
 With a little help from FreeDOS, I am now successfully running 2e

i can't get past the first disk. it seems there is no suitable fat
partition. no amount of partitioning and formatting under freedos or
freebsd results in anything disk one will put files on. so what
exactly constitutes a suitable fat partition?



Re: [9fans] the old floppy set

2009-08-13 Thread michael block
On Thu, Aug 13, 2009 at 09:23, John Florenslawmas...@gmail.com wrote:
 Ok, first note that I didn't have any luck with QEMU, I had to install
 on an actual 486.

i have the same error with both qemu and period hardware. i'm running
qemu-8.2.0 and a pentium 266MHz laptop. on the laptop both my freedos
partition and space for 2e are near the end of a 20G disk. same for
qemu but with a 200M hda file. was your qemu problem similar to mine?

 I booted the FreeDOS disk and created a small partition (something
 like 50 MB) on the hard disk, leaving the rest unpartitioned. Then I
 installed FreeDOS to the small partition and started the Plan 9
 installation.

yep, did the same


On Thu, Aug 13, 2009 at 09:26, erik quanstromquans...@quanstro.net wrote:
 i don't know
 what versions of fat 2e supported, but i would imagine restricting
 oneself to fat16 (and not fat16 lba) would be safest.

i used fat16, i think lba. i figured plan 9 would be smart enough to
deal with lba and large disks, but wikipedia tells me that 1995 was
sort of a chs-lba transition period, so perhaps i was wrong. i won't
be able to experiment with chs on the laptop as it has a large disk
with freebsd filling it except for the very end



Re: [9fans] Why does Acme only show text?

2009-07-16 Thread michael block
On Thu, Jul 16, 2009 at 04:58, c...@gli.cas.cz wrote:

 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



Re: [9fans] what features would you like in a shell?

2009-03-31 Thread michael block
 you think the idea of reloading a crashed program is not a good one?

 i don't like the idea.

 for example, what if it's a web browser?

 how do you determine when to relaunch?  how
 do you decide that the program is not going to
 relaunch?  how do you stop an errant shell from
 relaunching and consuming all your resources?

you could just print out the commands to restart the
program, and the user could select and send it only
if they want to. that's the approach i usually take
when i write an rc script to automate something, but
i want to check what's going to happen before i
let it run



Re: [9fans] spreding the word

2009-02-23 Thread michael block
On Mon, Feb 23, 2009 at 11:01, Robert Raschke rtrli...@googlemail.com wrote:
 'Tis a shame there's absolutley no attribution to be found. I wonder
 who wrote the book? Seems to be quite readable.

pdfinfo sheds some light on the subject:

Title:  P9.pdf
Author: Wellhoefer
Creator:PScript5.dll Version 5.2
Producer:   Acrobat Distiller 5.0 (Windows)
CreationDate:   Mon Aug 21 20:32:06 2006
ModDate:Mon Aug 21 20:32:06 2006
Tagged: no
Pages:  237
Encrypted:  no
Page size:  595 x 842 pts (A4)
File size:  1279189 bytes
Optimized:  yes
PDF version:1.3

googling wellhoefer plan 9 found this on wikipedia:

German book about Plan 9: Hans-Peter Bischof, Gunter Imeyer, Bernhard
Wellhöfer (born as Kühl), Axel-Tobias Schreiner: Das
Netzbetriebssystem Plan 9. 1999, ISBN 3-446-18881-9. The book is out
of print, but available for free at the print-on-demand service
provider Lulu.com.



Re: [9fans] sam/rc script problem

2008-12-16 Thread michael block
On Tue, Dec 16, 2008 at 13:25, Rudolf Sykora rudolf.syk...@gmail.com wrote:
 When not using 'vt' I get CR printed at the end of each line, I can't
 read man pages, etc.

ssh -r should strip carriage returns. to read man pages, i set my
MANPAGER environment variable to cat or to p9p's nobs. i might be
misunderstanding your problem though

-- m



Re: [9fans] Help downloading Plan B using hget

2008-11-14 Thread michael block
On Fri, Nov 14, 2008 at 13:50, Nolan Hamilton
[EMAIL PROTECTED] wrote:
 Hello, I am a newcomer to plan 9.  I current have Plan9 installed on my
 computer, and am trying to get Plan B.
 I use hget http://lsub.org/ls/export/planb4e.tgz;
 I just get a whole bunch of letters and numbers.
 Is this OK, or is there a problem becouse it keeps on doing this for a very
 long time.
 Also, once I have finished that, how do I save it to $home.

 -Nolan Hamilton

try hget http://lsub.org/ls/export/planb4e.tgz  /usr/asdfjkl/planb4e.tgz

-- m



Re: [9fans] mmap and shared libraries

2008-11-03 Thread michael block
On Mon, Nov 3, 2008 at 07:16,  [EMAIL PROTECTED] wrote:
 A thought ...

 Shared libraries do 2 possibly useful things:
 1) save space
 2) stop you having to re-link when a new library is released.

i can see how relinks are painful with gnu-style build systems where
you need to run ./configure and recurse thru endless Makefiles. but
under the much cleaner plan 9 source tree, such things take seconds.
plan 9 doesn't really have that many libraries either. my (probably
naïve) impression is that much of what can be done with dynamically
linked libraries can be done with pipes or layered filesystems

also linking at loadtime or runtime slows things down. you might not
notice interactively, but in shell scripts you certainly would. that
is one of the reasons why the unix world uses shell scripts to a
lesser extent. there are other advantages to static linking, but they
slip my mind for now

losing the advantages of static linking in order to duplicate
functionality that can be gotten from pipes and filesystems doesn't
seem like such a good tradeoff to me

-- m


Re: [9fans] sources down?

2008-11-02 Thread michael block
On Sun, Nov 2, 2008 at 15:35,  [EMAIL PROTECTED] wrote:
 Sources is back up.  We had a power outage and some of our machines
 didn't come back up automatically, though they usually do.

and here i was thinking you had taken them offline to retool them for
standard time ☺. thank you for maintaining sources. it is an
invaluable resource

-- m


Re: [9fans] Where to find plan9

2008-09-09 Thread michael block
the iso can be found here:
http://plan9.bell-labs.com/plan9/download/plan9.iso.bz2

the home page http://plan9.bell-labs.com/plan9/ doesn't seem to be
working at the moment



[9fans] 3c509b troubles

2008-08-29 Thread michael block
hello,

i have 3com etherlink iii 509b isa card that refuses to let me change
its port or irq.  also the only way i can get the card to talk on the
network is to put my usb mouse on the same irq and wiggle it around
really fast when i'm trying to receive or transmit.  initially i could
change neither the irq of the usb mouse nor of the ethernet card.  i
have turned off pnp in my bios and i can now move the irq of the usb
mouse.  however, without the wiggling mouse sharing its irq, the
ethernet card with not work.

from what i can tell by gleaning the 9fans archives, the 3c509b is
quite a troublesome card.  i found rumors of a dos utility that would
convince the card to change its port and irq.  i think this leaves me
with two questions.  first, where do i find this fabled configuration
program?  googling has proved fruitless.  second, is fiddling with the
port or irq even going to fix the problem?  as far as i understand, if
the card has its own irq staked out, it should just go on its way

here is what is printed on startup:
#l0; elnk3: 10Mbps port 0x300 irq 10: ethaddr
#U/usb0: uhci: port 0xEF80 irq 12

#U/usb0 was initially at irq 10, but after disabling pnp in bios, i
was able to move it to 12

-- m

ps, i have a very limited understanding of what an isa card's port and
irq even do.  if i said anything that doesn't quite add up, that's
probably why



Re: [9fans] 3c509b troubles

2008-08-29 Thread michael block
On Fri, Aug 29, 2008 at 1:06 PM, erik quanstrom [EMAIL PROTECTED] wrote:
 inform the kernel what the irq is.  plan9.ini(8) has more information
 but i think you wish

 ether0=type=3C509 irq=12

 in your plan9.ini.

yes, i tried setting it in plan9.ini, but the card just ignores it



Re: [9fans] 3c509b troubles

2008-08-29 Thread michael block
On Fri, Aug 29, 2008 at 2:20 PM,  [EMAIL PROTECTED] wrote:
 On Fri, Aug 29, 2008 at 12:40:29PM -0500, michael block wrote:

 from what i can tell by gleaning the 9fans archives, the 3c509b is
 quite a troublesome card.  i found rumors of a dos utility that would
 convince the card to change its port and irq.  i think this leaves me
 with two questions.  first, where do i find this fabled configuration
 program?  googling has proved fruitless.

 Frail memory triumphs over the almighty Google at last!

 3C5X9CFG.EXE can be found in this self-extracting archive:

  ftp://ftp.3com.com/pub/nic/3c509/3c509x2.exe

 I think it needs 3C5X9ENG.HLP from the same archive as well.



a windows machine with isa slots will be available to me on tuesday.
i'll try this out and see what happens. of course a better solution
would be to just fork over the cash for a better card...



Re: [9fans] 3c509b troubles

2008-08-29 Thread michael block
On Fri, Aug 29, 2008 at 6:42 PM, Lyndon Nerenberg [EMAIL PROTECTED] wrote:
 a windows machine with isa slots will be available to me on tuesday.
 i'll try this out and see what happens. of course a better solution
 would be to just fork over the cash for a better card...

 Where can you even buy an ISA Ethernet (or any) card these days? I don't
 even see them on Ebay or Craiglist these days.

there's no reason it needs to be isa, i have pci slots too. it's just
the only card i have that qualifies as plan 9 supported hardware

 As far as ISA Ethernet cards
 go, in my experience the '509 was one of the most reliable ones ever made.
 In the early 1990s I deployed several hundred of these in various university
 workstation labs running Windows 3.11 and BSD/OS, and they just plain
 worked.

i wouldn't say it's a bad card, just that from what i read in the
9fans archives it seems to be troublesome on plan 9 for some reason.
i've used the same card on openbsd with no problem

 Referring to an earlier message in this thread, the string 'irq=nn' on the
 ether0= line in the .ini file just tells the kernel what IRQ to speak to the
 card on. It doesn't actually re-configure the card to use that IRQ. (The
 original message was a bit ambiguous about this.)

ha! well that certainly explains a lot! like i said, i don't know what
i'm doing. thanks, that really helped

-- m



Re: [9fans] 3c509b troubles

2008-08-29 Thread michael block
heh. geez am i dopey. the problem was my misunderstanding of what the
irq=xx parts in plan9.ini do. bios decides the irq, plan9.ini tells
the kernel what the bios decided. that's my isa card mantra from now
on

thanks everyone,
-- m



Re: [9fans] sad commentary

2008-06-30 Thread michael block
On Mon, Jun 30, 2008 at 2:12 PM, Eris Discordia
[EMAIL PROTECTED] wrote:
 Fossil/Venti, however brilliant it may look like to the code junkie, does
 not offer anything for me but added complexity.

i'm using p9p venti on linux, and it's been a total breeze to
configure and administer. the utility of hist and yesterday in my
opinion far outweigh the couple megabytes of memory that venti needs
to be running all the time (i run it on my desktop machine, not a
dedicated file server). i'm curious to know what backup system you're
using that is simpler than venti. my interest in plan 9, inferno,
octopus, c stems mainly from my using venti for backups and finding
it to be far better that anything unix had to offer. so it you really
do have a backup system simpler and more robust than venti, i'd love
to try it out

--
i apologize in advance if gmail has in anyway mutilated this messege.
stay beautiful!