Path: utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request From: auspex!guy@uunet.uu.net (Guy Harris) Newsgroups: comp.sys.sun Subject: Re: File completion in csh Keywords: Windows Message-ID: <2428@brchh104.bnr.ca> Date: 17 Apr 91 01:00:00 GMT Sender: news@brchh104.bnr.ca Organization: Sun-Spots Lines: 13 Approved: Sun-Spots@rice.edu X-Original-Date: 8 Apr 91 17:39:41 GMT X-Refs: Original: v10n63, Replies: v10n70 X-Sun-Spots-Digest: Volume 10, Issue 70, message 8 X-Note: Submissions: sun-spots@rice.edu, Admin: sun-spots-request@rice.edu >So what difference does it make rlogging into your own machine? "rlogin" runs in non-canonical mode, so it causes the command tool to stop usurping the functions of the tty driver, and just pass keystrokes through to the pseudo-tty. Given that the problem with file name completion in a command tool is that the C shell performs some unnatural acts with the tty driver (TIOCSTI with echo off), and given that the command subwindow code, when a process does a TIOCSTI with echo off, doesn't do what the C shell would expect the tty driver to do, as long as the command tool is acting as the tty driver, file name completion doesn't work. The "rlogin" makes it stop doing that, so file name completion starts working.