[Trlog] TRlog under Linux! : Packet

R. Torsten Clay tclay at netdoor.com
Sun Nov 9 10:56:05 EST 2003


> > 
> > Can you run telnet in another x-window and feed spots to TR?  Now THAT 
> > would be cool!
> > 
> > 73,
> > Charlie  N9CO
> 
> You can do this with pseudo terminals. I tried this when I was playing with
> trlog under linux, but since I never use packet I haven't done this for
> a while.  Here is what I wrote in my notebook.
> 
> In the dosemu.conf you need to point one of the com ports to an unused
> pseudo terminal with for example the line:
> 
> $_com1 = "/dev/ptyq1"
> 
> In that case /dev/ptyq1 will be the master, and the slave will be /dev/ttyq1.
> You then fire up anything you want using /dev/ttyq1 for io. I don't have
> a telnet daemon running so I tested it with secure shell.
> For it I just typed, in another window:
> ssh < /dev/ttyq1 > /dev/ttyq1 localhost
> to log in to localhost. The input and output will be sent to /dev/ptyq1 
> which is com1 under trlog. You can then connect to anything you want 
> from trlog. Normally pseudo ttys will work run under root, so I think dosemu
> must be given root privileges for this to work, but as I said I haven't
> tried this for a while.
> 
> 73 Kevin w9cf

Thanks Kevin, that's what I was looking for. I put

 $_com3 = "/dev/ptyq1"

in /etc/dosemu/dosemu.conf to make the packet port COM3, which does not 
physically exist on my machine. Then after I get TR running in its window, 
I do this in another window (as root):

 telnet < /dev/ttyq1 > /dev/ttyq1 209.147.70.241

(substitute the IP/address for your favorite cluster). The only small
glitch I found was that "enter" didn't work in the TR packet window for
some reason. Something to do with key mapping? But pressing Ctrl+Enter
instead worked fine.

Torsten 
N4OGW



More information about the Trlog mailing list