[Info-vax] Reverse telnet to a terminal emulator?
Snowshoe
no at spam.please
Wed Jul 20 17:44:48 EDT 2011
On 7/20/2011 4:40 PM, Jan-Erik Soderholm wrote:
> Snowshoe wrote 2011-07-20 20:49:
>> How does this pseudoterminal stuff help me find a PC client terminal
>> that I
>> can connect to? (I know of TELNET> CREATE_SESSION, I just need something
>> for it to talk _to_)
>
> Now. A few questions. Your application, does it connect using an
> IPaddress/port ? Or does it talk to some TNAnnnn: port created
> using TELNET CREATE ?
It doesn't exist (in the new form) yet. Right now, it allocates and
talks to a hardwired serial port. I want to change it so I connect to a
PC running a terminal emulator on the net. Easiest way is to do
TELNET> CREATE_SESSION, which connects to the PC running vaporware, and
the code talks to the resulting TNAxxx: device.
> Obviously you do not have anything on the PC to CONNECT to.
Thus my original question (is there such a thing?)
> I would try with the following setup.
>
> Start your client terminal emulator using a startup script that does
> a logon to a user where a simple DCL script is runed that does more
> or less the following :
>
> $ my_term = f$trnlnm("sys$command")
> $ def/sys app_consol 'my_term' ! Or some /table=app_lnmtab or something...
>
> Now your have a local pointing to your dynamic TNA port :
>
> $ sh log app_consol
> "APP_CONSOL" = "_TNA33:" (LNM$SYSTEM_TABLE)
>
> Then from your app :
>
> $ open/write my_consol app_consol
> $ write my_consol "Hey there!"
> Hey there!
> $
> $ close my_consol
>
> But from your code of course, in whatever language it is written.
Yes. Someone (I think it was you) suggested that, and it is probably
what I will wind up doing. Thanks.
More information about the Info-vax
mailing list