> Hiya.
>
> I'm looking for a way to "fake" a telnet session as a serial port under
> dosemu (legacy application uses serial ports to communicate and we need to
> make it use telnet instead).
>
> I've had some success with using $_com2 = "/dev/ttyp4" (for eg) but can't
> get the input going in both directions properly. (and have problems with not
> being able to open the current VT). Since the 16550 code creates entirely
> virtual UARTs, I can't see why this can't be done, or why it hasn't been
> done already.
>
> If anyone has any experience in this sort of task, or pointers towards a
> setup that does it, I'd be grateful. If not, I guess me/somebody has to
> write it :)

I had a similar problem... I wanted to put up a DOS based BBS, and have
it accessed via the Internet instead of a modem.  I solved the problem by
throwing hardware at it - I used a null modem to a Portmaster serial port,
which can connect to an incoming TCP connection.  

I looked at trying to do it without the hardware, which would be preferable,
but I didn't get too far.  I think to work well, it would have to be
implemented inside the emulator itself.  I don't know what you could tell
when the aplication has opened the port otherwise, and you'd also have
to fake a modem's response codes for outbound connections.

-- 
     /// Stefan Hudson <[EMAIL PROTECTED]>  
__  /// Senior Network Administrator - Monterey Bay Internet
\\\/// http://www.mbay.net/  -  Email: [EMAIL PROTECTED]
 \XX/ Voice: 831-642-6100  Fax: 831-642-6101  Modem: 831-642-6102

Reply via email to