Francisco J Ballesteros | 4 Feb 17:12 2007

manual page fix

The manual for styxservers(2) forgot  to mention replychan and replydirect.

BTW, any other place where to send any fix I might do in the
future? For our "plan C", the octopus, we are using Inferno as the platform, and
it is likely that we might help a little bit in the process.

hth
Attachment (styxservers): application/octet-stream, 28 KiB
Dan Cross | 6 Feb 17:23 2007
Picon

[plus <at> earthlink.net: Michael Baldwin 1964-2007]

9fans and Inferno fans:

    It is with great sadness that I report the death of one of our own.
Michael Baldwin, who worked at the labs for some time and later at Vita
Nuova, died last night after a brief battle against cancer.  Michael was,
perhaps, most famous in our community for writing the `pq' implicit
relational database that comes with the plan9 distribution.  He was also
a terrific guy in real life, and will be sorely missed.

    Arrangements are still pending, but you can find the preliminaries in
the forwarded message below.  If you'd like more information, please send
me email directly and I'll try to keep you informed as I find out details
(I plan on sending another email to 9fans and infero-list once things are
finalized, however).

        - Dan C.

----- Forwarded message from Paul C Lustgarten <plus <at> earthlink.net> -----

From: Paul C Lustgarten <plus <at> earthlink.net>
Subject: Michael Baldwin 1964-2007
Date: Tue, 6 Feb 2007 09:17:47 -0500

Matthew's message from last night says it well ...

Begin forwarded message:

>From: Lara Guerra and Matthew Diaz <home <at> guerradiaz.com>
>Date: February 5, 2007 9:49:08 PM EST
>Subject: Michael
(Continue reading)

Arvindh Rajesh Tamilmani | 7 Feb 19:44 2007
Picon

pipefs

An attempt at implementing the user-level file system mentioned in
Plan 9's pipefile(1).

	http://www.tip9ug.jp/who/art/inferno/pipefs.b

I invoke it in acme-sac's /startrc as:

	pipefs -a -r 'tr -d \xd' -w 'tcs -f tune' '#^' /chan

to filter reads and writes to /chan/snarf.  The -r command filters out
'\r' characters while pasting text from Windows applications.  When
TUNE encoded Tamil text (composed using ktrans) is copied from
acme-sac, the -w command converts it to Unicode Tamil.

Pipefs operates on regular files also:

	% pipefs -r 'tr -d \xd' '#Uc:/' /n/c

	% pipefs -c -r 'os gunzip -f' -w 'os gzip -f' dir /n/gzipdir
	% cp file /n/gzipdir/file.gz

This implementation doesn't honor write offsets, rewrite file sizes in
Rstat messages or handle all possible error conditions.

Arvindh

Ralph Moritz | 12 Feb 09:19 2007

NEWBIE: Why do hd & tl not raise an exception?

Hi everyone,

I've just started learning Limbo, and stumbled across what I consider 
to be strange behaviour.

implement Broken;

include "sys.m";
include "draw.m";

sys: Sys;

Broken: module
{
	init: fn(ctxt: ref Draw->Context, argv: list of string);
};

init(ctxt: ref Draw->Context, argv: list of string)
{
	sys = load Sys Sys->PATH;

	{
		hd tl ("red :: nil);
	} exception {
		* =>
			sys->print("Caught an exception\n");
			exit;
	}
}

(Continue reading)

Abhey Shah | 12 Feb 13:01 2007
Picon

Re: NEWBIE: Why do hd & tl not raise an exception?

Worked fine when I just ran it, it caught the exception.
I'm using the latest  inferno release on os x if that makes any  
difference. oh and I put in the extra ".
On 12 Feb 2007, at 08:19, Ralph Moritz wrote:

> Hi everyone,
>
> I've just started learning Limbo, and stumbled across what I consider
> to be strange behaviour.
>
> implement Broken;
>
> include "sys.m";
> include "draw.m";
>
> sys: Sys;
>
> Broken: module
> {
> 	init: fn(ctxt: ref Draw->Context, argv: list of string);
> };
>
> init(ctxt: ref Draw->Context, argv: list of string)
> {
> 	sys = load Sys Sys->PATH;
>
> 	{
> 		hd tl ("red" :: nil);
> 	} exception {
> 		* =>
(Continue reading)

Ralph Moritz | 12 Feb 13:38 2007

Re: NEWBIE: Why do hd & tl not raise an exception?

Abhey Shah <as234@...> writes:

> Worked fine when I just ran it, it caught the exception.
> I'm using the latest  inferno release on os x if that makes any
> difference. oh and I put in the extra ".

Yes, sorry about the missing `"'. When I run the program under Inferno
20070202 hosted on Slackware Linux 11, it causes a segfault and gets
suspended in a broken state. (It appears as broken in the Task
Manager)

Regards,
Ralph

maht | 12 Feb 14:21 2007
Picon

Re: NEWBIE: Why do hd & tl not raise an exception?


>When I run the program under Inferno
>20070202 hosted on Slackware Linux 11, it causes a segfault and gets
>suspended in a broken state. 
>
That is unfortunate.

FreeBSD 6.0 : Exception caught

Salva Peiró | 12 Feb 21:05 2007
Picon

Re: using Inferno on Palm

Hi,
after reading the reference to T3 in the inferno-os/wiki
I've put a more up-to-date description of the port,
so I've wrote a small TODO [there], and tarred my latest modifications.

next thing I'll like to take care is to make mc/fc work,
and see what prevents running emu with jit enabled.
Regards,

[there] http://caerwyn.com/lab/67/
--

-- 
salva

kensmith p | 13 Feb 10:10 2007
Picon

How to search a string from a file.

Hi, Here i'm facing problem to read the particular string from a file.
I am using sys->open with OREAD to read the file from a path. After
retriving all the contents from the file. I am facing a problem to
search the particular string is there or not.

Please any one help me to come up from this issue. If possible give
some sample codes.

Thanks,
Ken

Felipe Bichued | 13 Feb 11:24 2007
Picon

Re: How to search a string from a file.

Hi,

There are many algorithms for doing string matching, but you can
always take the easy road and use regular expressions.

For an example I'll point you to the obvious one: /appl/cmd/grep.b

Regards.

On 2/13/07, kensmith p <kensmithp@...> wrote:
> Hi, Here i'm facing problem to read the particular string from a file.
> I am using sys->open with OREAD to read the file from a path. After
> retriving all the contents from the file. I am facing a problem to
> search the particular string is there or not.
>
> Please any one help me to come up from this issue. If possible give
> some sample codes.
>
> Thanks,
> Ken
>

--

-- 
Felipe


Gmane