Re: [9fans] command output on acme

2009-05-08 Thread Rob Pike
A long time ago I wrote an rc program called 'new' that automated the creation of a new window to hold a command's output. It's installed in /acme/bin/new -rob

Re: [9fans] plan 9 regexp

2009-06-03 Thread Rob Pike
On Wed, Jun 3, 2009 at 10:34 AM, erik quanstrom wrote: >> For example, for lines with 8 characters and the ? operator: >> >> ^$ > > just to clarify (sorry if i'm being pedantic): > that will mach lines with *up to* 8 characters. (including > blank lines) "^$" will match lines with

Re: [9fans] Sam commands in acme

2009-06-27 Thread Rob Pike
On Sat, Jun 27, 2009 at 11:17 AM, J.R. Mauro wrote: > On Fri, Jun 26, 2009 at 6:57 AM, roger peppe wrote: >> you need (.|\n) instead of . >> >> sam originally used @ as a "match everything" character >> but it was removed, presumably because it was rarely used. > > That's a stupid reason to remove

Re: [9fans] Guide to using Acme effectively?

2009-07-01 Thread Rob Pike
I believe ^H ^W ^U date back at least to TENEX. -rob

Re: [9fans] Trivia question

2009-07-07 Thread Rob Pike
because originally it was little more than the typedefs for uchar, ulong etc. -rob

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

2009-07-14 Thread Rob Pike
I always intended to do something about that but never got around to it. Other things took precedence. In any case I doubt it could ever work as well in Acme as it does in Oberon. -rob

Re: [9fans] Acme niceties

2009-08-11 Thread Rob Pike
It wasn't me with this exact feature but I'll take credit for moving the mouse where you want it. Sam did it with its menus, but Acme took it much farther. I like it a lot and I appreciate your noticing. (Did you ever notice it puts it back when it's done? Error window pops up, mouse moves ther

Re: [9fans] Recursive structural expressions?

2009-08-23 Thread Rob Pike
That qed was done in the 1970s by Tom Duff, Hugh Redelmeier, David Tilbrook and myself. The regular expressions are from ed, plus simple forms of parentheses, alternation, and backreferences and a couple of minor tweaks that later appeared in vi. It's essentially ed with some original qed feature

Re: [9fans] nice quote

2009-09-06 Thread Rob Pike
> Are you implying Doug McIlroy hadn't been taught about (and inevitably > occupied by) Church-Turing Thesis or even before that Ackermann function and > had to wait to be inspired by a comment in passing about FORTRAN to realize > the importance of recursion?! This was a rhetorical question, of co

Re: [9fans] Current sam regular expression engine

2009-09-09 Thread Rob Pike
It's still the same. The regexp library is too. -rob

Re: [9fans] mishandling empty lists - let's fix it

2009-10-03 Thread Rob Pike
cat * /dev/null is the recommended solution. -rob

Re: [9fans] mishandling empty lists - let's fix it

2009-10-03 Thread Rob Pike
> Does anyone agree with me that it needs fixing? I don't. I also think that even if it were a problem the usage is far too ingrained to be fixable. -rob

Re: [9fans] original cpu server

2009-11-02 Thread Rob Pike
the first attempt was on a multi-headed vax whose model number escapes me. it was pretty foul architecturally. in early 1989 a restart was done for the 25-MHz mips CPU inside a 4-headed SGI shared-memory multiprocessor. the CPU had no synchronizing instructions but the SGI machine had a special pi

Re: [9fans] acme open a directory with a more complicated name

2009-12-02 Thread Rob Pike
New will take an arbitrary file name as an argument, except even with New spaces are taken as argument separators. -rob On Wed, Dec 2, 2009 at 10:42 AM, Federico G. Benavento wrote: >> r3_[1-5Co6-10Ni]/ >> >> When I 3-click on such a name in an acme (e.g. a directory) window, acme >> doesn't ope

Re: [9fans] du and find

2009-12-29 Thread Rob Pike
The 'g' is unnecessary. -rob On Wed, Dec 30, 2009 at 4:59 AM, Tim Newsham wrote: >> It is suggested to use >>   du -a | awk '{print $2}' >> instead of find. But what if filename contains spaces? For example if >> file is named "foo bar" then awk will output "foo" only. > > What about > >   du -a

Re: [9fans] iwp9-bondi

2010-01-20 Thread Rob Pike
my father danced with his great aunt. -rob

Re: [9fans] iwp9-bondi

2010-01-21 Thread Rob Pike
margaret -rob

Re: [9fans] Lex, Yacc, Unicode Plane 1

2010-01-28 Thread Rob Pike
On Fri, Jan 29, 2010 at 8:20 AM, wrote: > Yes, we only support the 16-bit runes of Unicode plane 0. Really? They're 32 bits in plan9port and, although there are a few things that need to be patched, we know what they are. Rune should be 32 bits by now. -rob

Re: [9fans] What operating systems are the google guys using?

2010-02-24 Thread Rob Pike
What Russ says is true but for me it was simpler. I used Plan 9 as my local operating system for a year or so after joining Google, but it was just too inconvenient to live on a machine without a C++ compiler, without good NFS and SSH support, and especially without a web browser. I switched to Li

Re: [9fans] acme to open a 'strange' directory

2010-03-07 Thread Rob Pike
Acme's New command does not parse the file name. Try New rotxy3_[1-5Co6-10Ni] with button 2. -rob

Re: [9fans] acme to open a 'strange' directory

2010-03-07 Thread Rob Pike
On Sun, Mar 7, 2010 at 9:24 AM, Rudolf Sykora wrote: > On 7 March 2010 17:43, Rob Pike wrote: >> Acme's New command does not parse the file name.  Try New >> rotxy3_[1-5Co6-10Ni] with button 2. >> >> -rob > > Ok. This works. Nonetheless, it's a questi

Re: [9fans] sam complete filenames with Ins/ctrl-f

2010-03-12 Thread Rob Pike
The problem is that samterm, which interprets keystrokes, doesn't have access to the files. It would be a protocol change that bounces a message off the server. Doable but not compatible. -rob

Re: [9fans] why u.h, why qid?

2014-05-09 Thread Rob Pike
u for uint uchar ulong q for unique.

[9fans] sam for Windows?

2014-06-02 Thread Rob Pike
Does anyone know of a version of sam for Windows that will run on 64-bit installations? -rob

Re: [9fans] sam for Windows?

2014-06-02 Thread Rob Pike
The old version of sam does not run on 64 bits, I am told. -rob On Mon, Jun 2, 2014 at 3:56 PM, Lee Fallat wrote: > Does that old version of sam[1] not run on 64-bit Windows? > > 1: http://plan9.bell-labs.com/sources/extra/9pm051031.zip (the version I ran > awhile ago at my college that I think

Re: [9fans] sam for Windows?

2014-06-02 Thread Rob Pike
Great, thanks. -rob

Re: [9fans] JIT (mostly off topic)

2014-09-09 Thread Rob Pike
The original Blit JIT (stupid name - if the compilation was "in time" we wouldn't need a JIT. Our term was "on the fly") version was actually done by John Reiser. My favorite JIT I wrote was to fix up floating point after a trap on the SPARC. -rob

Re: [9fans] copy paste bug in cc.y?

2014-10-14 Thread Rob Pike
Looks like it. -rob On Tue, Oct 14, 2014 at 3:11 PM, Yoann Padioleau wrote: > Hi, > > It’s a copy paste bug here right? > https://code.google.com/p/ken-cc/source/browse/src/cmd/cc/cc.y#476 > > >| LSWITCH '(' cexpr ')' stmnt > { > $$ = new(OCONST, Z, Z);

Re: [9fans] copy paste bug in cc.y?

2014-10-14 Thread Rob Pike
It's not dead code. It's prepping the switch somehow. -rob On Tue, Oct 14, 2014 at 3:45 PM, Rob Pike wrote: > Looks like it. > > -rob > > > On Tue, Oct 14, 2014 at 3:11 PM, Yoann Padioleau wrote: > >> Hi, >> >> It’s a copy paste bug here

Re: [9fans] [acme] Edit command -- More than one argument?

2014-10-27 Thread Rob Pike
Edit { s/^/\[/ s/\:\ /\]/ } On Mon, Oct 27, 2014 at 8:28 AM, Eduardo Alvarez wrote: > Hello, everyone, > > I'm in the process of learning acme via Russ Cox's p9p port. Recently, I > found > myself editing some text to use with markdown, and needed to make more > than one > modification to a lis

Re: [9fans] [acme] Edit command -- More than one argument?

2014-10-27 Thread Rob Pike
Yes you can. That's how I verified this works. Open up the tag to multiple lines (just type newline in the tag). -rob

Re: [9fans] [acme] Edit command -- More than one argument?

2014-10-27 Thread Rob Pike
That's a shame. -rob On Mon, Oct 27, 2014 at 9:41 AM, wrote: >> Yes you can. That's how I verified this works. Open up the tag to >> multiple lines (just type newline in the tag). > > I think this only works in p9p. > > sl >

Re: [9fans] Harvey OS: A new OS inspired heavily by Plan 9

2015-07-25 Thread Rob Pike
The appearance of frogs in https://github.com/Harvey-OS/harvey/blob/master/sys/src/9/port/chan.c makes it clear this is a port. -rob On Sun, Jul 26, 2015 at 8:15 AM, Axel Belinfante wrote: > I couldn’t resist looking, and found in > http://www.osnews.com/comments/28699 > > "Harvey is an effort

Re: [9fans] problem with acme on 9front

2016-05-21 Thread Rob Pike
If that was meant as a dis, you obviously haven't been to New York lately. -rob On Sat, May 21, 2016 at 11:16 AM, Kurt H Maier wrote: > On Sat, May 21, 2016 at 10:36:44AM -0700, erik quanstrom wrote: > > > This is tantamount to saying acme is superior because you are better at > > > acme. [..

Re: [9fans] Why does Plan 9 use “snarf” instead of “copy”?

2016-09-12 Thread Rob Pike
The operation is not to copy but to snarf. It's called snarf because snarf is what it does. There is no design document. -rob On Mon, Sep 12, 2016 at 8:44 PM, Alexander Kapshuk wrote: > Both 'Zerox' and 'Snarf' are there: > > /sys/src/cmd/acme/cols.c:34 > textinsert(t, 0, L"New Cut Paste Snarf S

Re: [9fans] Ping

2016-09-13 Thread Rob Pike
This might be one reason. -rob On Tue, Sep 13, 2016 at 10:51 PM, Chris McGee wrote: > Sorry for the spam. Is this mailing list getting my emails? > > Thanks > Chris >

Re: [9fans] Blit

2017-04-27 Thread Rob Pike
Total coincidence: I played on a 5620 yesterday, connected to a 3B2 running System V. Used jim for the first time since 1985. -rob On Wed, Apr 26, 2017 at 10:23 PM, Bruce Ellis wrote: > I guess Stephen should update his webpage. He's quite a specialized > tinkerer. He built a huge analogue syn

Re: [9fans] Blit

2017-04-27 Thread Rob Pike
use guest. I recall you saying that you used > bedbug when writing sam. > > Such an enlightenment after using vi. Was it a 1200 baud modem? > > brucee > > On 27 April 2017 at 22:37, Rob Pike wrote: > >> Total coincidence: I played on a 5620 yesterday, connected to a 3B

Re: [9fans] questions whose answers are only known by people who abandoned 9fans

2017-10-17 Thread Rob Pike
It went away because it wasn't necessary. -rob On Wed, Oct 18, 2017 at 11:50 AM, Kurt H Maier wrote: > On Tue, Oct 17, 2017 at 05:46:22PM -0700, Kurt H Maier wrote: > > > > implementation of sam, the '@' operator (which behaved like '*' except > > The '@' operator (c=ANYNL) behaved like '.' (c

Re: [9fans] (no subject)

2018-01-04 Thread Rob Pike
What's this? https://plan9.io/ On Fri, Jan 5, 2018 at 9:27 AM, Joseph Stewart wrote: > Someone (not me) should make a 9p to S3 service and put all the goodies > there. > -joe > > On Thu, Jan 4, 2018 at 1:20 PM, Steve Simon wrote: > >> I found the old addresses here: >> >> https://dnshistory.o

Re: [9fans] R.I.P cs.bell-labs.com

2018-01-05 Thread Rob Pike
Everyone is naming sites to check out, but which one has the right contents, is being maintained, and will be stable? -rob On Fri, Jan 5, 2018 at 6:42 PM, David du Colombier <0in...@gmail.com> wrote: > Take a look to https://9p.io/ > > -- > David du Colombier > >

Re: [9fans] ARM compiler

2008-03-17 Thread Rob Pike
Spoilsport. -rob On Tue, Mar 18, 2008 at 8:46 AM, Richard Miller <[EMAIL PROTECTED]> wrote: > > speaking of arm: > > > > does the compiler emit conditional instructions > > like subgt? > > term% cat t.c > int > f(int x) > { > int y = 0; > if (x > 0) > y -= 1

Re: [9fans] bug in echo?

2008-03-26 Thread Rob Pike
echo -n -n' ' -rob

Re: [9fans] scat, ngc2000 and other matters

2008-04-13 Thread Rob Pike
You'll need to process it from the textual form it's in now to the binary format used by scat. It's also probably not quite the same data set scat used since the provenance is different, but it's likely to be fine. Someone at the labs may be able to root around in my directory there and find the p

Re: [9fans] A new language for Plan 9

2008-05-01 Thread Rob Pike
(By 'indentation' of course I mean 'indentation to define structure') -rob

Re: [9fans] A new language for Plan 9

2008-05-01 Thread Rob Pike
Indentation by white space is a very bad idea in my experience. Superficially attractive but ultimately very dangerous. I once spent a couple of days tracking down a bug caused by a source-to-source code tool that broke a major program because the code it was injecting into had indented one more sp

Re: [9fans] Plan 9 Logo Font

2008-05-06 Thread Rob Pike
I care and I am confused. Which edition of the manuals are you referring to? -rob On Wed, May 7, 2008 at 6:52 AM, Michaelian Ennis <[EMAIL PROTECTED]> wrote: > For anyone who cares the "plan 9" text on the cover of the manuals is > Industria LT Std Solid . Industria was designed by Neville Bro

Re: [9fans] simulation and newsqueak

2008-05-30 Thread Rob Pike
The Unix source is on my web site. -rob

Re: [9fans] P9p's mount(1) on linux

2008-06-19 Thread Rob Pike
Fuse on the Mac is markedly inferior. -rob

[9fans] space glenda - in acrylic

2008-06-27 Thread Rob Pike
http://flickr.com/photos/redlense/2429073822/

Re: [9fans] kenc: casting expression to void not ignored

2008-06-29 Thread Rob Pike
> Shouldn't the cast to void mean that I don't intend to use the result of the > operation? Thanks. That's not standard C, just a bad convention established by lint(1) and carried too far for a while before fading away again. -rob

Re: [9fans] space glenda - in acrylic

2008-06-29 Thread Rob Pike
On Sun, Jun 29, 2008 at 1:55 AM, underspecified <[EMAIL PROTECTED]> wrote: > I second the Acme window t-shirt idea :-) > > By the upper-left of an acme window, I assume you mean something like this: > > http://cl.naist.jp/~eric-n/osx/acme-sac.tiff > > I can't recall for certain, but I believe at so

Re: [9fans] sad commentary

2008-06-30 Thread Rob Pike
The fact the UTF-8 was first "implemented" on Plan 9 has nothing to do with Plan 9's funtionality as an OS. Not true. The ability to adapt the system quickly in response to a changing standards situation made a critical difference in having UTF-8 rather than a weaker proposal accepted by X/Open

Re: [9fans] bundle //GO.SYSIN DD

2008-07-26 Thread Rob Pike
I first saw it used in bundling software created by James Gosling, and liked the (relevant, I might add) joke so much I put it in the Plan 9 version. -rob

Re: [9fans] acme and openning of ", "", '''chk' scripts (by rsc)

2008-10-08 Thread Rob Pike
It's the plumber that decides. If you want those characters to be understood as file name characters in general - and you really don't, whatever you think now; consider what happens when you click on "includefile.h" - then change the plumbing rules. -rob On Wed, Oct 8, 2008 at 9:35 AM, Rudolf Syk

Re: [9fans] Plan 9 history question

2008-10-13 Thread Rob Pike
All the Plan 9 work was done in Murray Hill. -rob

Re: [9fans] sam & filenames containing whitespace

2008-10-22 Thread Rob Pike
Sam cannot handle file names with spaces. There is one way to work around this that I can think of without renaming the file. Make a new buffer with nothing in it. ("B " without the quotes is how you do that.) Then cat > 'a b' Clunky but so be it. Sam comes from a system where spaces in file

Re: [9fans] non greedy regular expressions

2008-10-24 Thread Rob Pike
Backreferences within the pattern (such as in /(.*)\1/) make the matcher non-regular and exponentially hard. It was a deliberate decision not to implement them in sam and I'd make the same decision today. As far as greedy/non-greedy operators go, they have more utility but I believe they have beco

Re: [9fans] non greedy regular expressions

2008-10-26 Thread Rob Pike
The ability to put \1 in the right hand side of a substitution was done by jason@ at the Uni of Sydney, but after the Sam papers were published. It was a welcome feature that added special functionality to the 's' command within Sam. (Ed(1) had the feature, within its limited regexps, long before,

Re: [9fans] @{cd ...} breaks completion with ctrl-f/ins; help needed

2008-10-28 Thread Rob Pike
cd . is sufficient -rob

Re: [9fans] mmap and shared libraries

2008-11-05 Thread Rob Pike
don't forgot that plan 9 binaries are fully linked while most other systems pull in more code through dynamic linking when the binary is executed. -rob

Re: [9fans] mmap and shared libraries

2008-11-05 Thread Rob Pike
less is more. -rob

Re: [9fans] mmap and shared libraries

2008-11-05 Thread Rob Pike
When Sun reported on their first implementation of shared libraries, the paper they presented (I think it was at Usenix) concluded that shared libraries made things bigger and slower, that they were a net loss, and in fact that they didn't save much disk space either. The test case was Xlib, the b

Re: [9fans] Is /proc an Plan9 invention ?

2008-11-07 Thread Rob Pike
I'm pretty sure Peter Weinberger (pjw) did the very first, which Killian adapted and improved when pjw lost interest. The big change in Plan 9 was moving to a true file system hierarchy instead of just one file and a pile of ioctls. Linux's /proc is very close in overall design. -rob

Re: [9fans] How to implement a moral equivalent of automounter in Plan9?

2008-12-02 Thread Rob Pike
On Tue, Dec 2, 2008 at 3:55 PM, Russ Cox <[EMAIL PROTECTED]> wrote: >> a couple of questions come to mind. how does writing >> to a ns interact with shared namespaces? does it automaticly >> fork the namespace? seems iffy. which leads to the next >> obvious question >> >> how do you prevent a r

Re: [9fans] How to implement a moral equivalent ofautomounter

2008-12-06 Thread Rob Pike
i don't understand this thread. the "moral" equivalent? surely you mean "functional" or "rough" or "approximate" or some other adjective, not "moral". the phrase "moral equivalent" originates in the "moral equivalent of war". using it in this context is wrong, misguided, maybe punishable. the o

Re: [9fans] command repetition in sam/acme

2009-03-03 Thread Rob Pike
Sam and Acme use a simple, pure form of regular expressions. If they had the counting operations, this would be a trivial task, but to add them would open the door to the enormous, ill-conceived complexity of (no longer) regular expressions as the open source community thinks of them. So yes: use

Re: [9fans] command repetition in sam/acme

2009-03-03 Thread Rob Pike
Do you see utility in counting/movement commands if they are not combined with regular expressions? If you want to make a substitution to the thousandth match of a regular expression on a line, try s1000/[^ ]+/yyy/ But to navigate to that place is not as straightforward. Counting only

Re: [9fans] command repetition in sam/acme

2009-03-03 Thread Rob Pike
.,.1000 and then snarf. It's a different model from the one you are familiar with. That is not a value judgment either way, but before pushing too hard in comparisons or suggestions it helps to be familiar with both. -rob

Re: [9fans] command repetition in sam/acme

2009-03-04 Thread Rob Pike
Not all the features adapt as easily. -rob

Re: [9fans] dc(1) exponent limits

2019-12-16 Thread Rob Pike
% ivy 652342**52342 1.85475753442e+304341 )cpu 8.291ms (652342**52342)/34232342 9.27378767209e+304340/17116171 )cpu 9.217ms float _ 5.41814385477e+304333 50 minutes feels excessive; dc seems to work very hard. -rob -- 9fans: 9fans Permalink: https://

Re: [9fans] dc(1) exponent limits

2019-12-16 Thread Rob Pike
In case it's not clear, those calculations are integral, only the presentation looks like floats. -rob On Tue, Dec 17, 2019 at 9:46 AM Rob Pike wrote: > % ivy > 652342**52342 > 1.85475753442e+304341 > > )cpu > 8.291ms > > (652342**52342)/34232342 > 9.27378

Re: [9fans] Acme fonts

2020-07-22 Thread Rob Pike
> > *You can tell because when I double-click on the modified text acme > doesn't know where the word boundaries are and ends up highlighting across > punctuation that it normally wouldn't.* I don't understand that. Acme knows the characters' location or it couldn't draw them. Are you sure it's n

Re: [9fans] Acme fonts

2020-07-22 Thread Rob Pike
I see, yes. Well, that's not too terrible. -rob On Thu, Jul 23, 2020 at 1:40 PM wrote: > > I don't understand that. Acme knows the characters' location or it > couldn't > > draw them. Are you sure it's not just the frame library's lousy handling > of > > italic fonts? > > Unless I'm misunders

Re: [9fans] Sam arena allocators

2021-06-28 Thread Rob Pike
After Acme was written, I replaced most of the buffer management code in Sam with that from Acme, which was more efficient - it did the database stuff in a different order that was one pass quicker. It's possible the old code used an arena allocator, I don't remember, but it's possible you're refer

Re: [9fans] ed regular expressions in sam

2021-07-20 Thread Rob Pike
I would ,x s/.*/echo "&"/ as it seems most direct. The ,x idiom is the thing that turns sam into ed. -rob On Tue, Jul 20, 2021 at 9:18 PM wrote: > or: > > ,x/^/i/echo " > ,x/$/i/" > -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans

Re: [9fans] Help with a sam cleanup script

2021-07-21 Thread Rob Pike
There are many things here that feel wrong or at least inelegant, starting with the first character. Surely you mean a comma not a period. You are also inconsistent: sometimes you use x to find the pattern and then change it, sometimes you use a substitute. It's more efficient in both time and keys

Re: [9fans] astro: meeteeor shouwer?

2021-07-28 Thread Rob Pike
If you mean, why is it spelled like that? It's because the text was sent to the voice synthesizer for the 5PM Unix room ephemeris announcement. Tweaked spellings could improve pronunciation. -rob On Thu, Jul 29, 2021 at 9:42 AM Marshall Conover wrote: > Today's the peak of a seasonal meteor sh

Re: [9fans] Codebase navigation and using tags files in acme

2021-08-18 Thread Rob Pike
% cat bin/f #!/bin/sh 9 grep -i -n '^func (\([^)]+\) )?'$1'\(' *.go /dev/null % cat bin/t #!/bin/sh 9 grep -i -n '^type '$1' ' *.go /dev/null % cat bin/cf #!/bin/sh csearch -n -f '\.go$' '^func (\([^)]+\) )?'$1'\(' % cat bin/ct #!/bin/sh csearch -n -f '\.go$' '^type '$1 --

Re: [9fans] Codebase navigation and using tags files in acme

2021-08-19 Thread Rob Pike
It is Russ Cox's code search suite: https://github.com/google/codesearch On Fri, Aug 20, 2021 at 5:02 AM wrote: > Quoth un...@cpan.org: > > Quoth Maurizio Boriani : > > > thanks a lot! But... what's csearch? > > > > Possibly > https://manpages.debian.org/testing/codesearch/csearch.1.en.html > >

Re: [9fans] acme and sam - mouse suggestions?

2022-01-27 Thread Rob Pike
LENOVO SCROLLPOINT MOUSE - USB. I have a few of them. None of mine have ever broken or needed maintenance. Not sure they're made any more, and the IBM logo on this: https://www.exxactcorp.com/Lenovo-31P7405-E1272118 may be indicative, but I've been using mine for 20+ years with great satisfaction.

Re: [9fans] acme and sam - mouse suggestions?

2022-01-27 Thread Rob Pike
I have one mouse still in the original unopened box, just to be safe. The label reads 31P7405 Lenovo Scrollpoint Mouse Model MO098OA And I have now opened it to be sure, and it is the true blue (literally) 3-button version. It is labeled Lenovo, although the ones I use are all labeled IBM. -rob

Re: [9fans] acme and sam - mouse suggestions?

2022-01-27 Thread Rob Pike
l, more like a single axis trackpoint. > > On Jan 27, 2022, at 8:47 PM, Rob Pike wrote: > > I have one mouse still in the original unopened box, just to be safe. The > label reads > > 31P7405 Lenovo Scrollpoint Mouse Model MO098OA > > And I have now opened it to be sure

Re: [9fans] B name origin?

2022-12-12 Thread Rob Pike
Buffer, a word in editor context that came from QED but may have had earlier roots. -rob On Mon, Dec 12, 2022 at 11:44 PM wrote: > Does anybody know where the name B (b/B in sam) comes from? > thanks, > Gergely Födémesi -- 9fans: 9fans Permalink: https

Re: [9fans] How to customize set of commands in acme

2023-01-16 Thread Rob Pike
Create the initial workspace you want, use Dump, and quit. Then when you want to start, say acme -l acme.dump. -rob On Mon, Jan 16, 2023 at 6:58 PM Alexander Sychev wrote: > Hello, > > For manipulating tags of windows, you can eather use external application > or patch acme. I wrote an applica

Re: [9fans] Plan9 multi-core support

2023-08-26 Thread Rob Pike
A big reason for doing Plan 9, as the linked article says right up top, was supporting multi{core|processor} machines. And that took some research because there really hadn't been that many around to write OSes for before then. Some novel work resulted, work that still has relevance. -rob On Sun

Re: [9fans] Plan9 multi-core support

2023-08-29 Thread Rob Pike
The dual VAX was the first machine we tried to make work, but for various reasons including the machine's peculiarities and our own embryonic knowledge, we abandoned it. The first working Plan 9 kernel was for a 4-CPU (one MIPS chip per board) IRIS machine, with custom locking hardware (on another

[9fans] Re: broken link in cat-v

2024-02-09 Thread Rob Pike
Thanks, but I don't know who owns that site these dayse. I'll forward to the 9fans mailing list. -rob On Sat, Feb 10, 2024 at 6:20 AM Douglas McIlroy < douglas.mcil...@dartmouth.edu> wrote: > The link to plan 9 from outer space in sam.cat-v is wrong. I found a good > link in wikipedia. > -

Re: [9fans] sam language question

2010-04-22 Thread Rob Pike
,x/0\.00/-a/\n/ -rob

Re: [9fans] comment and newline in define

2010-06-25 Thread Rob Pike
What's changed is that, to simplify porting (to systems other than Plan 9), the compilers in the Go distribution are built by gcc, not the Plan 9 C compilers. It's easy to fix that header file. Patches willingly accepted. -rob

Re: [9fans] xml

2010-06-28 Thread Rob Pike
"The essence of XML is this: the problem it solves is not hard, and it does not solve the problem well." -- Phil Wadler, POPL 2003 -rob

Re: [9fans] xml

2010-06-28 Thread Rob Pike
I should add that Russ's post is on point, Wadler's slightly off. I would extend it as "The essence of XML is this: the problem it solves is not hard, it does not solve the problem well, and anyway it's not the problem people think it solves." -rob

Re: [9fans] Go/Inferno toolchain (Was: comment and newline in

2010-06-29 Thread Rob Pike
On Mon, Jun 28, 2010 at 3:03 PM, Eric Van Hensbergen wrote: > On Sat, Jun 26, 2010 at 4:26 AM,   wrote: >>> but I can dig >>> them up, clean them up, and share them, >> >> My particular concern is to encourage convergence towards a single >> source distribution rather than divergence as seems to h

Re: [9fans] xml

2010-07-01 Thread Rob Pike
> `Interfaces', the way they are invariably implemented, don't cut it -- > too limiting and imposing. I do not claim that Go's interfaces can match the type system of Haskell but this sentence tells me you aren't very familiar with them. They are not implemented, invariably or otherwise, like any

Re: [9fans] history question

2010-11-02 Thread Rob Pike
as part of the 1989 kernel, ken wrote its beginnings with a pattern that involved a lot of repetitive typing but had the basic structure. each function had to define local pieces. i took his idea and wrapped it into the structure that's there now, which made it easier to get right in practice. i'm

Re: [9fans] Modern development language for Plan 9, WAS: Re: RESOLVED: recoving important header file rudely

2011-02-18 Thread Rob Pike
The more you optimize, the better the odds you slow your program down. Optimization adds instructions and often data, in one of the paradoxes of engineering. In time, then, what you gain by "optimizing" increases cache pressure and slows the whole thing down. C++ inlines a lot because microbench

Re: [9fans] acme Local command on p9p

2011-02-23 Thread Rob Pike
On Wed, Feb 23, 2011 at 5:32 AM, Russ Cox wrote: >> Local In the Plan 9 acme, this prefix causes a command to be run in >> acme'sown file name space and environment variable group. On >> Unix this is impossible... >> >> is there any other way to define environment variables for acme while >> it's

Re: [9fans] 8l follows a precedence based on the commandline arrangement

2011-02-28 Thread Rob Pike
someone should move those pages and all links from 2 to 8. -rob

Re: [9fans] Go Plan 9

2011-04-02 Thread Rob Pike
We'll get the Plan 9 implementation up to scratch. It's not there yet, though. Once things look solid we'll need a volunteer to set up a builder so we can automatically make sure the Plan 9 port stays current. -rob

Re: [9fans] Go Plan 9

2011-04-03 Thread Rob Pike
I'm not sure I follow. The 6c and 6g compilers in the Go distribution are compiled with the local compiler, such as gcc on Linux and OS X. I don't believe it's possible they have Plan 9-specific features in their source. I can believe they would have problems compiling on Plan 9, but that's the i

  1   2   >