[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MiNTlib (I think I'm on pl43): Bug in sprintf().



> Well I've had a fun weekend trying to get the NET/2 BSD version of
> telnet/in.telnetd running and... I've got telnet working.

Hmm, I'm sorry not having mentioned it before you started to port....
I've already done working ports of telnet and telnetd and have not up-
loaded them because I wanted to do some more tests. :(

But I'll do it today...

[sprintf stuff deleted]

> PPS. in.telnetd isn't working.. well it is, partially, it doesn't echo
> characters and it loses the first character of every packet it sends! I've
> tested telnet by calling my Sun 3/80 and in.telnetd by calling it from the
> Sun.

This is due to PTY packet mode, which is not supported by Mint. Look for
ioctl ( , TIOCPKT, ) and the main select loop.

> PPPS. MiNTnet's PPP device works well, except for when there's a data
> overrun when it gets hopelessly confused and has to be restarted (after
> clearing the serial port input buffer using kermit).

Hmm, do you use HSmodem or some such serial routine replacement (or even
modm0dev)? And what buffers do overflow, the BIOS recv and/or send buffers?

There might be a bug in the circular buffer handling in MintNet, which I
don't believe (SLIP uses nearly the same code), have to look at it.

What seems more likely is a problem with the wakeselect on the BIOS devices.
PPP input uses a deamon to receive and send data from/to the serial port
selecting the devices. What I have noticed is that when using the Mint
builtin drivers with Howards select patches applied then input data comes
in rather largish hunks, ie the wakeup seems not to occur always immediatly
after data has arrived. But I never noticed complete hangs...

Migh this be a bug in checkbttys or is this 'normal', Howard?

I have HSmodem running with 4k receive buffers at 19200.

> Kay, could you get your
> slattach to set the baud rate of the serial port using a command line option
> please so I can place the PPP startup in an rc file and not use kermit to
> set the port speed.

Well, I usually do an
stty speed 19200 < /dev/ttya
for setting the terminals speed. If you find it better to have only one
program I might add it when I get more time (not until 15th of July).

Kay.