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.
>
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
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
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
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:
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, and
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
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
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
>
% 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
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
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
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:
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
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
>
> *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
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.2737876720
% 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:
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
>
>
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
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)
nough to let me stay as a house 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 <robp...@gmail.com> wrote:
>
>> Total c
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
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
>
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
>
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
Edit {
s/^/\[/
s/\:\ /\]/
}
On Mon, Oct 27, 2014 at 8:28 AM, Eduardo Alvarez astrochelon...@gmail.com
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
Yes you can. That's how I verified this works. Open up the tag to
multiple lines (just type newline in the tag).
-rob
That's a shame.
-rob
On Mon, Oct 27, 2014 at 9:41 AM, s...@9front.org 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
Looks like it.
-rob
On Tue, Oct 14, 2014 at 3:11 PM, Yoann Padioleau p...@fb.com 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,
It's not dead code. It's prepping the switch somehow.
-rob
On Tue, Oct 14, 2014 at 3:45 PM, Rob Pike robp...@gmail.com wrote:
Looks like it.
-rob
On Tue, Oct 14, 2014 at 3:11 PM, Yoann Padioleau p...@fb.com wrote:
Hi,
It’s a copy paste bug here right?
https://code.google.com/p/ken
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
Does anyone know of a version of sam for Windows that will run on
64-bit installations?
-rob
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 ircsurfe...@gmail.com 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
Great, thanks.
-rob
u for uint uchar ulong
q for unique.
I don't understand the bug report. I can't see any problems like what
is hinted at in the description. Please explain carefully and
precisely how to recreate it.
On Wed, Feb 12, 2014 at 5:28 AM, erik quanstrom quans...@quanstro.net wrote:
On Wed Feb 12 08:24:28 EST 2014, uvelichi...@gmail.com
He appears not to understand the concept of research.
-rob
On Sun, Sep 29, 2013 at 10:00 AM, Jacob Todd jaketodd...@gmail.com wrote:
it's good to know where we went wrong.
On Sun, Sep 29, 2013 at 12:55 PM, andrey mirtchovski
mirtchov...@gmail.com wrote:
after all these years:
Try
set +o emacs
(sic)
-rob
You give a shell command the flag -X to turn on X, so +X to turn off X
makes sense in a negative true kinda way.
-rob
I'm pretty sure C defines the include path to be relative to the file
that includes it. The compiler's working directory should be
irrelevant. I'm also pretty sure Plan 9's compiler gets this right, or
at least used to. So more information is required.
-rob
Short answer: you can't. It would be nice though.
-rob
On 22/08/2013, at 4:24 PM, Rudolf Sykora rudolf.syk...@gmail.com wrote:
On 21 August 2013 19:19, smi...@icebubble.org wrote:
Rob Pike robp...@gmail.com writes:
OK. How does one match the start/end of dot in a g// or v// regexp
Nothing. That's exactly what ^ and $ do.
-rob
Russ added a couple of helper things to the library. There's now a
'dpi' field in Display and helpers for scaling. I don't remember the
details but a little digging with that pointer should do it. I vaguely
remember you can also specify a scaling integer in the value of $font.
I write a little
I sit at my desk with a computer (not a laptop) on the floor, a
keyboard in front of me, a mouse on the right and a trackpad on the
left.
On the rare cases I'm programming on a laptop, it's really the same
except for the location of the trackpad. In particular, there's still
a mouse.
-rob
Let me put in a word about the Apple wireless trackpad. I doubt it's
got support in Plan 9, although it works from plan9port on the Mac. I
am devoted to it now: I use it for scrolling. Right hand for pointing
and clicking, left hand for scrolling. Works in acme, sam, etc. plus
of course all the
Are you using Plan 9? Because I don't understand how you could get
those messages on Plan 9, but I do on other systems.
-rob
, 2013, at 11:31 AM, Skip Tavakkolian skip.tavakkol...@gmail.com
wrote:
yes.
On Wed, May 1, 2013 at 11:11 AM, Rob Pike robp...@gmail.com wrote:
Are you using Plan 9? Because I don't understand how you could get
those messages on Plan 9, but I do on other systems.
-rob
The patch was not abandoned; that message was a codereview glitch.
It's checked in.
We need to find where the bogus relocation is coming from. It *is*
bogus, but the error catching it is new. To make progress, feel free
to comment out the code that prints the error. I'm pretty sure you'll
be
It would be easier to debug this if there was a way I could log in to
a Plan 9 machine (or virtual machine) capable of compiling and running
the Go distribution. Such public services have existed in the past;
does one exist today? Please contact me privately if you can help.
-rob
Thanks to machines offered by Erik Quanstrom and David du Colombier, I
found the bug. Trivial fix is out for review.
C's usual integer conversions apply.
-rob
Much of which is symbols. Plus, a a simple computer has gigs of memory.
Yes, it's remarkable how much bigger programs are now than they were
20 years ago, but 20 years ago the same things were being said. I
understand your objection - I really do - but it's time to face the
future. The smart
It's pointless to complain about the size of hello world. It's not a
real program. In Go's case it's larger than a C binary because the
libraries (and the presence of a runtime) are capable of much more
under the covers, but by the time you write a real program in Go
you'll find the ratio of Go
Thanks, Andrey, although what you say about Unicode and fmt isn't
true. Believe it or not, we care about sizes and arranged that fmt
doesn't need to import the whole Unicode tables, only the small subset
it needs.
-rob
so, assuming demand loading, this is more of a
disk space issue rather than a memory issue?
It's only an issue on mailing lists and discussion groups.
-rob
For example, looking at what go install does wrt what a few mkfiles would
do for the same go source is illustrative of what I'm trying to say.
I've never seen a mkfile that builds a transitive dependency graph
given only the source code, downloads the relative dependencies from
the
Yes, they are necessary for reflection. Fmt uses reflection - and uses
it well, as rminnich has attested.
On Sat, Mar 23, 2013 at 12:31 PM, erik quanstrom quans...@quanstro.net wrote:
On Sat Mar 23 15:30:40 EDT 2013, robp...@gmail.com wrote:
so, assuming demand loading, this is more of a
If go install is slow on Plan 9, it's because Plan 9's file system is
slow (which it is and always has been), and because go install does
transitive dependencies correctly, which mk does not.
-rob
I just did a go install, after a clean, of the biggest binary I'm
working on, using my pokey old mac laptop. It took 0.9 seconds, most
of which was spent in 6l and not the go tool. It could be faster, but
it's plenty fast enough.
The public won't use mk or make. If you want to succeed in the
But the code looks the same in plan9port at that point. So it looks
like a fix was made somewhere else in that file and not put back into
the Plan 9 sources. The proposed fix is perhaps not the best one.
-rob
It likely has nothing to do with the REM song.
-rob
On Tue, Dec 11, 2012 at 6:18 AM, erik quanstrom quans...@quanstro.net wrote:
On Tue Dec 11 09:10:53 EST 2012, al...@pbrane.org wrote:
What's the story behind the curious reference
to this phrase in the code for timesync(8)?
it's a
Does anyone know what happened?
-rob
That sounds like a bug I fixed in plan9port acme a couple of years
ago, but it's nice to see it's still broken.
I'll dig in.
-rob
go get code.google.com/p/rsc/cmd/Watch
Empty dot at the beginning of a line is also empty dot at the end of
the previous line.
I'm not justifying the behavior, just explaining it. This is really
old code with, I admit, some quirky properties. I often think of
rewriting the address code in sam and acme but never do, because a
rewrite
.+0 goes from the end of the current value of dot to the end of the
line containing dot.
.-0 goes from the beginning of the line containing dot to the
beginning of the current value of dot.
I don't understand your second question.
-rob
-#0,+#0-2
(go from the null string at the beginning to the null string at the
end of the line starting two lines back from the end.)
-rob
Break it down:
a,b means: from the beginning of a to the end of b
.,. means: from the beginning of . to the end of .
1 means: from the beginning of line 1 to the end of line 1.
.,.+0 means: from the beginning of . to the end of .+0, and .+0 is the
null string at the end of .
Now the step:
What happens when two files linked into the same binary both declare
static extern register variables?
-rob
On Sun, Apr 29, 2012 at 2:55 PM, Lyndon Nerenberg lyn...@orthanc.ca wrote:
You mean change the hardcoded font name
in /sys/src/cmd/acme/acme.c?
No, add something like:
font = /lib/font/bit/fixed/unicode.7x13.font
fn acme {builtin acme -f $font $*}
You don't need to do the second line.
That's odd but easy to change.
-rob
That font is called euro because it does not have the Asian ideographs
and is cheaper to load. Use unicode.8.font if you want them; I have
set font=unicode.9.font since the beginning.
The real question is what the default font should be; I leave that
decision to others.
-rob
set -x
-rob
rio doesn't have button 3 search. acme does.
-rob
Maybe a chorded 3-1 click (not 1-3).
-rob
i don't think either does anything.
-rob
this is still my favorite:
http://gi52.photobucket.com/groups/g5/6DUVRHDUAT/typing.gif
-rob
If you like mousing, mouse. If you like typing, type. One could even
imagine doing one or the other as appropriate.
Eating is faster than singing.
-rob
As the guy who literally wrote the book on this, please may I
recommend some offline reading?
-rob
Sometime around, maybe, 2000, I flipped the bit in the frogs table so
spaces were legal in file names, for two reasons: we were seeing
spaces in file names from remote systems and seemed simpler to accept
them than to remap them, and I wanted to know how it would affect
things.
Not all software
I still use acme. My solution for spaces in file names is to avoid
them. That might not work for everyone.
-rob
On Sat, Apr 16, 2011 at 11:17 AM, Skip Tavakkolian
skip.tavakkol...@gmail.com wrote:
Linux has slowly become Windows-lite
Except for the lite part.
-rob
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
someone should move those pages and all links from 2 to 8.
-rob
On Wed, Feb 23, 2011 at 5:32 AM, Russ Cox r...@swtch.com 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
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
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
`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
On Mon, Jun 28, 2010 at 3:03 PM, Eric Van Hensbergen eri...@gmail.com wrote:
On Sat, Jun 26, 2010 at 4:26 AM, lu...@proxima.alt.za 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
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
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
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
,x/0\.00/-a/\n/
-rob
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
Acme's New command does not parse the file name. Try New
rotxy3_[1-5Co6-10Ni] with button 2.
-rob
On Sun, Mar 7, 2010 at 9:24 AM, Rudolf Sykora rudolf.syk...@gmail.com wrote:
On 7 March 2010 17:43, Rob Pike robp...@gmail.com 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 question what
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
On Fri, Jan 29, 2010 at 8:20 AM, ge...@plan9.bell-labs.com 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
margaret
-rob
my father danced with his great aunt.
-rob
1 - 100 of 134 matches
Mail list logo