× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I don't know of any way to tell based on the available data structures but you do have control over the naming if the devices. Name all the old terminals as DUMBO00001, etc and then test the device name which is available to the application

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Jerry C. Adams
Sent: Friday, September 23, 2011 9:43 AM
To: Midrange-L
Subject: Dumb Terminal or Emulator

We still have a couple of dumb terminals sitting around and currently being used, though most work is done with PCs running 5250 emulation.



I was wondering if there is any way to tell if a program is running on a dumb terminal or an a PC. The reason for asking is that I may want to provide the ability for users to invoke a web search or validate fields, such as zip code, through a web service. Obviously, these functions would crash and burn if run from a dumb terminal so I want to be able to check before I allow such things.



I read the recent discussion on Interactive vs Non-Interactive but did not see anything that addressed this specific condition (though I may have scanned the entries too rapidly or casually).



Thanks.



Jerry C. Adams

IBM i Programmer/Analyst

Uxbridge: "My Lord, I have lost my leg."

Wellington: "By God, so you have!" (At the Battle of Waterloo)

--

A&K Wholesale

Murfreesboro, TN

615-867-5070



--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.