Fish (David B. Trout)
84fb082c53
(reword "more help" message)
2015-01-18 15:56:17 -08:00
Fish (David B. Trout)
71af3f0344
Remove tabs and correct minor build errors
2014-12-02 11:34:43 -08:00
Enrico Sorichetti
93005fb28b
symbols cleanup
...
renamed some flags for consistency
obey casing rules for symbol names ( case sensitive for unix like )
deleted the setenv code
proper stacking of symbols values
some non symbols related mods ( cosmetics ??? )
tested on ...
Yosemite(CLANG), Centos-6(GCC), Centos-7 (CLANG and GCC)
( reinstalling windows XP under VMware takes longer than planned )
2014-11-30 17:29:41 +01:00
Fish (David B. Trout)
904985b4b8
New InternalHercCmd func to reduce chance of bad CallHercCmd call:
...
CallHercCmd "fails" when argument 3 (cmdline) is NULL (where "fails" == "command is ignored and is instead processed as if <enter> key was pressed without having entered any command at all").
2014-11-21 21:14:12 -08:00
Fish (David B. Trout)
dbff865b99
HTHREADS/PTTRACE rework Part 2(b): Report abandoned locks
...
Still to be done: Part 3(a): fthreads R/W locks support
Part 3(b): Robust Mutexes support
2013-06-15 08:27:31 -07:00
Fish (David B. Trout)
5ab28746f0
OPTION_PTTRACE made permanent; build option removed.
2013-05-31 11:16:35 -07:00
Fish (David B. Trout)
cd67fe67b8
Don't presume thread-ids are integers:
...
Docs clearly start you shouldn't directly compare thread-ids since a thread-id, being an implementation defined opaque object, could easily be a struct or a pointer to a struct, etc. You should use the Hercules "equal_threads" macro which calls the implementation provided thread-id comparison function.
2013-05-16 12:06:03 -07:00
Fish (David B. Trout)
dacd3db367
Fix some gcc compiler warnings
2013-04-26 14:17:48 -07:00
Fish (David B. Trout)
0f74bd520d
Add help support for internal debugging commands:
...
$zapcmd, $locate (was locate) and $test commands: cmdlvl must also be at least prog + dev + debug, else commands are hidden/inaccessible.
2013-01-19 22:07:18 -08:00
Fish-Git
b7b3ccc21e
Honor return code from command-line functions.
...
(missed a spot in earlier commit 2e6e208a69 )
2012-06-03 11:04:44 -07:00
Fish-Git
2e6e208a69
REXX related fixes:
...
Honor return code from command-line functions.
Fix rexx subcommand handler memory free bugs.
Test new rexx subcommand handling.
2012-06-01 12:22:37 -07:00
Jan Jaeger
439bdbca92
Remove subversion $Id$ tag
...
Update copyright statement to 2012
2012-03-24 18:41:51 +11:00
Jan Jaeger
b2a848c0da
Correct OPTION_CMDTGT and CONFIG_SYMBOLS
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7735 956126f8-22a0-4046-8f4a-272fa8102e63
2011-09-02 02:02:58 +00:00
Paul Gorlinsky
31c9a99803
Remove LOGMSG macro. Change LOGMSG to logmsg. Rename log_msg() to logmsg().
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7688 956126f8-22a0-4046-8f4a-272fa8102e63
2011-08-12 23:28:17 +00:00
Paul Gorlinsky
2c2eaf37dc
Restore code regressed by latest changes.
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7678 956126f8-22a0-4046-8f4a-272fa8102e63
2011-08-09 02:00:07 +00:00
Jan Jaeger
032e72e79b
Revert to lowercase logmsg()
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7669 956126f8-22a0-4046-8f4a-272fa8102e63
2011-08-07 00:09:14 +00:00
Paul Gorlinsky
03a4560910
Update Copyright notices to 2011.
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7593 956126f8-22a0-4046-8f4a-272fa8102e63
2011-07-18 22:19:10 +00:00
Fish (David B Trout)
2ea8590164
Fix 'r', 'v' and 'u' cmds to support comments.
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7533 956126f8-22a0-4046-8f4a-272fa8102e63
2011-06-26 00:29:28 +00:00
Fish (David B Trout)
ba6181c87f
Implement asynchronous script command handling (the ability
...
to run multiple script commands simultaneously). Enhance the
script command to optionally report all running scripts and
cscript command to be able to cancel any one or all of them.
Enter "help script" and "help cscript" for more information.
git-svn-id: file:///home/jj/hercules.svn/trunk@7514 956126f8-22a0-4046-8f4a-272fa8102e63
2011-06-21 04:00:24 +00:00
Fish (David B Trout)
255c997918
Fix to OPTION_CMDSER
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7505 956126f8-22a0-4046-8f4a-272fa8102e63
2011-06-11 23:43:11 +00:00
Jan Jaeger
e07292e996
Make command serialisation optional
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7498 956126f8-22a0-4046-8f4a-272fa8102e63
2011-06-08 06:38:37 +00:00
Fish (David B Trout)
2c78c5abf9
Tweak Hercules command echoing
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7492 956126f8-22a0-4046-8f4a-272fa8102e63
2011-06-03 14:57:07 +00:00
Fish (David B Trout)
4f2b30db25
Fix script recursion and cscript handling
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7489 956126f8-22a0-4046-8f4a-272fa8102e63
2011-06-03 13:57:08 +00:00
Bernard van der Helm
bb6284c9f1
HelpCommand defined as non-static due to error:
...
cmdtab.c:516:12: error: static declaration of 'HelpCommand' follows
non-static declaration
cmdtab.h:1271:1: note: previous declaration of 'HelpCommand' was here
cmdtab.c:516:12: warning: 'HelpCommand' defined but not used
git-svn-id: file:///home/jj/hercules.svn/trunk@7488 956126f8-22a0-4046-8f4a-272fa8102e63
2011-06-03 10:14:51 +00:00
Fish (David B Trout)
2f2361cdba
Fix command processing serialization/locking
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7487 956126f8-22a0-4046-8f4a-272fa8102e63
2011-06-02 12:40:39 +00:00
Paul Gorlinsky
15fc06354c
Restore command locking to prevent integrity problems.
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7484 956126f8-22a0-4046-8f4a-272fa8102e63
2011-05-31 14:42:10 +00:00
Fish (David B Trout)
833dd6ac64
Remove unnecessary(?) command processing locking functionality.
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7482 956126f8-22a0-4046-8f4a-272fa8102e63
2011-05-31 04:56:05 +00:00
Fish (David B Trout)
2ef82c31c5
Additional command processing cleanup: 1) move all Hercules command processing
...
to the Hercules command processing function where it belongs, 2) Fix comment
processing to always call comment_cmd function, 3) fix comment processing to
honor original '*' == "loud" comment / '#' == "silent" comment design, 4) more
thoroughly document code with comments, 5) remove extraneous trailing blanks
from cmdtab.h accidentally introduced by SVN 7467.
git-svn-id: file:///home/jj/hercules.svn/trunk@7470 956126f8-22a0-4046-8f4a-272fa8102e63
2011-05-22 23:33:08 +00:00
Fish (David B Trout)
17df64ae90
Use #define constants for cmdtgt values
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7469 956126f8-22a0-4046-8f4a-272fa8102e63
2011-05-22 23:17:24 +00:00
Fish (David B Trout)
a831bd3be6
Cleanup command processing and implement sorted command list display.
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7467 956126f8-22a0-4046-8f4a-272fa8102e63
2011-05-21 01:58:01 +00:00
Paul Gorlinsky
9081b644c7
Function logmsg() renamed to log_msg(). LOGMSG define added. All logmsg calls changed to LOGMSG.
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7333 956126f8-22a0-4046-8f4a-272fa8102e63
2011-02-23 03:48:52 +00:00
Fish (David B Trout)
5571ea3e61
.
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7323 956126f8-22a0-4046-8f4a-272fa8102e63
2011-02-09 08:37:00 +00:00
Fish (David B Trout)
9cea5586bf
(comment)
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7319 956126f8-22a0-4046-8f4a-272fa8102e63
2011-02-06 23:11:55 +00:00
Bernard van der Helm
0d5483ed11
Help message example for message HHC01415
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7117 956126f8-22a0-4046-8f4a-272fa8102e63
2010-11-20 09:01:14 +00:00
Paul Gorlinsky
863e774ef4
Add help for mainsize, xpndsize, defstore. Message cleanup for locate command.
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7073 956126f8-22a0-4046-8f4a-272fa8102e63
2010-11-07 22:17:36 +00:00
Paul Gorlinsky
d8e2901eb2
Update cmdlevel processes. Enforce SYSCMDALL-SYSOPER on sf* and *+/- commands. Prevent some commands from being used by DIAG8. STOPALL, STARTALL, STOP, START, IPL, IPLC, SYSRESET, SYSCLEAR, RESTART, etc.
...
git-svn-id: file:///home/jj/hercules.svn/trunk@6937 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-18 03:43:09 +00:00
Jan Jaeger
d4c9690ef6
Correct hdl external command call
...
git-svn-id: file:///home/jj/hercules.svn/trunk@6932 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-17 09:35:21 +00:00
Paul Gorlinsky
f714312490
Improve messages for some commands, Add display to mainsize, xpndsize. Correct invalid command vs error returned from command.
...
git-svn-id: file:///home/jj/hercules.svn/trunk@6928 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-17 04:19:04 +00:00
Jan Jaeger
a02270be90
Rework command and config processing:
...
- Change command class CONFIG to command level CONFIG
- Create group SYSNDIAG: commands may not be executed by means of DIAG8
- Fix segfault in single step trace
git-svn-id: file:///home/jj/hercules.svn/trunk@6925 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-16 19:46:19 +00:00
Paul Gorlinsky
9aec36ce7a
Add SYSCONFIG to COMMAND
...
git-svn-id: file:///home/jj/hercules.svn/trunk@6921 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-15 22:59:49 +00:00
Paul Gorlinsky
cd65dcc8b4
Add DEVN like CCUU as symbol
...
git-svn-id: file:///home/jj/hercules.svn/trunk@6919 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-15 22:39:28 +00:00
Jan Jaeger
0b9e083f9e
Add SYSCONFIG command auth
...
git-svn-id: file:///home/jj/hercules.svn/trunk@6916 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-15 21:58:08 +00:00
Paul Gorlinsky
13bb315168
Rework for single arch builds of S/370, S/390 and z/Arch
...
git-svn-id: file:///home/jj/hercules.svn/trunk@6912 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-15 19:47:33 +00:00
Jan Jaeger
434c47c988
cleanup global vars
...
git-svn-id: file:///home/jj/hercules.svn/trunk@6905 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-15 14:34:08 +00:00
Jan Jaeger
8ceb865729
Allow commands to be executed in the background by specifying '&' as last arg
...
ie 'script abc' runs in the foreground
'script abc &' runs in the background
'script abc &&' runs in the foreground but passes '&' as last arg
'script abc & &' runs in the background and passes '&' as last atg
git-svn-id: file:///home/jj/hercules.svn/trunk@6904 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-15 12:53:28 +00:00
Paul Gorlinsky
33dbb8b9e4
cache command changes... cache [dasd system [on|off]] pre-stage functionality
...
git-svn-id: file:///home/jj/hercules.svn/trunk@6895 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-14 22:23:19 +00:00
Paul Gorlinsky
8c111ab53a
Set Proper return codes
...
git-svn-id: file:///home/jj/hercules.svn/trunk@6881 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-13 02:14:01 +00:00
Paul Gorlinsky
b0e6c9f45b
Script and Rexx fixes. Script will now recuse properly. Add EXECB for background rexx processing of commands. cmdtab will process one command at a time. Trying to make command processing more thread safe.
...
git-svn-id: file:///home/jj/hercules.svn/trunk@6874 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-12 03:40:10 +00:00
Paul Gorlinsky
77e7e9eb5e
If debugging display RC from commands
...
git-svn-id: file:///home/jj/hercules.svn/trunk@6773 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-03 19:26:25 +00:00
Jan Jaeger
2ac2626711
Fix OPTION_CMDTGT
...
git-svn-id: file:///home/jj/hercules.svn/trunk@6770 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-03 16:19:31 +00:00