Hello
I have a login script I attach to entries in my dialing directory. I recently added the "termreset" command at the front of the script and it works great to clear scroll back and terminal settings from the previous connection.
The problem I have run into is sometimes due to inactivity the equipment I connect to will log me out. It does not disconnect me just logs me out and when this happens I click a meta key that has the LOGI script attached to it to log back in. I would prefer that The screen does not reset in this instance. I know that one obvious answer is to have two login scripts. One with the termreset and one without but it seems like there should be a way I can have the one login script look at the connect time and if connected greater then 1 minute do not termreset. I searched the aspect commands and cannot seem to find anything to help me look at time connected?
Any Ideas?
I have a login script I attach to entries in my dialing directory. I recently added the "termreset" command at the front of the script and it works great to clear scroll back and terminal settings from the previous connection.
The problem I have run into is sometimes due to inactivity the equipment I connect to will log me out. It does not disconnect me just logs me out and when this happens I click a meta key that has the LOGI script attached to it to log back in. I would prefer that The screen does not reset in this instance. I know that one obvious answer is to have two login scripts. One with the termreset and one without but it seems like there should be a way I can have the one login script look at the connect time and if connected greater then 1 minute do not termreset. I searched the aspect commands and cannot seem to find anything to help me look at time connected?
Any Ideas?