Handle a bare numeric token on the command line a bit more gracefully.

This commit is contained in:
Eric S. Raymond 2018-11-11 09:05:03 -05:00
parent ac2dad44bc
commit d5d6a3e02d
3 changed files with 8 additions and 0 deletions

View file

@ -76,6 +76,9 @@ Unrecognized words are no longer truncated to 5 characters and
uppercased when they are echoed. The "-o" (oldstyle) option restores
this behavior.
Typing a numeric liteteral to the command prompt no longer triggers a
fatal error. This change is reverted by the oldstyle option.
A "seed" command has been added. This is not intended for human use
but as a way for game logs to set the PRNG (pseudorandom-number generator) so
that random events (dwarf & pirate appearances, the bird's magic word)