* [9fans] Getting started in Plan9 - help
@ 2002-01-20 20:02 Roshan James
2002-01-20 21:01 ` Matt H
` (3 more replies)
0 siblings, 4 replies; 215+ messages in thread
From: Roshan James @ 2002-01-20 20:02 UTC (permalink / raw)
To: 9fans
[-- Attachment #1: Type: text/plain, Size: 3665 bytes --]
Getting started in Plan9
-------------------------
Its been a little over a week since i got my Plan9 working and
I still seem to be in tourist mode.Lots of questions and
a few suggestions:
(I promise I have tried to answer these for myself before
before I am ask them)
It would be great if we have a school boy style step-by-step
getting-off-the-ground tour of plan9, maybe somewhere in the
wiki. I would be glad to do this, if i knew enough.
Graphics
-----------
- I am working with an S3 Trio 64v2 card, the install floppy
gave me 800*600 res,but after installation i am on 640*480 and
i cant seem to be able to change it
aux/vga -l 800x600x8
gives me
'Warning (BUG) : redefinition of aperture does not change
s3screen segment.'
in a black background in the sentre of the screen and an error
message that reads
'aux/vga: vgactlw: <size 800x600x8 m8>: vga already configured'
in the console window. it is a low end card but I believe that
I did have a higher res through the boot disk so it should be
possible here too. how can i change to a higher res ?
- If plan9 is booted through xosl in 640*480 res,plan9 graphics
display ends up corrupt. the bootloader does switch to text mode
before the OS is booted. anyother resolution or a text mode boot
loader does not seem to have a problem.
The right quarter of the screen (approx) seems to be a duplicate
of the band of the screen display between in the left part. (bad
description i know). Anyway to fix this ?
Acessibility
-------------
- How can I read a couple of html docs in Plan9 ?
- Is there a place where the uses of directories the std file system
heirarchy is discussed, esp /n ?
- /n/c: exists, how can i access the extended partitions ?
- How can i access the floppy a: ? /n/a: exists but shows no files.
- How can i access the extended windows partitions ?
- Problem with accessing C: File operations to /n/c: causes a problem
'%mkdir /n/c:/testdir'
'mkdir: cant create /n/c:/testdir: write to hungup channel'
also a black background error message comes (is there a generic name
for these messages ?)
'dossrv 45: suicide: sys: trap fault read addr=0xb pc=0x00004757'
help ?
Shell
------
- How can I find/search for a file in Plan9 ? the usual find /|grep xxx
does not exist here, what is the equivalent ?
- Why doesnt/Can rc have autocomplete and filename completion as in
bash ? This has become so neccessary.
Keys
-----
- Why cant the left/right arrow keys+home+end keys move the cursor,
it is really difficult to edit something by placing the cursor there
with the mouse.
- Unless is it part of a grander plan (no pun intended), can we move
the process interrupt key from Del to something else and have the
conventional functionality of del back ?
General
-------
- Is the option of plan9 default boot in bootsetup (during install)
safe for other OSes that exist on the system ?
- Why arent there more applications and more developers interested
in developing for plan9 ?
Russ, I think it would kill you to keep answering all the newbie
questions. Russ, Imel, Thanks for all the help you have been. I
think the Plan9 faq needs updation with some of the more generic
questions here. This is a lesson that could learned from the Win32's,
if you want the OS to grow, you have to get people comfortable with
it very fast. I think we can make that happen.
Rosh.
-------------------------------------------------------------------------------------
One Ring to rule them all, One Ring to find them,
One Ring to bring them all and in the darkness bind them.
(Lord of the Rings)
[-- Attachment #2: Type: text/html, Size: 4834 bytes --]
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Getting started in Plan9 - help
2002-01-20 20:02 [9fans] Getting started in Plan9 - help Roshan James
@ 2002-01-20 21:01 ` Matt H
2002-01-20 22:02 ` Scott Schwartz
2002-01-21 10:22 ` Boyd Roberts
2002-01-20 21:03 ` William S.
` (2 subsequent siblings)
3 siblings, 2 replies; 215+ messages in thread
From: Matt H @ 2002-01-20 21:01 UTC (permalink / raw)
To: 9fans
Hi,
here's my set of slightly flippant answers
> - How can I read a couple of html docs in Plan9 ?
install inferno and use the netscape 3 hybrid Charon
I bet you can't wait :)
Web browsing it's plan9's end user pitfall.
No browser, not even text only (unless you count downloading & stripping the html tags text only)
> - How can I find/search for a file in Plan9 ? the usual find /|grep xxx
> does not exist here, what is the equivalent ?
du I think is your best bet
it's better still to learn where everything is :)
luckily there aren't 5 different directories where programs hide (well there can be but...)
all the executables show themselves in /bin which is a union of the directories where executables live if you see what I mean. There's aren't that many, have a look through them all, you'll remember easily enough.
> - Why doesnt/Can rc have autocomplete and filename completion as in
> bash ? This has become so neccessary.
yes, well, you see plan9 is more mouse driven. eventually you'll probably end up with Acme as much your "shell" as anything, and you'll find auto complete is unneccessary.
But you're right, it is a nice feature of the bash shell but then there are soooo many goddam directories on a Linux/FreeBSD box and auto complete is Bash's way of trying to alleviate the pain. If you miss it too much I'm sure you could just write a shell script to monitor /dev/cons for tabs, and echo the stuff into /dev/cons.
Personally, I do prefer having the screen as free form is plan9's is. The shell is more than the commands you can type, it's where you can type them.
> - Why cant the left/right arrow keys+home+end keys move the cursor,
> it is really difficult to edit something by placing the cursor there
> with the mouse.
That's what I said and I still get the urge to say it out loud. They told me I'd get used to it and you know what, I haven't. I'd even settle for Ctrl-J. But when I'm sat at a different terminal I still end up saying "I wish I was using Acme".
> - Unless is it part of a grander plan (no pun intended), can we move
> the process interrupt key from Del to something else and have the
> conventional functionality of del back ?
It depends who's conventions.
> - Why arent there more applications and more developers interested
> in developing for plan9 ?
file name completion
> This is a lesson that could learned from the Win32's,
> if you want the OS to grow, you have to get people comfortable with
> it very fast. I think we can make that.
After ten years of Windows I'm not sure people are comfortable with it.
It's clunky, crashes without explanation, brittle to end user fiddling, repeatedly exposes remote root exploits, is expensive, closed source. I need not go on.
> One Ring to rule them all, One Ring to find them,
> One Ring to bring them all and in the darkness bind them.
> (Lord of the Rings)
Arntcha sick of those mobiles phones yet?
Matt
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Getting started in Plan9 - help
2002-01-20 21:01 ` Matt H
@ 2002-01-20 22:02 ` Scott Schwartz
2002-01-22 9:54 ` ozan s yigit
2002-01-21 10:22 ` Boyd Roberts
1 sibling, 1 reply; 215+ messages in thread
From: Scott Schwartz @ 2002-01-20 22:02 UTC (permalink / raw)
To: 9fans
| yes, well, you see plan9 is more mouse driven. eventually you'll
| probably end up with Acme as much your "shell" as anything, and you'll
| find auto complete is unneccessary.
I think that input prediction, if done well, is a beautiful feature, and
one that would fit very well with acme, or maybe as a kind of plumbing. I
used to use a unix thing called "rk"; a markov chain style thing that
continuously prompted you with a line or two of predicted input. You
used the arrow keys or tab or ctrl-m to accept the next char/word/line
of the prediction. It was uncannily good. A lot of command line stuff is
very repetative, and anyone who's seen Rob's fake usenet postings can
see how good this kind of thing is for email. One of these days I'll
get around to hacking it into acme, maybe.
| > - Unless is it part of a grander plan (no pun intended), can we move
| > the process interrupt key from Del to something else and have the
| > conventional functionality of del back ?
Especially since PC keyboards have an actual "break" key to use.
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Getting started in Plan9 - help
2002-01-20 22:02 ` Scott Schwartz
@ 2002-01-22 9:54 ` ozan s yigit
2002-01-23 10:05 ` Bakul Shah
0 siblings, 1 reply; 215+ messages in thread
From: ozan s yigit @ 2002-01-22 9:54 UTC (permalink / raw)
To: 9fans
schwartz@bio.cse.psu.edu (Scott Schwartz) writes:
> used to use a unix thing called "rk"; a markov chain style thing that
> continuously prompted you with a line or two of predicted input.
it is "reactive keyboard" and i believe was a thesis work at university
of calgary, by Darragh under Witten. i'm sure a web search would still turn
up pointers. there is a book about it, not sure if still in print. the
interface was interesting in trying to accomodate disabled people to
interact with command interfaces by predictive completion.
oz
--
www.cs.yorku.ca/~oz | if you couldn't find any weirdness, maybe
york u. computer science | we'll just have to make some! -- hobbes
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Getting started in Plan9 - help
2002-01-20 21:01 ` Matt H
2002-01-20 22:02 ` Scott Schwartz
@ 2002-01-21 10:22 ` Boyd Roberts
2002-01-21 10:40 ` John Murdie
1 sibling, 1 reply; 215+ messages in thread
From: Boyd Roberts @ 2002-01-21 10:22 UTC (permalink / raw)
To: 9fans
Matt H wrote:
> > - Why doesnt/Can rc have autocomplete and filename completion as in
> > bash ? This has become so neccessary.
> yes, well, you see plan9 is more mouse driven. eventually you'll probably end up with Acme as much your "shell" as anything, and you'll find auto complete is unneccessary.
> But you're right, it is a nice feature of the bash shell but then there are soooo many goddam directories on a Linux/FreeBSD box and auto complete is Bash's way of trying to alleviate the pain. If you miss it too much I'm sure you could just write a shell script to monitor /dev/cons for tabs, and echo the stuff into /dev/cons.
> Personally, I do prefer having the screen as free form is plan9's is. The shell is more than the commands you can type, it's where you can type them.
I remember the major flamewar over whether Byron's unix implementation of rc
should do this; I was in the 'no way' camp. The result was that you could
conditionally compile in that readline trash. You could probably pick it out
and stick into Plan 9's rc if you wanted to, but Plan 9 is not unix. It has
much better ways to do things.
I guess another way to do it is to use pipefile. One of the Kenji's (iirc)
did this for japanese input -- now there's a problem for you.
As for Latin-1: "Fco. J. Ballesteros" <nemo@plan9.escet.urjc.es> has volunteered
to clean up what I did late last year (I'm too busy). If anyone wants it I'll
send it on or put it on a web page somewhere. I think the only problem is the
caps-lock/ctrl key swap.
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Getting started in Plan9 - help
2002-01-21 10:22 ` Boyd Roberts
@ 2002-01-21 10:40 ` John Murdie
0 siblings, 0 replies; 215+ messages in thread
From: John Murdie @ 2002-01-21 10:40 UTC (permalink / raw)
To: 9fans; +Cc: John Murdie
> - Why doesnt/Can rc have autocomplete and filename completion as in
> bash ? This has become so neccessary.
If you put the command history editor in the shell, then you can only
use it in the shell; if you use another shell from time to time, then
you have to learn to use that shell's (different) history mechanism.
It's far better to use a single, general, command history mechanism
provided by your terminal emulator or Acme (which is so more than a
terminal emulator). There is a slight loss from the shell and the
command history editor being separated, I know.
Incidentally, I hate command completion predictors; they remember my
typing mistakes days, weeks or months later, either hesitating to show
me the full, correct, command because of my previous mistake or, worse,
confidently complete my command with the mistake!
--
John A. Murdie
Experimental Officer (Software)
Department of Computer Science
University of York
England
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Getting started in Plan9 - help
2002-01-20 20:02 [9fans] Getting started in Plan9 - help Roshan James
2002-01-20 21:01 ` Matt H
@ 2002-01-20 21:03 ` William S.
2002-01-20 21:34 ` William Josephson
2002-01-21 6:53 ` cej
3 siblings, 0 replies; 215+ messages in thread
From: William S. @ 2002-01-20 21:03 UTC (permalink / raw)
To: 9fans
I can answer this one:
step one: (at the prompt type) a:
step two: cd /n/a:
Bill
Amsterdam, NL
On Mon, Jan 21, 2002 at 01:32:35AM +0530, Roshan James wrote:
<<snip>>
>
> - How can i access the floppy a: ? /n/a: exists but shows no files.
<<snip>>
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Getting started in Plan9 - help
2002-01-20 20:02 [9fans] Getting started in Plan9 - help Roshan James
2002-01-20 21:01 ` Matt H
2002-01-20 21:03 ` William S.
@ 2002-01-20 21:34 ` William Josephson
2002-01-21 6:53 ` cej
3 siblings, 0 replies; 215+ messages in thread
From: William Josephson @ 2002-01-20 21:34 UTC (permalink / raw)
To: 9fans
On Mon, Jan 21, 2002 at 01:32:35AM +0530, Roshan James wrote:
> - Why doesnt/Can rc have autocomplete and filename completion as in
> bash ? This has become so neccessary.
binding everything on to /bin mostly remove the need for this.
If you haven't done so already, I would suggest grabbing the
various shell scripts and C programs from Russ Cox's web
page at www.eecs.harvard.edu/~rsc. " and "" are very useful
in conjunction with the mouse.
-WJ
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Getting started in Plan9 - help
2002-01-20 20:02 [9fans] Getting started in Plan9 - help Roshan James
` (2 preceding siblings ...)
2002-01-20 21:34 ` William Josephson
@ 2002-01-21 6:53 ` cej
3 siblings, 0 replies; 215+ messages in thread
From: cej @ 2002-01-21 6:53 UTC (permalink / raw)
To: 9fans
Rosh,
you can find some stupid scripts, including "find", at
http://cejchan.gli.cas.cz/plan9
Cheers,
--pac
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Getting started in Plan9 - help
@ 2002-01-24 16:30 Russ Cox
2002-01-24 17:34 ` Thomas Bushnell, BSG
0 siblings, 1 reply; 215+ messages in thread
From: Russ Cox @ 2002-01-24 16:30 UTC (permalink / raw)
To: 9fans
> I have way more keys that ASCII has codes for. How exactly should
> that work? X has a good way (even Lispms had a good way).
Arbitrarily configurable does not imply good.
It does usually imply more pain for users.
Russ
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Getting started in Plan9 - help
2002-01-24 16:30 Russ Cox
@ 2002-01-24 17:34 ` Thomas Bushnell, BSG
0 siblings, 0 replies; 215+ messages in thread
From: Thomas Bushnell, BSG @ 2002-01-24 17:34 UTC (permalink / raw)
To: 9fans
rsc@plan9.bell-labs.com (Russ Cox) writes:
> > I have way more keys that ASCII has codes for. How exactly should
> > that work? X has a good way (even Lispms had a good way).
>
> Arbitrarily configurable does not imply good.
> It does usually imply more pain for users.
Arbitrarily configurable is usually wrong. I don't mean that
everything about X is good.
Just that it has a notion of "keycode" and that's what a key sends,
rather than trying to force ASCII to do the job.
Thomas
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Getting started in Plan9 - help
@ 2002-01-23 18:24 Russ Cox
2002-01-24 9:38 ` Thomas Bushnell, BSG
0 siblings, 1 reply; 215+ messages in thread
From: Russ Cox @ 2002-01-23 18:24 UTC (permalink / raw)
To: 9fans
> The ASCII standard fortunately solves this one, and you're both wrong.
I'll keep that in mind the next time
I port Plan 9 to a machine that runs
off paper tape. Thanks.
> > the default should be that backspace is backspace.
Further, you completely missed the point.
dhog claimed that typing a backspace key should
send a backspace character, just like typing an
'a' sends an 'a' character; the ascii
semantics of backspace are not relevant
to that particular claim.
Russ
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Getting started in Plan9 - help
2002-01-23 18:24 Russ Cox
@ 2002-01-24 9:38 ` Thomas Bushnell, BSG
0 siblings, 0 replies; 215+ messages in thread
From: Thomas Bushnell, BSG @ 2002-01-24 9:38 UTC (permalink / raw)
To: 9fans
rsc@plan9.bell-labs.com (Russ Cox) writes:
> Further, you completely missed the point.
> dhog claimed that typing a backspace key should
> send a backspace character, just like typing an
> 'a' sends an 'a' character; the ascii
> semantics of backspace are not relevant
> to that particular claim.
I have way more keys that ASCII has codes for. How exactly should
that work? X has a good way (even Lispms had a good way).
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Getting started in Plan9 - help
@ 2002-01-22 18:28 David Gordon Hogan
2002-01-23 10:04 ` Douglas A. Gwyn
` (2 more replies)
0 siblings, 3 replies; 215+ messages in thread
From: David Gordon Hogan @ 2002-01-22 18:28 UTC (permalink / raw)
To: 9fans
> On Unix systems since around 7th Edition, one can bind any input
> character to the INTR function, and the DEL character was the
> default (somewhat confused by Berkeleyites who tried to change
> to DEC OS conventions: ^C -> INTR, DEL -> char-erase, etc.).
> ^? is just a way of representing the ASCII DEL character using
> printable notation; the actual character is still DEL (0x7F).
What _really_ annoys me is when I hit the BACKSPACE key on
the keyboard, while running some terminal emulator, and it
sends DELETE. This has a tendency to make me feel homicidal.
Actually, xterm is doing it to me right now. xev receives the
keystroke correctly as "keycode 64 (keysym 0xff08, BackSpace)",
then xterm says, duh, I think you want delete. Grrrr!
Of course, xterm is configurable through some resource, but
the default should be that backspace is backspace.
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Getting started in Plan9 - help
2002-01-22 18:28 David Gordon Hogan
@ 2002-01-23 10:04 ` Douglas A. Gwyn
2002-01-23 18:01 ` Thomas Bushnell, BSG
2002-01-23 10:48 ` Boyd Roberts
2002-01-23 18:01 ` Thomas Bushnell, BSG
2 siblings, 1 reply; 215+ messages in thread
From: Douglas A. Gwyn @ 2002-01-23 10:04 UTC (permalink / raw)
To: 9fans
David Gordon Hogan wrote:
> What _really_ annoys me is when I hit the BACKSPACE key on
> the keyboard, while running some terminal emulator, and it
> sends DELETE.
DEC actually started making terminals like that!
> the default should be that backspace is backspace.
I agree..
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Getting started in Plan9 - help
2002-01-23 10:04 ` Douglas A. Gwyn
@ 2002-01-23 18:01 ` Thomas Bushnell, BSG
2002-01-23 18:19 ` Ronald G Minnich
` (2 more replies)
0 siblings, 3 replies; 215+ messages in thread
From: Thomas Bushnell, BSG @ 2002-01-23 18:01 UTC (permalink / raw)
To: 9fans
"Douglas A. Gwyn" <DAGwyn@null.net> writes:
> David Gordon Hogan wrote:
> > What _really_ annoys me is when I hit the BACKSPACE key on
> > the keyboard, while running some terminal emulator, and it
> > sends DELETE.
>
> DEC actually started making terminals like that!
>
> > the default should be that backspace is backspace.
>
> I agree..
The ASCII standard fortunately solves this one, and you're both wrong.
The ASCII BS charactec is specifically to help the "backup and
overstrike" operation. For example, à is supposed to be rendered as
a BS `
The ASCII sequence for "ignore last character transmitted" is:
BS DEL
That is, DEL is *overstruck* on a character to delete it. Note the
nice way this works on paper tape: DEL is all-ones, so that means a
paper tape reader should ignore all-ones. It's also supposed to
ignore NUL (all-zeros); some hardware could not be relied upon to deal
so accurately with spacing, and false reads of all-zeros would happen.
Thomas
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Getting started in Plan9 - help
2002-01-23 18:01 ` Thomas Bushnell, BSG
@ 2002-01-23 18:19 ` Ronald G Minnich
2002-01-23 18:21 ` Scott Schwartz
2002-01-24 9:38 ` Thomas Bushnell, BSG
2002-01-23 18:46 ` Boyd Roberts
2002-01-25 10:00 ` Douglas A. Gwyn
2 siblings, 2 replies; 215+ messages in thread
From: Ronald G Minnich @ 2002-01-23 18:19 UTC (permalink / raw)
To: 9fans
On Wed, 23 Jan 2002, Thomas Bushnell, BSG wrote:
> The ASCII standard fortunately solves this one, and you're both wrong.
yeah but I don't care. I want the keyboard to do what I want, not ride
some standard defined when we all used KSRs for terminals. I dismantled
and threw my Teletypes out 25 years ago (although I saved some pictures --
heroic hardware, that stuff was).
ron
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Getting started in Plan9 - help
2002-01-23 18:01 ` Thomas Bushnell, BSG
2002-01-23 18:19 ` Ronald G Minnich
@ 2002-01-23 18:46 ` Boyd Roberts
2002-01-24 9:38 ` Thomas Bushnell, BSG
2002-01-25 10:00 ` Douglas A. Gwyn
2 siblings, 1 reply; 215+ messages in thread
From: Boyd Roberts @ 2002-01-23 18:46 UTC (permalink / raw)
To: 9fans
"Thomas Bushnell, BSG" wrote:
> The ASCII BS charactec is specifically to help the "backup and
> overstrike" operation.
Some unix tty drivers would do this. They'd overstrike with a space
and then a BS :)
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Getting started in Plan9 - help
2002-01-23 18:46 ` Boyd Roberts
@ 2002-01-24 9:38 ` Thomas Bushnell, BSG
2002-01-24 13:01 ` David Arnold
2002-01-24 16:05 ` Boyd Roberts
0 siblings, 2 replies; 215+ messages in thread
From: Thomas Bushnell, BSG @ 2002-01-24 9:38 UTC (permalink / raw)
To: 9fans
boyd@strakt.com (Boyd Roberts) writes:
> "Thomas Bushnell, BSG" wrote:
> > The ASCII BS charactec is specifically to help the "backup and
> > overstrike" operation.
>
> Some unix tty drivers would do this. They'd overstrike with a space
> and then a BS :)
Some overstrikes are easier than others.
There are two misunderstandings about ASCII that piss me off, that's
all.
One misunderstanding is that "ASCII doesn't represent accents", which
is totally wrong; it was deliberately constructed to allow for accents
for all/many languages that use the latin alphabet. The idea was (as
I mentioned previously) to use overstriking.
Now it turns out that the idea was not as good as just separate codes
for the accents (though that has its problems too), but it's not like
there was some American chauvinism that didn't bother to think about
other languages.
The other thing that pisses me off is people complaining that this or
that character is "the erase character" in ASCII, and complaining that
some system is using a different character. ASCII has no erase
character (just as it has no newline character), and there is no "one
true character" for erase, any more than there is one true C brace
indenting style or one true endianness.
Thomas
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Getting started in Plan9 - help
2002-01-24 9:38 ` Thomas Bushnell, BSG
@ 2002-01-24 13:01 ` David Arnold
2002-01-24 17:35 ` Thomas Bushnell, BSG
2002-01-24 16:05 ` Boyd Roberts
1 sibling, 1 reply; 215+ messages in thread
From: David Arnold @ 2002-01-24 13:01 UTC (permalink / raw)
To: 9fans
-->"Thomas" == Thomas Bushnell, BSG <tb+usenet@becket.net> writes:
Thomas> ASCII has no erase character (just as it has no newline
Thomas> character), and there is no "one true character" for erase,
Thomas> any more than there is one true C brace indenting style or
Thomas> one true endianness.
just to expose my ignorance, what was the intended meaning of DEL (127) ?
d
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Getting started in Plan9 - help
2002-01-24 13:01 ` David Arnold
@ 2002-01-24 17:35 ` Thomas Bushnell, BSG
2002-01-24 21:40 ` Dan Cross
0 siblings, 1 reply; 215+ messages in thread
From: Thomas Bushnell, BSG @ 2002-01-24 17:35 UTC (permalink / raw)
To: 9fans
arnold@dstc.monash.edu.au (David Arnold) writes:
> -->"Thomas" == Thomas Bushnell, BSG <tb+usenet@becket.net> writes:
>
> Thomas> ASCII has no erase character (just as it has no newline
> Thomas> character), and there is no "one true character" for erase,
> Thomas> any more than there is one true C brace indenting style or
> Thomas> one true endianness.
>
> just to expose my ignorance, what was the intended meaning of DEL (127) ?
As I mentioned before, DEL and NUL were the two ignored characters.
To tell the receiver to erase the last received character, you would
send a BS DEL sequence; that is, you'd overstrike the last character
with a DEL character. On paper tape, that did exactly the right thing
very cleverly without any special handling; other media were supposed
to DTRT.
To delete n characters, obviously, you sound BS^n DEL^n, and certainly
not (BS DEL)^n.
There may have been additional meanings to DEL, but the only one I
know of is as part of a BS DEL sequenc.e.
Thomas
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Getting started in Plan9 - help
2002-01-24 17:35 ` Thomas Bushnell, BSG
@ 2002-01-24 21:40 ` Dan Cross
2002-01-25 10:00 ` Thomas Bushnell, BSG
0 siblings, 1 reply; 215+ messages in thread
From: Dan Cross @ 2002-01-24 21:40 UTC (permalink / raw)
To: 9fans
> To delete n characters, obviously, you sound BS^n DEL^n, and certainly
> not (BS DEL)^n.
I think you mean BS * n followed by DEL * n. You want repitition, not
exponentiation (which would be meaningless, I think). The operation in
this context is non-distributive, though.
> There may have been additional meanings to DEL, but the only one I
> know of is as part of a BS DEL sequenc.e.
Is this one of those, ``well, people are still posting about this
subject, therefore I feel no need to worry about its topicality...''
things?
Surely there are more important things to worry about, like getting
the Atari 2600 simulator working....
- Dan C.
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Getting started in Plan9 - help
2002-01-24 21:40 ` Dan Cross
@ 2002-01-25 10:00 ` Thomas Bushnell, BSG
2002-01-25 22:56 ` Dan Cross
0 siblings, 1 reply; 215+ messages in thread
From: Thomas Bushnell, BSG @ 2002-01-25 10:00 UTC (permalink / raw)
To: 9fans
cross@math.psu.edu (Dan Cross) writes:
> > To delete n characters, obviously, you sound BS^n DEL^n, and certainly
> > not (BS DEL)^n.
>
> I think you mean BS * n followed by DEL * n. You want repitition, not
> exponentiation (which would be meaningless, I think). The operation in
> this context is non-distributive, though.
In formal languages theory, "product" is usually concatenation,
"exponentiation" is repeated concatenation. (For example, one says
that a DFA can scan A^n but not A^n B^n; one says that a context free
grammar can parse A^n B^n but not A^n B^n C^n.)
Your notation would have "addition" to be concatenation, and "product"
to be repeated concatenation. That convention would work as well, but
since addition is conventionally always commutative, and product is
not, it's a more confusing convention. (As you note, it suggests a
distributive property which of course does not exist.)
In other words, we agree about substance but are just using different
notations.
> > There may have been additional meanings to DEL, but the only one I
> > know of is as part of a BS DEL sequenc.e.
>
> Is this one of those, ``well, people are still posting about this
> subject, therefore I feel no need to worry about its topicality...''
> things?
Of course. :) Plus I think it's fun.
> Surely there are more important things to worry about, like getting
> the Atari 2600 simulator working....
Well, or getting Plan 9 to boot on my laptop.
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Getting started in Plan9 - help
2002-01-24 9:38 ` Thomas Bushnell, BSG
2002-01-24 13:01 ` David Arnold
@ 2002-01-24 16:05 ` Boyd Roberts
2002-01-24 17:34 ` Thomas Bushnell, BSG
1 sibling, 1 reply; 215+ messages in thread
From: Boyd Roberts @ 2002-01-24 16:05 UTC (permalink / raw)
To: 9fans
"Thomas Bushnell, BSG" wrote:
> One misunderstanding is that "ASCII doesn't represent accents", which
> is totally wrong; it was deliberately constructed to allow for accents
> for all/many languages that use the latin alphabet. The idea was (as
> I mentioned previously) to use overstriking.
>
> Now it turns out that the idea was not as good ...
s/not as good/ghastly/
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Getting started in Plan9 - help
2002-01-24 16:05 ` Boyd Roberts
@ 2002-01-24 17:34 ` Thomas Bushnell, BSG
0 siblings, 0 replies; 215+ messages in thread
From: Thomas Bushnell, BSG @ 2002-01-24 17:34 UTC (permalink / raw)
To: 9fans
boyd@strakt.com (Boyd Roberts) writes:
> "Thomas Bushnell, BSG" wrote:
> > One misunderstanding is that "ASCII doesn't represent accents", which
> > is totally wrong; it was deliberately constructed to allow for accents
> > for all/many languages that use the latin alphabet. The idea was (as
> > I mentioned previously) to use overstriking.
> >
> > Now it turns out that the idea was not as good ...
>
> s/not as good/ghastly/
Well, there are lots of multibyte fans out there still. But hey, it
was really the very first guess; I think they should get *some*
credit. :)
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Getting started in Plan9 - help
2002-01-23 18:01 ` Thomas Bushnell, BSG
2002-01-23 18:19 ` Ronald G Minnich
2002-01-23 18:46 ` Boyd Roberts
@ 2002-01-25 10:00 ` Douglas A. Gwyn
2 siblings, 0 replies; 215+ messages in thread
From: Douglas A. Gwyn @ 2002-01-25 10:00 UTC (permalink / raw)
To: 9fans
"Thomas Bushnell, BSG" wrote:
> The ASCII BS charactec is specifically to help the "backup and
> overstrike" operation.
Actually it's just the backspace part of that composite operation,
which is what we said.
> That is, DEL is *overstruck* on a character to delete it. Note the
> nice way this works on paper tape: DEL is all-ones, so that means a
> paper tape reader should ignore all-ones. It's also supposed to
> ignore NUL (all-zeros); some hardware could not be relied upon to deal
> so accurately with spacing, and false reads of all-zeros would happen.
That's a bit revisionist; no paper tape punch that I know of
ever automatically reversed tape motion upon receipt of a BS
character. The overstrike-DEL-to-delete was done *manually*
when preparing tapes off line. The ignore-NUL mode was normally
used only for the *initial* mode of each tape ("file"), i.e.
to skip leader, with embedded NUL characters often used in binary
encodings.
Another cute thing: The ASR-33 didn't immediately stop the reader
when an XOFF was read, and it didn't even stop reliably after the
*next* character had already passed, unless that character was a
DEL. (Apparently when all 8 sensing fingers activated there was a
big enough dump of mechanical energy to ensure reliable stopping.)
Therefore, Honeywell's source tape convention was LF, text, CR,
XOFF, DEL (usually called RUBOUT rather than DEL). The funny
split of the LF and CR actions allowed the assembler to input a
line from the reader with echo-print on the paper, then starting
from the new (beginning-of-line) position it would print the
object code, at some point sending a TAPE-ON (DC2) to enable the
punch unit and then the binary record, which used all nonprinting,
nonmotion characters (including BEL, ding ding) then TAPE-OFF (DC4).
At which point XON (DC1) would be sent to enable the reader which
would input the next text line (starting with that echoed LF to
clear the just-completed line on the paper). A nifty way to use
the ASR-33 for a complete one-pass assembly process with object
code and full output listing. You can investigate this using
one of the Honeywell Series-16 (+ ASR-33) simulators (Sapere's or
Supnick's) and the DAP assembler (available at Sapere's site).
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Getting started in Plan9 - help
2002-01-22 18:28 David Gordon Hogan
2002-01-23 10:04 ` Douglas A. Gwyn
@ 2002-01-23 10:48 ` Boyd Roberts
2002-01-23 18:01 ` Thomas Bushnell, BSG
2 siblings, 0 replies; 215+ messages in thread
From: Boyd Roberts @ 2002-01-23 10:48 UTC (permalink / raw)
To: 9fans
David Gordon Hogan wrote:
> What _really_ annoys me is when I hit the BACKSPACE key on
> the keyboard, while running some terminal emulator, and it
> sends DELETE. This has a tendency to make me feel homicidal.
I'm with you Captain, I can already smell the napalm burning...
I tried to fight that fight with a cordless Logitech iTouch,
X11, xterm and xmodmap and gave up in disgust at some point
last week.
The _really freaky thing_ is that when I type 8 bit chars
on my Swedish qwerty keyboard _in some windows_ I see
Cyrillic. I can read it, but it doesn't make matters
any better.
I won't even touch KDE. If I want a window [xterm] I use 'x':
x [ hostname ]
Actually I'd like to build jammers for these horrible cordless
things :)
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Getting started in Plan9 - help
2002-01-22 18:28 David Gordon Hogan
2002-01-23 10:04 ` Douglas A. Gwyn
2002-01-23 10:48 ` Boyd Roberts
@ 2002-01-23 18:01 ` Thomas Bushnell, BSG
2 siblings, 0 replies; 215+ messages in thread
From: Thomas Bushnell, BSG @ 2002-01-23 18:01 UTC (permalink / raw)
To: 9fans
dhog@plan9.bell-labs.com (David Gordon Hogan) writes:
> Of course, xterm is configurable through some resource, but
> the default should be that backspace is backspace.
You mean, the default is that "backspace erases a character backwards"
or "backspace sets up an overstrike"? The latter is what ASCII means
by backspace.
Or maybe you mean that the default is that "backspace should send #".
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Getting started in Plan9 - help
@ 2002-01-22 6:44 okamoto
0 siblings, 0 replies; 215+ messages in thread
From: okamoto @ 2002-01-22 6:44 UTC (permalink / raw)
To: 9fans
>I follow this list and browse the documentation in order
>to gain enlightenment and in the hope of gleaning useful ideas for my daily
>work.
By such an attitude, I believe you won't see the problem (if any) the designers
may be facing now, which must be the hottest topic, but then, you'll see only
the past of them. :-)
I believe any operating system will be tested and trained most effectively in the
real work area, that is any application software. Therefore, if we try to use Plan 9
for our own work, we and the community will face an interesting new problem
to be solved, which will promote Plan 9 further.
Don't you think so?
Or you want Plan 9 to be there as it is without more developement?
Kenji
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Getting started in Plan9 - help
@ 2002-01-22 2:54 dmr
2002-01-22 11:13 ` Boyd Roberts
0 siblings, 1 reply; 215+ messages in thread
From: dmr @ 2002-01-22 2:54 UTC (permalink / raw)
To: 9fans
Murdie observed,
> If you put the command history editor in the shell, then you can only
> use it in the shell; if you use another shell from time to time, then
> you have to learn to use that shell's (different) history mechanism.
> It's far better to use a single, general, command history mechanism
> provided by your terminal emulator or Acme (which is so more than a
> terminal emulator). There is a slight loss from the shell and the
> command history editor being separated, I know.
True enough; that said, I retain considerable fondness for
the history mechanism of later research Unix systems. It
was adapted from earlier U of Toronto versions, I believe,
revived by Rob, and later put away again.
The shell appended each executed command (not in a script)
to a $HISTORY file.
The '=' command (not builtin) searched backwards in the
file for a last matching pattern, and reissued it.
E.g.
=
redoes the previous command.
= ls
finds the last shell command beginning with ls.
Text substitution could be accomplished with further
arguments.
The == variant allowed interactive editing.
Dennis
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Getting started in Plan9 - help
2002-01-22 2:54 dmr
@ 2002-01-22 11:13 ` Boyd Roberts
2002-01-22 17:39 ` Douglas A. Gwyn
0 siblings, 1 reply; 215+ messages in thread
From: Boyd Roberts @ 2002-01-22 11:13 UTC (permalink / raw)
To: 9fans
dmr@plan9.bell-labs.com wrote:
> True enough; that said, I retain considerable fondness for
> the history mechanism of later research Unix systems. It
> was adapted from earlier U of Toronto versions, I believe,
> revived by Rob, and later put away again.
Yes, I liked it too, so much so I hacked the SysVr2 shell
to do it and got it to do 'whatis', chucked out 'type'
and added 'builtin'.
Then all I needed was =.c
http://home.fr.inter.net/boyd/code/=.c
[hmm... that code is old; K&R C]
I believe the code was re-hacked for the unix rc and
fixed a bug with smashing tabs into spaces when you
typed # [delete char] inside a tab. I could never
bring myself to break the simplicity of the editing
loop to fix that bug.
I also had access to the 8th and 9th Edition sources
to =.c and saw what contorsions it went to to fix the
bug I didn't want to fix.
I assume rob (or someone) ripped the code out of qed to
write =.c
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Getting started in Plan9 - help
2002-01-22 11:13 ` Boyd Roberts
@ 2002-01-22 17:39 ` Douglas A. Gwyn
0 siblings, 0 replies; 215+ messages in thread
From: Douglas A. Gwyn @ 2002-01-22 17:39 UTC (permalink / raw)
To: 9fans
Boyd Roberts wrote:
> Yes, I liked it too, so much so I hacked the SysVr2 shell
> to do it and got it to do 'whatis', chucked out 'type'
> and added 'builtin'.
The BRL (now part of ARL) Bourne shell already had those,
also a $HISTORY file (called $HISTFILE to avoid conflict),
emacs-style command line editing, etc. In fact I'm still
using it; we have a single source that can be conditionally
configured to fit any known Unix platform, which vary a lot
more than one might think. It also supports csh-like job
control, and as a side effect uncovered a very bad,
pervasive race in the Irix kernel (which was soon fixed).
^ permalink raw reply [flat|nested] 215+ messages in thread
[parent not found: <20020121170104.2FABD19A05@mail.cse.psu.edu>]
* Re: [9fans] Getting started in Plan9 - help
[not found] <20020121170104.2FABD19A05@mail.cse.psu.edu>
@ 2002-01-21 23:30 ` Andrew Simmons
0 siblings, 0 replies; 215+ messages in thread
From: Andrew Simmons @ 2002-01-21 23:30 UTC (permalink / raw)
To: 9fans
>- Why arent there more applications and more developers interested
>in developing for plan9
>
In my case, apart from having to meet deadlines in the Windows world, and
being too cheap to buy a three-button mouse, what rather put me off
seriously pursuing Plan 9 for actual use is a comment some one, I think Mr
Presotto, made a while back to the effect that Plan 9 is a research system,
and that its developers are not very interested in backward compatibility
and only mildly in a large user community. While a perfectly valid goal, I
would have thought it unlikely to attract many people into developing for
Plan 9. As it is, I follow this list and browse the documentation in order
to gain enlightenment and in the hope of gleaning useful ideas for my daily
work.
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Getting started in Plan9 - help
@ 2002-01-21 22:34 erik quanstrom
0 siblings, 0 replies; 215+ messages in thread
From: erik quanstrom @ 2002-01-21 22:34 UTC (permalink / raw)
To: 9fans
along this line, it would be especially cool if the database
engine could export into the filesystem pointers to working
sets, closures, etc. this would allow one to write the
functional equivalent of a stored procedure without any
specific language support in the dtaabase. the place i
always thought this idea fell apart was the other reason
that stored procedures were invented -- so stuff could run
inside the server without the data or the command making a
round trip between client and server. believe me, when you're
walking a million records, it makes a big difference.
the problem is that unless you're really after performance
with insanely-large datasets, a sql-based database just isn't
worth the pain of dealing with that which does not play nicely
with others.
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Getting started in Plan9 - help
@ 2002-01-21 22:15 anothy
2002-01-22 9:53 ` Douglas A. Gwyn
0 siblings, 1 reply; 215+ messages in thread
From: anothy @ 2002-01-21 22:15 UTC (permalink / raw)
To: 9fans
// ...i cant seem to be able to change it...
in my experience (always?), aux/vga is unable to change the
resolution of a display once it's first been brought up. to get
your display to boot in a different resolution, change the
definition of vgasize in plan9.ini (which generally lives in a
FAT partition or on a floppy; more on that in a minute).
Acessibility:
Plan 9 does not include a web browser or other html
interpreter; look to Vita Nuova's freely-available Inferno
distribution, which includes Charon.
man dossrv(4) for a description of the a:, c:, and 9fat:
scripts which will facilitate, respectivly, access to a floppy
drive, your primary FAT partition, and your plan9 FAT
partition, where configuration information like plan9.ini
is commonly stored.
for example, to edit my plan9.ini, i do this:
9fat:
acme -c1 /n/9fat/plan9.ini
unmount /n/9fat
Shell:
to find a file named "myfile" in /usr/anothy, i do:
`{du -a /usr/anothy | awk '{print $2}'} | grep myfile
this sort of construction works well for all manner of
tools (although i have on occasion missed find's easy
methods of finding files based on greater/less-than
comparisons). also try
grep some_string `{du -a /usr/anothy | awk '{print $2}'}
for finding "some_string" in a set of files.
rc has no command completion or history. the design
rational is essentially that this functionality properly
belongs in the windowing system, not the shell, so that
the solution becomes general: it can be applied to every
program that looks for input. while not having history
(and to a lesser extent command completion) took me a
bit of getting used to comming from unix, i do not miss
it, and now strongly prefer the Plan 9 way of giving me
such things.
Keys:
plan 9 terminals are much more mouse-driven than
unix terminals. the current UI basically mandates that
you become comfortable using the mouse alot. the end
result is a much more efficient system - the mouse is
much better at many tasks than moving things around
with a keyboard, even when it doesn't feel like it (there
was a good report on this linked here earlier, but i failed
to make a note of it; anyone?). this is not always true
(folks with various disabilities or motor imparment
being the primary counter-example), but is true the
overwhelming majority of the time, and the system is
designed with that in mind.
the interupt functionality could be moved off del, and
onto something else, like the pause/break key. but
keyboards vary widely, and a replacement would have
to be well-chosen. on most smaller keyboards (like on
laptops), del is a key, while pause/break is often a
pseudo-key.
also, as noted earlier, it's not at all clear what the
"conventional" functionality of del is. on most of my
Unix systems, it produces ^? - far less useful than the
interupt function.
General:
i'm not sure what you're asking WRT plan9 default
boot being "safe" for other OSes. the bootloader plan
9 will install is not a multi-booter - it only finds the
first partition marked "active" (or can there only ever
be one?) and runs that. it will not, however, touch
any data living on other partitions.
there has been wide speculation on why Plan 9 has
not gained greater support than it has. ideas on
this topic vary widely. my own theory is something
along the lines of plan 9 is just too much: it requires
people to understand (or be willing to learn) many
new concepts all at once to really "get it". others
believe it has something to do with licensing terms,
or the attitude of people on 9fans and comp.os.plan9.
there's also the old chicken-and-egg problem: users
aren't interested because of the comparitave lack of
apps, and app developers arn't interested because of
the lack of users. but that's all just speculation.
ア
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Getting started in Plan9 - help
2002-01-21 22:15 anothy
@ 2002-01-22 9:53 ` Douglas A. Gwyn
0 siblings, 0 replies; 215+ messages in thread
From: Douglas A. Gwyn @ 2002-01-22 9:53 UTC (permalink / raw)
To: 9fans
anothy@cosym.net wrote:
> also, as noted earlier, it's not at all clear what the
> "conventional" functionality of del is. on most of my
> Unix systems, it produces ^? - far less useful than the
> interupt function.
On Unix systems since around 7th Edition, one can bind any input
character to the INTR function, and the DEL character was the
default (somewhat confused by Berkeleyites who tried to change
to DEC OS conventions: ^C -> INTR, DEL -> char-erase, etc.).
^? is just a way of representing the ASCII DEL character using
printable notation; the actual character is still DEL (0x7F).
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Getting started in Plan9 - help
@ 2002-01-21 20:39 Russ Cox
2002-01-21 21:16 ` Matt H
` (3 more replies)
0 siblings, 4 replies; 215+ messages in thread
From: Russ Cox @ 2002-01-21 20:39 UTC (permalink / raw)
To: 9fans
I think it might be neat to build a small number
of little programs that parse and reemit sql queries.
Thus you could use normal shell pipelines to do database
queries but since you're passing _queries_ and not _output_
through the pipes, you still reap the benefits of
query optimization. Just like the old /acme/edit scripts.
I don't remember enough of the SQL syntax to
reparse your query into an exact shell pipeline, but
the idea is you could do something like
sql/grep 'Car%' pages.title | sql/join section pages.idx |
sql/p
Sql/p would behave like the acme p, actually executing
the query to produce output.
Of course, if there isn't much data, moving it into
the file system might be an even better solution.
Russ
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Getting started in Plan9 - help
2002-01-21 20:39 Russ Cox
@ 2002-01-21 21:16 ` Matt H
2002-01-21 23:39 ` Quinn Dunkan
` (2 subsequent siblings)
3 siblings, 0 replies; 215+ messages in thread
From: Matt H @ 2002-01-21 21:16 UTC (permalink / raw)
To: 9fans
On Mon, 21 Jan 2002 15:39:45 -0500
"Russ Cox" <rsc@plan9.bell-labs.com> wrote:
> Sql/p
I've begun fiddling with something like that. I began a postgres client, I
was going to return the table as a fixed width sparse matrix in one file
with a file server and also present the same data as a directory tree.
I'm using the current website project as a way to find out the issues of
filesystem storage to make sure I'm not totally barking up the wrong tree
Can't seem to get the time to work on my actual idea.
M
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Getting started in Plan9 - help
2002-01-21 20:39 Russ Cox
2002-01-21 21:16 ` Matt H
@ 2002-01-21 23:39 ` Quinn Dunkan
2002-01-22 15:36 ` cej
2002-01-22 23:02 ` skipt
3 siblings, 0 replies; 215+ messages in thread
From: Quinn Dunkan @ 2002-01-21 23:39 UTC (permalink / raw)
To: 9fans
> I think it might be neat to build a small number
> of little programs that parse and reemit sql queries.
> Thus you could use normal shell pipelines to do database
> queries but since you're passing _queries_ and not _output_
> through the pipes, you still reap the benefits of
> query optimization. Just like the old /acme/edit scripts.
It's not SQL, but:
http://www.linux.it/~carlos/nosql/
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Getting started in Plan9 - help
2002-01-21 20:39 Russ Cox
2002-01-21 21:16 ` Matt H
2002-01-21 23:39 ` Quinn Dunkan
@ 2002-01-22 15:36 ` cej
2002-01-22 15:42 ` Matt H
2002-01-22 23:02 ` skipt
3 siblings, 1 reply; 215+ messages in thread
From: cej @ 2002-01-22 15:36 UTC (permalink / raw)
To: 9fans
>
> Of course, if there isn't much data, moving it into
> the file system might be an even better solution.
>
> Russ
Could anyone show me how to do such a thing? (tables + relations --> filesys)
Thanks,
--pac
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Getting started in Plan9 - help
2002-01-22 15:36 ` cej
@ 2002-01-22 15:42 ` Matt H
0 siblings, 0 replies; 215+ messages in thread
From: Matt H @ 2002-01-22 15:42 UTC (permalink / raw)
To: 9fans
On Tue, 22 Jan 2002 16:36:15 +0100
"cej@cejchan.gli.cas.cz" <cej@cejchan.gli.cas.cz> wrote:
> >
> > Of course, if there isn't much data, moving it into
> > the file system might be an even better solution.
> >
> > Russ
>
> Could anyone show me how to do such a thing? (tables + relations --> filesys)
man join
man awk
man sort
man bind
and some custom scripting is about as far as I've got
my data is such that ls /data/content/*/*.txt works for me
I'm trying to keep my data with a depth of one although I envisage being able to move to a more tree like structure to resolve inner joins and the like.
Of course, you have to consider the performance issue of losing your indexes.
Hopefully I'll be working a bit harder on it in a couple of weeks time when my current nightmare has ended !
M
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Getting started in Plan9 - help
2002-01-21 20:39 Russ Cox
` (2 preceding siblings ...)
2002-01-22 15:36 ` cej
@ 2002-01-22 23:02 ` skipt
2002-01-23 10:05 ` Douglas A. Gwyn
3 siblings, 1 reply; 215+ messages in thread
From: skipt @ 2002-01-22 23:02 UTC (permalink / raw)
To: 9fans, 9fans
unity, a package that could be found at AT&T Toolchest long ago, kind of
did relational data management the "unix" way. My memory is not very clear
on this, but I recall it used text files, with hash index files for fast searches, and
I think it embedded the dictionary as the first (comment) line of
each file. You could use grep and awk, etc. I used it with some large data
sets, and it worked correctly and was fast. (I just checked, Lucent SSG sells it)
It is much harder to tastefully map a table (matrix structure) to
a filesystem (a tree).
At 03:39 PM 1/21/2002 -0500, Russ Cox wrote:
>I think it might be neat to build a small number
>of little programs that parse and reemit sql queries.
>Thus you could use normal shell pipelines to do database
>queries but since you're passing _queries_ and not _output_
>through the pipes, you still reap the benefits of
>query optimization. Just like the old /acme/edit scripts.
>
>I don't remember enough of the SQL syntax to
>reparse your query into an exact shell pipeline, but
>the idea is you could do something like
>
> sql/grep 'Car%' pages.title | sql/join section pages.idx |
> sql/p
>
>Sql/p would behave like the acme p, actually executing
>the query to produce output.
>
>Of course, if there isn't much data, moving it into
>the file system might be an even better solution.
>
>Russ
>
>
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Getting started in Plan9 - help
2002-01-22 23:02 ` skipt
@ 2002-01-23 10:05 ` Douglas A. Gwyn
2002-01-23 22:28 ` Lyndon Nerenberg
0 siblings, 1 reply; 215+ messages in thread
From: Douglas A. Gwyn @ 2002-01-23 10:05 UTC (permalink / raw)
To: 9fans
skipt@real.com wrote:
> unity, ...
As I recall the source code had some problems with argument testing
(essentially, dereferencing null pointers before testing), easily
fixed once you're aware. If you're going to pay for Unity you might
consider licensing the whole Unix System ToolChest; I think there
was a good price for this last time I checked. There are some gems
in there, including algorithm animation and geo-mapping utilities.
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Getting started in Plan9 - help
2002-01-23 10:05 ` Douglas A. Gwyn
@ 2002-01-23 22:28 ` Lyndon Nerenberg
0 siblings, 0 replies; 215+ messages in thread
From: Lyndon Nerenberg @ 2002-01-23 22:28 UTC (permalink / raw)
To: 9fans
>>>>> "Douglas" == Douglas A Gwyn <DAGwyn@null.net> writes:
Douglas> If you're going
Douglas> to pay for Unity you might consider licensing the whole
Douglas> Unix System ToolChest; I think there was a good price for
Douglas> this last time I checked. There are some gems in there,
Douglas> including algorithm animation and geo-mapping utilities.
Pity, they seem to have dropped the System V rogue (and HDB) :-(
DWB is there, but can you license the Writers Workbench from anywhere
these days?
--lyndon
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Getting started in Plan9 - help
@ 2002-01-21 20:34 presotto
0 siblings, 0 replies; 215+ messages in thread
From: presotto @ 2002-01-21 20:34 UTC (permalink / raw)
To: 9fans
To me, dynamic libraries are like clowns. In both
cases, I was fightened by one at an impressionable
age and have loathed them ever since (Bozo tripped
on his microphone and fell on be when I was 3, Multics
got me at college).
It's a hard fear to overcome. Putting something into
a dynamic library instead of into a server or the kernel
is oven more efficient. However, by its very nature,
the interface is less constrained. As a result, the
visibility of changes and the amount of ratcheting due
to new applications dragging in new, and often incompatible,
versions of the libraries is higher than changes in
the other 2 places. It's too tempting to add a few
more parameters here and there and to make internal
details externally visible.
I can't really say that they're evil, only that I'ld
prefer not to use them.
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Getting started in Plan9 - help
@ 2002-01-21 20:21 Russ Cox
2002-01-21 20:44 ` Mike Haertel
0 siblings, 1 reply; 215+ messages in thread
From: Russ Cox @ 2002-01-21 20:21 UTC (permalink / raw)
To: 9fans
First of all, I was kidding about readline.
> * If dynamic linked libraries, you have taken the first step
> on the slippery slope to the land of gratuitious complexity,
> where even a simple "hello, world" C program can execute
> 100000 instructions before it actually prints anything.
> (No, I'm not kidding.) For some reason, people seem to think
> adding features in dynamic libraries is "free".
If I'm running rio on Plan 9, draw a new window, and run
hello world, how many instructions execute before I see
"hello world" on my screen? Lots and lots, just not many
in the hello world process. The kernel has to redirect
the write into rio, rio does some lookups to figure out
which window gets the output, libdraw has to walk around
in the font caches, possibly loading the missing letters,
(which is more kernel calls, context switches to kfs,
and execution of the various code in devsd), finally
preparing a "draw string" request for /dev/draw. Then the
kernel is back. For simplicity let's assume that the window
is in front of all the others, so memlayer isn't involved. Now we
clear the background, either with memset or by making
calls to an accelerated vga routine with some busy waits
(still faster than memset, though). Then we use
per-character calls to memimagedraw to blacken the appropriate
pixels. And finally we see "hello world" (assuming that we
have direct access to video memory; if not, we've been drawing
in a soft screen and still need to flush the changed portion
out to video memory).
You're still right, of course; dynamic libraries are a
slippery slope for lots of reasons. My point is that the
overhead of dynamic libraries is not necessarily worse than
the overhead of other system services like the kernel and
the various Plan 9 file servers, just in a different place.
It takes far more than 100,000 instructions to get "hello world"
onto my screen either way. How you count depends on what
you care to include.
Russ
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Getting started in Plan9 - help
2002-01-21 20:21 Russ Cox
@ 2002-01-21 20:44 ` Mike Haertel
0 siblings, 0 replies; 215+ messages in thread
From: Mike Haertel @ 2002-01-21 20:44 UTC (permalink / raw)
To: 9fans
>> where even a simple "hello, world" C program can execute
>> 100000 instructions before it actually prints anything.
>
>If I'm running rio on Plan 9, draw a new window, and run
>hello world, how many instructions execute before I see
>"hello world" on my screen? Lots and lots, just not many
>in the hello world process. The kernel has to redirect
>the write into rio, rio does some lookups to figure out
>which window gets the output, [...]
>
>It takes far more than 100,000 instructions to get "hello world"
>onto my screen either way. How you count depends on what
>you care to include.
Under an operating system that will remain nameless, the 100K figure
came from using a debugger to count only instructions in the process
context of the "hello, world" program itself. It didn't count
kernel mode instructions executed, or window system operations in
other processes, or any of the plethora of things you mentioned.
Had I counted those it of course would have been much higher.
Writing to a file or pipe is much cheaper and there the 100K
instructions start to stick out like a sore thumb.
The reason I bitch and whine about the 100K instructions (or lots
more than 100K in some operating systems) is because process startup
overhead is one of the main limiting factors to the performance of
shell scripts, mkfiles, and the like. That in turn makes people
give up on the "tools" approach too soon and too often.
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Getting started in Plan9 - help
@ 2002-01-21 19:42 David Gordon Hogan
2002-01-21 20:28 ` Matt H
0 siblings, 1 reply; 215+ messages in thread
From: David Gordon Hogan @ 2002-01-21 19:42 UTC (permalink / raw)
To: 9fans
> > If you put the command history editor in the shell, then you can only
> > use it in the shell; if you use another shell from time to time, then
>
> Not if you put it in a library and link the library
> against every single program that could ever possibly
> want to read input!
Standard practice in the GNU world. But is it _good_ practice?
I had a lot of ``fun'' getting gdb to run on Plan 9 because of this...
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Getting started in Plan9 - help
2002-01-21 19:42 David Gordon Hogan
@ 2002-01-21 20:28 ` Matt H
2002-01-25 10:30 ` Ralph Corderoy
0 siblings, 1 reply; 215+ messages in thread
From: Matt H @ 2002-01-21 20:28 UTC (permalink / raw)
To: 9fans
On Mon, 21 Jan 2002 14:42:04 -0500
"David Gordon Hogan" <dhog@plan9.bell-labs.com> wrote:
> Standard practice in the GNU world. But is it _good_ practice?
_hopefully_ Russ was being sarcastic
> I had a lot of ``fun'' getting gdb to run on Plan 9 because of this...
There is a lot to be said for a common way of getting text from the kb.
Especially when it removes the burden from application programmers from having to deal with user input in their interactive cli applications.
Of course a better way is to remove the interactive part and just expose the interface
So many times I've typed ls and hit return in MySQL console to get a list of tables instead of "show tables"
Every time I say to myself "if this was plan9 ls would work, and work better" because I could use the usual tools on the output
in fact yesterday I did a LOT of mysql processing using the shell and piping the output into awk & sed to make new queries, something you just can't do in the mysql console
The downside is that I have to pass the username & password on the command line too so it starts to get a bit unwieldy :
mysql -r -B -e "select pages.idx, pages.title, pages2.idx as idx2, pages2.title as title2 from pages left join pages as pages2 on pages.section=pages2.idx where pages2.title like'Car%';" -u USER --password='XXXPASSWORDXXXX' content | sed 's/+//' | awk 'BEGIN {FS="\t"} {printf "mysql -r -B -e \"select body from pageblock where pagesidx=%s ; \" -u USER --password='XXXPASSWORDXXXX' content | tr -d \"\\r\" | sed \"s/^body//\" > \"%s.txt\"\n",
$1, $2}'
I've taken Boyd's advice from ages ago that SQL is mostly pointless and I'm moving my tables into the file system and guess what, the code in my CGI is actually shrinking!
I'm losing some type checking and conforming to legal filenames gets in the way sometimes but on the whole I'm satisfied.
I'm hoping to eventually move the whole app across to plan9 and I'm interested in the fact that by using /n/dump I can backtrack to old data, see where the most activity is and stuff like that.
M
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Getting started in Plan9 - help
@ 2002-01-21 18:48 Russ Cox
2002-01-21 19:58 ` Mike Haertel
0 siblings, 1 reply; 215+ messages in thread
From: Russ Cox @ 2002-01-21 18:48 UTC (permalink / raw)
To: 9fans
> If you put the command history editor in the shell, then you can only
> use it in the shell; if you use another shell from time to time, then
Not if you put it in a library and link the library
against every single program that could ever possibly
want to read input!
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Getting started in Plan9 - help
2002-01-21 18:48 Russ Cox
@ 2002-01-21 19:58 ` Mike Haertel
2002-01-21 20:05 ` James A. Robinson
0 siblings, 1 reply; 215+ messages in thread
From: Mike Haertel @ 2002-01-21 19:58 UTC (permalink / raw)
To: 9fans
>> If you put the command history editor in the shell, then you can only
>> use it in the shell; if you use another shell from time to time, then
>
>Not if you put it in a library and link the library
>against every single program that could ever possibly
>want to read input!
Or better yet, put it in rio. Then every program gets the
feature, and nobody has to remember to use the funny library.
Plus, libraries have some troubles of their own..
* If static libraries, then you have to relink everything
every time you change the library.
* If dynamic linked libraries, you have taken the first step
on the slippery slope to the land of gratuitious complexity,
where even a simple "hello, world" C program can execute
100000 instructions before it actually prints anything.
(No, I'm not kidding.) For some reason, people seem to think
adding features in dynamic libraries is "free".
Only problem with putting it in rio is that you don't have
quite enough information there. To do intelligent history
and completion, you really want to know a few things like
what program you're doing it for, what their current directory
is, what their environment variables are, and so on.
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Getting started in Plan9 - help
2002-01-21 19:58 ` Mike Haertel
@ 2002-01-21 20:05 ` James A. Robinson
0 siblings, 0 replies; 215+ messages in thread
From: James A. Robinson @ 2002-01-21 20:05 UTC (permalink / raw)
To: 9fans
> Only problem with putting it in rio is that you don't have
> quite enough information there. To do intelligent history
> and completion, you really want to know a few things like
> what program you're doing it for, what their current directory
> is, what their environment variables are, and so on.
Why wouldn't it be a history server which sits inbetween
the keyboard and the rio process? Records everything sent
in, intercepts whatever you use for commands in order to
print bits of a log back to rio?
Jim
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re[2]: [9fans] Getting started in Plan9 - help
@ 2002-01-21 10:01 steve.simon
2002-01-21 10:28 ` Boyd Roberts
0 siblings, 1 reply; 215+ messages in thread
From: steve.simon @ 2002-01-21 10:01 UTC (permalink / raw)
To: 9fans
Any pointers, references, FTP site for "rk" ?
-Steve
____________________Reply Separator____________________
Subject: Re: [9fans] Getting started in Plan9 - help
Author: 9fans@cse.psu.edu
Date: 20/01/02 22:02
| yes, well, you see plan9 is more mouse driven. eventually you'll
| probably end up with Acme as much your "shell" as anything, and you'll
| find auto complete is unneccessary.
I think that input prediction, if done well, is a beautiful feature, and
one that would fit very well with acme, or maybe as a kind of plumbing. I
used to use a unix thing called "rk"; a markov chain style thing that
continuously prompted you with a line or two of predicted input. You
used the arrow keys or tab or ctrl-m to accept the next char/word/line
of the prediction. It was uncannily good. A lot of command line stuff is
very repetative, and anyone who's seen Rob's fake usenet postings can
see how good this kind of thing is for email. One of these days I'll
get around to hacking it into acme, maybe.
| > - Unless is it part of a grander plan (no pun intended), can we move
| > the process interrupt key from Del to something else and have the
| > conventional functionality of del back ?
Especially since PC keyboards have an actual "break" key to use.
----------------------------------------------------------------------
The contents of this communication are confidential to the normal user of
the email address to which it was sent. If you have received this email
in error, any use, dissemination, forwarding, printing or copying of this
email is strictly prohibited. If this is the case, please notify the
sender and delete this message.
----------------------------------------------------------------------
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Getting started in Plan9 - help
2002-01-21 10:01 Re[2]: " steve.simon
@ 2002-01-21 10:28 ` Boyd Roberts
0 siblings, 0 replies; 215+ messages in thread
From: Boyd Roberts @ 2002-01-21 10:28 UTC (permalink / raw)
To: 9fans
steve.simon@snellwilcox.com wrote:
> I think that input prediction, if done well, is a beautiful feature, and
> one that would fit very well with acme, or maybe as a kind of plumbing. I
> used to use a unix thing called "rk"; a markov chain style thing that
> continuously prompted you with a line or two of predicted input. You
> used the arrow keys or tab or ctrl-m to accept the next char/word/line
> of the prediction. It was uncannily good.
In Japan they have a similar style of thing for typing Kanji. The
pronounciation stem is typed (in kana) and you flip through a list of
choices. If it's smart it should remember the kanji-frequencies on
a per-user basis. I never knew if the ones I saw ever did.
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Getting started in Plan9 - help
@ 2002-01-20 21:15 rob pike
0 siblings, 0 replies; 215+ messages in thread
From: rob pike @ 2002-01-20 21:15 UTC (permalink / raw)
To: 9fans
> - Is there a place where the uses of directories the std file system
> heirarchy is discussed, esp /n ?
namespace(4). i admit that the distinction between /n and /mnt is
blurred. the original intent was /n was remote machines, while /mnt
was local services. a: etc. should probably have been in /mnt.
ditto the blurring for /lib and /sys/lib. /lib was supposed to be
a library: dictionaries, etc, while /sys/lib was supposed to be supporting
stuff like troff macros. but we have what we have. see namespace(4).
-rob
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Virtual memory in BSD and Plan9
@ 2001-10-25 17:55 Russ Cox
2001-10-25 18:29 ` William Josephson
0 siblings, 1 reply; 215+ messages in thread
From: Russ Cox @ 2001-10-25 17:55 UTC (permalink / raw)
To: 9fans
Could you please recommend me a reading on both architectures to
understand differences between them. I read here that BSD paging has
some drawbacks to AT&T one (used in Plan9). And I want to make this
clear for myself.
The discussions here were talking about many-years-old
systems. I don't think anyone even mentioned Plan 9's VM system,
which is just about the simplest thing you could imagine.
The BSDs have oodles more ``features.'' I'd look in
www.researchindex.com for the latest stuff, and in McKusick et al.
(Design and Implementation of the 4.4BSD OS) for older stuff.
You can decide for yourself whether Plan 9 needs any of it.
Russ
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Virtual memory in BSD and Plan9
2001-10-25 17:55 [9fans] Virtual memory in BSD and Plan9 Russ Cox
@ 2001-10-25 18:29 ` William Josephson
2001-10-26 8:09 ` [9fans] acme bug/annoyance? Matt
2001-10-29 10:16 ` [9fans] Virtual memory in BSD and Plan9 John S. Dyson
0 siblings, 2 replies; 215+ messages in thread
From: William Josephson @ 2001-10-25 18:29 UTC (permalink / raw)
To: 9fans
On Thu, Oct 25, 2001 at 01:55:25PM -0400, Russ Cox wrote:
> The discussions here were talking about many-years-old
> systems. I don't think anyone even mentioned Plan 9's VM system,
> which is just about the simplest thing you could imagine.
> The BSDs have oodles more ``features.'' I'd look in
> www.researchindex.com for the latest stuff, and in McKusick et al.
> (Design and Implementation of the 4.4BSD OS) for older stuff.
> You can decide for yourself whether Plan 9 needs any of it.
You probably want to take a look at Charles Cranor's PHd thesis from
Washington on UVM. If I recall correctly, some of the *BSDs (NetBSD,
FreeBSD?) have picked it up or at least borrowed ideas.
-WJ
^ permalink raw reply [flat|nested] 215+ messages in thread
* [9fans] acme bug/annoyance?
2001-10-25 18:29 ` William Josephson
@ 2001-10-26 8:09 ` Matt
2001-10-26 11:36 ` rob pike
2001-10-29 10:16 ` [9fans] Virtual memory in BSD and Plan9 John S. Dyson
1 sibling, 1 reply; 215+ messages in thread
From: Matt @ 2001-10-26 8:09 UTC (permalink / raw)
To: 9fans
Hi,
I just started a new instance of Acme
typed some code in an empty yellow window which was a directory
listing of an empty directory, I'd put the filename in the titlebar
but not saved the file.
All was going well until I resized the column and lost all my typing.
Not the end of the world but not very user friendly either.
An instance of where DWIM would win over "you have to have the text in
a file already, stupid"
Matt
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] acme bug/annoyance?
2001-10-26 8:09 ` [9fans] acme bug/annoyance? Matt
@ 2001-10-26 11:36 ` rob pike
2001-10-26 14:43 ` Scott Schwartz
0 siblings, 1 reply; 215+ messages in thread
From: rob pike @ 2001-10-26 11:36 UTC (permalink / raw)
To: 9fans
A nasty problem here. When you resize a directory window, acme should recolumnate
the output, but I couldn't see how to get that right while keeping the user's text, so I
just started over. A directory window is therefore a kind of scratch typing space, which
is actually a feature I like but is clearly a consequence of, rather than integral to, the design.
I suppose the documentation should mention this.
-rob
----- Original Message -----
From: Matt <matt@proweb.co.uk>
To: <9fans@cse.psu.edu>
Sent: Friday, October 26, 2001 4:09 AM
Subject: [9fans] acme bug/annoyance?
> Hi,
>
> I just started a new instance of Acme
>
> typed some code in an empty yellow window which was a directory
> listing of an empty directory, I'd put the filename in the titlebar
> but not saved the file.
>
> All was going well until I resized the column and lost all my typing.
>
> Not the end of the world but not very user friendly either.
>
> An instance of where DWIM would win over "you have to have the text in
> a file already, stupid"
>
> Matt
>
>
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Virtual memory in BSD and Plan9
2001-10-25 18:29 ` William Josephson
2001-10-26 8:09 ` [9fans] acme bug/annoyance? Matt
@ 2001-10-29 10:16 ` John S. Dyson
1 sibling, 0 replies; 215+ messages in thread
From: John S. Dyson @ 2001-10-29 10:16 UTC (permalink / raw)
To: 9fans
wkj-despam@eecs.harvard.edu (William Josephson) wrote in message news:<20011025142927.B8085@honk.eecs.harvard.edu>...
> On Thu, Oct 25, 2001 at 01:55:25PM -0400, Russ Cox wrote:
> > The discussions here were talking about many-years-old
> > systems. I don't think anyone even mentioned Plan 9's VM system,
> > which is just about the simplest thing you could imagine.
> > The BSDs have oodles more ``features.'' I'd look in
> > www.researchindex.com for the latest stuff, and in McKusick et al.
> > (Design and Implementation of the 4.4BSD OS) for older stuff.
> > You can decide for yourself whether Plan 9 needs any of it.
>
> You probably want to take a look at Charles Cranor's PHd thesis from
> Washington on UVM. If I recall correctly, some of the *BSDs (NetBSD,
> FreeBSD?) have picked it up or at least borrowed ideas.
>
FreeBSD and NetBSD have different VM systems. FreeBSD's (which I
am the primary implementer), is really a corrected and filled out
MACH VM for UNIX. It provides lots of the necessary shortcuts
fully virtualized for the process VM forking and things like that.
The original MACH VM port really wasn't meant as being production
ready (per my discussions with Hibler), but was more of a feasibility
exercise. Even though it wasn't fully made robust in the original
implementations, it wasn't that much worse than many commercial UNIX
VM behaviors.
Probably the biggest difference doesn't occur during 'normal'
memory resident situations, but where FreeBSD has rather advanced
paging stats, and really does put off the thrashfest until the
system doesn't have enough pages to supply an adequate resident
working set. If there is minimally enough memory, FreeBSD will
converge reasonably quickly, without undue thrashing. In my early
experiments, it was very satisfying to hear the system 'calm down'
after experiencing thrashing due to a necessary change in working
set population. Most other systems tended to keep on thrashing
for long periods, even when there was obviously enough memory. The
pseudo-random pagouts and invalidations from non-FreeBSD systems
tended to really screw up the page reference information on memory
segments being used by otherwise runnable processes. The relatively
good behavior has been especially useful when running user-mode
windowing systems, where the blocking from poorly chosen page
invalidations can really stop-up the works.
Both FreeBSD's VM and NetBSD's VM work pretty well (no real complaints
from either party), and most/all of the limitations of the original
MACH VM have been expunged. There were even cases of limitations
that I thought to be unsolvable in the FreeBSD code eventually simply
be an 'exercise in data structures', and the last REAL limitation
due to address space/fork inheritance was remedied as a result of
competition from NetBSD's new VM stuff.
FreeBSDs and NetBSDs code is both adequately portable, and that
should not be a deciding issue. Frankly, the most important deciding
issue is probably based upon knowledge of the VM code that the
individual who might do the port to Plan 9. One might make a
'decision' that the VM shouldn't page anyway (except in odd situations),
and so the relative advantages of the two systems becomes less
important.
My philosophy is based upon the fact that an OS MUST NOT just be a fair
weather friend, and from my rather VM-centered viewpoint, I believe that
this includes the fact that VM shouldn't randomly thrash, when it could
more actively converge to a reasonable working set (when possible.)
If starting from scratch, it is really easy to write some code that
works. However, there is ALOT more work to making a VM system
function under load to maximize availability of CPU cycles. Unfortunately,
it is clear that VM system behavior is almost always a secondary
priority, because it doesn't specify/benchmark very easily.
John
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] architectures
@ 2001-07-12 8:42 forsyth
2001-07-12 13:56 ` Laura Creighton
2001-07-12 16:13 ` Ozan Yigit
0 siblings, 2 replies; 215+ messages in thread
From: forsyth @ 2001-07-12 8:42 UTC (permalink / raw)
To: 9fans
>>i'm particularly fond of the acme interface, and i really
>>like the chording (okay, maybe it's not for everyone, but _i_
>>really like it). i'm asking about non-techie folks. for them,
>>wouldn't a single-button interface be simpler to understand?
not necessarily, since the functionality of the extra buttons
must be provided somehow, whether by menus, pop-up menus,
key-mouse combinations, keys alone, or some other way. much might
depend on the choice of conventions for using more than one button.
that in acme all three buttons select text is a big simplification.
i usually introduce it as follows: ``button 1 selects text, button 2
selects text, and button 3 ...'' and during the following pause
nearly everyone says ``selects text?''. i then explain
that `of course' each button does different things with
the text selected. that seems fine. the chording for cut/paste/copy
takes a little practice, but since it has a `feel' much like grabbing
text from the screen, that also seems fine. outside acme,
the Blit convention (perhaps adopted from Smalltalk, i don't know)
was something like: button 1 generally selected things, button 2 provided local
operations (usually on the thing selected), and button 3 provided global operations
for the application, with a few exceptions such as paint programs.
most menus were kept fairly small.
i know at least one non- technical user of acme who sends and receives
mail, plumbing photos and other things, and editing quite happily.
other non-technical people i've shown it to wanted to use acme on
their machines for document preparation and email because the
organisation into columns and frames and the use of the buttons was
just so much more effective than their `desktop' or a clutter of
windows. (they also like the soft use of colour.)
contrary to Tog's advice on this point: with care i suspect
you can make abstractions simple and effective enough without insisting on
drawing a tenuous likeness to something in the `real world'.
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] architectures
2001-07-12 8:42 [9fans] architectures forsyth
@ 2001-07-12 13:56 ` Laura Creighton
2001-07-12 16:13 ` Ozan Yigit
1 sibling, 0 replies; 215+ messages in thread
From: Laura Creighton @ 2001-07-12 13:56 UTC (permalink / raw)
To: 9fans; +Cc: lac
re: drawing tenuous likenesses to the real world.
It is possible in the days before everybody knew what a computer was,
and a computer program was, that there was some value in giving a user
a metaphor with something else on the real world. These days it is a
major problem because quite frequently the metaphor is lousier than
what we could write if we focused on _how efficiently can we do what
we want to do_ rather than _what is something, anything, that somebody
is likely to have done before which is sort of like what we want to do_.
My favourite example is the desktop metaphor. Now neat people can
have the experience of a messed up and cluttered desk. You too can
lose important work and documents because you can't find them!
Laura
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] architectures
2001-07-12 8:42 [9fans] architectures forsyth
2001-07-12 13:56 ` Laura Creighton
@ 2001-07-12 16:13 ` Ozan Yigit
2001-07-12 16:33 ` Matt
1 sibling, 1 reply; 215+ messages in thread
From: Ozan Yigit @ 2001-07-12 16:13 UTC (permalink / raw)
To: 9fans
forsyth@caldo.demon.co.uk writes:
> contrary to Tog's advice on this point: with care i suspect
> you can make abstractions simple and effective enough without insisting on
> drawing a tenuous likeness to something in the `real world'.
An interesting related bit of work is "The Anti-Mac Interface" by Don
Gentner and Jakob Nielson, Communications of the ACM, 29(8), pp. 70-82
August 1996, but also found online. i wish we could have more of this kind
of de/re-construction; attempting to break all the interface design rules
and see what comes out. the results of this particular attempt are more
along the lines of raisin-bran cereal than waldorf salad but thought
provoking nevertheless.
oz
--
www.cs.yorku.ca/~oz | if you couldn't find any weirdness, maybe
york u. computer science | we'll just have to make some! -- hobbes
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] architectures
2001-07-12 16:13 ` Ozan Yigit
@ 2001-07-12 16:33 ` Matt
2001-07-12 18:12 ` Scott Schwartz
0 siblings, 1 reply; 215+ messages in thread
From: Matt @ 2001-07-12 16:33 UTC (permalink / raw)
To: 9fans
> An interesting related bit of work is "The Anti-Mac Interface" by Don
> Gentner and Jakob Nielson, Communications of the ACM, 29(8), pp. 70-82
> August 1996, but also found online.
http://www.acm.org/cacm/AUG96/antimac.htm
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] architectures
2001-07-12 16:33 ` Matt
@ 2001-07-12 18:12 ` Scott Schwartz
2001-07-12 18:16 ` Martin Harriss
2001-07-12 18:43 ` Dan Cross
0 siblings, 2 replies; 215+ messages in thread
From: Scott Schwartz @ 2001-07-12 18:12 UTC (permalink / raw)
To: 9fans
> http://www.acm.org/cacm/AUG96/antimac.htm
``...in designing Sun's home page we decided we needed to change it drastically
every month to keep the users' interest...''
No wonder it's so totally impossible to find anything in there! That one
statement makes me doubt every other thing they said. Sun's web site
has to be the worst I've ever used, especially taking into account
the obviously huge amount of effort that goes into it. It's clearly
all about entertaining suits, and not at all about making information
available to users who don't want to waste their time.
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] architectures
2001-07-12 18:12 ` Scott Schwartz
@ 2001-07-12 18:16 ` Martin Harriss
2001-07-12 18:43 ` Dan Cross
1 sibling, 0 replies; 215+ messages in thread
From: Martin Harriss @ 2001-07-12 18:16 UTC (permalink / raw)
To: 9fans
Scott Schwartz wrote:
>
> > http://www.acm.org/cacm/AUG96/antimac.htm
>
> ``...in designing Sun's home page we decided we needed to change it drastically
> every month to keep the users' interest...''
>
> No wonder it's so totally impossible to find anything in there! That one
> statement makes me doubt every other thing they said. Sun's web site
> has to be the worst I've ever used, especially taking into account
> the obviously huge amount of effort that goes into it. It's clearly
> all about entertaining suits, and not at all about making information
> available to users who don't want to waste their time.
It's also one of the slowest web sites around. I hate to think of the
amount of time that I've had to wait wating for their pages to load.
They used to *boast* that their web services were provided by a pair of
Ultra 1's. Looks like they still are.
</gripe>
Martin
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] architectures
2001-07-12 18:12 ` Scott Schwartz
2001-07-12 18:16 ` Martin Harriss
@ 2001-07-12 18:43 ` Dan Cross
2001-07-13 14:52 ` Douglas A. Gwyn
1 sibling, 1 reply; 215+ messages in thread
From: Dan Cross @ 2001-07-12 18:43 UTC (permalink / raw)
To: 9fans
In article <20010712181225.17835.qmail@g.bio.cse.psu.edu> you write:
>``...in designing Sun's home page we decided we needed to change it drastically
>every month to keep the users' interest...''
Hmm, I predict that Sun will be the DEC of the 2000's; they'll stick
to an obsolete and overburdened product line until it's too late, and
then get bought out by Dell and ultimately squashed under foot.
- Dan ``I saw a Solarian Light'' C.
^ permalink raw reply [flat|nested] 215+ messages in thread
* [9fans] bitsy question
@ 2001-06-26 16:33 John Packer
2001-06-26 17:10 ` [9fans] " Dan Cross
0 siblings, 1 reply; 215+ messages in thread
From: John Packer @ 2001-06-26 16:33 UTC (permalink / raw)
To: 9fans
I have Plan9 installed on my ipaq, but I don't have a pcmcia sleeve,
or wavelan on my network.
So I have been trying to link the bitsy to my terminal using ppp over
the
serial port. (I made a ramdisk with ip/ppp).
PPP tries to authenticate for 30 seconds (through chap, I think) then
times out.
I've tried running ppp a few different ways, but something like
ip/ppp -df -b 115200 -p /dev/eia0 -s $user:$secret 135.104.99.5
on the bitsy and something like
ip/ppp -dfS -b 115200 -p /dev/eia0 135.104.99.1
on the server.
Has anyone tried this? What am I doing wrong?
Thanks,
John
^ permalink raw reply [flat|nested] 215+ messages in thread
* [9fans] Re: bitsy question
2001-06-26 16:33 [9fans] bitsy question John Packer
@ 2001-06-26 17:10 ` Dan Cross
2001-06-26 19:51 ` John Packer
` (2 more replies)
0 siblings, 3 replies; 215+ messages in thread
From: Dan Cross @ 2001-06-26 17:10 UTC (permalink / raw)
To: packer; +Cc: 9fans
In article <3B38BA06.E55B62AC@bway.net> you write:
>I have Plan9 installed on my ipaq, but I don't have a pcmcia sleeve,
>or wavelan on my network.
Ouch; that makes it much more difficult to use, as you have discovered.
>So I have been trying to link the bitsy to my terminal using ppp over
>the serial port. (I made a ramdisk with ip/ppp).
>
>PPP tries to authenticate for 30 seconds (through chap, I think) then
>times out.
>
>I've tried running ppp a few different ways, but something like
>
> ip/ppp -df -b 115200 -p /dev/eia0 -s $user:$secret 135.104.99.5
>
>on the bitsy and something like
>
> ip/ppp -dfS -b 115200 -p /dev/eia0 135.104.99.1
>
>on the server.
>
>Has anyone tried this? What am I doing wrong?
Well, at least one thing that you're probably encountering is that the
bitsy tries to use the serial port as a console device, and is
hardwired in the kernel to do so. In order to fix that, you have to
edit the kernel sources in /sys/src/9/bitsy/ and recompile; I managed
to turn it off by changing the argument to sa1110_uartsetup() to zero
in main.c. However, if you do ONLY that, the machine panics when it
comes up because the keyboard input queue for the console device is
nil. Whoops! You have to change sa1110_uartsetup() in sa1110uart.c
(the last routine in the file) to assign a valid Queue pointer to
kbdq. I just changed the relevant section to be:
if(console) {
uartspecial(p, 115200, &kbdq, &printq, kbdcr2nl);
} else {
kbdq = qopen(4*1024, 0, 0, 0);
}
That is, adding the ``else'' clause which calls qopen. I'm not sure
that this is the best method; if there's a better one, I'd be
interested to know.
btw- the serial console mode can be really handy at times; it's nice to
be able to put the bitsy on it's cradle, start up con, and then type
into bitsy windows without using bitsy/keyboard. The hand becomes much
less cramped.
Anyway, I'm assuming this is something you haven't messed with yet;
it'd most definately mess with ip/ppp, since every other character gets
redirected to /dev/cons!
Another problem you may have is that the bitsy uart driver doesn't
really do modem control; actually, it might be more accurate to say
that the StrongARM SA1100 doesn't do modem control signaling directly.
Instead, it simulates it using the GPIO pins on the 1100. I'm not sure
what exactly, if anything, the bitsy does differently in this regard
(the driver has a comment about the RTS/CTS stuff being h3600 specific,
but nothing more); my attempts to add DTR and RTS/CTS modem control to
the serial driver didn't work the way I had expected them to (I was
trying to hack them in in order to get my Targus stowaway keyboard
working; I did get it to mostly ``do the right thing,'' but it wasn't
perfect and I got busy with other stuff. I'll get back to it
eventually.)
I've been meaning to try out ppp on the bitsy, using my ricochet modem,
but I haven't round a serial cable for it yet (well, I haven't exactly
been looking that hard). I definately thing it'd be pretty cool to use
my bitsy to send email from the train.
bway.net, huh? You in New York? Anyone else on the list in NYC? We
ought to start a New York Plan 9 Club or something.
- Dan C.
^ permalink raw reply [flat|nested] 215+ messages in thread
* [9fans] Re: bitsy question
2001-06-26 17:10 ` [9fans] " Dan Cross
@ 2001-06-26 19:51 ` John Packer
2001-06-26 20:34 ` Dan Cross
2001-06-27 1:15 ` [9fans] Two cpu servers? Ish Rattan
2001-06-26 20:09 ` [9fans] Re: bitsy question John Packer
2001-06-26 20:18 ` Latchesar Ionkov
2 siblings, 2 replies; 215+ messages in thread
From: John Packer @ 2001-06-26 19:51 UTC (permalink / raw)
To: Dan Cross, 9fans
Dan Cross wrote:
> You have to change sa1110_uartsetup() in sa1110uart.c
> (the last routine in the file) to assign a valid Queue pointer to
> kbdq. I just changed the relevant section to be:
>
> if(console) {
> uartspecial(p, 115200, &kbdq, &printq, kbdcr2nl);
> } else {
> kbdq = qopen(4*1024, 0, 0, 0);
> }
>
This is an interesting clue. I'll try this out tonight.
> btw- the serial console mode can be really handy at times; it's nice to
> be able to put the bitsy on it's cradle, start up con, and then type
> into bitsy windows without using bitsy/keyboard.
I've noticed this - very useful.
> Another problem you may have is that the bitsy uart driver doesn't
> really do modem control
I don't think I need modem control, I'm not using a modem: just a
PPP server and client over the serial cable to my PC.
This is, I'm guessing, how ActiveSync works, and how Linux users connect
to their Ipaqs.
It just doesn't seem to authenticate.
This may be the wrong approach, I don't know.
> I've been meaning to try out ppp on the bitsy, using my ricochet modem,
> but I haven't round a serial cable for it yet (well, I haven't exactly
> been looking that hard). I definately thing it'd be pretty cool to use
> my bitsy to send email from the train.
Very.
>
> bway.net, huh? You in New York? Anyone else on the list in NYC? We
> ought to start a New York Plan 9 Club or something.
Yep.
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Re: bitsy question
2001-06-26 19:51 ` John Packer
@ 2001-06-26 20:34 ` Dan Cross
2001-06-29 22:32 ` Boyd Roberts
2001-06-27 1:15 ` [9fans] Two cpu servers? Ish Rattan
1 sibling, 1 reply; 215+ messages in thread
From: Dan Cross @ 2001-06-26 20:34 UTC (permalink / raw)
To: 9fans; +Cc: packer
In article <3B38E7BE.D4C22541@bway.net> you write:
>
> [...]
>
>> Another problem you may have is that the bitsy uart driver doesn't
>> really do modem control
>
>I don't think I need modem control, I'm not using a modem: just a
>PPP server and client over the serial cable to my PC.
Oh duh; of course you said that earlier and I was too slow to catch
on. Yes, you're right; if you're not using a modem, you don't need
modem control. For that matter, you might not need modem control
even if you have a modem.
>This is, I'm guessing, how ActiveSync works, and how Linux users connect
>to their Ipaqs.
Well, I think they mostly use ``normal'' serial line protocols; either
just raw text passed over the serial line, or using a data transfer
protocol like xmodem. I'm not sure they'd bother with the overhead of
PPP in the general case (where they just wanted to sync data, or copy
a file; for making TCP connections and the like, yeah, you'd need PPP
or SLIP or a real network interface).
>It just doesn't seem to authenticate.
That's almost certainly the keyboard input queue messing you up.
>This may be the wrong approach, I don't know.
Well, if you've got an extra thousand bucks just laying around, definately
invest in the Wavelan route. If not, then it's a reasonable approach; it
won't zoom, though, and I've found ip/ppp pretty unreliable (using a wireless
modem, though; still, it seems to work reasonably well under FreeBSD. I
haven't been motivated enough to track down what's wrong, though).
> [...]
>
>> bway.net, huh? You in New York? Anyone else on the list in NYC? We
>> ought to start a New York Plan 9 Club or something.
>
>Yep.
Cool. Any other New Yorker's?
- Dan C.
^ permalink raw reply [flat|nested] 215+ messages in thread
* [9fans] Two cpu servers?
2001-06-26 19:51 ` John Packer
2001-06-26 20:34 ` Dan Cross
@ 2001-06-27 1:15 ` Ish Rattan
1 sibling, 0 replies; 215+ messages in thread
From: Ish Rattan @ 2001-06-27 1:15 UTC (permalink / raw)
To: 9fans
Does it make sense to have two cpu-servers?
I have a standalone spu/auth server running. How can I add another cpu
server to have two of these?
Any pointers will be appreciated.
-ishwar
^ permalink raw reply [flat|nested] 215+ messages in thread
* [9fans] Re: bitsy question
2001-06-26 17:10 ` [9fans] " Dan Cross
2001-06-26 19:51 ` John Packer
@ 2001-06-26 20:09 ` John Packer
2001-06-26 20:36 ` Dan Cross
2001-06-26 20:18 ` Latchesar Ionkov
2 siblings, 1 reply; 215+ messages in thread
From: John Packer @ 2001-06-26 20:09 UTC (permalink / raw)
To: 9fans
> Do you also use that serial line as the console? You'll get garbage
> in your packets that way.
>
> Sape
Hmm. I'm not running a con window when I try this.
The debugging output appears to indicate a lack of response to a CHAP
request.
Maybe it is not picking up the '-s $user:$secret' option from the client.
John
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Re: bitsy question
2001-06-26 17:10 ` [9fans] " Dan Cross
2001-06-26 19:51 ` John Packer
2001-06-26 20:09 ` [9fans] Re: bitsy question John Packer
@ 2001-06-26 20:18 ` Latchesar Ionkov
2001-06-26 20:28 ` Matt
2 siblings, 1 reply; 215+ messages in thread
From: Latchesar Ionkov @ 2001-06-26 20:18 UTC (permalink / raw)
To: 9fans
On Tue, Jun 26, 2001 at 01:10:45PM -0400, Dan Cross said:
>
> bway.net, huh? You in New York? Anyone else on the list in NYC? We
> ought to start a New York Plan 9 Club or something.
I am in New York too.
Lucho
^ permalink raw reply [flat|nested] 215+ messages in thread
[parent not found: <matt@proweb.co.uk>]
* [9fans] help, i'm in a wet paper bag and I can't get out
@ 2001-06-12 0:39 ` Matt
2001-06-12 0:55 ` Scott Schwartz
2001-06-12 1:00 ` Boyd Roberts
0 siblings, 2 replies; 215+ messages in thread
From: Matt @ 2001-06-12 0:39 UTC (permalink / raw)
To: 9fans
Well it's not going too well.
I got this far but of course (I can say that now)
the `{..} doesn't return until $netdir/data sends an eof
and then prints each line
ifs='
'
for (k in `{ cat $netdir/data }) {
echo $k
}
so how do i read a line at a time before `{..} closes it's stdout?
once I've cracked that it's just about finished
M
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] help, i'm in a wet paper bag and I can't get out
2001-06-12 0:39 ` [9fans] help, i'm in a wet paper bag and I can't get out Matt
@ 2001-06-12 0:55 ` Scott Schwartz
2001-06-12 1:12 ` Boyd Roberts
2001-06-12 1:00 ` Boyd Roberts
1 sibling, 1 reply; 215+ messages in thread
From: Scott Schwartz @ 2001-06-12 0:55 UTC (permalink / raw)
To: 9fans
| I got this far but of course (I can say that now)
| the `{..} doesn't return until $netdir/data sends an eof
| and then prints each line
Instead of "for cat", don't you want "while read"?
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] help, i'm in a wet paper bag and I can't get out
2001-06-12 0:39 ` [9fans] help, i'm in a wet paper bag and I can't get out Matt
2001-06-12 0:55 ` Scott Schwartz
@ 2001-06-12 1:00 ` Boyd Roberts
2001-06-12 1:30 ` Jonathan Sergent
2001-06-15 8:27 ` Hermann Samso
1 sibling, 2 replies; 215+ messages in thread
From: Boyd Roberts @ 2001-06-12 1:00 UTC (permalink / raw)
To: 9fans
> I got this far but of course (I can say that now)
> the `{..} doesn't return until $netdir/data sends an eof
> and then prints each line
well, obviously. it's a file isn't it? <smirk>
> so how do i read a line at a time before `{..} closes it's stdout?
write some C program that that reads _unbuffered_ characters
and spits them until it sees 'end of line' (whatever that may be).
you should buffer the output, but _not_ the input.
can't be more than 20 lines of code.
btw: i hope you're dealing with 8 bit chars 'cos latin-1 will
really screw up utf encoded streams that the rest of the
system expects. years ago i wrote (on ultrix) riso [rune
to iso-latin-1] and isor (pronounced eye-sore) filters
so that the unix sam could deal with the few french docs
i had to deal with.
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] help, i'm in a wet paper bag and I can't get out
2001-06-12 1:00 ` Boyd Roberts
@ 2001-06-12 1:30 ` Jonathan Sergent
2001-06-15 8:27 ` Hermann Samso
1 sibling, 0 replies; 215+ messages in thread
From: Jonathan Sergent @ 2001-06-12 1:30 UTC (permalink / raw)
To: 9fans
On Monday, June 11, 2001, at 06:00 PM, Boyd Roberts wrote:
> write some C program that that reads _unbuffered_ characters
> and spits them until it sees 'end of line' (whatever that may be).
> you should buffer the output, but _not_ the input.
You could just read the manual and use /bin/read, instead of rewriting
it.
So you get
{
while () {
line=`{read}
echo line: $line
}
} < filename
Somehow putting the < filename after the inner } makes rc reopen it for
each loop iteration. (Am I misinterpreting this?)
A more convoluted way to do to the same thing would be
{ echo 0 > /srv/something.$pid } < filename
while () {
line=`{read /srv/something.$pid}
echo line: $line
}
rm /srv/something.$pid
but that's probably better for showing off /srv to your friends than it
is for actually solving the problem.
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] help, i'm in a wet paper bag and I can't get out
2001-06-12 1:00 ` Boyd Roberts
2001-06-12 1:30 ` Jonathan Sergent
@ 2001-06-15 8:27 ` Hermann Samso
2001-06-15 11:53 ` Boyd Roberts
1 sibling, 1 reply; 215+ messages in thread
From: Hermann Samso @ 2001-06-15 8:27 UTC (permalink / raw)
To: 9fans
Boyd Roberts <boyd@fr.inter.net> wrote:
>> I got this far but of course (I can say that now)
>> the `{..} doesn't return until $netdir/data sends an eof
>> and then prints each line
> well, obviously. it's a file isn't it? <smirk>
>> so how do i read a line at a time before `{..} closes it's stdout?
> write some C program that that reads _unbuffered_ characters
> and spits them until it sees 'end of line' (whatever that may be).
> you should buffer the output, but _not_ the input.
> can't be more than 20 lines of code.
> btw: i hope you're dealing with 8 bit chars 'cos latin-1 will
> really screw up utf encoded streams that the rest of the
> system expects. years ago i wrote (on ultrix) riso [rune
> to iso-latin-1] and isor (pronounced eye-sore) filters
> so that the unix sam could deal with the few french docs
> i had to deal with.
With so many snippets of code, everyone could make use
of, isn't there any common repository? Or will they
allget integrated in time for next release?
Ok, there is always Deja News, but...
saludos,
hermann samso
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] help, i'm in a wet paper bag and I can't get out
2001-06-15 8:27 ` Hermann Samso
@ 2001-06-15 11:53 ` Boyd Roberts
2001-06-15 12:18 ` Matt
2001-06-15 14:01 ` Matt
0 siblings, 2 replies; 215+ messages in thread
From: Boyd Roberts @ 2001-06-15 11:53 UTC (permalink / raw)
To: 9fans
From: "Hermann Samso" <samso@studserv.stud.uni-hannover.de>
> With so many snippets of code, everyone could make use
> of, isn't there any common repository? Or will they
> allget integrated in time for next release?
> Ok, there is always Deja News, but...
oh, but there is. you must have missed the 'why don't
we build a common repository' thread. i finally cracked
(in desperation) and did this:
http://mapage.noos.fr/~repo
but about the only thing it's done is to a) proove a
point and b) receive mail of the form 'nice page.
the first cut was done by hand, the second is automated
with a mash-mk mashfile on inferno.
the bitsy code should probably go back to 1127.
i don't mind adding it too.
matt's rc irc bot could be added if he so wishes.
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] help, i'm in a wet paper bag and I can't get out
2001-06-15 11:53 ` Boyd Roberts
@ 2001-06-15 12:18 ` Matt
2001-06-15 14:01 ` Matt
1 sibling, 0 replies; 215+ messages in thread
From: Matt @ 2001-06-15 12:18 UTC (permalink / raw)
To: 9fans
----- Original Message -----
From: "Boyd Roberts" <boyd@fr.inter.net>
To: <9fans@cse.psu.edu>
Sent: Friday, June 15, 2001 12:53 PM
Subject: Re: [9fans] help, i'm in a wet paper bag and I can't get out
> From: "Hermann Samso" <samso@studserv.stud.uni-hannover.de>
> > With so many snippets of code, everyone could make use
> > of, isn't there any common repository? Or will they
> > allget integrated in time for next release?
> > Ok, there is always Deja News, but...
>
> oh, but there is. you must have missed the 'why don't
> we build a common repository' thread. i finally cracked
> (in desperation) and did this:
>
> http://mapage.noos.fr/~repo
>
> but about the only thing it's done is to a) proove a
> point and b) receive mail of the form 'nice page.
>
> the first cut was done by hand, the second is automated
> with a mash-mk mashfile on inferno.
>
> the bitsy code should probably go back to 1127.
> i don't mind adding it too.
>
> matt's rc irc bot could be added if he so wishes.
>
>
>
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] help, i'm in a wet paper bag and I can't get out
2001-06-15 11:53 ` Boyd Roberts
2001-06-15 12:18 ` Matt
@ 2001-06-15 14:01 ` Matt
2001-06-15 14:25 ` Boyd Roberts
1 sibling, 1 reply; 215+ messages in thread
From: Matt @ 2001-06-15 14:01 UTC (permalink / raw)
To: 9fans
bugger, sorry
>but about the only thing it's done is to a) proove a
>point and b) receive mail of the form 'nice page.
no news is good news?
>matt's rc irc bot could be added if he so wishes
A basic irc bot that evals commands it's given with
the permission & namespace of whoever started it.
http://www.proweb.co.uk/~matt/chugly.rc
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] help, i'm in a wet paper bag and I can't get out
2001-06-15 14:01 ` Matt
@ 2001-06-15 14:25 ` Boyd Roberts
0 siblings, 0 replies; 215+ messages in thread
From: Boyd Roberts @ 2001-06-15 14:25 UTC (permalink / raw)
To: 9fans
> no news is good news?
well, it's better than being the middle of a firefight...
err, flamewar.
> A basic irc bot that evals commands it's given with
> the permission & namespace of whoever started it.
> http://www.proweb.co.uk/~matt/chugly.rc
ok, will do.
i got it down to this as a mashfile:
for (i in contrib/*)
contrib.html : $i/li.html;
*/*/li.html :~ $1/$2/url { mash tools/c2li $1/$2 > $0 };
*/*/url :~ $1/$2/desc {};
*/*/desc :~ $1/$2/from {};
*/*/from :~ $1/$2/date {};
*.html :~ $1/0/url { cat $1/*/li.html > $0 };
default: index.html {};
index.html : head.html contrib.html tail.html { cat head.html contrib.html tail.html > index.html };
----
the contrib directory has directories, named 0...n, which have these files:
url
desc [description]
from
date [rfc822/std11 date. it's well known and can be parsed]
li.html [this is the html <li> made out of the above files]
brucee gave me a bit of a hand, 'cos mash-mk is not mk or make.
i think he has a much better and simpler solution to the problem.
^ permalink raw reply [flat|nested] 215+ messages in thread
[parent not found: <vikki@proweb.co.uk>]
* Re: [9fans] string to list?
@ 2001-06-10 17:32 ` vikki
2001-06-10 17:47 ` Boyd Roberts
` (2 more replies)
0 siblings, 3 replies; 215+ messages in thread
From: vikki @ 2001-06-10 17:32 UTC (permalink / raw)
To: 9fans
>rc irc client? sounds reasonable :)
>i wish i could find my 80-line C irc client i wrote last year for p9 (it
was
>my first project :).. come to think of it though, rc is a much better idea
>and a funnier one to implement :) wish i had a working p9 installation, i
>could've helped!
We're having a bit of a competition at work. They've got their monolithic
perl bot running. I'm trying to impress them with the plan9 version as a
learning exercise. I plan to have it do eval `{$msg} and do whatever it's
namespace will let it. They keep adding code to the perl bot and getting
deeper and deeper. Already they've had to split it in half (on my suggestion
:-) to separate information gathering and display.
>how about awk? daemonize an awk program if RC does not five you the
>utility to do it :)
yeah that's a good idea. I didn't fancy spawning awk for every line of irc.
I did wonder one day why plan9 has any command line utilities at all apart
from bind, mount, import, unmount , cd, echo and cat.
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] could those of you who have students check this out for
@ 2001-06-09 17:22 forsyth
2001-06-09 18:50 ` [9fans] Re: the 'science' in computer science andrey mirtchovski
0 siblings, 1 reply; 215+ messages in thread
From: forsyth @ 2001-06-09 17:22 UTC (permalink / raw)
To: 9fans
>>our computer science department has strong roots in algorithmics.
that might be true, but do the students, in the main, write programs
except those they are required to do for assessments and projects?
^ permalink raw reply [flat|nested] 215+ messages in thread
* [9fans] Re: the 'science' in computer science
2001-06-09 17:22 [9fans] could those of you who have students check this out for forsyth
@ 2001-06-09 18:50 ` andrey mirtchovski
2001-06-09 17:56 ` Boyd Roberts
` (3 more replies)
0 siblings, 4 replies; 215+ messages in thread
From: andrey mirtchovski @ 2001-06-09 18:50 UTC (permalink / raw)
To: 9fans
unfortunately dan cross is very right in his analysis -- most of the
students care not for algorithmics. the three classes i listed are the most
hated ones (together with the "Systems Programming and Introduction to
Operating Systems", the UNIX class) simply because they actually make the
students think...
there are the occasional bad apples who explore the field, write code
and are interested in the 'science' part of 'computer science'.. the others
are happy to get their 3 year degrees and drone off to the job market.
andrey
On Sat, 9 Jun 2001 forsyth@caldo.demon.co.uk wrote:
> >>our computer science department has strong roots in algorithmics.
>
> that might be true, but do the students, in the main, write programs
> except those they are required to do for assessments and projects?
>
>
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Re: the 'science' in computer science
2001-06-09 18:50 ` [9fans] Re: the 'science' in computer science andrey mirtchovski
@ 2001-06-09 17:56 ` Boyd Roberts
2001-06-11 8:27 ` pac
2001-06-11 15:19 ` Dan Cross
2001-06-12 0:09 ` Scott Merrilees
` (2 subsequent siblings)
3 siblings, 2 replies; 215+ messages in thread
From: Boyd Roberts @ 2001-06-09 17:56 UTC (permalink / raw)
To: 9fans
i don't think i'd go so far to call it a science -- more like an art.
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Re: the 'science' in computer science
2001-06-09 17:56 ` Boyd Roberts
@ 2001-06-11 8:27 ` pac
2001-06-11 15:19 ` Dan Cross
1 sibling, 0 replies; 215+ messages in thread
From: pac @ 2001-06-11 8:27 UTC (permalink / raw)
To: 9fans
IMHO, CS is to mathematics, as medicine is to biology; personally, I call them both "technology" :-(
Peter
--
Peter A. Cejchan
Dept. Paleobiology, Inst. Geology Acad. Sci.,
Rozvojova 135, Prague 6
CZ-16502 Czech Republic
<cej@cejchan.gli.cas.cz>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
A plea:
Please, consider your support to the Public Library of Science initiative at
http://www.publiclibraryofscience.org
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Re: the 'science' in computer science
2001-06-09 17:56 ` Boyd Roberts
2001-06-11 8:27 ` pac
@ 2001-06-11 15:19 ` Dan Cross
2001-06-11 21:43 ` Boyd Roberts
[not found] ` <0cb501c0f2bf$97cacea0$e8b7c6d4@SOMA>
1 sibling, 2 replies; 215+ messages in thread
From: Dan Cross @ 2001-06-11 15:19 UTC (permalink / raw)
To: 9fans
In article <041601c0f10d$72dabaa0$e8b7c6d4@SOMA> you write:
>i don't think i'd go so far to call it a science -- more like an art.
Okay, this is getting way off topic for 9fans, but, let me ask
this: at the real abstract, pure level, is science any different
at all from art? I contend that they're one and the same.
- Dan C.
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Re: the 'science' in computer science
2001-06-11 15:19 ` Dan Cross
@ 2001-06-11 21:43 ` Boyd Roberts
[not found] ` <0cb501c0f2bf$97cacea0$e8b7c6d4@SOMA>
1 sibling, 0 replies; 215+ messages in thread
From: Boyd Roberts @ 2001-06-11 21:43 UTC (permalink / raw)
To: 9fans
From: "Dan Cross" <cross@math.psu.edu>
> Okay, this is getting way off topic for 9fans, but, let me ask
> this: at the real abstract, pure level, is science any different
> at all from art? I contend that they're one and the same.
nonsense. physics is a science. i can predict things with it.
does computer science predict anything for me? i'll give you that
it does have an axiom that states:
you will be plagued by bugs in any development effort
but that doesn't really predict anything in anything that vaguely
approaches a _law_ of physics -- pick one. eg. the prohibition
of speeds greater than the of speed of light.
comp sci is more like an engineering discipline with very few
fundamentals.
^ permalink raw reply [flat|nested] 215+ messages in thread
[parent not found: <0cb501c0f2bf$97cacea0$e8b7c6d4@SOMA>]
* Re: [9fans] Re: the 'science' in computer science
[not found] ` <0cb501c0f2bf$97cacea0$e8b7c6d4@SOMA>
@ 2001-06-11 22:43 ` paurea
2001-06-12 14:18 ` Dan Cross
0 siblings, 1 reply; 215+ messages in thread
From: paurea @ 2001-06-11 22:43 UTC (permalink / raw)
To: 9fans
Boyd Roberts writes:
> From: "Boyd Roberts" <boyd@fr.inter.net>
> Subject: Re: [9fans] Re: the 'science' in computer science
> Date: Mon, 11 Jun 2001 23:43:45 +0200
>
> From: "Dan Cross" <cross@math.psu.edu>
> > Okay, this is getting way off topic for 9fans, but, let me ask
> > this: at the real abstract, pure level, is science any different
> > at all from art? I contend that they're one and the same.
>
> nonsense. physics is a science. i can predict things with it.
>
> does computer science predict anything for me? i'll give you that
> it does have an axiom that states:
>
> you will be plagued by bugs in any development effort
>
> but that doesn't really predict anything in anything that vaguely
> approaches a _law_ of physics -- pick one. eg. the prohibition
> of speeds greater than the of speed of light.
>
> comp sci is more like an engineering discipline with very few
> fundamentals.
¿Would you say Math is a science?.
Its theoretical foundations are based on turing machines...
(I believe all physics are written in math simbols...)
--
Saludos,
Gorka
"Curiosity sKilled the cat"
--
/"\
\ / ascii ribbon campaign - against html mail
X - against ms attachments
/ \
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Re: the 'science' in computer science
2001-06-11 22:43 ` paurea
@ 2001-06-12 14:18 ` Dan Cross
2001-06-12 15:50 ` Boyd Roberts
0 siblings, 1 reply; 215+ messages in thread
From: Dan Cross @ 2001-06-12 14:18 UTC (permalink / raw)
To: 9fans
In article <15141.18819.7956.967025@nido.hilbert.space> you write:
>Would you say Math is a science?.
>Its theoretical foundations are based on turing machines...
Woah, they are? Mathematics, and many of its theoretical foundations,
existed for a really long time before Alan Turing was born....
>(I believe all physics are written in math simbols...)
Basically, but each discipline seems to invent its own psuedo-
mathematical notation. Not necessarily a bad thing, but it can
get really confusing (cf. i in mathematics vs. j in engineering).
- Dan C.
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Re: the 'science' in computer science
2001-06-09 18:50 ` [9fans] Re: the 'science' in computer science andrey mirtchovski
2001-06-09 17:56 ` Boyd Roberts
@ 2001-06-12 0:09 ` Scott Merrilees
2001-06-12 0:16 ` Boyd Roberts
[not found] ` <0cc301c0f2c0$78949560$e8b7c6d4@SOMA>
2001-06-16 23:34 ` Matt
3 siblings, 1 reply; 215+ messages in thread
From: Scott Merrilees @ 2001-06-12 0:09 UTC (permalink / raw)
To: 9fans
>unfortunately dan cross is very right in his analysis -- most of the
>students care not for algorithmics. the three classes i listed are the most
>hated ones (together with the "Systems Programming and Introduction to
>Operating Systems", the UNIX class) simply because they actually make the
>students think...
>
>there are the occasional bad apples who explore the field, write code
>and are interested in the 'science' part of 'computer science'.. the others
>are happy to get their 3 year degrees and drone off to the job market.
>
>andrey
Then you have the occasional CS dept / Computer Centre with a computer
usage policy that probihits all use of the univerity computer systems
except for specific course work.
Sm
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Re: the 'science' in computer science
2001-06-12 0:09 ` Scott Merrilees
@ 2001-06-12 0:16 ` Boyd Roberts
2001-06-12 0:42 ` Scott Merrilees
0 siblings, 1 reply; 215+ messages in thread
From: Boyd Roberts @ 2001-06-12 0:16 UTC (permalink / raw)
To: 9fans
> Then you have the occasional CS dept / Computer Centre with a computer
> usage policy that probihits all use of the univerity computer systems
> except for specific course work.
yeah, but some of us got around that and the more you got around
it the more you learned -- the useful stuff.
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Re: the 'science' in computer science
2001-06-12 0:16 ` Boyd Roberts
@ 2001-06-12 0:42 ` Scott Merrilees
2001-06-12 1:08 ` Boyd Roberts
0 siblings, 1 reply; 215+ messages in thread
From: Scott Merrilees @ 2001-06-12 0:42 UTC (permalink / raw)
To: 9fans
>> Then you have the occasional CS dept / Computer Centre with a computer
>> usage policy that probihits all use of the univerity computer systems
>> except for specific course work.
>boyd:
>yeah, but some of us got around that and the more you got around
>it the more you learned -- the useful stuff.
Very true, but the above CS attitude encourages the production of
drones, while discouraging and even punishing those with the audacity
to try and do some self directed learning.
Sm
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Re: the 'science' in computer science
2001-06-12 0:42 ` Scott Merrilees
@ 2001-06-12 1:08 ` Boyd Roberts
0 siblings, 0 replies; 215+ messages in thread
From: Boyd Roberts @ 2001-06-12 1:08 UTC (permalink / raw)
To: 9fans
> Very true, but the above CS attitude encourages the production of
> drones, while discouraging and even punishing those with the audacity
> to try and do some self directed learning.
i don't disagree, but when you had 2000 students and one 11/780 for
all of them (even with share/hacks giving you a maximum of 128
simultaneous student logins) i guess something had to be done.
more resources would have been nice.
on the other hand, it was always a nice clause to use on password
crackers and others nuisances.
^ permalink raw reply [flat|nested] 215+ messages in thread
[parent not found: <0cc301c0f2c0$78949560$e8b7c6d4@SOMA>]
* Re: [9fans] Re: the 'science' in computer science
[not found] ` <0cc301c0f2c0$78949560$e8b7c6d4@SOMA>
@ 2001-06-12 14:12 ` Dan Cross
0 siblings, 0 replies; 215+ messages in thread
From: Dan Cross @ 2001-06-12 14:12 UTC (permalink / raw)
To: 9fans
In article <0cc301c0f2c0$78949560$e8b7c6d4@SOMA> you write:
>nonsense. physics is a science. i can predict things with it.
I can predict things with computer science as well: the average
and worst-case running times of an algorithm, for instance, or
the amount of memory used by activation records in a recursive
algorithm.
>does computer science predict anything for me? i'll give you that
>it does have an axiom that states:
>
> you will be plagued by bugs in any development effort
This is a software engineering maxim. Speaking of which.... There
are ``laws'' of software engineering that are kind of like laws of
physics. Add more programmers to a late project, and it gets later;
etc.
>but that doesn't really predict anything in anything that vaguely
>approaches a _law_ of physics -- pick one. eg. the prohibition
>of speeds greater than the of speed of light.
The Church-Turing thesis; NP-complete problems; the halting problem,
just to name a few.
>comp sci is more like an engineering discipline with very few
>fundamentals.
Maybe, but that wasn't even my point.
- Dan C.
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Re: the 'science' in computer science
2001-06-09 18:50 ` [9fans] Re: the 'science' in computer science andrey mirtchovski
` (2 preceding siblings ...)
[not found] ` <0cc301c0f2c0$78949560$e8b7c6d4@SOMA>
@ 2001-06-16 23:34 ` Matt
2001-06-28 21:29 ` Boyd Roberts
3 siblings, 1 reply; 215+ messages in thread
From: Matt @ 2001-06-16 23:34 UTC (permalink / raw)
To: 9fans
My friend is on his third year (of 4) of his Computer Science Degree.
I know they've covered Assembler, Java, C++ and Databases.
I mentioned to him that Dennis Ritchie posted to 9fans thinking he might be
interested.
"Who?"
I didn't bother saying
"Those who do not understand Unix are doomed to reinvent it - poorly..."
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Re: the 'science' in computer science
2001-06-16 23:34 ` Matt
@ 2001-06-28 21:29 ` Boyd Roberts
2001-06-28 22:03 ` Matt
0 siblings, 1 reply; 215+ messages in thread
From: Boyd Roberts @ 2001-06-28 21:29 UTC (permalink / raw)
To: 9fans
> I know they've covered Assembler, Java, C++ and Databases.
surely s/he could have picked a 5th worthless subject...
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Re: the 'science' in computer science
2001-06-28 21:29 ` Boyd Roberts
@ 2001-06-28 22:03 ` Matt
2001-06-28 23:20 ` George Michaelson
2001-06-29 4:30 ` Lucio De Re
0 siblings, 2 replies; 215+ messages in thread
From: Matt @ 2001-06-28 22:03 UTC (permalink / raw)
To: 9fans
----- Original Message -----
From: "Boyd Roberts" <boyd@fr.inter.net>
To: <9fans@cse.psu.edu>
Sent: Thursday, June 28, 2001 10:29 PM
Subject: Re: [9fans] Re: the 'science' in computer science
> > I know they've covered Assembler, Java, C++ and Databases.
>
> surely s/he could have picked a 5th worthless subject...
i think that's saved up for the final year
He constantly amazes us (his friends) with his computer cluelessness.
Like finding it difficult to persuade him that his overclocked celeron might
be struggling to execute the tcp/ip stack while he was trying to play
high-end games.
Or helping him install a windows based web proxy (literally double clicking
on setup.exe)
I remember they used MS Access for their database.
We had a CS graduate come for an interview. He was clearly a bit clueless.
The questions were scaled down to make him feel a bit better when he left.
"What is a hexadecimal number?"
"A combination of numbers and letters"
He had a nice suit on though.
M
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Re: the 'science' in computer science
2001-06-28 22:03 ` Matt
@ 2001-06-28 23:20 ` George Michaelson
2001-06-29 21:27 ` Boyd Roberts
2001-07-18 15:49 ` Ralph Corderoy
2001-06-29 4:30 ` Lucio De Re
1 sibling, 2 replies; 215+ messages in thread
From: George Michaelson @ 2001-06-28 23:20 UTC (permalink / raw)
To: 9fans
> We had a CS graduate come for an interview. He was clearly a bit clueless.
> The questions were scaled down to make him feel a bit better when he left.
> "What is a hexadecimal number?"
> "A combination of numbers and letters"
>
You know, there are contexts where this is the right answer. Like, if you
manipulate them as input/output objects and need to check the datastream
to see if the tokenising input should end.
And, the difference between Hex 0F and Decimal 15 is that both have exactly
the same bit-pattern in memory. Strangely, if you add 2 apples in hex
and 2 oranges in decimal OR octal, you still have 4 bits of fruit. So, you
can do mixed-base sums after all. Why don't they teach you that at
school any more?
I had a chum who'd had a 6th finger cut off early. If they'd left it on, would
he have had any advantages doing finger arithmetic?
> He had a nice suit on though.
>
Should'a employed him then. Anybody slavish enough to dress up to get a job
is probably going to work hard for the first 7 months until disallusionment
sets in.
I still writhe with embarrassment recalling an interview for the UK N.E.R.C
to get a junior progroid job onboard the antarctic ships, when asked to
write a solution to pythagoras in pascal, there, in front of the panel. Flop
sweat and memory loss and nicotine withdrawal and sheer fright combined to
make it both humiliating for me, and revealing for them. I think they made
the right decision to quietly let me go. Still, I got to see the steam loco
graveyard at barry island so it wasn't all wasted.
cheers
-George
PS I suspect that in this niche, people aren't working as a result of a
successful interview. I think they probably know people who know people
who trust people who let them on board. If there is an interview, its
more like dogs sniffing each other, or 'do you wanna be in my gang?' than
joining the army.
--
George Michaelson | APNIC
Email: ggm@apnic.net | PO Box 2131 Milton QLD 4064
Phone: +61 7 3367 0490 | Australia
Fax: +61 7 3367 0482 | http://www.apnic.net
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Re: the 'science' in computer science
2001-06-28 22:03 ` Matt
2001-06-28 23:20 ` George Michaelson
@ 2001-06-29 4:30 ` Lucio De Re
1 sibling, 0 replies; 215+ messages in thread
From: Lucio De Re @ 2001-06-29 4:30 UTC (permalink / raw)
To: 9fans
On Thu, Jun 28, 2001 at 11:03:57PM +0100, Matt wrote:
>
> He had a nice suit on though.
>
You don't get, it then :-) It's the shoes, what shoes was he
wearing? Were they well polished?
++L
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] new versions of graphics programs?
@ 2000-09-07 21:57 rob pike
2000-09-07 22:50 ` Jim Choate
0 siblings, 1 reply; 215+ messages in thread
From: rob pike @ 2000-09-07 21:57 UTC (permalink / raw)
To: 9fans
I started on a couple of the tools. Since the PIC format is
now largely irrelevant - the standard image format captures
much of its capabilities - it seemed worth retiring the fb
software. Retiring it also helped keep the distribution smaller
and easier to assemble. But clearly, some of the tools in
fb/ are worth having.
I worked on a couple of the tools and stumbled into original
bugs that I didn't see how to fix, so that project has stalled.
The shipped gif and jpg tools and the iconv program should
address some of the lower-level needs. Higher-level
image processing is a project for a dedicated soul; it's a big
job.
-rob
^ permalink raw reply [flat|nested] 215+ messages in thread
* Re: [9fans] Re: Solaris thread scheaduling
@ 2000-08-18 15:34 rob pike
[not found] ` <rob@plan9.bell-labs.com>
0 siblings, 1 reply; 215+ messages in thread
From: rob pike @ 2000-08-18 15:34 UTC (permalink / raw)
To: 9fans
What, we should use uncooperative threads?
Adversarial threads? Anarchic threads?
I guess I don't know the terminology. If POSIX threads
are a good thing, perhaps I don't want to know what they're
better than.
-rob
^ permalink raw reply [flat|nested] 215+ messages in thread
end of thread, other threads:[~2002-06-29 2:23 UTC | newest]
Thread overview: 215+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-20 20:02 [9fans] Getting started in Plan9 - help Roshan James
2002-01-20 21:01 ` Matt H
2002-01-20 22:02 ` Scott Schwartz
2002-01-22 9:54 ` ozan s yigit
2002-01-23 10:05 ` Bakul Shah
2002-01-21 10:22 ` Boyd Roberts
2002-01-21 10:40 ` John Murdie
2002-01-20 21:03 ` William S.
2002-01-20 21:34 ` William Josephson
2002-01-21 6:53 ` cej
-- strict thread matches above, loose matches on Subject: below --
2002-01-24 16:30 Russ Cox
2002-01-24 17:34 ` Thomas Bushnell, BSG
2002-01-23 18:24 Russ Cox
2002-01-24 9:38 ` Thomas Bushnell, BSG
2002-01-22 18:28 David Gordon Hogan
2002-01-23 10:04 ` Douglas A. Gwyn
2002-01-23 18:01 ` Thomas Bushnell, BSG
2002-01-23 18:19 ` Ronald G Minnich
2002-01-23 18:21 ` Scott Schwartz
2002-01-24 9:38 ` Thomas Bushnell, BSG
2002-01-23 18:46 ` Boyd Roberts
2002-01-24 9:38 ` Thomas Bushnell, BSG
2002-01-24 13:01 ` David Arnold
2002-01-24 17:35 ` Thomas Bushnell, BSG
2002-01-24 21:40 ` Dan Cross
2002-01-25 10:00 ` Thomas Bushnell, BSG
2002-01-25 22:56 ` Dan Cross
2002-01-28 18:26 ` Boyd Roberts
2002-01-29 9:31 ` Douglas A. Gwyn
2002-01-24 16:05 ` Boyd Roberts
2002-01-24 17:34 ` Thomas Bushnell, BSG
2002-01-25 10:00 ` Douglas A. Gwyn
2002-01-23 10:48 ` Boyd Roberts
2002-01-23 18:01 ` Thomas Bushnell, BSG
2002-01-22 6:44 okamoto
2002-01-22 2:54 dmr
2002-01-22 11:13 ` Boyd Roberts
2002-01-22 17:39 ` Douglas A. Gwyn
[not found] <20020121170104.2FABD19A05@mail.cse.psu.edu>
2002-01-21 23:30 ` Andrew Simmons
2002-01-21 22:34 erik quanstrom
2002-01-21 22:15 anothy
2002-01-22 9:53 ` Douglas A. Gwyn
2002-01-21 20:39 Russ Cox
2002-01-21 21:16 ` Matt H
2002-01-21 23:39 ` Quinn Dunkan
2002-01-22 15:36 ` cej
2002-01-22 15:42 ` Matt H
2002-01-22 23:02 ` skipt
2002-01-23 10:05 ` Douglas A. Gwyn
2002-01-23 22:28 ` Lyndon Nerenberg
2002-01-21 20:34 presotto
2002-01-21 20:21 Russ Cox
2002-01-21 20:44 ` Mike Haertel
2002-01-21 19:42 David Gordon Hogan
2002-01-21 20:28 ` Matt H
2002-01-25 10:30 ` Ralph Corderoy
2002-01-21 18:48 Russ Cox
2002-01-21 19:58 ` Mike Haertel
2002-01-21 20:05 ` James A. Robinson
2002-01-21 10:01 Re[2]: " steve.simon
2002-01-21 10:28 ` Boyd Roberts
2002-01-20 21:15 rob pike
2001-10-25 17:55 [9fans] Virtual memory in BSD and Plan9 Russ Cox
2001-10-25 18:29 ` William Josephson
2001-10-26 8:09 ` [9fans] acme bug/annoyance? Matt
2001-10-26 11:36 ` rob pike
2001-10-26 14:43 ` Scott Schwartz
2001-10-29 10:16 ` [9fans] Virtual memory in BSD and Plan9 John S. Dyson
2001-07-12 8:42 [9fans] architectures forsyth
2001-07-12 13:56 ` Laura Creighton
2001-07-12 16:13 ` Ozan Yigit
2001-07-12 16:33 ` Matt
2001-07-12 18:12 ` Scott Schwartz
2001-07-12 18:16 ` Martin Harriss
2001-07-12 18:43 ` Dan Cross
2001-07-13 14:52 ` Douglas A. Gwyn
2001-07-13 15:13 ` Boyd Roberts
2001-06-26 16:33 [9fans] bitsy question John Packer
2001-06-26 17:10 ` [9fans] " Dan Cross
2001-06-26 19:51 ` John Packer
2001-06-26 20:34 ` Dan Cross
2001-06-29 22:32 ` Boyd Roberts
2001-06-27 1:15 ` [9fans] Two cpu servers? Ish Rattan
2001-06-26 20:09 ` [9fans] Re: bitsy question John Packer
2001-06-26 20:36 ` Dan Cross
2001-06-26 20:18 ` Latchesar Ionkov
2001-06-26 20:28 ` Matt
2001-06-26 22:13 ` Steve Kilbane
[not found] <matt@proweb.co.uk>
2001-06-12 0:39 ` [9fans] help, i'm in a wet paper bag and I can't get out Matt
2001-06-12 0:55 ` Scott Schwartz
2001-06-12 1:12 ` Boyd Roberts
2001-06-12 1:00 ` Boyd Roberts
2001-06-12 1:30 ` Jonathan Sergent
2001-06-15 8:27 ` Hermann Samso
2001-06-15 11:53 ` Boyd Roberts
2001-06-15 12:18 ` Matt
2001-06-15 14:01 ` Matt
2001-06-15 14:25 ` Boyd Roberts
[not found] <vikki@proweb.co.uk>
2001-06-10 17:32 ` [9fans] string to list? vikki
2001-06-10 17:47 ` Boyd Roberts
2001-06-10 17:55 ` Boyd Roberts
2001-06-10 18:03 ` Scott Schwartz
2001-06-10 21:48 ` Matt
2001-06-10 22:24 ` Scott Schwartz
2001-06-10 22:30 ` Boyd Roberts
2001-06-09 17:22 [9fans] could those of you who have students check this out for forsyth
2001-06-09 18:50 ` [9fans] Re: the 'science' in computer science andrey mirtchovski
2001-06-09 17:56 ` Boyd Roberts
2001-06-11 8:27 ` pac
2001-06-11 15:19 ` Dan Cross
2001-06-11 21:43 ` Boyd Roberts
[not found] ` <0cb501c0f2bf$97cacea0$e8b7c6d4@SOMA>
2001-06-11 22:43 ` paurea
2001-06-12 14:18 ` Dan Cross
2001-06-12 15:50 ` Boyd Roberts
2001-06-12 18:48 ` Dan Cross
2001-06-12 0:09 ` Scott Merrilees
2001-06-12 0:16 ` Boyd Roberts
2001-06-12 0:42 ` Scott Merrilees
2001-06-12 1:08 ` Boyd Roberts
[not found] ` <0cc301c0f2c0$78949560$e8b7c6d4@SOMA>
2001-06-12 14:12 ` Dan Cross
2001-06-16 23:34 ` Matt
2001-06-28 21:29 ` Boyd Roberts
2001-06-28 22:03 ` Matt
2001-06-28 23:20 ` George Michaelson
2001-06-29 21:27 ` Boyd Roberts
2001-07-18 15:49 ` Ralph Corderoy
2001-06-29 4:30 ` Lucio De Re
2000-09-07 21:57 [9fans] new versions of graphics programs? rob pike
2000-09-07 22:50 ` Jim Choate
[not found] ` <ravage@einstein.ssz.com>
2000-09-07 22:35 ` Tom Duff
2000-09-07 23:24 ` Jim Choate
2000-09-08 15:28 ` please_no_spam_to_
[not found] ` <D.M.Pick@qmw.ac.uk>
2000-09-08 16:43 ` Tom Duff
2000-08-18 15:34 [9fans] Re: Solaris thread scheaduling rob pike
[not found] ` <rob@plan9.bell-labs.com>
2000-08-02 14:48 ` [9fans] pipefile rob pike
2000-08-02 15:49 ` James A. Robinson
2000-08-18 20:25 ` [9fans] Re: Solaris thread scheaduling Tom Duff
2000-09-06 21:59 ` [9fans] Reliable Cray Y-MP C90 Supercomputer rob pike
2000-09-06 22:02 ` James A. Robinson
2000-09-06 22:14 ` Boyd Roberts
2000-09-06 22:11 ` Boyd Roberts
2000-09-07 22:18 ` [9fans] new versions of graphics programs? Tom Duff
2000-11-01 22:23 ` [9fans] /n/smtp rob pike
2000-11-01 22:38 ` Scott Schwartz
2000-11-24 0:41 ` [9fans] Crazy idea... or a new project? rob pike
2000-11-24 0:48 ` Boyd Roberts
2000-11-24 22:13 ` Scott Schwartz
2000-11-24 22:24 ` Boyd Roberts
2001-02-06 17:11 ` [9fans] azerty [french] keyboard support rob pike
2001-02-06 19:10 ` Scott Schwartz
2001-02-06 19:23 ` Dan Cross
2001-02-07 15:23 ` [9fans] 9p2k, fsync rob pike
2001-02-07 18:42 ` Scott Schwartz
2001-02-08 1:19 ` Dan Cross
2001-02-08 9:43 ` Douglas A. Gwyn
2001-02-14 13:51 ` [9fans] isatty rob pike
2001-02-14 16:42 ` Scott Schwartz
2001-03-26 14:12 ` [9fans] sam mod for delete-forward rob pike
2001-03-26 15:37 ` Douglas A. Gwyn
2001-03-27 8:25 ` Boyd Roberts
2001-03-27 14:01 ` Sam
2001-03-27 16:51 ` Dan Cross
2001-03-28 8:37 ` Douglas A. Gwyn
2001-03-29 8:26 ` Boyd Roberts
2001-03-26 15:42 ` Scott Schwartz
2001-05-10 14:59 ` [9fans] snprint(), getfields() specification rob pike
2001-05-10 16:42 ` Scott Schwartz
2001-05-10 18:13 ` Steve Kilbane
2001-05-10 21:38 ` Boyd Roberts
2001-05-11 6:51 ` Steve Kilbane
2001-05-19 14:14 ` Re[4]: [9fans] home, end ^h^j^k^l rob pike
2001-05-19 14:26 ` Re[6]: " Matt H
2001-05-19 22:45 ` [9fans] ls -m Scott Schwartz
2001-05-19 22:50 ` Boyd Roberts
2001-05-19 15:35 ` Re[4]: [9fans] home, end ^h^j^k^l James A. Robinson
2001-05-19 20:36 ` Boyd Roberts
2001-05-19 23:30 ` Richard Elberger
2001-05-20 2:37 ` Boyd Roberts
2001-05-20 7:03 ` Lucio De Re
2001-05-20 11:16 ` paurea
2001-05-20 13:11 ` Boyd Roberts
2001-05-20 13:04 ` Boyd Roberts
2001-05-23 8:24 ` Randolph Fritz
2001-05-23 8:46 ` Re[6]: " Matt H
2001-05-23 9:04 ` Boyd Roberts
2001-05-20 0:16 ` [9fans] ls -m rob pike
2001-05-20 0:31 ` Boyd Roberts
2001-05-20 1:38 ` [9fans] mouse vs key Scott Schwartz
2001-05-20 6:29 ` Dan Cross
2001-05-20 8:09 ` Matt H
2001-05-20 11:35 ` Re[2]: [9fans] mouse vs key - nethack matt
2001-05-20 13:13 ` Boyd Roberts
2001-05-20 12:50 ` [9fans] mouse vs key Boyd Roberts
2001-05-29 4:27 ` [9fans] src vs db rob pike
2001-05-29 4:37 ` Scott Schwartz
2001-07-11 19:22 ` [9fans] sam vs acme rob pike
2001-07-11 20:08 ` James A. Robinson
2001-08-14 12:54 ` [9fans] User Interface rob pike
2001-08-14 15:01 ` James A. Robinson
2001-08-16 13:45 ` phaet0n
2001-08-20 8:57 ` Randolph Fritz
2001-12-02 3:10 ` [9fans] plumb rob pike
2001-12-02 3:31 ` Scott Schwartz
2002-01-30 5:52 ` [9fans] venti rob pike
2002-01-30 6:23 ` George Michaelson
2002-01-30 8:07 ` paurea
2002-01-30 11:17 ` Boyd Roberts
2002-03-01 6:20 ` Fwd: Re: [9fans] samuel (fwd) rob pike
2002-03-01 6:34 ` George Michaelson
2002-03-01 12:04 ` Boyd Roberts
2002-04-27 16:35 ` [9fans] Fourth Release of Plan 9 Now Available rob pike, esq.
2002-04-27 18:24 ` Scott Schwartz
2002-04-27 22:14 ` Laura Creighton
2002-04-29 9:37 ` Andrew
2002-06-28 16:49 ` [9fans] dumb question rob pike, esq.
2002-06-29 2:23 ` Scott Schwartz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).