Path: utzoo!attcan!uunet!mcvax!unido!tub!net From: net@tub.UUCP (Oliver Laumann) Newsgroups: comp.unix.wizards Subject: Re: TIOCSTI (was Terminals are ridiculously insecure) Message-ID: <767@tub.UUCP> Date: 5 Feb 89 14:14:53 GMT References: <18176@adm.BRL.MIL> Reply-To: net@tub.UUCP (Oliver Laumann) Organization: Technical University of Berlin, Germany Lines: 15 In article <18176@adm.BRL.MIL> rbj@nav.icst.nbs.gov (Root Boy Jim) writes: > ? Oops, I forgot about filename completion in some C shells. > > I don't see why it is necessary for either. TCSH doesn't use it, and > it's completion works just as good or better. The reason why tcsh doesn't need it is that it implements its own line editing (i.e., duplicates parts of the functionality of the tty driver). If you implement completion by means of the secondary break character (like the csh under 4.3 BSD does) you need TIOCSTI to ``push back'' the result of the completion to allow the user to edit it. -- Oliver Laumann net@TUB.BITNET net@tub.UUCP