🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: net.sources.games
1 messages
1 total messages Started by solomon Mon, 23 Feb 1987 16:41
Bug in atc.
#821
Author: solomon
Date: Mon, 23 Feb 1987 16:41
19 lines
1267 bytes
There is a bug in Ed James's "atc" (air-traffic controller) game.
Since the fix simply involves changing the order of two lines, I'll
just explain it rather than post a context diff.

In graphics_curses.c, reverse the order of the first two executable
statements in init_gr().  They should read
	setbuf(stdout, buffer);
	initscr();

The other way around, any terminal initialization string ('ti') output
by curses gets lost.  Under xterm (X Window Package terminal emulator),
the bug causes xterm to get locked up when atc is run in a virgin X window,
since sending the terminal finalization string without first sending the
terminal initialization string locks up xterm.
-- 
	Marvin Solomon
	Computer Sciences Department
	University of Wisconsin, Madison WI
	solomon@gjetost.wisc.edu or seismo!uwvax!solomon
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads