In year 2005, I used LOG-TE 9750 to access BS2000 forms developped using FHS on UTM application.
As I remember, I worked on an application where clicking on some protected fields was possible.
Knowing that clicking is not possible on old 9750 terminals, how clicking using LOG-TE 9750 emulation is possible ?
To allow clicking with mouse on some field in the screen I programmed following 2 mouse's events in .KEY config file of LOG-TE application.
MOUSE 02 = <IS4><MAR><SFA><IS2>P<LZF>?<SML><DUE1>
MOUSE 41 = <IS4><MAR><SFA><IS2>P<LZF>?<SML><DUE1>
where
<IS4> = set cursor
<MAR> = mark detectable field
<SFA> = set cursor to start of field
<IS2> = set field characteristic
<LZF> = erase text to end of field
<SML> = shift cursor left
<DUE1> = send screen's date to host
Event MOUSE 02
intercept right click and event MOUSE 41
is for double click.
Simple LEFT click remain unchanged and is used to position cursor on fields.
The sequence <IS4><MAR>
is use to simulate the mark of detectable field and the sequence <SFA><IS2>P<LZF>?<SML>
is used to write '?' character in a protected field using <IS2>P
to transform protected field to unprotected field.
All fields with cyan background color in following screen can be clicked using mouse right button.