-
I give this patch to public domain and make no claim of copyright to this work.
This is a small patch which gives microsecond resolution to VIEW profiling output. It is tested only on Linux/x86 and it is possible to modify it to suit other platforms as well. The only requirement is availability of a getrusage(2) call.
To use this patch, copy patch file to directory with GT.M sources...
2009-11-20 17:13:07 UTC by sitkarev
-
The utility %GED (Global Editor) doesn't catch the Savefile, if gtmroutines doesn't contain the actual directory.
I've changed the Label %ged as follows:
%ged ;%ged - global editor
n (%zdebug)
n %zro
s %("lo")="abcdefghijklmnopqrstuvwxyz"
s %("up")="ABCDEFGHIJKLMNOPQRSTUVWXYZ"
s %zro=$zro
i %zro["(" s %zro=$p(%zro,"(",2),%zro=$p(%zro,")",1),%zro=$p(%zro," ",1)
i %zro="" s...
2009-11-17 21:09:45 UTC by jewuma
-
fixed in Version 5.3003.
2009-11-15 09:30:43 UTC by jewuma
-
While i'm translating the Programmmers Manual to german i found a little inconsistence:
In the Utilities %TI and %TO the labels INT lead to noninteractive use, while the invocation of %TI (or %TO) asking for user entry.
The Utilities %DH,%DO,%HD, %HO, %LCASE working the opposite way. INT^%UTILITY means interactive use, while the Call of %DH for example is the non-interactive form of use.
I...
2009-11-15 09:27:48 UTC by jewuma
-
Hello,
There are two things I miss using GT.M File I/O:
1. USE FILE:FILEPOS=1000 READ X#100 (moves the Filepointer to Position 1000 and reads 100 Bytes there)
2. S LOF=$ZLOF (Setting LOF to the Length of the actual File).
Maybe in one of the next releases???
Greets
Jens.
2009-10-26 20:55:13 UTC by jewuma
-
$zgetjpi(pid,"ISPROCALIVE")
2009-10-23 14:07:50 UTC by bhaskar
-
We have a situation where it would be ideal to determine the status of a given $JOB.
Ideally, we could create a function like $ZJOB(jobnumber) = (1=active,0=inactive).
Before we recreate the wheel, we wanted to check to see if you already have something that would work.
2009-10-23 13:58:12 UTC by dmiddleton
-
Thank you, the stty quit ^@ helped.
Jens.
2009-09-22 17:01:47 UTC by jewuma
-
Jens:
stty quit ^@ can also be used to undefine the mapping for the quit signal (so that no key sequence is mapped to the quit signal).
Thanks,
Bill.
2009-09-22 15:50:47 UTC by maimoneb
-
Jens:
Run the stty -a command and look for what character sequence sends the quit signal (signal 3).
On one of our linux systems it is:
quit = ^\
^\ is character 28 (decimal)
From what you have described you should see:
quit = ^^
^^ is character 30 (decimal)
To recreate your issue, I :
stty quit (this may vary depending upon your terminal emulator...
2009-09-22 14:35:00 UTC by maimoneb