C shell command/filename completion, fix for a fix
brown at kpno.UUCP
brown at kpno.UUCP
Sat Oct 1 18:07:07 AEST 1983
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 <ctype.h>
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
> }
More information about the Comp.sources.unix
mailing list