[U2] How do you determine terminal emulator?

2010-03-09 Thread Beverly Wilson

Hi folks,

I'm wondering if anyone on the list can tell me what I can do to determine 
whether a user is using the Viaduct terminal emulator via UniBasic?


We have some code that can tell if the emulator is Accuterm or Wintegrate, 
but I haven't been able to come up with a command string that would cause 
Viaduct to return a value. I've looked through the docs, but haven't found 
anything. (I may be suffering situational blindness.)


To give you an idea, these lines when run in through Wintegrate puts an X 
into the variable C:

  PRINT CHAR(27):CHAR(1):ENTER :DQUOTE(X):CHAR(13):
  INPUT C WAITING 1 ELSE C = 

Thanks for your time,
--bev


Bev Wilson
410.309.2700 voice
410.309.2701 fax

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] How do you determine terminal emulator?

2010-03-09 Thread Boydell, Stuart
Get and print information about ViaDuct
001 PCCMD=CHAR(27):CHAR(8)
002 PRINT PCCMD:'WHAT'
003 INPUT REPLY
004 PRINT 'This is ':FIELD(REPLY,' ',1):
005 PRINT ' version ':FIELD(REPLY,' ',2):
006 PRINT ' serial number ':FIELD(REPLY,' ',3):
007 PRINT ' running under DOS version ':FIELD(REPLY,' ',4)
008 PRINT ' running under Windows version ':FIELD(REPLY,' ',5)

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Beverly Wilson
Sent: Wednesday, 10 March 2010 07:40
To: U2 Users List
Subject: [U2] How do you determine terminal emulator?

Hi folks,

I'm wondering if anyone on the list can tell me what I can do to determine 
whether a user is using the Viaduct terminal emulator via UniBasic?

We have some code that can tell if the emulator is Accuterm or Wintegrate, 
but I haven't been able to come up with a command string that would cause 
Viaduct to return a value. I've looked through the docs, but haven't found 
anything. (I may be suffering situational blindness.)

To give you an idea, these lines when run in through Wintegrate puts an X 
into the variable C:
   PRINT CHAR(27):CHAR(1):ENTER :DQUOTE(X):CHAR(13):
   INPUT C WAITING 1 ELSE C = 

Thanks for your time,
--bev


Bev Wilson
410.309.2700 voice
410.309.2701 fax

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] How do you determine terminal emulator?

2010-03-09 Thread Bill Haskett





Bev:

What I've always done, in all versions of PICK, is define separate 
term-types based on the emulator (e.g. wIntWy60, AtWy60, VDWy60, 
etc).  Then define the term-type upon user login then you can query 
the terminal type via the standard SYSTEM(7) function (I use this 
function in one of our standard includes that assigns a standard 
variable used throughout our app).


HTH,

Bill


Beverly Wilson said the following on 3/9/2010 12:39 PM:

Hi folks,

I'm wondering if anyone on the list can tell me what I can do to 
determine whether a user is using the Viaduct terminal emulator via 
UniBasic?


We have some code that can tell if the emulator is Accuterm or 
Wintegrate, but I haven't been able to come up with a command string 
that would cause Viaduct to return a value. I've looked through the 
docs, but haven't found anything. (I may be suffering situational 
blindness.)


To give you an idea, these lines when run in through Wintegrate puts 
an X into the variable C:

  PRINT CHAR(27):CHAR(1):ENTER :DQUOTE(X):CHAR(13):
  INPUT C WAITING 1 ELSE C = 

Thanks for your time,
--bev


Bev Wilson
410.309.2700 voice
410.309.2701 fax

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] How do you determine terminal emulator?

2010-03-09 Thread Bill Haskett
...based on the emulator (e.g. wIntWy60, AtWy60, VDWy60, etc).   Of 
course viaWy60 may be a more appropriate prefix for a ViaDuct 
terminal.  :-)


Bill

Bill Haskett said the following on 3/9/2010 2:23 PM:

Bev:

What I've always done, in all versions of PICK, is define separate 
term-types based on the emulator (e.g. wIntWy60, AtWy60, VDWy60, 
etc).  Then define the term-type upon user login then you can query 
the terminal type via the standard SYSTEM(7) function (I use this 
function in one of our standard includes that assigns a standard 
variable used throughout our app).


HTH,

Bill


Beverly Wilson said the following on 3/9/2010 12:39 PM:

Hi folks,

I'm wondering if anyone on the list can tell me what I can do to 
determine whether a user is using the Viaduct terminal emulator via 
UniBasic?


We have some code that can tell if the emulator is Accuterm or 
Wintegrate, but I haven't been able to come up with a command string 
that would cause Viaduct to return a value. I've looked through the 
docs, but haven't found anything. (I may be suffering situational 
blindness.)


To give you an idea, these lines when run in through Wintegrate puts 
an X into the variable C:

  PRINT CHAR(27):CHAR(1):ENTER :DQUOTE(X):CHAR(13):
  INPUT C WAITING 1 ELSE C = 

Thanks for your time,
--bev


Bev Wilson
410.309.2700 voice
410.309.2701 fax

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


[U2] UniVerse Slow - Fixed

2010-03-09 Thread Brutzman, Bill
So I finally rebooted our server and it was found to be a little faster
but not as fast as it once was.

I then realized that the slowness was mostly our menu system.  I started
doing HASH.HELP and then resizing the data files used by the menu
system.  Our menu system has new (approx. one year old) built-in
workflow messaging functionality.

After I resized MESSAGES using the numbers given by UniVerse (per the
following); we are now once again lightning fast.
 
--Bill

File MESSAGES  Type= 2  Modulo= 1  Sep= 1  
Of the 1011 total keys in this file:

   1011  keys were wholly numeric (digits 0 thru 9)

The smallest modulo you should consider for this file is 131.
The smallest separation you should consider for this file is 2.
The best type to choose for this file is probably type 2.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] How do you determine terminal emulator?

2010-03-09 Thread Tony Gravagno
You can try to do this the hard way and face lack of success, or
you can do this the easy way, which is perhaps not as elegant but
it's a fast and effectice solution.

The hard way: try to come up with scripts that will return useful
information from specific emulators without messing up any other
emulators.  You can probably create a single script for any two
emulators, but that's pushing it, and three may be too much to
ask.

The easy way: Users with different emulators login to different
accounts which all have access to the MAIN accounts resources -
MAIN.W, MAIN.V, MAIN.A, etc.  If you use emulator scripts to
login users then you can do this transparently.  You could leave
each user in their own account, or better, once you have someone
in an emulator-specific account you can use a login macro to save
their emulator type, then logto the common MAIN account.  From
then forward, just check the emulator type before exporting a
stream of emulator-specific instructions.

HTH
Tony Gravagno
Nebula Research and Development
TG@ remove.pleaseNebula-RnD.com
Nebula RD sells Pick/MultiValue products
worldwide, and provides related development services
remove.pleaseNebula-RnD.com/blog
Visit PickWiki.com! Contribute!
http://Twitter.com/TonyGravagno



 From: Beverly Wilson
 I'm wondering if anyone on the list can tell me what I 
 can do to determine whether a user is using the 
 Viaduct terminal emulator via UniBasic?
 
 We have some code that can tell if the emulator is 
 Accuterm or Wintegrate, but I haven't been able to 
 come up with a command string that would cause Viaduct 
 to return a value.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] How do you determine terminal emulator?

2010-03-09 Thread Anthony W. Youngman
In message 6.0.1.1.1.20100309151717.05cc2...@12.167.143.145, Beverly 
Wilson bwil...@daedalus-books.com writes

Hi folks,

I'm wondering if anyone on the list can tell me what I can do to 
determine whether a user is using the Viaduct terminal emulator via 
UniBasic?


Can you configure Viaduct? It should have some sort of answerback 
function.


We have some code that can tell if the emulator is Accuterm or 
Wintegrate, but I haven't been able to come up with a command string 
that would cause Viaduct to return a value. I've looked through the 
docs, but haven't found anything. (I may be suffering situational 
blindness.)


To give you an idea, these lines when run in through Wintegrate puts an 
X into the variable C:

 PRINT CHAR(27):CHAR(1):ENTER :DQUOTE(X):CHAR(13):
 INPUT C WAITING 1 ELSE C = 


Been there done that, but what you're doing looks slightly odd to me.

We had a mix of Prime PT200s, PT250s, Wyse85s, and Wintegrate configured 
as a PT250. All of the real terminals would respond to a sequence 
something like esc? (can't remember what it actually was).


So I wrote the login program to send this sequence to the user, and the 
terminal would (as it was meant to) respond with some string without any 
user intervention. And I programmed Wintegrate to behave just like a 
pt250 including this answerback. If you look at the pt250.wis (or is it 
.wit?) file distributed with Wintegrate you might well find my code in 
there to do exactly that.


You'll need to read the Viaduct docu, but if it's at all 
user-configurable, you should be able to program it to do an answerback.


Cheers,
Wol
--
Anthony W. Youngman pi...@thewolery.demon.co.uk
'Yings, yow graley yin! Suz ae rikt dheu,' said the blue man, taking the
thimble. 'What *is* he?' said Magrat. 'They're gnomes,' said Nanny. The man
lowered the thimble. 'Pictsies!' Carpe Jugulum, Terry Pratchett 1998
Visit the MaVerick web-site - http://www.maverick-dbms.org Open Source Pick
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


[U2] Periodic Reminder

2010-03-09 Thread Results

All,

For the benefit of new members of the lists, the following rules are in 
effect:


1. Courtesy is key.

2. Some users have limits on their mailboxes, have limits on the
  speed of their connections, or read from the digests. In all of
  these cases, quoting the entire chain of posts in your post can be
  harmful to them. Please limit the quoting to just the part needed
  to understand your response.

3. If you have a stake in the answer, i.e. it is your commercial or
  open source project, or any other vested interest, please mark
  your comments with [AD] brackets [/AD].

4. If you are reading us through Mail-Index, GMane, Nabble, or any
  other service, please join up before you post or your posts will
  BOUNCE. This is a moderated list, you must sign up to post.
  Details are here: http://listserver.u2ug.org/mailman/listinfo/u2-users

The moderators are Larry Hiscock, who also provides the services for 
this list, and Charles Barouch. They do this on their own time, free of 
charge. The list is the responsibility of the U2 Users Group.




___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


[U2] UniData 64 bit build

2010-03-09 Thread Jeff Butera
Previously I asked about 32 vs 64 bit for Unidata and Wally 
indicated that all Linux (RHEL) builds were 32 bit.


Wally (et al),

Do you anticipate this changing anytime in the near future or is it the 
norm for the forseeable future?


I'm just trying to develop a long-range plan as we work on a new project. 
64 bit unidata and libs would offer us more favorable alternatives, but we 
are working with what we have now...


Jeff Butera, Ph.D.
Administrative Systems
Hampshire College
jbut...@hampshire.edu
413-559-5556

Life is a giant weenie roast and I'm the biggest weenie.
 Rose, The Golden Girls
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users