caput should warn when truncating value string

Bug #954138 reported by Andrew Johnson
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ralph Lange

Bug Description

When the caput program is asked to put a string to a PV using the type DBR_STRING, it should print a warning (something like "string value truncated") if the string value will not fit into the 40 characters available after escaping. New users might think that the truncation just occurs for display purposes. Currently:

tux% caput anj:exit.DESC "This is a string which is much longer than the 40 characters available"
Old : anj:exit.DESC Exit subroutine
New : anj:exit.DESC This is a string which is much longer t

Tags: catools
Changed in epics-base:
assignee: nobody → Ralph Lange (ralph-lange)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.