Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

print exit|logout after ^D



Huhu,

here comes a patch I'd love to see included in beta14...


*** zsh-2.6-beta13/Src/zle_main.c	Thu Dec 21 23:44:41 1995
--- zsh-2.6-beta13-patched/Src/zle_main.c	Wed Mar 13 01:30:27 1996
***************
*** 423,428 ****
--- 423,432 ----
  	statusline = NULL;
  	bindk = getkeycmd();
  	if (!ll && c == eofchar) {
+ 	    if (interact) {
+ 	        printf("%s", islogin ? "logout" : "exit");
+ 	        fflush(stdout);
+ 	    }
  	    eofsent = 1;
  	    break;
  	}
-- 
Windows 95 kann alles, wegen der 32 Bit.
Wenn ich 32 Bit getrunken habe, meine ich auch immer, ich könnte alles.
                                                             (Koschwitz)




Messages sorted by: Reverse Date, Date, Thread, Author