Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug in echotc ?
- X-seq: zsh-workers 20909
- From: Clint Adams <clint@xxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: Bug in echotc ?
- Date: Wed, 2 Mar 2005 10:08:00 -0500
- Cc: zsh-workers@xxxxxxxxxx
- In-reply-to: <1050302091036.ZM29038@xxxxxxxxxxxxxxxxxxxxxxx>
- Mail-followup-to: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>, zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <1050302091036.ZM29038@xxxxxxxxxxxxxxxxxxxxxxx>
> 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