dbTalk Databases Forums  

exit better than off when telnetted to d3/nt?

comp.databases.pick comp.databases.pick


Discuss exit better than off when telnetted to d3/nt? in the comp.databases.pick forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Frank Winans
 
Posts: n/a

Default exit better than off when telnetted to d3/nt? - 07-28-2005 , 01:15 PM






I telnet in to either d3/linux or d3/nt each day;
at the end of the day I do EXIT from d3/linux,
as that drops the telnet session and frees up
the dynamically-assigned pick port number.
But I do OFF from d3/nt at the end of the
day since EXIT doesn't seem to drop the
telnet connection. Is avoiding EXIT from
d3/nt ill-advised?



Reply With Quote
  #2  
Old   
Craig Taylor Equipment
 
Posts: n/a

Default Re: exit better than off when telnetted to d3/nt? - 07-28-2005 , 03:46 PM






From our experience using D3/NT:

Using "exit" on a dynamically assigned telnet session frees up the port.
Using "off" leaves the port open to log on again.

Using "exit" on a serial port will remove (dev-remov) that port, so always
use an "off".
To use the serial port again after an exit you would have to do a dev-make.

And I would think using an "exit" on a nailed telnet port would remove that
port, use an "off".

Frank Winans wrote:
Quote:
I telnet in to either d3/linux or d3/nt each day;
at the end of the day I do EXIT from d3/linux,
as that drops the telnet session and frees up
the dynamically-assigned pick port number.
But I do OFF from d3/nt at the end of the
day since EXIT doesn't seem to drop the
telnet connection. Is avoiding EXIT from
d3/nt ill-advised?



Reply With Quote
  #3  
Old   
stefano
 
Posts: n/a

Default Re: exit better than off when telnetted to d3/nt? - 07-28-2005 , 05:18 PM



Craig Taylor Equipment ha scritto:
Quote:
From our experience using D3/NT:

Using "exit" on a dynamically assigned telnet session frees up the port.
Using "off" leaves the port open to log on again.

Using "exit" on a serial port will remove (dev-remov) that port, so always
use an "off".
To use the serial port again after an exit you would have to do a dev-make.

And I would think using an "exit" on a nailed telnet port would remove that
port, use an "off".
No, the nailed port is not removed - You can telnet to that port w/o the
need to do a dev-make
Quote:

Reply With Quote
  #4  
Old   
Bill H
 
Posts: n/a

Default Re: exit better than off when telnetted to d3/nt? - 07-30-2005 , 02:26 PM



Frank:

I use "OFF" in both platforms. When I look at the NT connections, via
NT_PINFO, the ports are freed up. On Linux a "ps aux" shows the PID also
removed (mostly). If the PID isn't removed a "PID *" will display the Linux
PIDs attached to D3 ports. If one exists you want to get rid of you can
issue the D3 command "KILL P{n}" where "{n}" is the D3 port# to kill the
underlying Linux PID for.

I have the line "DCD (NS" in each user's macro (in both NT and Linux) and
the line "TRAP DCD EXIT" in the "user-coldstart" of Linux only (it doesn't
seem to matter with NT on my laptop).

Hope this helps.

Bill

"Frank Winans" <fwinans (AT) sbcglobal (DOT) net> wrote

Quote:
I telnet in to either d3/linux or d3/nt each day;
at the end of the day I do EXIT from d3/linux,
as that drops the telnet session and frees up
the dynamically-assigned pick port number.
But I do OFF from d3/nt at the end of the
day since EXIT doesn't seem to drop the
telnet connection. Is avoiding EXIT from
d3/nt ill-advised?





Reply With Quote
  #5  
Old   
Kilo MicroAir
 
Posts: n/a

Default Re: exit better than off when telnetted to d3/nt? - 07-30-2005 , 08:17 PM



Bill,

Do the same as you and also added a timeout to most users macros.
Also have copied exit and off to :exit and ff in the md, then written a
exit and off bp program
to check ports to determine if I really want to exit (:exit) or logoff
(ff).
This worked good both on D3/NT and D3/SCO.
Never do an exit on a serial port on D3/NT, it will do a dev-remov of that
serial port.

Bill H wrote:
Quote:
Frank:

I use "OFF" in both platforms. When I look at the NT connections, via
NT_PINFO, the ports are freed up. On Linux a "ps aux" shows the PID
also removed (mostly). If the PID isn't removed a "PID *" will
display the Linux PIDs attached to D3 ports. If one exists you want
to get rid of you can issue the D3 command "KILL P{n}" where "{n}" is
the D3 port# to kill the underlying Linux PID for.

I have the line "DCD (NS" in each user's macro (in both NT and Linux)
and the line "TRAP DCD EXIT" in the "user-coldstart" of Linux only
(it doesn't seem to matter with NT on my laptop).

Hope this helps.

Bill

"Frank Winans" <fwinans (AT) sbcglobal (DOT) net> wrote in message
news:gh9Ge.1971$gt5.1907 (AT) newssvr17 (DOT) news.prodigy.com...
I telnet in to either d3/linux or d3/nt each day;
at the end of the day I do EXIT from d3/linux,
as that drops the telnet session and frees up
the dynamically-assigned pick port number.
But I do OFF from d3/nt at the end of the
day since EXIT doesn't seem to drop the
telnet connection. Is avoiding EXIT from
d3/nt ill-advised?



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.