[U2] Interesting....

2013-10-02 Thread George Gallen
LOOP IF (1=1) THEN CONTINUE REPEAT END Run this program (yes, I know - it's an endless loop). Then Control C to break out D is one of the debug options (and lets you know what line your on). However, when I had something like this in my program, when it got stuck D wasn't one of the options

Re: [U2] Interesting....

2013-10-02 Thread Ladd, Ryan
The INTR.KEY entry in the VOC determines what options are given when a user breaks out of a program. The D is for the debug option. INTR.KEY 001 X-type - Define options available when INTR key is hit 002 ACLQD One thing to note... The options defined in

Re: [U2] Interesting....

2013-10-02 Thread McGowan, Ian
The use of PORT.STATUS using the PID option and LAYER.STACK (PORT.STATUS PID 123456 LAYER.STACK) over and over again can show you what hex address in the program your process is at. I suggest calling this 50 or 100 times in a row and inspecting the output. Once you have the hex

[U2] [Ad] Training and Consultancy Services

2013-10-02 Thread Martin Phillips
U2 Training and Consultancy Services Best known as the developers of the OpenQM multivalue database, Ladybridge Systems also provides on-site training and consultancy services to QM and U2 sites in the UK at highly competitive prices. We were contracted by VMark, Ardent Software, Informix and

Re: [U2] Interesting....

2013-10-02 Thread Wjhonson
I have to think (and I havent' yet checked) that the names of the files opened will appear within the object code, since they have to be represented as literal strings when they are named. Sure you could pass the name in, but then the program wouldn't know it either, so we're just talking

Re: [U2] Interesting....

2013-10-02 Thread George Gallen
Both accounts (my login and the active one) have the D in INTR.KEY I now if I break out of a VOC, then the D is not an option And if I break out of that same program at an input, or when it's not stuck in a loop - the D was an option And when I wrote the test program below - and broke out of

Re: [U2] Interesting....

2013-10-02 Thread Wjhonson
You mean if you break out at a BASIC input ? If you break from a VOC you don't get the debug option, because you cannot debug VOC entries -Original Message- From: George Gallen ggal...@wyanokegroup.com To: U2 Users List u2-users@listserver.u2ug.org Sent: Wed, Oct 2, 2013 10:08

Re: [U2] Interesting....

2013-10-02 Thread George Gallen
Yes... The only time I've not had the D option, is when I break from a VOC Which is expected, since you can't debug a VOC. So, why would the D option not appear when you break from a basic program? Whenit does when you break from an input it does when another program is in a loop

Re: [U2] Interesting....

2013-10-02 Thread Wjhonson
The INTR.KEY in the VOC is not the only thing controlling breaking behaviour. It specifies the maximum level of ability, not the minimum, it can be overridden. However, please type PTERM DISPLAY at TCL and post the results for us to review. That is your first step, before we get more technical.

Re: [U2] Interesting....

2013-10-02 Thread George Gallen
PTERM DISPLAY (RUNNING UV 10.0.2) MODEEMULATE CC INTR= ^C QUIT= ^\ SUSP= OFF DSUSP = OFF SWITCH = OFF ERASE = ^H WERASE = OFF KILL= ^U LNEXT = OFF REPRINT = OFF EOF = ^D EOL = ^@ EOL2

Re: [U2] Interesting... Unidata VLIST options

2013-10-02 Thread McGowan, Ian
Changing the subject to not hijack the other thread. Yes, I too have a program that basically does a strings command on the object code and either dumps all strings or for each one looks it up in the VOC to check if it's a file. https://github.com/ianmcgowan/PickCode/blob/master/CHECK.FILES

Re: [U2] Interesting... Unidata VLIST options

2013-10-02 Thread Wjhonson
What is !strings ? I have no such command in Universe -Original Message- From: McGowan, Ian james.mcgo...@bankofthewest.com To: U2 Users List u2-users@listserver.u2ug.org Sent: Wed, Oct 2, 2013 10:42 am Subject: Re: [U2] Interesting... Unidata VLIST options Changing the

Re: [U2] Interesting... Unidata VLIST options

2013-10-02 Thread Dave Davis
It's a *nix command that shows the displayable characters in a file. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson Sent: Wednesday, October 02, 2013 1:46 PM To: u2-users@listserver.u2ug.org Subject: Re:

Re: [U2] Interesting... Unidata VLIST options

2013-10-02 Thread Wjhonson
A, my tool was written for use on Windows. -Original Message- From: Dave Davis dda...@harriscomputer.com To: U2 Users List u2-users@listserver.u2ug.org Sent: Wed, Oct 2, 2013 10:49 am Subject: Re: [U2] Interesting... Unidata VLIST options It's a *nix command that shows the

Re: [U2] Interesting....

2013-10-02 Thread George Gallen
I Don't know? I never really looked into the PTERM signals. I would think that is referring to a Break signal vs Control C (but I don't know) It's not that the Break is disabled - just the DEBUG option was missing. -Original Message- From: u2-users-boun...@listserver.u2ug.org

Re: [U2] Interesting....

2013-10-02 Thread Will Johnson
Is BREAK=NULL what you expected to see ? -Original Message- From: George Gallen-2 [via U2 (UniVerse UniData)] ml-node+s1073795n41901...@n5.nabble.com To: Will Johnson wjhon...@aol.com Sent: Wed, Oct 2, 2013 10:46 am Subject: Re: Interesting PTERM DISPLAY

Re: [U2] Interesting... Unidata VLIST options

2013-10-02 Thread McGowan, Ian
Po-te-to/Po-ta-to. http://technet.microsoft.com/en-us/sysinternals/bb897439.aspx A unidata VLIST clone would be great, and I've spent a long time looking at object code and can see some patterns, but it's grueling to get going. -Original Message- From:

Re: [U2] Interesting... Unidata VLIST options

2013-10-02 Thread Wjhonson
But I'm not sure why you'd do that? You can scan the BASIC object code, entirely within Pick BASIC Without recourse to any outside routine at all -Original Message- From: McGowan, Ian james.mcgo...@bankofthewest.com To: U2 Users List u2-users@listserver.u2ug.org Sent: Wed, Oct 2,

Re: [U2] Interesting....

2013-10-02 Thread Kevin King
Isn't there something that strips the symbol table during compile? If the symbol table were suppressed the D might not appear because it couldn't do much anyway, right? On Oct 2, 2013 11:53 AM, George Gallen ggal...@wyanokegroup.com wrote: I Don't know? I never really looked into the PTERM

Re: [U2] Interesting....

2013-10-02 Thread George Gallen
Nothing special in the compile. Why would it give the D in one part of the program , but not in another? Just very strange. Oh wellguess I'll have to chalk it up the computer having indigestion or something; Hopefully it didn't pick up a virus or bug! (I think I found them all now - but