> control: tags -moreinfo +help > I have applied the following patch as instructed. Please, see the results at the bottom.
> - please apply following patch and tell, if anything changes --- a/login.c +++ b/login.c @@ -45,17 +45,9 @@ void die(const char *message) { struct termios oldtermios; static void echo_off() { - struct termios foo; - if (tcgetattr(0,&oldtermios)) - die("tcgetattr failed"); - foo=oldtermios; - foo.c_lflag &= ~(ECHO | ECHOE | ECHOK | ECHONL); - tcsetattr(0, TCSANOW, &foo); } static void echo_on() { - oldtermios.c_lflag |= ECHO | ECHOE | ECHOK; - tcsetattr(0, TCSANOW, &oldtermios); } main(int argc,char *argv[]) { --- a/fgetty.c +++ b/fgetty.c @@ -32,11 +32,6 @@ void error(char *message,int exitcode) { } static void echo_off() { - struct termios foo; - if (!tcgetattr(0,&foo)) { - foo.c_lflag &= ~(ECHO | ECHOE | ECHOK | ECHONL); - tcsetattr(0, TCSANOW, &foo); - } } int doutmp() { --- --- > $ cd /tmp > $ apt-get source fgetty > $ save-my-last-email-to /tmp/email > $ cd fgetty-0.7 > $ quilt import ../tmp/email > $ dpkg-buildpackage -us -uc > $ sudo debi When trying to login with fgetty, I could read my password on the screen while typing. Did not continue. ngetty + login behaves good ngetty + login1 will get in well, but no key press will echo on the console. > > -- > Accept: text/plain, text/x-diff > Accept-Language: eo,en,ru > X-Web-Site: sinsekvu.github.io