Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site kpno.UUCP Path: utzoo!linus!philabs!seismo!hao!kpno!brown From: brown@kpno.UUCP Newsgroups: net.sources Subject: C shell command/filename completion, fix for a fix Message-ID: <243@kpno.UUCP> Date: Sat, 1-Oct-83 04:07:07 EDT Article-I.D.: kpno.243 Posted: Sat Oct 1 04:07:07 1983 Date-Received: Sun, 2-Oct-83 10:53:13 EDT Organization: Kitt Peak Natl. Obs. Tucson, AZ Lines: 24 There is a problem when you start using the clear-to-end-of-line string, some terminals require padding. I punted the entire question of using the termlib routines and just put a check in to strip off any padding delays. This is for 4.1BSD, not one of the later a-c releases. Thanks to ut-ngp!clyde for the bulk of the fixes for 4.1?BSD and Ken Greer at HP for contributing the csh mods to start with. Mike Brown Kitt Peak National Observatory {arizona,decvax,hao,ihnp4,lbl-csam, sdcarl,sdcsvax,seismo,unc,utastronomy,ut-sally} !kpno!brown diff output for tenex.c follows: ============================================================================ 20a21 > #include 828c829,830 < if (CLREOL) /* can clear to end of line */ --- > if (CLREOL) { /* can clear to end of line */ > while(isdigit(*CLREOL)) CLREOL++; /* skip any padding info */ 829a832 > }