[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Different behavior in Linux and Mac OS X
From: |
Sebastiano Vigna |
Subject: |
Re: Different behavior in Linux and Mac OS X |
Date: |
Sun, 9 May 2021 12:15:11 +0100 |
> On 9 May 2021, at 11:41, Thomas Dickey <dickey@his.com> wrote:
>
>
> I don't see that difference, testing on each platform, and assuming that
> you are still referring to the hard-coded example.
>
OK, try this:
#include <curses.h>
#include <term.h>
int main() {
tgetent(NULL, "xterm");
tputs(tgoto("\x1b[%i%d;%dH", 80, 25), 1, putchar);
}
Output on Linux: ESC + [81;26H
Output on Mac Os X: ESC + [26;81H
Ciao,
seba
- Different behavior in Linux and Mac OS X, Sebastiano Vigna, 2021/05/02
- Re: Different behavior in Linux and Mac OS X, Thomas Dickey, 2021/05/02
- Re: Different behavior in Linux and Mac OS X, Sebastiano Vigna, 2021/05/05
- Re: Different behavior in Linux and Mac OS X, Thomas Dickey, 2021/05/05
- Re: Different behavior in Linux and Mac OS X, Thomas Dickey, 2021/05/08
- Re: Different behavior in Linux and Mac OS X, Sebastiano Vigna, 2021/05/08
- Re: Different behavior in Linux and Mac OS X, Sebastiano Vigna, 2021/05/08
- Re: Different behavior in Linux and Mac OS X, Sebastiano Vigna, 2021/05/09
- Re: Different behavior in Linux and Mac OS X, Thomas Dickey, 2021/05/09
- Re: Different behavior in Linux and Mac OS X,
Sebastiano Vigna <=
- Re: Different behavior in Linux and Mac OS X, Thomas Dickey, 2021/05/09
- Re: Different behavior in Linux and Mac OS X, Sebastiano Vigna, 2021/05/09
- Re: Different behavior in Linux and Mac OS X, Thomas Dickey, 2021/05/09