cursor: read prefs are flags, not an enum.

Use a switch for a lookup table since we use bit flags to efficiently
do checks on read mode (rather than a plain enum).