55 Commits

Author SHA1 Message Date
Fish (David B. Trout) 12155ac6c3 dasdcat nicety: also do if extgui 2024-05-10 22:18:29 -07:00
Fish (David B. Trout) 2cebe913f2 dasdcat nicety: identify member being displayed 2024-05-10 21:27:53 -07:00
Fish (David B. Trout) afc5777ea4 Fix some gcc warnings:
dasdcat.c: ignoring return value of 'ftruncate'
tcpnje.c:  ignoring return value of 'write' (from write_pipe)
tcpnje.c:  ignoring return value of 'pipe'  (from create_pipe)

NOTE: the deprecation warning about <sys/sysctl.h> was NOT fixed. Being a Linux thing, it's going to take more effort, so it'll have to wait until later.
2021-10-29 14:30:17 -07:00
Fish (David B. Trout) 5cf1550fd2 UTILITY_DESC 2018-06-23 11:58:18 -07:00
Fish (David B. Trout) 07763516ad Remove unneeded 'set_codepage' calls:
The INITIALIZE_UTILITY and impl functions already do it.
2018-06-23 11:58:07 -07:00
Fish (David B. Trout) 4f1b20b622 Make DYNAMIC_LOAD, BUILD_SHARED, EXTERNALGUI permanent. 2018-03-08 13:27:42 -08:00
Fish (David B. Trout) a22e26e108 Use capital (C) in Copyright message 2018-03-08 13:27:34 -08:00
Fish (David B. Trout) 73d5972109 Remove redundant fmt_memsize_rounded and fix qstor_cmd typo 2017-06-06 05:39:16 -07:00
Fish (David B. Trout) 40c25a0f20 Fix MISSINGRETURN error with some compilers:
Adjust UNREACHABLE_CODE macro to prevent MISSINGRETURN error on some compilers. Closes #148.
2016-08-31 13:51:42 -07:00
Fish (David B. Trout) cb42d14b9d Remove tabs and trailing blanks:
PLEASE DO NOT USE TABS!  BLANKS ONLY!
2016-04-15 01:50:20 -07:00
Fish (David B. Trout) 83f997c1ae dasdcat fixes and enhancements:
Fix errors from not being properly detected by main.
Fix problem of stdout messages appearing in redirected extracted member output file:

  e.g. dasdcat ... dsname/member > member

Add new '?' (Info) member :flags option to report member physical track address.
Report when member not found.
Improve help message format.
Provide (helpful?) volume datasets Windows batch file.
2016-02-03 12:33:03 -08:00
Fish (David B. Trout) 080b725a43 General cleanup, mostly related to log message handling:
Removed  OPTION_LOCK_CONFIG_FILE (not needed and implemented wrong too)
Removed  OPTION_CMDTGT, OPTION_MSGCLR, OPTION_MSGHLD, OPTION_MSGLCK
         (Disabled by Jan since 10 Sep 2011 because not thread safe)

DISPLAY_INSTRUCTION_OPERANDS made permanent
OPTION_MVS_TELNET_WORKAROUND introduced

Fixed (all?) non-standard messages
Fixed instruction trace messages
Fixed herclin utility to build with pch (precompiled headers)
Fixed logger log_read bug
Fixed herclin so that it now actually works as expected
      (double messages fixed, Hercules exit detected, MSVC-only code removed)

MSGLVL 'debug' now works again (source file and line number prefix)
MSGLVL 'emsgloc' option identifies where error messages were issued.

Standardized and simplified utility startup
Standardized utility messages (all now use WRMSG or FWRMSG)
Standardized version reporting (version, copyright, AND build date)
Separated version and build-options reporting functions

Deleted some #if 0 disabled code
Activated some #if 1 enabled code
2015-07-20 07:16:15 -07:00
Jan Jaeger 439bdbca92 Remove subversion $Id$ tag
Update copyright statement to 2012
2012-03-24 18:41:51 +11:00
Paul Gorlinsky e49bb31945 Update copyright notices
git-svn-id: file:///home/jj/hercules.svn/trunk@7592 956126f8-22a0-4046-8f4a-272fa8102e63
2011-07-18 21:38:52 +00:00
Paul Gorlinsky e149a2f960 Cleanup unused variables in utilities...
git-svn-id: file:///home/jj/hercules.svn/trunk@7589 956126f8-22a0-4046-8f4a-272fa8102e63
2011-07-18 19:13:01 +00:00
Fish (David B Trout) 4182f5c621 SHOWDVOL1 command/statement to show dasd VOL1 in device list
git-svn-id: file:///home/jj/hercules.svn/trunk@7473 956126f8-22a0-4046-8f4a-272fa8102e63
2011-05-29 07:05:53 +00:00
Jan Jaeger 59c6347ba7 remove strtok_r related warning messages
git-svn-id: file:///home/jj/hercules.svn/trunk@6911 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-15 19:28:23 +00:00
Paul Gorlinsky a86eb779ec DASD Fixes for cyl > 32767
git-svn-id: file:///home/jj/hercules.svn/trunk@6882 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-13 03:11:14 +00:00
Paul Gorlinsky 8f1a68f9de make strtok_r use throughout system... some code was already using it.
Use "secure" forms for some functions for windows. sprintf changed to MSGBUF embedded snprintf or snprintf_s to prevent buffer overruns.

git-svn-id: file:///home/jj/hercules.svn/trunk@6570 956126f8-22a0-4046-8f4a-272fa8102e63
2010-09-22 22:59:21 +00:00
Paul Gorlinsky a753460335 Message process cleanup (remove .exe windows) in some messages
git-svn-id: file:///home/jj/hercules.svn/trunk@6111 956126f8-22a0-4046-8f4a-272fa8102e63
2010-06-11 03:49:44 +00:00
Bernard van der Helm 9182a90247 Std msg (including HHCnnnnn) dasdcat, dasdconv
git-svn-id: file:///home/jj/hercules.svn/trunk@6086 956126f8-22a0-4046-8f4a-272fa8102e63
2010-06-05 09:16:17 +00:00
Paul Gorlinsky 7da0d3503a Update notices; Standardize preamble...
git-svn-id: file:///home/jj/hercules.svn/trunk@5968 956126f8-22a0-4046-8f4a-272fa8102e63
2010-05-11 19:53:53 +00:00
Bernard van der Helm 89ab9fcaeb Message cleaup
git-svn-id: file:///home/jj/hercules.svn/trunk@5965 956126f8-22a0-4046-8f4a-272fa8102e63
2010-05-11 11:29:39 +00:00
Bernard van der Helm 56d0369332 copyright notice
git-svn-id: file:///home/jj/hercules.svn/trunk@5125 956126f8-22a0-4046-8f4a-272fa8102e63
2009-01-23 12:01:44 +00:00
Fish (David B Trout) 8185894132 Ensure consistent utility startup
git-svn-id: file:///home/jj/hercules.svn/trunk@4907 956126f8-22a0-4046-8f4a-272fa8102e63
2008-11-04 04:50:46 +00:00
Ivan Warren 0a090d20e9 Update copyright notices to include current year (2007)
git-svn-id: file:///home/jj/hercules.svn/trunk@4405 956126f8-22a0-4046-8f4a-272fa8102e63
2007-06-23 00:04:19 +00:00
Jan Jaeger 64b9a97a0d Add CVS message log
git-svn-id: file:///home/jj/hercules.svn/trunk@4102 956126f8-22a0-4046-8f4a-272fa8102e63
2006-12-08 09:43:35 +00:00
Jay Maynard 6d9dcb04e3 Added option to preserve sequence numbers when writing card images.
git-svn-id: file:///home/jj/hercules.svn/trunk@3677 956126f8-22a0-4046-8f4a-272fa8102e63
2006-02-11 17:43:41 +00:00
Jan Jaeger 52f1e00b35 Update copyright notice
git-svn-id: file:///home/jj/hercules.svn/trunk@3551 956126f8-22a0-4046-8f4a-272fa8102e63
2005-12-31 13:16:00 +00:00
Jay Maynard 2370aac4ee The big move: moving MSVC (mingw_port) branch to the trunk. Cross your
fingers...


git-svn-id: file:///home/jj/hercules.svn/trunk@3027 956126f8-22a0-4046-8f4a-272fa8102e63
2005-09-24 16:17:46 +00:00
Fish (David B Trout) 862464e98a add O_BINARY to open
git-svn-id: file:///home/jj/hercules.svn/trunk@2899 956126f8-22a0-4046-8f4a-272fa8102e63
2005-07-30 13:30:31 +00:00
Jan Jaeger 38b2d90e1b Add 1052/3215 integrated console
Update copyright to reflect 2005


git-svn-id: file:///home/jj/hercules.svn/trunk@2563 956126f8-22a0-4046-8f4a-272fa8102e63
2005-01-02 16:10:14 +00:00
Ivan Warren e77f31e411 Resolved pointers to signed/unsigned types. Host strings now 'char *' instead of 'BYTE *'
git-svn-id: file:///home/jj/hercules.svn/trunk@2451 956126f8-22a0-4046-8f4a-272fa8102e63
2004-10-14 15:21:06 +00:00
Jan Jaeger 0f549f13fb Copyright 2004
git-svn-id: file:///home/jj/hercules.svn/trunk@2144 956126f8-22a0-4046-8f4a-272fa8102e63
2004-01-02 20:06:32 +00:00
Jay Maynard b678dcffd5 Shortened version message printed at utility program startup. Added display
of default directory paths for libraries and HTTP documents. Fixed configure
bug that added /share to all directory paths after DESTPREFIX.


git-svn-id: file:///home/jj/hercules.svn/trunk@2053 956126f8-22a0-4046-8f4a-272fa8102e63
2003-10-11 23:35:10 +00:00
Ivan Warren 304e633f7a Merge of libtool_exp_merge_2 branch to main trunk
git-svn-id: file:///home/jj/hercules.svn/trunk@2005 956126f8-22a0-4046-8f4a-272fa8102e63
2003-09-21 16:39:20 +00:00
Jan Jaeger 6779468a54 Codepage logic changes
git-svn-id: file:///home/jj/hercules.svn/trunk@1722 956126f8-22a0-4046-8f4a-272fa8102e63
2003-07-27 16:41:04 +00:00
Jan Jaeger 69ca87cc62 Rollback a number of changes :-(
git-svn-id: file:///home/jj/hercules.svn/trunk@1403 956126f8-22a0-4046-8f4a-272fa8102e63
2003-06-02 13:16:07 +00:00
Fish (David B Trout) b4fae6f1f0 MANY changes. See CHANGES member for details.
git-svn-id: file:///home/jj/hercules.svn/trunk@1391 956126f8-22a0-4046-8f4a-272fa8102e63
2003-06-01 11:46:25 +00:00
Jan Jaeger eec89ecc1e Logger rework:
When either standard output or standard error is redirected then the entire log is also writen to the redirection.
The -d startup option disables the panel display, but the log is displayed unless both stdout and stderr are redirected.
Under hercules stderr is the screen (panel.c writes to stderr),stdout is the logger message pipe;
the logmsg() macro currently resolves to a simple printf() (logger.h)
When exit() or delayed_exit() is used, any preceeding error message should write to stderr.
Hercules initialization no longer fails on device initialization errors (missing files ...), error
messages are displayed in the log just like an invalid attach command.


git-svn-id: file:///home/jj/hercules.svn/trunk@1232 956126f8-22a0-4046-8f4a-272fa8102e63
2003-03-20 19:26:38 +00:00
Jan Jaeger 38dc432335 Update copyright statements to include 2003
git-svn-id: file:///home/jj/hercules.svn/trunk@1107 956126f8-22a0-4046-8f4a-272fa8102e63
2003-01-05 12:17:12 +00:00
Jan Jaeger 600668cecc *** empty log message ***
git-svn-id: file:///home/jj/hercules.svn/trunk@1094 956126f8-22a0-4046-8f4a-272fa8102e63
2002-12-19 21:13:16 +00:00
Jan Jaeger efaa34a59a Removed gabor's fixes again...
git-svn-id: file:///home/jj/hercules.svn/trunk@1092 956126f8-22a0-4046-8f4a-272fa8102e63
2002-12-19 19:24:23 +00:00
Jay Maynard 69090858b9 Renumbered and documented messages in dasdcat.c.
git-svn-id: file:///home/jj/hercules.svn/trunk@1088 956126f8-22a0-4046-8f4a-272fa8102e63
2002-12-18 23:22:33 +00:00
Greg Smith 2ed7ee8ff1 17 Jul 2002 New utility dasdcopy.c; replaces ckd2cckd and cckd2ckd and
adds fba2cfba and cfba2fba function - Greg Smith


git-svn-id: file:///home/jj/hercules.svn/trunk@976 956126f8-22a0-4046-8f4a-272fa8102e63
2002-07-17 23:27:49 +00:00
Fish (David B Trout) b6efc65a21 *** MAJOR CLEANUP **
git-svn-id: file:///home/jj/hercules.svn/trunk@970 956126f8-22a0-4046-8f4a-272fa8102e63
2002-07-14 09:21:25 +00:00
Jan Jaeger 5447aa1a8a CodePage converion table 850/273 - Gerd Petermann
Add HERCULES_CP environment variable - Jan Jaeger


git-svn-id: file:///home/jj/hercules.svn/trunk@883 956126f8-22a0-4046-8f4a-272fa8102e63
2002-05-08 19:29:48 +00:00
Jan Jaeger d41aa33495 Add codepage support (ref: codepage config statement)
git-svn-id: file:///home/jj/hercules.svn/trunk@873 956126f8-22a0-4046-8f4a-272fa8102e63
2002-05-01 11:49:35 +00:00
Fish (David B Trout) 1a2d7aab69 (see CHANGES)
git-svn-id: file:///home/jj/hercules.svn/trunk@801 956126f8-22a0-4046-8f4a-272fa8102e63
2002-04-08 11:15:16 +00:00
Greg Smith dde9c426b7 09 Mar 2002 Initial cckd dasd utilities support - Greg Smith
git-svn-id: file:///home/jj/hercules.svn/trunk@726 956126f8-22a0-4046-8f4a-272fa8102e63
2002-03-09 05:28:55 +00:00