SPONSORED LINKS
Go to Google Groups Home
Groups 
Advanced Groups Search    Preferences    Groups Help 
 
View with framesSorted by reply  Sort by date
All messages from thread "Program that makes telnet socket emulate COM port"
  
Message 1 in thread
From: Mr. Big One (big-one@vt.edu)
Subject: Program that makes telnet socket emulate COM port
 
View this article only
Newsgroups: comp.os.linux.development.apps
Date: 1995/09/26
Does anyone know of a program for Linux that could make a telnet
socket emulate a COM port? (like /dev/cuaX)

Basically, I want to be able to use MS-DOS based BBS software over
thru a telnet connection.

It would be great if someone knew of a porgram that would allow me to
set my BBS to watch COM4, which is Dosemu I could say was /dev/cua3,
and then when someone would telnet to my machine, it would send a
"CONNECT" message thru the emulated serial port COM4 (aka /dev/cua3),
so the BBS would start sending data, and the driver would send all the
i/o meant for COM4 out the telnet socket.

There is a program that will do this for OS/2 called VMODEM. Does
anyone know of a program for linux? [or could write one]

Ken
Message 2 in thread
From: John Hendrickson (hendric@Primenet.Com)
Subject: Re: Program that makes telnet socket emulate COM port
 
View this article only
Newsgroups: comp.os.linux.development.apps
Date: 1995/09/28
In article <4497kt$epg@solaris.cc.vt.edu>, Mr. Big One <big-one@vt.edu> wrote:
>Does anyone know of a program for Linux that could make a telnet
>socket emulate a COM port? (like /dev/cuaX)
>
>Basically, I want to be able to use MS-DOS based BBS software over
>thru a telnet connection.
>
>It would be great if someone knew of a porgram that would allow me to
>set my BBS to watch COM4, which is Dosemu I could say was /dev/cua3,
>and then when someone would telnet to my machine, it would send a
>"CONNECT" message thru the emulated serial port COM4 (aka /dev/cua3),
>so the BBS would start sending data, and the driver would send all the
>i/o meant for COM4 out the telnet socket.
>

I know this is cheap, but it works for me and I use it all the time.

In my dosemu.conf file I setup a comm port pointing to a pty and then
on a spare terminal I run tintin with the input and output redirected to
the slave portion of the pty.  This allows me to use the redifinable keys
that Telix gives me with the convinience of tintin running over PPP.

I suppose you could wrap a program around it to actually allocate the
pty and exec what ever program based on commands sent through the pty
but I am too busy playing mud.  *grin*  And working for a living.
--
-------------------------------------------------------------------------------
John Hendrickson       Sr. Sysadmin       __  __     ____  ___       ___ ____
hendric@primenet.com   Princess Cruises  /__)/__) / / / / /_  /\  / /_    /
http://www.primenet.com/~hendric        /   / \  / / / / /__ /  \/ /___  /
  

©2002 Google