Learn More
Search site for:
News »
Scroll Up for Recent News
Nov 2008
Appx 5.0 Beta is Ready!
Appx Release 5.0 Beta is ready. This Release includes ...

[Read Full Article]


June 2008
Caylx Retires from Distribution
Following 33 years of working with the SPEED I, SPEED II and APPX...

[Read Full Article]


April 2008
Appx Blog Online
ASI has started a blog! This is an excellent way...

[Read Full Article]


December 2007
Appx Conference 2007
We're pleased to report that our first European APPX Conference proved to be...

[Read Full Article]


August 2007
Appx Conference 2007
Still haven't decided if the Appx Conference is for you? First of all, it's a great way...

[Read Full Article]


June 2007
CWI Hosts European Conference
For some years now, ASI has been hosting tremendously successful APPX conferences in the USA...

[Read Full Article]


January 2007
ASI announces the APPX 4.2.a Patch Release is now available for download ...

[Read Full Article]


August 2006
ASI provides a new format for emailed APPX registrations. Registrations are now being sent as text file attachments to...

[Read Full Article]


May 2006
Another conference is over, and once again it provided an excellent opportunity to network, learn and socialize with VARs and customers from around the world...

[Read Full Article]


February 2006
You are cordially invited to join your APPX colleagues and friends at the newest "episode" of the bi-annual conference, called "APPX EX-ZOO-BERATION 2006"!...

[Read Full Article]


July 2005
CWI is delighted to welcome Minicom Software House Ltda, located in Brazil, to its reseller network!

For over 25 years, Minicom's team of consultants has been involved in the development and...

[Read Full Article]


March 2005
Sadeen Computerized Systems is an integrated solutions provider which has been offering management control software, security systems and access control software to SMEs for a number of years. Now, however...

[Read Full Article]


January 2005
CWI is pleased to welcome SWS Software Service in Austria to its reseller network! SWS has been a very successful SPEED II reseller since 1983 and has been working with APPX since...

[Read Full Article]


December 2004
CWI is pleased to welcome Sintec, S.A. de C.V. from Mexico to its reseller network!

[Read Full Article]


Scroll Down for Archived News


A | B | C | D | E |F | G | H | I | J | K | L | M | N | O | P
Q | R | S | T | U | V | W | X | Y | Z


To 'GUI' or Not to 'GUI'

If you have a mixed environment, with some users connecting with terminal emulation, and some with a GUI interface, it might be handy to be able to tell which interface is currently being used. Here are two techniques:

    * Are we character or are we GUI (Presentation Manager)?
    * A presentation manager session has '-f=' on its
    * command line (as viewed with 'ps -ef'). We can check for this
    * and if it's there, it means this session is using P/M or JAVA
    * client. If not, we are a normal character based session.
    SET     --- TEMP 80 = -f
    SET     --- LI = 80
    PASS    --- TEMP 80 FIELD SHARE? Y
    PASS    --- LI      FIELD SHARE? Y
    CALL    ,RT_GETPARAM RESIDENT? Y END? N FAIL 0
    * if TEMP 80 still contains '-f', then we are *not* P/M
    * if it contains anything else (usually 4, don't know why) then we
    * are GUI P/M or JAVA
    IF --- TEMP 80 EQ -f
T   SET --- TEMP 1 = C
F   SET --- TEMP 1 = G
The above technique also demonstrates the use of RT_GETPARAM to check for arguments on the command line. TEMP 80 contains the parameter we are interested in ('-f' in this case). After calling RT_GETPARAM, TEMP 80 will either contain the data on the right hand side of '-f=', or it will still contain '-f' if '-f' is not found on the command line. This approach does not distinguish between the Java Client and the Presentation Manager client.

Another approach is:

    PASS --- FEATURE TOKEN SCANLIST FIELD SHARE? Y
    CALL ,RT_CHECK_CLI_FEATURE RESIDENT? N END? N FAIL 0
    IF --- RETURN CODE EQ +1
T   It's the Java Client
F   It's not
This technique specifically tests for the Java client, and will return +0 if the user is character or Presentation Manager.





For additional information, contact tips@cwi-appx.com

[back to top]