Commit Graph

26 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
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
40d0942a81 Remove fake BNL copyright notice until we have a license agreement. 2009-04-03 14:33:37 +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
73e17ac32a Applied caput patches from Andy Foster; updated usage infos to match 2008-04-17 02:31:36 +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
85eacf584c Integrating change by Malcolm Waters: fix for "-c -w 0" hanging forever 2006-02-06 16:08:04 +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
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
Ralph Lange
b04811e146 Use correct option character. optopt is valid only when getopt returns '?'. 2004-09-24 11:38:10 +00:00
Ralph Lange
2cdb8d2cbb Cosmetic changes (misleading var name). 2004-05-28 11:00:25 +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
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
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
b53ad8b82f Removed malloc.h reference (Eric says ANSI says stdlib.h) 2004-01-20 15:29:47 +00:00
Ralph Lange
3ea334068e Added parseOptions to add getopt() functionality (and allow compiling on WIN32) 2004-01-20 12:41:16 +00:00
cvs2svn
f58b4e2efd This commit was manufactured by cvs2svn to create branch 'B3.14'. 2004-01-20 12:38:42 +00:00