Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
print exit|logout after ^D
- X-seq: zsh-workers 821
- From: "Benjamin Lorenz" <benni@xxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxxx
- Subject: print exit|logout after ^D
- Date: Wed, 13 Mar 1996 12:33:45 +0100 (MET)
- Organization: My private Linux/68k site (Atari TT)
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