RE: [U2] Stringing commands together on the command line. Possible?

2007-10-29 Thread Ross Ferris
Don't have access to UV at present, but wonder if the following INPUT would do the trick ' AND WITH EVAL EXECUTE 'CLEAR.FILE CLIENT' = ' Ross Ferris Stamina Software Visage Better by Design! -Original Message- From: [EMAIL PROTECTED]

RE: [U2] Stringing commands together on the command line. Possible?

2007-10-29 Thread Allen E. Elwood
The way that I've always used to string commands together 'on the fly' would be to build a proc inside your program based on what you want to do and write it out to a PL file, and then create a voc that pointed to it, and then CHAIN to that. At the end of your proc you could have it CHAIN back to

RE: [U2] Stringing commands together on the command line. Possible?

2007-10-29 Thread Hona, David S
Yes, I wondered the same thing... EVAL is designed to emulate an I-type dictionary item. Hence, will only execute any command that you can successfully compile within an I-type. So it wouldn't allow what you have in your example. You'd need a subroutine that could execute via EVAL to invoke a

RE: [U2] Stringing commands together on the command line. Possible?

2007-10-29 Thread David Jordan
If you had a program such as example below ED BP TEST.BREAK 3 lines long. : P 0001: PRINT ENTER NAME : 0002: INPUT NAME 0003: EXECUTE LIST VOC :NAME Bottom at line 3. RUN BP TEST.BREAK ENTER NAME ?~DOS /c DIR It will list the VOC then execute the DOS command DIR. In Unix the SH shell

RE: [U2] Stringing commands together on the command line. Possible?

2007-10-29 Thread Ross Ferris
So, it would have to be an inside job necessary in order to determine syntax of underlying query anyway -- and files to remove :-) but if you were going to leave the subroutine as evidence, you may as well have buried directly into compiled code anyway (and of course these critical changes

RE: [U2] Stringing commands together on the command line. Possible?

2007-10-29 Thread Anthony Youngman
And an easy way to block that is to remove write access to the dictionary. Iirc, you can't compile an EVAL if you can't compile an i-type. I believe that was done for security reasons, but it may simply be that the easy way to code it was to write a temporary item to the dictionary. Either way,

RE: [U2] Stringing commands together on the command line. Possible?

2007-10-29 Thread Ray Wurlod
Given that a paragraph is delimited by @FM (or @VM as one poster suggested), and that these can be entered through the keyboard (for example Ctrl-^ for @FM, Ctrl-] for @VM, Ctrl-\ for @SM), I wonder could these be the magic characters penno is seeking? Don't have access to test at the moment,

RE: [U2] Stringing commands together on the command line. Possible?

2007-10-29 Thread Brian Leach
Ray I can't enter an @FM on the command line (though set for ctl^) and an @VM is just thrown out as an unrecognized token. So from that test, no. Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ray Wurlod Sent: 29 October 2007 13:47 To:

RE: [U2] Stringing commands together on the command line. Possible?

2007-10-29 Thread David Jordan
Hi Brian I can achieve it with Ray's control character or paste it from another application. This does not work from TCL, but does work in an execute command within a program as demonstrated below, allowing a user to get to operating system commands. Regards David Jordan If you had a program

Re: [U2] Stringing commands together on the command line. Possible?

2007-10-29 Thread Clifton Oliver
This is evil, but does string uv commands on the TCL line. SH -c 'uv TIME; uv WHO; uv COUNT VOC' 16:42:44 29 OCT 2007 26 uv From root 927 records counted. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

RE: [U2] Stringing commands together on the command line. Possible?

2007-10-29 Thread penno
Oh ho. This is really something. Thanks very much guys. Yeah, works for me too. No problem. Unix commands (the SH -c does indeed work) or UV commands. Take ya pick. We've got an insert routine for inputs, which *does* filter out the field markers. Problem is there's no mandate to use it, and

RE: [U2] Stringing commands together on the command line. Possible?

2007-10-29 Thread Boydell, Stuart
-Original Message- On Behalf Of Brian Leach I can't enter an @FM on the command line (though set for ctl^) and an @VM is just thrown out as an unrecognized token. So from that test, no. I can enter an @AM/@FM per the original basic eg using the Alt+0254 (Alt key plus number-pad decimal