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]
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
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
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
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
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,
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,
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:
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
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/
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
-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
12 matches
Mail list logo