There is split and other functions,
for example:
toupper(aí)
gives
Aí
My guess is that there are many more little (or not) corners where it
doesn't work.
Yes, and then there is locale: does [a-z] include ij when you run it
in Holland (it should)? Does it include á, è, ô in France (it
we don't assume students are all 30-years grizzled veterans.
I'm not grizzled!
Sape
troff -man /sys/man/1/cat | page
troff -man /sys/man/1/cat | lp -dPrinter
---BeginMessage---
I've been writing a man page and wanted to see how it looks
when formatted with troff and printed, so I tried:
troff -man file | dpost | lp
only to find that the printout was extremely ugly. Words seem
to
lp is the most horrible shell script imaginable. The line
for your printer in /sys/lib/lp/devices is supposed to help
match the output of troff to the input your printer expects.
There are people out there who know how to do this. I've long
given up. I just generate postscript/pdf (below's the
/sys/lib/tmac.an (troff -man) loads the LucidaSans fonts:
.fp 1 R LucidaSans
.fp 2 I LucidaSansI
.fp 3 B LucidaSansB
.fp 5 L LucidaCW
If you don't have those, some other font is substituted and that'll
make your output look ugly.
(/sys/lib/tmac.s (troff -ms) doesn't load fonts (defaults to Times
Are you killing the old usbd before starting a new one?
yes.
And is this uhci or ohci?
ohci. oddly, my uhci ich9r machine doesn't recognize
either of my extensive collection of two usb devices.
You may be running the usbd with faulty dump.c. If your
devices show up in
ohci. oddly, my uhci ich9r machine doesn't recognize
either of my extensive collection of two usb devices.
You may be running the usbd with faulty dump.c. If your
devices show up in /dev/usb0/1/status with just one
line and 0x00 for Class/Subclass/Proto, then you're
almost
usbd is exiting when i have a camera which is off
attached:
; usb/usbd -v
; echo $status
usbd 1827: usbd: setup0: usb0/1: transaction error
- erik
Nemo found a bug in usb/lib/dump.c that may well account for
this. I incorporated his change (and fixed a bug in his code :-).
I'll ask
Nemo found a bug in usb/lib/dump.c that may well account for
this. I incorporated his change (and fixed a bug in his code :-).
I'll ask Geoff to push it out today.
Sape
excellent. i'll give it a shot.
- erik
Give it a shot now:
/sys/src/cmd/usb/lib/dump.c
#include u.h
I think someone is doing a mirror of sources in Germany,
Netherlands you mean?
Hey, it's all Scandinavia, what's the difference?
Sape
If you do rebuild a kernel with the new usb interface, and you have
a usb mouse with a scroll wheel, you must ensure that usb/usbmouse
is started with the '-s' flag (e.g. in /bin/usbstart), or your
mouse won't work at all. I'll submit a patch for this shortly.
Yes, the mouse driver should
in
http://www.huygens.org/sape/photo/IWP9/index.html
There are also a couple of Unix room pictures, an areal
photo and some old Peterface pictures.
Sape
a sys/src/games/mp3dec/mkfile 664 sys sys 1196685451
a sys/src/games/music/mkfile 664 sys sys 1196685439
error: copying /n/boot/sys/src/games/mp3dec/mkfile:
'/n/boot/sys/src/games/mp3dec' does not exist
then pull exits, I didn't see any 'c' just 'a'; and I saw a 'a' for
applylog and
we will have a group offering rides from murray hill inn.
Let's meet in the lobby at 0845 AM (SHARP!) monday morning and those
of us with cars can give you a ride up.
There may be some who come by train arriving at the Murray Hill station
at 9:16. Those staying at the MH Inn with car might
Sorry I misunderstood Murray Hill Inn for http://
www.murrayhillinn.com/,
so I will go by Train.
If you are at the Murray Hill Inn (the hotel), you can ride with the
others who stay there (I hope). If you stay in New York City, you need to
take the train.
From the Murray Hill Inn, you can
Any requirements on those sticks other than size? Is there a
difference between bootable and non bootable?
Sape
looks like I am doing a tutorial on THNX.
Of those coming, who would like to attend?
Can you bring a 2G USB stick? The goal is to get you a usable
environment you can
2. All 9P messages would still be client-server-client.
This fits with #1, but also excludes solutions that introduce
new server-client-server messages after a successful Tcache.
And there is the quandrary. Allowing server-client-server messages
(aka callbacks) complicate 9P beyond anything
In the case of read cache (which is probably going to be used more
often than write-cache), the client needs to send two RPC every time
a writer modifies the cached file. What if Rlease doesn't necessary
break the lease, but have an option (negotiated in Tcache) to let the
client know
Why not just have a file that a client reads that lets the client know
of changes to files.
A bit better, but the comment I just made about breaking single-copy
semantics still hold. The point is that merely notifying the client
isn't enough. The server should wait for an acknowledgement to
I Type too fast — got A and B mixed up. Below is the fix:
That breaks single-copy semantics: A client may have acted on data after
it had been changed by somebody else. Say, A and B are sharing the file.
B has a read-lease on the file, A obtains a write lease, modifies the file
and sends a
It's also why this doesn't work:
Tcache asks whether the server is prepared to cache
Rcache makes lease available with parameters, Rerror says no.
Tlease says, ok start my lease now (almost immediately follows Rache)
Rlease lease expired or lease needs to be given
Tinval (asks the server for invalidations for files seen)
Rinval (reports new invalidations)
Tinval (asks for further invals, and let the server know that Rinval
was seen by client)
That'll work.
I know, I think I was not clear, sorry.
The point is that, referring to the
Tinval-Rinval-Tinval-...
sequence, a server could afford to consider its Rinval acknowledged
if the client happens not to respond (by issuing another Tinval)
within 5 seconds.
That would freeze clients for at most
So, those with experience with threading implementations on weird
real-time or embedded operating systems:
Have you ever ran into a thread implementation where two threads
could *not* directly access each other's .bss (or equiv)/heap?
i.e. have you ever encountered a scenario where
Since we could use a few more papers for the Plan 9 Workshop
(see plan9.bell-labs.com/iwp9) we're extending the deadline
for submission by two weeks and we're going to allow submission
of extended abstracts as well as full papers.
The new deadline is October 19th. Acceptance notification may
just to state it. We have int as return type for procexecl, procexec
in the thread(2) man page and void in /sys/src/libthread/exec.c
If it returns at all, there was an error. If it doesn't return, there
may or may not be an error, but you won't see it.
Exec() probably has the int return value
If system calls were the only way to change memory allocation, one
could probably keep a strict accounting of pages allocated and fail
system calls that require more VM than is available. But neither Plan
9 nor Unix works that way. The big exception is stack growth. The
kernel
It would be cool to be able to get a handle on being able to shrink
the memory occupied by an application dynamically. Malloc (through
brk()) grows the memory footprint, but free does not shrink it.
The same is true for the stack. Once allocated, it doesn't get freed
until the process
We have started preparations to host the Second very International Workshop
on Plan 9 at Bell Labs MH in December of this year, almost certainly
Monday December 3 and Tuesday December 4.
Preparations are still underway, but we hope to post the official
announcement soon.
Sape
as a computing grid platform? Is
it worth trying to get some of these ppl to go there?
Or am I completely mistaken on what this workshop is about?
Any thoughts on this are welcome :)
Cheers,
Mathieu.
On Thu, Aug 09, 2007 at 10:15:28AM -0400, Sape Mullender wrote:
We have started
Hi,
while thinking about whether it would make sense to use 9p for a rather
small embedded device, where Inferno or Plan 9 cannot be run (similar to
styx-on-a-brick), I came to the problem how to implement read access to
dynamic status files, like the `status' named text files on plan 9, or
http://www.joeyoder.com/papers/patterns/BBOM/mud.html
Why does this paper have SO MANY CAPITALIZED WORDS, and what can we do
to improve it?
tr A-Z a-z
It might not be hard to make
Edit x/.*\n( .*\n)+/ g/flowers/ * Delmesg
work (where * is a new command meaning
execute like button 2). But that isn't implemented
right now.
That would be very useful for a number of things — nice idea.
Sape
Hi,
using gpsfs i get the correct position
from an NMEA gps device (Haicom 204); but
aux/timesync -G
resets the clock to 19:xx 31 December 1969.
The valid nanoseconds value in
/n/gps/time
is a 10-digit number. Converted to
seconds it's about 20 seconds after the
start of the epoch.
i should perhaps elaborate:
sicortex stick 5000+ 64-bit mips cpus (each 1gflop, 972 six-way smp
compute nodes) onto a single backplane connected in a Kautz topology.
their whitepapers are quite interesting.
won an award at SC'06, if i remember correctly.
On 3/28/07, andrey mirtchovski
i thought the point of plan 9 was to be different.
No, the point of plan 9 is to be right.
Sape
shoenberg's Style and Idea is a good reference.
he had lots of both, and knew how to distill them.
none of his music had ifdefs in it.
But I discovered macro expansion in Rossini's Barbieri di Seviglia
Overture. Where the woodwinds come in to do their second pa pa pa PAdam,
pa pa pa PAdam,
Sape Mullender
sape
Bell Labs, Murray Hill
[EMAIL PROTECTED]
On Tue Aug 22 13:04:09 EDT 2006, [EMAIL PROTECTED] wrote:
...
Well, you have to have disks /somewhere/, and that machine is the one
I was worried about.
...
/somewhere/ is not somewhere you can type ^t^tr.
A few of us, unfortunately, have only one machine to run Plan 9 on.
http://www.turtlebeach.com/site/products/audioadvantage/
We got one ath the labs. Plugged it into Plan 9. It works. It
actually outputs a lot of oomph into my headset. Nice
device.
44100 or 48000 Hz, 16-bit stereo. Has mute volume control.
Sape
On 6/28/06, Sape Mullender [EMAIL PROTECTED] wrote:
http://www.turtlebeach.com/site/products/audioadvantage/
We got one ath the labs. Plugged it into Plan 9. It works. It
actually outputs a lot of oomph into my headset. Nice
device.
44100 or 48000 Hz, 16-bit stereo. Has mute volume
ioctl(fd, SETVOLUME, vol); is more comfortable.
ah, but how about
echo volume 50 /dev/audioctl
for understandability?
Sape
P.S. This doesn't mean I'll ever *forgive* Andy Tannenbaum for spurring
the creation of Linux.
This is how myths are born. Andy Tanenbaum (one n) had nothing to do with
Linux. He started Minix. Maybe the existence of Minix played a role in Linus'
decision to start Linux, maybe not.
Hello,
I'm not sure if I'm misunderstanding this but,
i need to write to a ctl file some commands,
so to parse them correctly i need the complete
command (commands file should be 10k or so, but
may be more).
How can I know when a write is finished to start
parsing the commands? (i
how about someone (or two) experts write the standard?
worked for KR.
brucee
That worked. The UMTS standard, in contrast, was done by 4000 people
and, trust me, it shows. I ran a received configuration message (30 bytes or
so) through the ASN-1 decoder and ended up with a 5 megabyte C
Or Ajax, the Unix system call server for Amoeba.
and the dutch football team.
Lets not forget Ajax(r) the toilet bowl cleaner.
Just to be clear, Sape is saying that if you boot and
sometimes you use one file server as root and sometimes
you use a different one, then cfs will use the data cached
on behalf of the first one when you're using the other
one.
That was indeed what I meant.
Is there not a simple mechanism
Are you using caching?
not that I'm aware of.
Would/does it make a difference?
good question.
experience, anyone?
What speed is the link?
cable modem, I think it is 1024/256.
I've connected through cfs for years but gave it up now that I have to connect
to more than one file
Beware of the latency.
Plan B usage shows that latency is the biggest problem.
That's funny. We've been working on a low-latency wireless comms protocol
here at the Labs that we've called Plan B (our wireless emulator runs on Plan 9,
of course), because we'd come to the conclusion that
I am a PhD student at Indiana University working on the application of
some Plan 9 related to the embedded domain. Specifically I am looking at
embedded debugging, configuration and device management using the
distributed virtual filesystem model. I have looked at a few
different types of
could it be that some other process is stealing bytes
out of the uart? how do i make sure that's not happening?
that's really unlikely given that the kernel is splhi
looping to poll the uart.
I don't think another process is stealing bytes but I do sympathize
with anybody having uart
I don't anticipate any change to the sources and web infrastructure.
i thought the more important thing would be
what might happen to the espresso machine.
Don't worry about that. We will hang on to that if it's the last thing we do.
Sape
and the article itself:
http://www.unixreview.com/documents/s=9846/ur0508l/ur0508l.html
text:
Dept. 1127: going, Going, GONE! by Peter H. Salus
In 1969, UNIX was created at Bell Labs.
For decades, the source of the ATT dialect of UNIX came from the
researches of workers in
http://www.unixreview.com/documents/s=9846/ur0508l/ur0508l.html
Does this have any impact on Jim and Russ?
Will this affect the sources and web infrastructure at all?
No.
Nothing more than general interest but what hardware
does the ppc and mtx ports in the current distribution
relate to?
The port in mtx is for a mini processor board that we have used to
build tunneling devices for people to connect to the work network
from home. We call them `bricks'.
I'm not familiar with the SA1110 architecture nor the Bitsy
code, and I have a few questions about it.
The Bitsy is an SA1100, if I'm not mistaken. There's not a great
deal of difference between ARM processors. The bitsy has no
floating point, but there is a floating poiunt emulator in Plan
56 matches
Mail list logo