setopt: bit operations are signed
Convert to using strcmp() for atoms

Atoms are restricted to 256 bytes (including the trailing \0).