[comp.sources.bugs] Bugs in Conquest - some fixes

peterc@cheops.OZ (Peter Chubb) (11/06/87)

1.  Carriage returns sometimes ignored -- have to use linefeed instead.

Some versions of Curses start life in nonl mode, others in nl mode:  This
causes the `have to hit linefeed instead of carriage return' bug.  To fix,
put a call to nl() after the call to raw() in main.c.

2.  Core dumps when a player other than the owner reads messages.  If more
than one player tries to read messages at the same time, the message file
gets mangled.

Conquest makes a slightly changed copy of the message file in the same
directory as the message file.  It always uses the same name.  If the new
file cannot be created, (i.e. directory not writeable) Conquest dumps core.
Fix: Use a unique file name (use mktemp) in /tmp

3. (This isn't a bug, just a couple of annoyances) Moving armies can be done
with the cursor control keys.  But to move civilians one needs to know the
sector designation of source and destination.  Furthermore, the use of space
and newline to end screens is counterintuitive (which do I use *this* time?).

I'm not posting a context diff because the changes are simple, and I've made
so many formatting changes these get lost.
			Peter Chubb
			peterc@cheops.OZ