Displaying 3 results from an estimated 3 matches for "atty".
Did you mean:
attr
2006 Jan 02
1
winecfg drives, ALSA and crash problem
Skipped content of type multipart/alternative-------------- next part --------------
A non-text attachment was scrubbed...
Name: winecfg.jpg
Type: image/jpeg
Size: 96959 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-users/attachments/20060102/6d03599c/winecfg-0001.jpg
2020 Mar 28
0
[klibc:update-dash] dash: var: Set IFS to fixed value at start time
...bin:/bin";
-#ifdef IFS_BROKEN
-const char defifsvar[] = "IFS= \t\n";
-#else
-const char defifs[] = " \t\n";
-#endif
+char defifsvar[] = "IFS= \t\n";
MKINIT char defoptindvar[] = "OPTIND=1";
int lineno;
@@ -90,11 +86,7 @@ struct var varinit[] = {
#if ATTY
{ 0, VSTRFIXED|VTEXTFIXED|VUNSET, "ATTY\0", 0 },
#endif
-#ifdef IFS_BROKEN
{ 0, VSTRFIXED|VTEXTFIXED, defifsvar, 0 },
-#else
- { 0, VSTRFIXED|VTEXTFIXED|VUNSET, "IFS\0", 0 },
-#endif
{ 0, VSTRFIXED|VTEXTFIXED|VUNSET, "MAIL\0", changemail },
{ 0, VSTRFIXED|VTE...
2020 Mar 28
0
[klibc:update-dash] dash: mkinit: Split reset into exitreset and reset
...+++ b/usr/dash/main.c
@@ -106,7 +106,7 @@ main(int argc, char **argv)
int e;
int s;
- reset();
+ exitreset();
e = exception;
@@ -114,6 +114,8 @@ main(int argc, char **argv)
if (e == EXEXIT || s == 0 || iflag == 0 || shlvl)
exitshell();
+ reset();
+
if (e == EXINT
#if ATTY
&& (! attyset() || equal(termval(), "emacs"))
diff --git a/usr/dash/mkinit.c b/usr/dash/mkinit.c
index 9714bee0..5bca9ee8 100644
--- a/usr/dash/mkinit.c
+++ b/usr/dash/mkinit.c
@@ -106,6 +106,13 @@ char init[] = "\
* Initialization code.\n\
*/\n";
+char exitres...