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: 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 Here is a fix to the problem where you cannot type in a space: while(bufp != obufp) { bufp--; putstr("\b \b"); } ****** } else if(isprint(c)) { ****** *bufp = c; bufp[1] = 0; putstr(bufp); 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