Download PDF User Manual

Transcript
INSTALLING S/REXX ON WINDOWS
Setting the S/REXX Linger Time
The default value for the linger time is 5 minutes. To change the linger time, edit the
srexxusers file, and add the following line:
linger 10
Then, restart xserv. The linger time will be now set to 10 minutes. The linger time
allows a user to perform several edit and debug cycles without losing the license being used.
It is not recommended to set the linger time to low.
Logging Activity on UNIX systems
The license server xserv saves a log of its activity when started with the following
command:
% /home/xed/xserv -log /tmp/xserv.logfile /home/xed
Every time a user starts or ends using SEDIT, the logfile is updated, with information in the
following format:
xserv at 94/09/20 14:11:20:granting SEDIT license to process 8509 :0@C
xserv at 94/09/20 14:13:37:freeing SEDIT license from process 8509 @ C
Every time xinfo is used, the logfile is updated with the following information:
xserv(SEDIT): 1/2 1 available
...... hostname = C pid(s) = 8517@:0
To display the information requested by xinfo in a window other than the window xserv
was started from, type the following commands:
% xinfo
% cat /tmp/xserv.logfile
Usage Notes
Every time a user tries to start SEDIT, SEDIT asks the license server xserv for an
authorization. If xserv has not exhausted all of the available licenses, it permits SEDIT
to execute.
On UNIX systems, one SEDIT floating license allows any number of sessions on up to 4
displays connected to a given cpu. If the DISPLAY environment variable does not exist, and
on WINDOWS systems, xserv takes in account the userid.
When a user terminates an S/REXX session, S/REXX sends a message to xserv to release
the license. If that S/REXX session was the last session active on the given display, xserv
SEDIT and S/REXX Reference Manual
Page 27