Re: [U2] UD - Display Current Terminal Type

2013-04-24 Thread Bill Haskett

Thanks, Martin.

This does the same thing "!echo %TERM%" does, where I noted that my 
SYSTEM(7) variable was "Actwy60" while the results of this Windows 
environment variable was "wyse60".  When I noticed this my thoughts went 
to why?  :-)


Thanks again,

Bill
Untitled Page



- Original Message -
*From:* mbr...@epicor.com
*To:* U2 Users List 
*Date:* 4/24/2013 5:57 AM
*Subject:* Re: [U2] UD - Display Current Terminal Type

Not ECL, but UniBasic and should work in UD on either Unix or NT

X=GETENV("TERM")
PRINT X

vt220




-
Epicor Software (UK) is a limited company registered in England & Wales.
Registration Number: 2338274.   Registered Office:  6th Floor, One London Wall, 
London EC2Y 5EB
This e-mail and any attachments to it are confidential and is for the use of 
the intended recipient(s) only. If you have received this e-mail in error, 
please notify the sender immediately and then delete it. If you are not the 
intended recipient, you must not use, disclose or distribute this e-mail 
without the author's prior permission. We have taken precautions to minimize 
the risk of transmitting software viruses, but we advise you to carry out your 
own virus checks on any attachment to this message. We cannot accept liability 
for any loss or damage caused by software viruses. Any views and/or opinions 
expressed in this e-mail are of the author only and do not represent the views 
of Epicor Software (UK) Limited or any other company within its group.
-

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Tom Whitmore
Sent: 24 April 2013 13:23
To: U2 Users List
Subject: Re: [U2] UD - Display Current Terminal Type

Sorry, I thought it was available on both UV and UD.  It is a valid verb on UV:


GET.TERM.TYPE

Wyse Technology 50/60 (W)
Width : 127
Depth : 40

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Bill Haskett
Sent: Tuesday, April 23, 2013 9:09 PM
To: U2 Users List
Subject: Re: [U2] UD - Display Current Terminal Type

:GET.TERM.TYPE
Not a verb
   GET.TERM.TYPE
:version

  Module Name Version   Licensed

UniData RDBMS 7.3 Yes
Connection Pooling... 7.3 Yes
Device License... 7.3 Yes
NFA.. 7.3 No
RFS.. 7.3 No
EDA.. 7.3 No
733

Bill
Untitled Page



- Original Message -
*From:* tewhitm...@ratex.com
*To:* U2 Users List 
*Date:* 4/23/2013 5:11 PM
*Subject:* Re: [U2] UD - Display Current Terminal Type

GET.TERM.TYPE will display the terminal type, width and depth.

Tom Whitmore
RATEX Business Solutions

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Bill Haskett
Sent: Tuesday, April 23, 2013 5:12 PM
To: U2 Mail List
Subject: [U2] UD - Display Current Terminal Type

I've had a brain-freeze and can't remember how to display the current terminal 
type at ECL.  I know it's SYSTEM(7) but what ECL command do I need to display 
it?

TERM doesn't work (although I can set it by entering "TERM WYSE60").
PTERM doesn't work (it gives me all kinds of other things).

Any help would be appreciated.

Bill

___
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


Click https://www.mailcontrol.com/sr/MZbqvYs5QwJvpeaetUwhCQ==  to report this 
email as spam.


This message has been scanned for malware by Websense. www.websense.com
___
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] UD - Display Current Terminal Type

2013-04-24 Thread Martin Braid
Not ECL, but UniBasic and should work in UD on either Unix or NT

X=GETENV("TERM")
PRINT X

vt220




-
Epicor Software (UK) is a limited company registered in England & Wales.
Registration Number: 2338274.   Registered Office:  6th Floor, One London Wall, 
London EC2Y 5EB
This e-mail and any attachments to it are confidential and is for the use of 
the intended recipient(s) only. If you have received this e-mail in error, 
please notify the sender immediately and then delete it. If you are not the 
intended recipient, you must not use, disclose or distribute this e-mail 
without the author's prior permission. We have taken precautions to minimize 
the risk of transmitting software viruses, but we advise you to carry out your 
own virus checks on any attachment to this message. We cannot accept liability 
for any loss or damage caused by software viruses. Any views and/or opinions 
expressed in this e-mail are of the author only and do not represent the views 
of Epicor Software (UK) Limited or any other company within its group.
-

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Tom Whitmore
Sent: 24 April 2013 13:23
To: U2 Users List
Subject: Re: [U2] UD - Display Current Terminal Type

Sorry, I thought it was available on both UV and UD.  It is a valid verb on UV:

>GET.TERM.TYPE
Wyse Technology 50/60 (W)
Width : 127
Depth : 40

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Bill Haskett
Sent: Tuesday, April 23, 2013 9:09 PM
To: U2 Users List
Subject: Re: [U2] UD - Display Current Terminal Type

:GET.TERM.TYPE
Not a verb
  GET.TERM.TYPE
:version

 Module Name Version   Licensed

UniData RDBMS 7.3 Yes
Connection Pooling... 7.3 Yes
Device License... 7.3 Yes
NFA.. 7.3 No
RFS.. 7.3 No
EDA.. 7.3 No
733

Bill
Untitled Page



- Original Message -
*From:* tewhitm...@ratex.com
*To:* U2 Users List 
*Date:* 4/23/2013 5:11 PM
*Subject:* Re: [U2] UD - Display Current Terminal Type
> GET.TERM.TYPE will display the terminal type, width and depth.
>
> Tom Whitmore
> RATEX Business Solutions
>
> -Original Message-
> From: u2-users-boun...@listserver.u2ug.org 
> [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Bill Haskett
> Sent: Tuesday, April 23, 2013 5:12 PM
> To: U2 Mail List
> Subject: [U2] UD - Display Current Terminal Type
>
> I've had a brain-freeze and can't remember how to display the current 
> terminal type at ECL.  I know it's SYSTEM(7) but what ECL command do I need 
> to display it?
>
> TERM doesn't work (although I can set it by entering "TERM WYSE60").
> PTERM doesn't work (it gives me all kinds of other things).
>
> Any help would be appreciated.
>
> Bill

___
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


Click https://www.mailcontrol.com/sr/MZbqvYs5QwJvpeaetUwhCQ==  to report this 
email as spam.


This message has been scanned for malware by Websense. www.websense.com
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] UD - Display Current Terminal Type

2013-04-24 Thread Tom Whitmore
Sorry, I thought it was available on both UV and UD.  It is a valid verb on UV:

>GET.TERM.TYPE
Wyse Technology 50/60 (W)
Width : 127
Depth : 40

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Bill Haskett
Sent: Tuesday, April 23, 2013 9:09 PM
To: U2 Users List
Subject: Re: [U2] UD - Display Current Terminal Type

:GET.TERM.TYPE
Not a verb
  GET.TERM.TYPE
:version

 Module Name Version   Licensed

UniData RDBMS 7.3 Yes
Connection Pooling... 7.3 Yes
Device License... 7.3 Yes
NFA.. 7.3 No
RFS.. 7.3 No
EDA.. 7.3 No
733

Bill
Untitled Page



- Original Message -
*From:* tewhitm...@ratex.com
*To:* U2 Users List 
*Date:* 4/23/2013 5:11 PM
*Subject:* Re: [U2] UD - Display Current Terminal Type
> GET.TERM.TYPE will display the terminal type, width and depth.
>
> Tom Whitmore
> RATEX Business Solutions
>
> -Original Message-
> From: u2-users-boun...@listserver.u2ug.org 
> [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Bill Haskett
> Sent: Tuesday, April 23, 2013 5:12 PM
> To: U2 Mail List
> Subject: [U2] UD - Display Current Terminal Type
>
> I've had a brain-freeze and can't remember how to display the current 
> terminal type at ECL.  I know it's SYSTEM(7) but what ECL command do I need 
> to display it?
>
> TERM doesn't work (although I can set it by entering "TERM WYSE60").
> PTERM doesn't work (it gives me all kinds of other things).
>
> Any help would be appreciated.
>
> Bill

___
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] UD - Display Current Terminal Type

2013-04-23 Thread Bill Haskett

:GET.TERM.TYPE
Not a verb
 GET.TERM.TYPE
:version

Module Name Version   Licensed

UniData RDBMS 7.3 Yes
Connection Pooling... 7.3 Yes
Device License... 7.3 Yes
NFA.. 7.3 No
RFS.. 7.3 No
EDA.. 7.3 No
733

Bill
Untitled Page



- Original Message -
*From:* tewhitm...@ratex.com
*To:* U2 Users List 
*Date:* 4/23/2013 5:11 PM
*Subject:* Re: [U2] UD - Display Current Terminal Type

GET.TERM.TYPE will display the terminal type, width and depth.

Tom Whitmore
RATEX Business Solutions

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Bill Haskett
Sent: Tuesday, April 23, 2013 5:12 PM
To: U2 Mail List
Subject: [U2] UD - Display Current Terminal Type

I've had a brain-freeze and can't remember how to display the current terminal 
type at ECL.  I know it's SYSTEM(7) but what ECL command do I need to display 
it?

TERM doesn't work (although I can set it by entering "TERM WYSE60").
PTERM doesn't work (it gives me all kinds of other things).

Any help would be appreciated.

Bill


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


Re: [U2] UD - Display Current Terminal Type

2013-04-23 Thread Tom Whitmore
GET.TERM.TYPE will display the terminal type, width and depth.

Tom Whitmore
RATEX Business Solutions

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Bill Haskett
Sent: Tuesday, April 23, 2013 5:12 PM
To: U2 Mail List
Subject: [U2] UD - Display Current Terminal Type

I've had a brain-freeze and can't remember how to display the current terminal 
type at ECL.  I know it's SYSTEM(7) but what ECL command do I need to display 
it?

TERM doesn't work (although I can set it by entering "TERM WYSE60").
PTERM doesn't work (it gives me all kinds of other things).

Any help would be appreciated.

Bill
___
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] UD - Display Current Terminal Type

2013-04-23 Thread Bill Haskett

Thanks, but that's not it for UniData.

Bill
Untitled Page



- Original Message -
*From:* antli...@youngman.org.uk
*To:* u2-users@listserver.u2ug.org
*Date:* 4/23/2013 3:48 PM
*Subject:* Re: [U2] UD - Display Current Terminal Type

On 23/04/13 22:12, Bill Haskett wrote:

I've had a brain-freeze and can't remember how to display the current
terminal type at ECL.  I know it's SYSTEM(7) but what ECL command do I
need to display it?

TERM doesn't work (although I can set it by entering "TERM WYSE60").
PTERM doesn't work (it gives me all kinds of other things).


Dunno whether it works for UD, but the UV command is GET.TERM.TYPE.

Cheers,
Wol


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


Re: [U2] UD - Display Current Terminal Type

2013-04-23 Thread Wols Lists
On 23/04/13 22:12, Bill Haskett wrote:
> I've had a brain-freeze and can't remember how to display the current
> terminal type at ECL.  I know it's SYSTEM(7) but what ECL command do I
> need to display it?
> 
> TERM doesn't work (although I can set it by entering "TERM WYSE60").
> PTERM doesn't work (it gives me all kinds of other things).
> 
Dunno whether it works for UD, but the UV command is GET.TERM.TYPE.

Cheers,
Wol

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


Re: [U2] UD - Display Current Terminal Type

2013-04-23 Thread Bill Haskett
Well, that doesn't work, which I tried originally as this is what other 
mvDbms products use (at least what I'm used to).  UniData doesn't 
respond with the terminal type.


4 Dev (0)-> TERM
TERM parameters are all numeric:
TERM A,B,C,D
For the terminal
A=number of characters in a line(132).
B=number of lines per page(42).
For the line printer
C=number of characters in a line(146).
D=number of lines per page(61).
4 Dev (0)->

Bill
Untitled Page



- Original Message -
*From:* bob_woodw...@k2sports.com
*To:* U2 Users List 
*Date:* 4/23/2013 2:48 PM
*Subject:* Re: [U2] UD - Display Current Terminal Type

In Unidata 6.1, TERM with no arguments gives me a brief syntax help
message.


-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson
Sent: Tuesday, April 23, 2013 2:42 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] UD - Display Current Terminal Type

TERM with no arguments will *display* your current settings, at the
bottom of the display it will say 'wyse50'



  

  

  


-Original Message-
From: Bill Haskett 
To: U2 Mail List 
Sent: Tue, Apr 23, 2013 2:11 pm
Subject: [U2] UD - Display Current Terminal Type


I've had a brain-freeze and can't remember how to display the current
terminal type at ECL.  I know it's SYSTEM(7) but what ECL command do I
need to display it?

TERM doesn't work (although I can set it by entering "TERM WYSE60").
PTERM doesn't work (it gives me all kinds of other things).

Any help would be appreciated.

Bill
___
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-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] UD - Display Current Terminal Type

2013-04-23 Thread Woodward, Bob
In Unidata 6.1, TERM with no arguments gives me a brief syntax help
message.


-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson
Sent: Tuesday, April 23, 2013 2:42 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] UD - Display Current Terminal Type

TERM with no arguments will *display* your current settings, at the
bottom of the display it will say 'wyse50'



 

 

 

-Original Message-
From: Bill Haskett 
To: U2 Mail List 
Sent: Tue, Apr 23, 2013 2:11 pm
Subject: [U2] UD - Display Current Terminal Type


I've had a brain-freeze and can't remember how to display the current
terminal type at ECL.  I know it's SYSTEM(7) but what ECL command do I
need to display it?

TERM doesn't work (although I can set it by entering "TERM WYSE60").
PTERM doesn't work (it gives me all kinds of other things).

Any help would be appreciated.

Bill
___
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


Re: [U2] UD - Display Current Terminal Type

2013-04-23 Thread Wjhonson
TERM with no arguments will *display* your current settings, at the bottom of 
the display it will say 'wyse50'



 

 

 

-Original Message-
From: Bill Haskett 
To: U2 Mail List 
Sent: Tue, Apr 23, 2013 2:11 pm
Subject: [U2] UD - Display Current Terminal Type


I've had a brain-freeze and can't remember how to display the current 
terminal type at ECL.  I know it's SYSTEM(7) but what ECL command do I 
need to display it?

TERM doesn't work (although I can set it by entering "TERM WYSE60").
PTERM doesn't work (it gives me all kinds of other things).

Any help would be appreciated.

Bill
___
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] UD - Display Current Terminal Type

2013-04-23 Thread Bill Haskett

Ahh!

4 Dev (0)-> !echo %TERM%
wyse60

4 Dev (0)-> BPTEST CRT SYSTEM(7) ; END

Compiling Unibasic: SAVEDLISTS\BpTest_516680981 in mode 'p'.
compilation finished
ACTWY60

I ran the command "TERM  ACTWY60" when I logged in.  I wonder why the 
difference?


Thanks,

Bill


- Original Message -
*From:* dda...@harriscomputer.com
*To:* U2 Users List 
*Date:* 4/23/2013 2:19 PM
*Subject:* Re: [U2] UD - Display Current Terminal Type

"!echo $TERM"

perhaps.

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Bill Haskett
Sent: Tuesday, April 23, 2013 5:12 PM
To: U2 Mail List
Subject: [U2] UD - Display Current Terminal Type

I've had a brain-freeze and can't remember how to display the current terminal 
type at ECL.  I know it's SYSTEM(7) but what ECL command do I need to display 
it?

TERM doesn't work (although I can set it by entering "TERM WYSE60").
PTERM doesn't work (it gives me all kinds of other things).

Any help would be appreciated.

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



Dave Davis
Team Lead, R&D

P: 614-875-4910 x108
F: 614-875-4088
E: dda...@harriscomputer.com
 [http://www.harriscomputer.com/images/signatures/HarrisSchools.jpg]

[http://www.harriscomputer.com/images/signatures/DivisionofHarris.gif]<http://www.harriscomputer.com/>
 6110 Enterprise Parkway
Grove City, OH
43123
www.harris-schoolsolutions.com<http://www.harris-schoolsolutions.com>

This message is intended exclusively for the individual or entity to which it 
is addressed. This communication may contain information that is proprietary, 
privileged or confidential or otherwise legally exempt from disclosure. If you 
are not the named addressee, you are not authorized to read, print, retain, 
copy or disseminate this message or any part of it. If you have received this 
message in error, please notify the sender immediately by e-mail and delete all 
copies of the message.


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


Re: [U2] UD - Display Current Terminal Type

2013-04-23 Thread Dave Davis
"!echo $TERM"

perhaps.

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Bill Haskett
Sent: Tuesday, April 23, 2013 5:12 PM
To: U2 Mail List
Subject: [U2] UD - Display Current Terminal Type

I've had a brain-freeze and can't remember how to display the current terminal 
type at ECL.  I know it's SYSTEM(7) but what ECL command do I need to display 
it?

TERM doesn't work (although I can set it by entering "TERM WYSE60").
PTERM doesn't work (it gives me all kinds of other things).

Any help would be appreciated.

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



Dave Davis
Team Lead, R&D

P: 614-875-4910 x108
F: 614-875-4088
E: dda...@harriscomputer.com
[http://www.harriscomputer.com/images/signatures/HarrisSchools.jpg]

[http://www.harriscomputer.com/images/signatures/DivisionofHarris.gif]<http://www.harriscomputer.com/>
6110 Enterprise Parkway
Grove City, OH
43123
www.harris-schoolsolutions.com<http://www.harris-schoolsolutions.com>

This message is intended exclusively for the individual or entity to which it 
is addressed. This communication may contain information that is proprietary, 
privileged or confidential or otherwise legally exempt from disclosure. If you 
are not the named addressee, you are not authorized to read, print, retain, 
copy or disseminate this message or any part of it. If you have received this 
message in error, please notify the sender immediately by e-mail and delete all 
copies of the message.

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


[U2] UD - Display Current Terminal Type

2013-04-23 Thread Bill Haskett
I've had a brain-freeze and can't remember how to display the current 
terminal type at ECL.  I know it's SYSTEM(7) but what ECL command do I 
need to display it?


TERM doesn't work (although I can set it by entering "TERM WYSE60").
PTERM doesn't work (it gives me all kinds of other things).

Any help would be appreciated.

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