[BusyBox] Re: Simple telnet updates
Erik Andersen
andersen at lineo.com
Tue Jun 13 07:44:30 UTC 2000
On Tue Jun 13, 2000 at 10:17:50AM +0300, Tomi Ollila wrote:
> Hi
>
> (I sent similar mail to you last friday, but due to our company mailserver
> problems it apparently never reached you -- and unfortunately I was stupid
> enough not to save local copy...)
>
> I've done some updates to the telnet client I sent you last week. Those are
> mostly code cleanups...:
>
> outputstrings() is simplified.
>
> It now uses defines for allocated buffer sizes (and when data is read to
> those):
>
> It has possibility to use poll() instead of select(). This increases
> efficienncy and reduces code size over 100 bytes (of course to have effect
> on busybox, all select()s should be changed to poll()s -- I can take a look
> on that lated.
>
> Now program suspension ('z') works.
>
> And one minor bug was found -- I used fd 0 to write telnet output to the
> console -- that is now fixed to one.
>
> The updated source code is atttached below.
>
> I have also updated that software to work as a simple telnet daemon -- or
> to work as a simple netcat, i.e. not handling telnet negotiations. Also,
> this "further work" can also execute a separate process and handle network
> traffic to/from it (a.la. inetd, with the execption that telnet
> negotiations can be filtered). I utilize this program in `tomsrtbt' and it
> is possible that Tom Oehser even adds it to his single floppy distribution.
>
>
Very cool. I was about to integrate your last version (but I am getting
sortof sleepy). I will check out the new version when I get to work in
the morning and probably add it. More thoughts in the morning, and thanks
for your help,
-Erik
--
Erik B. Andersen email: andersen at lineo.com
--This message was written using 73% post-consumer electrons--
More information about the busybox
mailing list