From a6c752201e9031b51a6d89349f1cec1f690f56ef Mon Sep 17 00:00:00 2001
From: Erik Andersen <andersen@codepoet.org>
Date: Tue, 18 Apr 2000 00:00:52 +0000
Subject: Updates  -Erik

---
 shell/cmdedit.c | 3 +++
 shell/lash.c    | 1 -
 2 files changed, 3 insertions(+), 1 deletion(-)

(limited to 'shell')

diff --git a/shell/cmdedit.c b/shell/cmdedit.c
index 1434c36f6..ebc6b9696 100644
--- a/shell/cmdedit.c
+++ b/shell/cmdedit.c
@@ -83,6 +83,7 @@ cmdedit_setwidth(int w)
 void cmdedit_reset_term(void)
 {
 	if (reset_term)
+		/* sparc and other have broken termios support: use old termio handling. */
 		ioctl(fileno(stdin), TCSETA, (void *) &old_term);
 }
 
@@ -378,6 +379,7 @@ extern void cmdedit_read_input(char* prompt, char command[BUFSIZ])
 
 	memset(command, 0, sizeof(command));
 	if (!reset_term) {
+		/* sparc and other have broken termios support: use old termio handling. */
 		ioctl(inputFd, TCGETA, (void *) &old_term);
 		memcpy(&new_term, &old_term, sizeof(struct termio));
 
@@ -589,6 +591,7 @@ extern void cmdedit_read_input(char* prompt, char command[BUFSIZ])
 	}
 
 	nr = len + 1;
+	/* sparc and other have broken termios support: use old termio handling. */
 	ioctl(inputFd, TCSETA, (void *) &old_term);
 	reset_term = 0;
 
diff --git a/shell/lash.c b/shell/lash.c
index bbf57752b..97db8afaf 100644
--- a/shell/lash.c
+++ b/shell/lash.c
@@ -120,7 +120,6 @@ static struct builtInCommand bltins[] = {
 	{"pwd", "Print current directory", "pwd", shell_pwd},
 	{"export", "Set environment variable", "export [VAR=value]", shell_export},
 	{"unset", "Unset environment variable", "unset VAR", shell_unset},
-	
 	{".", "Source-in and run commands in a file", ". filename", shell_source},
 	{"help", "List shell built-in commands", "help", shell_help},
 	{NULL, NULL, NULL, NULL}
-- 
cgit v1.2.3