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

Re: Bug in echotc ?



> Is echotc broken, or is the manual page confused?

echotc is broken.  I think it's still broken after this patch.

Index: Src/Modules/termcap.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/Modules/termcap.c,v
retrieving revision 1.18
diff -u -r1.18 termcap.c
--- Src/Modules/termcap.c	7 Dec 2004 16:55:11 -0000	1.18
+++ Src/Modules/termcap.c	2 Mar 2005 15:04:42 -0000
@@ -155,7 +155,7 @@
 	tputs(t, 1, putraw);
     else {
 	num = (argv[1]) ? atoi(argv[1]) : atoi(*argv);
-	tputs(tgoto(t, atoi(*argv), num), num, putraw);
+	tputs(tgoto(t, num, atoi(*argv)), num, putraw);
     }
     return 0;
 }



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