[6194] in Athena Bugs

home help back first fref pref prev next nref lref last post

toehold should print out a newline on ^P

daemon@ATHENA.MIT.EDU (Chris VanHaren)
Wed Oct 10 10:55:10 1990

To: bugs@ATHENA.MIT.EDU
From: Chris VanHaren <vanharen@mit.edu>
Date: Wed, 10 Oct 90 10:54:55 EDT

What's wrong:
	Toehold should print out a newline when a user presses ^P, so
	that "login:" will be printed at the beginning of the line.
	Although this a purely aesthetic fix, it is trivial and would be
	nice to have...
Fix:

*** /source/athena/etc.athena/toehold.c	Thu Jul 12 14:28:10 1990
--- /usr/tmp/toehold.c	Tue Oct  9 15:08:10 1990
***************
*** 195,200 ****
--- 195,201 ----
  
      /* if the user typed ^P, we give him a login instead of an X */
      if (line[0] == '\020') {
+ 	    MSG("\n");
  #ifndef BROKEN_CONSOLE_DRIVER
  	    setpgrp(0, pgrp=0);		/* We have to reset the tty pgrp */
  	    ioctl(0, TIOCSPGRP, &pgrp);

home help back first fref pref prev next nref lref last post