Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!usc!ucsd!ucbvax!bloom-beacon!athena.mit.edu!jik From: jik@athena.mit.edu (Jonathan I. Kamens) Newsgroups: comp.unix.misc Subject: Re: Login vs. typeahead Message-ID: <1990Nov13.235307.9263@athena.mit.edu> Date: 13 Nov 90 23:53:07 GMT References: <1990Nov13.182623.18967@smsc.sony.com> <71572@iuvax.cs.indiana.edu> Sender: daemon@athena.mit.edu (Mr Background) Reply-To: jik@athena.mit.edu (Jonathan I. Kamens) Organization: Massachusetts Institute of Technology Lines: 20 In article <71572@iuvax.cs.indiana.edu>, speelmo@bronze.ucs.indiana.edu (Lance Speelmon -- UCS) writes: |> The machines that we have here also act the same way. I don't think |> that there is any way to change that. I could be wrong though. If you really want to change it, which (as I said in my previous posting) is probably a bad idea, it is easy to do so as long as you have source code. You change the getpass() routine in the C library so that it uses TIOCSETN instead of TIOCSETP when doing the ioctl to turn off echoing. If you don't have source code, it is still possible to change it if you know what you're doing and you have unstripped binaries. If you want to change individual programs, you load them into adb, find the getpass() routine, find the call to ioctl, and change the TIOCSETP constant to TIOCSETN. If you want to change it for everything, you do the same thing on the C library. -- Jonathan Kamens USnail: MIT Project Athena 11 Ashford Terrace jik@Athena.MIT.EDU Allston, MA 02134 Office: 617-253-8085 Home: 617-782-0710