RE: [U2] TCL Command stacker

2008-04-17 Thread Doug Miller
I know  That is why I said it looked promising. :-)  IE was able 
to get it to work but it was definitely not ready to be recommended 
until I understood the nuances.


Thanks for the heads up,

Doug

At 04:18 PM 4/16/2008, you wrote:
Before you propose to a customer, make sure their terminal emulator 
and COMMAND.EDITOR play well together.


I guess there are some tricks to smooth out things between AT2k and 
COMMAND.EDITOR.  I put COMMAND.EDITOR ON ALL in my login PA and 
that was the end of my cursor keys and num pad.


fwiw

---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] TCL Command stacker

2008-04-16 Thread Rod Hills
If you run the following in a Basic program (In Universe vers 10)
   ASSIGN 1 TO SYSTEM(4001)

This will turn on up arrow processing where-
   Up/Down arrow keys scroll through TCL stack
   Left/Right arrow keys move through the displayed command
   Ctrl-A moves cursor to the beginning of the line
   Ctrl-E moves cursor to the end of the line
   Backspace is used to delete characters

I'm note sure where I found it, but it works pretty good...

Hope that helps

Rod Hills

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Doug Miller
Sent: Tuesday, April 15, 2008 3:25 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] TCL Command stacker

Is anyone aware of any software that controls the command stack at 
TCL?  I am sure there are versions people have written before and I 
have not encountered any myself yet in my searches.

We have a site who is interested in migrating from one database that 
allows use of arrow functions to edit the command stack to a more 
traditional environment that use the typical . commands.  IE .L .C .X
etc.

They would prefer to continue to use just the arrow keys.  Much like 
Linux allows you to control the OS command stack.

Thank you,

Doug Miller
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
___

This e-mail and any attachments are for the sole use of the 
intended recipient(s) and may contain privileged and 
confidential information. Any unauthorized review, use, 
disclosure or distribution is strictly prohibited. If you are not 
the intended recipient(s), please contact the sender by reply 
e-mail and destroy all copies of the original message.
Thank you.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] TCL Command stacker

2008-04-16 Thread Baker Hughes
David,

Is there a switch to turn this on?  When I try it I get this:

COMMAND.EDITOR

Command/Input editing switched off


-Baker

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hona, David S
Sent: Tuesday, April 15, 2008 5:39 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] TCL Command stacker

UniVerse 10.x has COMMAND.EDITOR, ported from PI/open but it is not officially 
supported nor documented by IBM. It has most, but not all the functionality of 
the PI/open version.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] TCL Command stacker

2008-04-16 Thread Raul_Dominguez
Try 

COMMAND.EDITOR ON ALL

Raul


- Original Message -
From: Baker Hughes [EMAIL PROTECTED]
Sent: 04/16/2008 10:14 AM EST
To: 'u2-users@listserver.u2ug.org' u2-users@listserver.u2ug.org
Subject: RE: [U2] TCL Command stacker



David,

Is there a switch to turn this on?  When I try it I get this:

COMMAND.EDITOR

Command/Input editing switched off


-Baker

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hona, David S
Sent: Tuesday, April 15, 2008 5:39 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] TCL Command stacker

UniVerse 10.x has COMMAND.EDITOR, ported from PI/open but it is not officially 
supported nor documented by IBM. It has most, but not all the functionality of 
the PI/open version.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] TCL Command stacker

2008-04-16 Thread Baker Hughes
Thats it.  Thanks Raul, and David.

-Baker

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, April 16, 2008 11:07 AM
To: u2-users
Subject: Re: [U2] TCL Command stacker

Try

COMMAND.EDITOR ON ALL

Raul


- Original Message -
From: Baker Hughes [EMAIL PROTECTED]
Sent: 04/16/2008 10:14 AM EST
To: 'u2-users@listserver.u2ug.org' u2-users@listserver.u2ug.org
Subject: RE: [U2] TCL Command stacker



David,

Is there a switch to turn this on?  When I try it I get this:

COMMAND.EDITOR

Command/Input editing switched off


-Baker

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hona, David S
Sent: Tuesday, April 15, 2008 5:39 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] TCL Command stacker

UniVerse 10.x has COMMAND.EDITOR, ported from PI/open but it is not officially 
supported nor documented by IBM. It has most, but not all the functionality of 
the PI/open version.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] TCL Command stacker

2008-04-16 Thread Doug Miller

Yes, thanks all.  This looks promising.  -Doug
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] TCL Command stacker

2008-04-16 Thread Hona, David S
Baker,

This can be fixed by changing the initialisation string in your UV
terminfo database for your terminal type you're using (copy
source/original, re-compile uv terminfo, etc). By default it changes the
numeric keypad to Application mode fot DEC VT-series emulations. Or
change your emulator to overide that (if you can).
 
Also best NOT to use ALL option if you have you own keyboard input
handling program. As it will trap all control characters itself. It also
conflicts with !EDIT.INPUT subroutine and INPUT @(x,y) functions (ie. It
will crash and probably drop you to the OS prompt).

COMMAND.EDITOR [ON|OFF] [ALL] [TCL prompt string]

ALL = (optional) Input editing on all input prompts (including BASIC
programs, etc). 
TCL Prompt = (optional) - define alternative TCL prompt

Example:
COMMAND.EDITOR ON [EMAIL PROTECTED] 

COMMAND.EDITOR ON

[EMAIL PROTECTED]  

If using DEC VT emulation, you can use the cursor keys to edit the
command-line and scroll-up and down the TCL stack (using PAGE UP and
PAGE DOWN keys - depending on your keyboard emulation key settings).

Regards,
David


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Baker Hughes
Sent: Thursday, 17 April 2008 7:18 AM
To: 'u2-users@listserver.u2ug.org'
Subject: RE: [U2] TCL Command stacker

Before you propose to a customer, make sure their terminal emulator and
COMMAND.EDITOR play well together.

I guess there are some tricks to smooth out things between AT2k and
COMMAND.EDITOR.  I put COMMAND.EDITOR ON ALL in my login PA and that
was the end of my cursor keys and num pad.

fwiw

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Doug Miller
Sent: Wednesday, April 16, 2008 2:41 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] TCL Command stacker

Yes, thanks all.  This looks promising.  -Doug
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] TCL Command stacker

2008-04-15 Thread Doug Miller
Is anyone aware of any software that controls the command stack at 
TCL?  I am sure there are versions people have written before and I 
have not encountered any myself yet in my searches.


We have a site who is interested in migrating from one database that 
allows use of arrow functions to edit the command stack to a more 
traditional environment that use the typical . commands.  IE .L .C .X etc.


They would prefer to continue to use just the arrow keys.  Much like 
Linux allows you to control the OS command stack.


Thank you,

Doug Miller
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] TCL Command stacker

2008-04-15 Thread Hona, David S
UniVerse 10.x has COMMAND.EDITOR, ported from PI/open but it is not
officially supported nor documented by IBM. It has most, but not all the
functionality of the PI/open version.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Doug Miller
Sent: Wednesday, 16 April 2008 8:25 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] TCL Command stacker

Is anyone aware of any software that controls the command stack at TCL?
I am sure there are versions people have written before and I have not
encountered any myself yet in my searches.

We have a site who is interested in migrating from one database that
allows use of arrow functions to edit the command stack to a more
traditional environment that use the typical . commands.  IE .L .C .X
etc.

They would prefer to continue to use just the arrow keys.  Much like
Linux allows you to control the OS command stack.

Thank you,

Doug Miller
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/