Commit Graph

52 Commits

Author SHA1 Message Date
Ralph Lange
3ca705752a catools: Fix help text for "-s" option (also in CA RefMan) 2010-11-24 13:31:47 -05:00
Andrew Johnson
a5d4572691 catools: Build on all archs except vxWorks and RTEMS.
Was only building on HOST, now does cross-builds too.
2010-10-27 10:30:41 -05:00
Ralph Lange
cbe2938628 catools: Fix caput so it can write enums w/o strings 2010-09-28 13:38:59 -04:00
Michael Abbott
aa23ab63f1 Add autosizing array support for caget and camonitor. 2010-08-11 16:39:52 -05:00
Ralph Lange
c8470a2473 Added -l.. commandline options to catools (by Stephanie Allison) 2009-12-15 22:05:55 +00:00
Andrew Johnson
1ea4b4414a Memory allocation checks from Micheal Davidsaver. 2009-05-05 15:35:05 +00:00
Ralph Lange
2e8595f17f Fix: caput quits when connection fails (catools) 2009-04-03 19:46:32 +00:00
Ralph Lange
f30a89d249 Remove CVS Id that causes just too much trouble. 2009-04-03 14:37:59 +00:00
Ralph Lange
40d0942a81 Remove fake BNL copyright notice until we have a license agreement. 2009-04-03 14:33:37 +00:00
Ralph Lange
e18eb714a8 Print OFS for empty (suppressed) STAT/SEVR fields (catools) 2009-04-02 18:52:59 +00:00
Ralph Lange
b1556bd871 New DBE_PROPERTY event type and support in catools and mbbi/mbbo records 2009-04-02 15:51:30 +00:00
Ralph Lange
f156474714 Fix: Print indentation (catools) 2009-04-02 15:39:13 +00:00
Ralph Lange
e484093493 Bugfixes plus added support for escaping non-printables and field separator to CA commandline tools. 2009-04-02 02:14:33 +00:00
Ralph Lange
6a17b86743 Added support for handling strings as arrays of char (aka long strings); new -S option switches this feature.
Fixed some inconsistencies with data print formats for enums and arrays.
2009-03-31 19:39:06 +00:00
Ralph Lange
c5773eafb4 Added -p option to specify CA priority. 2008-11-14 13:03:25 +00:00
Ralph Lange
af2b7a3ef2 Fix: Don't print space after single value, only between values of an array 2008-10-06 15:51:51 +00:00
Ralph Lange
442633fc87 Minor fix in help message. 2008-09-29 14:11:59 +00:00
Ralph Lange
84f56e57f4 Changed timestamp related commandline options, added choice of client and/or server timestamps. 2008-09-29 14:10:51 +00:00
Andrew Johnson
aa9b36d7f9 Cosmetic. 2008-09-23 20:23:30 +00:00
Andrew Johnson
9c106ce023 Fixed possible race condition storing callback status. 2008-07-23 16:31:10 +00:00
Ralph Lange
73e17ac32a Applied caput patches from Andy Foster; updated usage infos to match 2008-04-17 02:31:36 +00:00
Andrew Johnson
cda58de74a Win32 doesn't support line buffering, so fflush after every printf. 2007-01-25 21:21:05 +00:00
Ralph Lange
402d22eac6 Patches for max array size determination as suggested by Malcolm Waters (Diamond). 2006-06-07 07:24:19 +00:00
Ralph Lange
2bed5dd8bf Fixed comment. 2006-06-07 07:20:01 +00:00
Ralph Lange
85eacf584c Integrating change by Malcolm Waters: fix for "-c -w 0" hanging forever 2006-02-06 16:08:04 +00:00
Ralph Lange
d6b6955903 Integrating change by Malcolm Waters: += put_callback option - heavily based on caget 2006-02-06 16:04:55 +00:00
Jeff Hill
5d31c721ad fixed msvc++ 8 assert failure.
I had a closer look at the MS and the POSIX doc. It appears that
there is confusion between the two related to how the arguments
are interpreted when the user buffer pointer is null. In the POSIX
doc it clearly states that the count only applies if the user pointer
isn't nill. In the MS doc it clearly states that the count is also the
size of the internally allocated buffer when the user pointer is nill.

It seems that a reasonable compromise will be to specify a buffer
size of BUFSIZ (defined by POSIX and fortunately also by windows).
2005-11-29 17:05:00 +00:00
Ralph Lange
4c302621e2 Use separate flag for once_connected state; += as-string option. 2004-10-19 15:27:51 +00:00
Ralph Lange
22ef6a9653 Use separate flag for once_connected state. 2004-10-19 15:20:34 +00:00
W. Eric Norum
0dc034962c Use epicsScanFloat/epicsScanDouble rather than sscanf.
This allows proper handling of Nan/Inf on all architectures.
2004-10-12 17:45:31 +00:00
W. Eric Norum
4f731caf14 Add os-independent epicsStrtod() routine. 2004-10-11 18:22:12 +00:00
Ralph Lange
b04811e146 Use correct option character. optopt is valid only when getopt returns '?'. 2004-09-24 11:38:10 +00:00
Ralph Lange
6c12088e2a += connection status reporting (based on Jeff's suggestions plus timestamps for connection loss events) 2004-09-23 15:47:57 +00:00
cvs2svn
ce1be263d5 This commit was manufactured by cvs2svn to create branch 'B3.14'. 2004-07-07 16:03:49 +00:00
W. Eric Norum
44c358d6bd Use correct option character. optopt is valid only when getopt returns '?'. 2004-07-06 03:01:11 +00:00
Ralph Lange
1c594c2522 Warning fix. 2004-05-28 11:33:11 +00:00
Ralph Lange
0897e71ca0 += caput 2004-05-28 11:07:28 +00:00
Ralph Lange
2cdb8d2cbb Cosmetic changes (misleading var name). 2004-05-28 11:00:25 +00:00
Ralph Lange
d625b13899 Bugfix for absolute timestamps. 2004-05-26 12:51:21 +00:00
Ralph Lange
50f58c9974 Fix: name clash on Solaris. 2004-05-25 09:29:49 +00:00
Ralph Lange
09ef609f43 Use epicsTime (instead of tsDefs); improved timestamp format and behaviour; fixed compiler warnings. 2004-04-22 15:56:59 +00:00
Ralph Lange
5e5346e6b3 oops. 2004-04-21 18:58:46 +00:00
Ralph Lange
a011b98f62 += cainfo 2004-04-21 18:50:40 +00:00
Ralph Lange
72a1539a86 += '-g' option to set %g precision 2004-04-21 18:27:42 +00:00
Ralph Lange
f169cd57f9 camonitor += relative and incremental timestamps 2004-04-21 13:46:28 +00:00
Ralph Lange
27f39ec664 += camonitor 2004-04-19 16:40:28 +00:00
Ralph Lange
b3872bf14a Fixed DLL definitions for epicsGetopt (on WIN) 2004-04-14 15:45:27 +00:00
Ralph Lange
1ab4c344aa += epicsGetopt to declare (default) or implement (WIN) getopt() 2004-04-14 14:38:25 +00:00
Ralph Lange
ac1258fcc7 Bugfix; added note to keep people from using parseOptions(). 2004-01-28 20:48:31 +00:00
Ralph Lange
b53ad8b82f Removed malloc.h reference (Eric says ANSI says stdlib.h) 2004-01-20 15:29:47 +00:00