HP3000-L Archives

April 1998, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Doug Werth <[log in to unmask]>
Reply To:
Doug Werth <[log in to unmask]>
Date:
Fri, 17 Apr 1998 09:09:07 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (70 lines)
Paul,

You can send an escape sequence (esc&oF RCLcommand) to the session, which
Reflection will act upon, to execute an RCL command. The RCL command EXIT
will close the Reflection window or EXIT to DOS in those versions. It could
be done in a user's logonudc if it contains the BYE command in it:

LogonUDC
option logon
file ...
continue
run menuprog
setvar _esc,chr(27)
echo !_esc&oFexit
bye

If you really wanted to get fancy you could customize the system catalog for
the logoff banner (CPU=1. Connect=1. FRI, APR 17, 1998,  8:59 AM.
esc&oFexit) The really nice thing with this method is that you know the BYE
command was executed before the session logs off. The down side is having to
customize it again each time the operating system is updated.

It would be nice if there was an OPTION LOGOFF type of UDC to correspond
with OPTION LOGON. It would also be nice if there was a SYSSTOP file that
was invoked during a =SHUTDOWN. I'm not sure how the timing of it would work
but it would be nice nonetheless.

Doug Werth                                     Beechglen Development Inc.
[log in to unmask]                                       Cincinnati, Ohio

The opinions expressed do not necessarily represent the views or opinions
of Beechglen Development. They might, but not necessarily. They represent
solely the opinions of the author.

-----Original Message-----
From: Paul H. Christidis <[log in to unmask]>
To: [log in to unmask] <[log in to unmask]>
Date: Friday, April 17, 1998 7:19 AM
Subject: Exit on Disconnect


>Fellow Listers,
>
>I send the following message to WRQ a few days ago.  The recommended
>solution is not general enough since it assumes that all the Reflection
>connections will be established using the 'Visual Basic' form of the
>emulator.
>
>Does anyone have such a 'goodie' in their back of tricks?
>
>Regards
>Paul H. Christidis
>*******************************************
>To [log in to unmask]
>
>Is there some type of setting within Reflection that would automatically
>exit Reflection once the connection was dropped? (I do NOT mean 'disconnect
>on exit').
>
>If such a setting is not available, is it possible for the host to send an
>'EXIT' command to Reflection  and thus remotely terminate the connection
AND
>also shut down the application?
>
>If the answer is yes to either one or both, could you please provide the
>correct syntax.
>
>Regards
>Paul H. Christidis

ATOM RSS1 RSS2