9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] multiple inputs
@ 2004-03-30  6:53 npe
  2004-03-30  8:22 ` matt
  0 siblings, 1 reply; 26+ messages in thread
From: npe @ 2004-03-30  6:53 UTC (permalink / raw)
  To: 9fans

How would one go about merging several files at once?

I'm working on a crappy little barebones AIM toc client running in plan 9. It tentatively implements itself as a file server like this

	/mnt/aim/buddies/bob/send # messages you send
	/mnt/aim/buddies/bob/recv # messages you get
	/mnt/aim/buddies/bob/status # away, idle etc...

messages are sent by
	echo hello>/mnt/aim/buddies/bob/send

and read by
	tail -f /mnt/aim/buddies/bob/recv

bots attach by:
	tail -f /mnt/aim/buddies/bob/recv | eliza >/mnt/aim/buddies/bob/send

I want to get functionality something like a traditional aim client by combining all three files, so new data in any of the three files come out at the same place(like doing three tail -f's in the same acme errors window).

What's the best way in Plan 9?

Also, is the interface reasonable(thanks to Andrey for the initial help)? Any other ideas?

Noah



^ permalink raw reply	[flat|nested] 26+ messages in thread
* Re: [9fans] multiple inputs
@ 2004-04-02  2:09 Noah Evans
  0 siblings, 0 replies; 26+ messages in thread
From: Noah Evans @ 2004-04-02  2:09 UTC (permalink / raw)
  To: 9fans

:) 

I picked up my bad habits when I figured out that I could make scheme eat syntax trees and spit out recognizers for particular patterns.

It's been downhill ever since. ;)

Noah

----- Original Message -----
From: Geoff Collyer <geoff@collyer.net>
Date: Thursday, April 1, 2004 8:48 pm
Subject: Re: [9fans] multiple inputs

> If you find any of that code that writes itself, send some my way.
> Clearly AI has achieved greater things than I'd realised.  ?
> 
> 



^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2004-04-02  2:09 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-30  6:53 [9fans] multiple inputs npe
2004-03-30  8:22 ` matt
2004-03-30 11:48   ` glenda
2004-03-30 14:03     ` matt
2004-03-30 12:10       ` glenda
2004-03-30 16:07         ` rog
2004-03-30 14:15           ` Noah Evans
2004-03-30 16:25         ` rog
2004-03-30 16:14           ` Noah Evans
2004-03-30 18:27             ` rog
2004-03-30 16:28               ` Noah Evans
2004-03-31 20:22             ` boyd, rounin
2004-04-01 13:01               ` Noah Evans
2004-04-01 15:31                 ` rog
2004-04-01 14:43                   ` boyd, rounin
2004-04-01 16:26                   ` Russ Cox
2004-04-01 17:36                     ` rog
2004-04-01 15:58                       ` Noah Evans
2004-04-01 18:42                         ` rog
2004-04-01 17:34                           ` Noah Evans
2004-04-01 19:47                             ` rog
2004-04-01 18:02                               ` Noah Evans
2004-04-02  1:48                                 ` Geoff Collyer
2004-04-01 20:04                             ` David Tolpin
2004-04-02  1:46                     ` Geoff Collyer
2004-04-02  2:09 Noah Evans

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).