🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Joe Buck Sat, 27 Apr 1985 18:08
Running hack on Eunice: isprint bug
#509
Author: Joe Buck
Date: Sat, 27 Apr 1985 18:08
17 lines
1256 bytes
On Eunice v3.2, isprint returns false for space, in violation of the
documentation and the behavior of most Unixes (Unices? Uni?).
This means that you can't include a space in any input to hack, which makes
it difficult to use the wand of wishing, among other things.

The fix is trivial: in hack.tty.c, change the test
		else if (isprint(c)) {
to
		else if (c == ' ' || isprint(c)) {

Please, no flames about Eunice. It wasn't my choice.
-- 
Joe Buck				Entropic Processing, Inc.
					10011 N. Foothill Blvd.
					Cupertino, CA 95129
					(408) 973-9800
{amd,intelca,nsc,resonex,twg,forward,alien,krent}!conejo!epicen!jbuck
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