wstr_eq_n util
bound reading/writing strings
max_accel_len to truncate input accel