🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.games.hack
Article #491

Re: Space on Input

#491
From: Kelly Hickel
Date: Wed, 24 Apr 1985 01:54
25 lines
1024 bytes
Here is a fix to the problem where you cannot type in a space:

<original code>
			while(bufp != obufp) {
				bufp--;
				putstr("\b \b");
			}
******		} else if(isprint(c)) {  ******
			*bufp = c;
			bufp[1] = 0;
			putstr(bufp);

<new code  (starred line)>
			while(bufp != obufp) {
				bufp--;
				putstr("\b \b");
			}
*****		} else if(isprint(c) || c == ' ') {    ****
			*bufp = c;
			bufp[1] = 0;
			putstr(bufp);

   Kelly Hickel

ARPA:  hickel@cmu-ri-vi.arpa
Technical Details
Message-ID: <201@cmu-ri-vi.ARPA>
Path: arc1-ca.pugleaf.net!utzoo!linus!philabs!cmcl2!seismo!rochester!cmu-cs-pt!cmu-ri-vi!hickel

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10 5/3/83; site cmu-ri-vi.ARPA
Path: arc1-ca.pugleaf.net!utzoo!linus!philabs!cmcl2!seismo!rochester!cmu-cs-pt!cmu-ri-vi!hickel
From: hickel@cmu-ri-vi.ARPA (Kelly Hickel)
Newsgroups: net.games.hack
Subject: Re: Space on Input
Message-ID: <201@cmu-ri-vi.ARPA>
Date: Tue, 23-Apr-85 20:54:18 EST
Article-I.D.: cmu-ri-v.201
Posted: Tue Apr 23 20:54:18 1985
Date-Received: Fri, 26-Apr-85 04:49:14 EST
Organization: Carnegie-Mellon University, CS/RI
Lines: 25