[Linedit-cvs] CVS update: src/smart-terminal.lisp src/terminal_glue.c

Nikodemus Siivola nsiivola at common-lisp.net
Fri Oct 24 13:13:00 UTC 2003


Update of /project/linedit/cvsroot/src
In directory common-lisp.net:/tmp/cvs-serv31359

Modified Files:
	smart-terminal.lisp terminal_glue.c 
Log Message:
Fixed termios flags.
Date: Fri Oct 24 09:13:00 2003
Author: nsiivola

Index: src/smart-terminal.lisp
diff -u src/smart-terminal.lisp:1.4 src/smart-terminal.lisp:1.5
--- src/smart-terminal.lisp:1.4	Thu Oct 23 11:07:08 2003
+++ src/smart-terminal.lisp	Fri Oct 24 09:13:00 2003
@@ -29,7 +29,6 @@
   (every (lambda (key)
 	   (ti:capability key)) '(:cursor-up :cursor-down :clr-eos
 				  :column-address :auto-right-margin)))
-
 (defmethod backend-init ((backend smart-terminal))
   (call-next-method)
   (ti:tputs ti:enter-am-mode))


Index: src/terminal_glue.c
diff -u src/terminal_glue.c:1.3 src/terminal_glue.c:1.4
--- src/terminal_glue.c:1.3	Thu Oct 23 11:07:08 2003
+++ src/terminal_glue.c	Fri Oct 24 09:13:00 2003
@@ -61,7 +61,7 @@
     return linedit_TCGETATTR_ERROR;
 
   cfmakeraw (&tmp);
-  tmp.c_lflag &= ~ECHO;
+  tmp.c_oflag |= OPOST;
 
   if (0 > tcsetattr (STDIN_FILENO, TCSAFLUSH, &tmp))
     return linedit_TCSETATTR_ERROR;





More information about the linedit-cvs mailing list