Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2(pesnta.1.3) 9/5/84; site epicen.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!umcp-cs!gymble!lll-crg!dual!zehntel!vlsvax1!qantel!intelca!t12tst!epicen!jbuck From: jbuck@epicen.UUCP (Joe Buck) Newsgroups: net.games.hack Subject: Running hack on Eunice: isprint bug Message-ID: <123@epicen.UUCP> Date: Sat, 27-Apr-85 14:08:43 EDT Article-I.D.: epicen.123 Posted: Sat Apr 27 14:08:43 1985 Date-Received: Mon, 29-Apr-85 06:37:19 EDT Distribution: net Organization: Entropic Processing, Inc., Cupertino, CA Lines: 17 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