] [mailto:owner-u2-
[EMAIL PROTECTED] On Behalf Of penno
Sent: Monday, 29 October 2007 11:45 AM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Stringing commands together on the command line.
Possible?
Hi Bill, David, all
I'm getting the answers I want. (c: I'm glad it doesn't look like it's
possible.
I
. :)
*=aee=*
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of penno
Sent: Sunday, October 28, 2007 17:45
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Stringing commands together on the command line.
Possible?
Hi Bill, David, all
I'm getting the answers I
a TCL or
OS command indirectly.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ross Ferris
Sent: Monday, October 29, 2007 6:13 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Stringing commands together on the command line.
Possible?
Don't have
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
@listserver.u2ug.org
Subject: RE: [U2] Stringing commands together on the command line.
Possible?
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
execute via EVAL to invoke a TCL or
OS command indirectly.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ross Ferris
Sent: Monday, October 29, 2007 6:13 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Stringing commands together on the command
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,
-users@listserver.u2ug.org
Subject: RE: [U2] Stringing commands together on the command
line. Possible?
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
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
Penno:
As far as I know, this won't work. However, I can think of three ways to
accomplish
this:
1) Use a 3rd party tcl shell/stacker that allows execution of multiple lines in
the
stack. E.g.
:.x3,4,17
...where the 3rd, 4th, and 17th command in the stack are:
003 !ls -l
004 !cat file
017
I don't believe there is a native command/option to do this in UV.
In BASIC you can do this by delimiting each command with mark-character
(eg., @FM) and 'execute' the string with the EXECUTE statement. So you
could create your own pseudo UV command prompt parser. Some commands
can't or shouldn't
Hi Bill, David, all
I'm getting the answers I want. (c: I'm glad it doesn't look like it's
possible.
I should have explained myslef more clearly. I'm looking at it from a
security point of view. I read this comic the other day,
http://xkcd.com/327/
and wondered if there was a risk of malicious
15 matches
Mail list logo