Re: [9fans] sshserve.c

2008-04-15 Thread Bruce Ellis
On Wed, Apr 16, 2008 at 12:29 PM, Russ Cox <[EMAIL PROTECTED]> wrote: > > Using MacFUSE + sshfs, I have: > > -bash$ sshfs ar.aichi-u.ac.jp: /n/ar > > remote host has disconnected > > -bash$ > > Then /sys/log/ssh says: > > ar Apr 16 07:53:15 [359853] connect from 124.241.154.

Re: [9fans] sshserve.c

2008-04-15 Thread Russ Cox
> Using MacFUSE + sshfs, I have: > -bash$ sshfs ar.aichi-u.ac.jp: /n/ar > remote host has disconnected > -bash$ > Then /sys/log/ssh says: > ar Apr 16 07:53:15 [359853] connect from 124.241.154.73!53142 > /bin/aux/sshserve: reading server version: unexpected EOF I don'

Re: [9fans] sshserve.c

2008-04-15 Thread Roman V. Shaposhnik
On Tue, 2008-04-15 at 19:17 -0400, erik quanstrom wrote: > > Because it screws up conversation order. > > that depends if you think a conversation is a stack or a heap. And even if it is a stack -- which way it grows. Thanks, Roman.

Re: [9fans] sshserve.c

2008-04-15 Thread erik quanstrom
> Because it screws up conversation order. that depends if you think a conversation is a stack or a heap. - erik

Re: [9fans] sshserve.c

2008-04-15 Thread Kenji Arisawa
Thanks Pietro, I am glad if someone can help me. Using MacFUSE + sshfs, I have: -bash$ sshfs ar.aichi-u.ac.jp: /n/ar remote host has disconnected -bash$ Then /sys/log/ssh says: ar Apr 16 07:53:15 [359853] connect from 124.241.154.73!53142 /bin/aux/sshserve:

Re: [9fans] sshserve.c

2008-04-15 Thread john
eric quanstrom <[EMAIL PROTECTED]> wrote: > > please explain why bottom posting is better. > > - erik > > p.s. ☺ Because it screws up conversation order. >Why is top-posting bad? >>Top-posting. >>>What is the most annoying thing on Usenet?

Re: [9fans] sshserve.c

2008-04-15 Thread erik quanstrom
>> Yup. usage() is calling itself with no termination condition - and >> what's more, it is tail recursing. It should be >> >> void >> usage(void) >> { >> fprint(2, "usage: sshserve [-A authlist] [-c cipherlist] >> client-ip- >> address\n"); >> exits("u

Re: [9fans] sshserve.c

2008-04-15 Thread Pietro Gagliardi
On Apr 15, 2008, at 6:34 PM, [EMAIL PROTECTED] wrote: Yup. usage() is calling itself with no termination condition - and what's more, it is tail recursing. It should be void usage(void) { fprint(2, "usage: sshserve [-A authlist] [-c cipherlist] client-ip

Re: [9fans] sshserve.c

2008-04-15 Thread john
> Yup. usage() is calling itself with no termination condition - and > what's more, it is tail recursing. It should be > > void > usage(void) > { > fprint(2, "usage: sshserve [-A authlist] [-c cipherlist] > client-ip- > address\n"); > exits("usage"

Re: [9fans] sshserve.c

2008-04-15 Thread Pietro Gagliardi
Yup. usage() is calling itself with no termination condition - and what's more, it is tail recursing. It should be void usage(void) { fprint(2, "usage: sshserve [-A authlist] [-c cipherlist] client-ip- address\n"); exits("usage"); } to keep w

[9fans] sshserve.c

2008-04-15 Thread Kenji Arisawa
Hello, In sshserve.c: void usage(void) { fprint(2, "usage: sshserve [-A authlist] [-c cipherlist] client-ip- address\n"); usage(); } This code can make endless loop. Right? Kenji Arisawa

Re: [9fans] dc(1) questions

2008-04-15 Thread Harri Haataja
On 15/04/2008, Anthony Martin <[EMAIL PROTECTED]> wrote: > 3. Is it wrong to love bc(1) for being a compiler? ;) In my opinion, absolutely not. I wish more software was. <3 -- I appear to be temporarily using gmail's horrible interface. I apologise for any failure in my part in trying to make i

Re: [9fans] Writing drivers in Plan 9

2008-04-15 Thread hugo rivera
> it should be in the manul pages. try > ; lookman usb Great! thanks Hugo

Re: [9fans] Writing drivers in Plan 9

2008-04-15 Thread erik quanstrom
> So, this means that I never have to deal with usb interfaces? > Can you point me some documentation about this? > > Hugo it should be in the manul pages. try ; lookman usb - erik

Re: [9fans] Writing drivers in Plan 9

2008-04-15 Thread hugo rivera
> probablly not. the usb stuff is all accessable from userland. usbd > runs in user space as do all the clients of usb -- usb/disk usb/mouse, etc. So, this means that I never have to deal with usb interfaces? Can you point me some documentation about this? Hugo

Re: [9fans] Writing drivers in Plan 9

2008-04-15 Thread erik quanstrom
> Thanks for your feedback. > Now, I think I am going to start by trying to understand a little > about the Dev interface you talk about, and then continue to write a > real driver for a gamepad that I have. > Is there any documentation that describes this Dev interface? > This is a usb gamepad, so

Re: [9fans] Writing drivers in Plan 9

2008-04-15 Thread hugo rivera
Thanks for your feedback. Now, I think I am going to start by trying to understand a little about the Dev interface you talk about, and then continue to write a real driver for a gamepad that I have. Is there any documentation that describes this Dev interface? This is a usb gamepad, so probably I

[9fans] telnet vs. godaddy whois

2008-04-15 Thread erik quanstrom
does anyone know why telnet has trouble with this? ; echo godaddy.com|telnet -nr /net.alt/tcp!whois.godaddy.com!43 connected to /net.alt/tcp!whois.godaddy.com!43 on /net.alt/tcp/12 ; from a similarly-connected linux machine, linux telnet returns a lengthy answer. - erik

Re: [9fans] Writing drivers in Plan 9

2008-04-15 Thread a
> i think this confuses implementing a Dev interface with writing > a device driver. for many devices, the Dev interface is already > taken care of. for example, serial, ethernet, disk devices using > sd implement an interface to devsd, ethernet. i think the Dev interface is still the right plac

Re: [9fans] Writing drivers in Plan 9

2008-04-15 Thread erik quanstrom
> Given that you're already into Inferno as well as Plan 9, I > think a really nice way to get into driver development is > with emu drivers for Inferno. The basic structure is the > same as for native OS drivers in either system: implement > a small set of entry points (fooattach, fooread, &c), >

[9fans] dc(1) questions

2008-04-15 Thread Anthony Martin
1. Bc(1) has the idea that the last function letter is 'z', corresponding to decimal 26 in dc(1)'s stable[]. However, dc only gives an error for undefined functions up to LASTFUN ... _octal_ 026. Which is correct? My bets are with bc. 2. Why is there no mention of register notation

Re: [9fans] Writing drivers in Plan 9

2008-04-15 Thread erik quanstrom
> Hello: > I've been using Inferno and Plan 9 for almost a year. I certainly love > Plan 9's ideas and concepts, and I'd be glad to finally move forward > and leave Unix behind, but for now it is imposible for me, since my > work does not allow me this (I do data analysis for some physics > experim

Re: [9fans] delay with keyboard input on bootloader

2008-04-15 Thread Stefan Hajnoczi
Do you mean the 9load prompts have unpredictable delays when echoing keyboard input? I noticed this recently when playing with Plan 9 on the Eee PC. Sometimes it works fine and the keyboard is responsive, other times there is a long delay before anything gets echoed. Stefan

Re: [9fans] standalone authserver on CF card

2008-04-15 Thread Matthias Teege
> Isn't Mathias going to build stand alone _authserver_, but cpu server? Yes, I'm going to build a standalone authserver. I do not need it as a CPU Server. > If he wants to make authserver on CF card, I recommend him to use > kfs for CF card. I'm using this from may 2004 without any problem. T

[9fans] delay with keyboard input on bootloader

2008-04-15 Thread Brad Frank
Anyone else notice the latest builds of plan9 have a delay with keyboard input from the bootloader?

Re: [9fans] standalone authserver on CF card

2008-04-15 Thread kokamoto
> yes. it works fine. however, if you have an internet-facing network > with abused protocols such as ftp, Isn't Mathias going to build stand alone _authserver_, but cpu server? If he wants to make authserver on CF card, I recommend him to use kfs for CF card. I'm using this from may 2004 wi

Re: [9fans] Writing drivers in Plan 9

2008-04-15 Thread a
Given that you're already into Inferno as well as Plan 9, I think a really nice way to get into driver development is with emu drivers for Inferno. The basic structure is the same as for native OS drivers in either system: implement a small set of entry points (fooattach, fooread, &c), making use o

[9fans] Writing drivers in Plan 9

2008-04-15 Thread hugo rivera
Hello: I've been using Inferno and Plan 9 for almost a year. I certainly love Plan 9's ideas and concepts, and I'd be glad to finally move forward and leave Unix behind, but for now it is imposible for me, since my work does not allow me this (I do data analysis for some physics experiment using Ce

Re: [9fans] standalone authserver on CF card

2008-04-15 Thread Matthias Teege
> me this last weekend. For low volume you might want to stick to 4801's, > although they are getting harder to find. If you need a 5501 you might > want to wait for the next BIOS upgrade. I have both systems "in stock" so I can try. Thanks for that hint. I have the CF booting problem on the 550