index: always return an int for device_status, unless text is requested

add charwrite_text key for all charwrite devices