[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MinGW win32 console with TERM set to xterm
From: |
Mike Gran |
Subject: |
Re: MinGW win32 console with TERM set to xterm |
Date: |
Sun, 28 Sep 2014 16:24:35 -0700 |
>
> hmm - there are several aspects to this that I can see:
>
> a) with #w32con, ncurses is not using escape sequences.
> So there are large chunks that won't be applicable.
>
> b) It could have been implemented as an embedded terminal emulator,
> but much less efficient (admittedly more consistent).
>
> c) I can see that it would be nice to have term_attrs give a useful value.
> However - I don't see where that would be used, except for preparing
> calls to vidputs, etc.
>
> MinGW doesn't have any terminal control calls, and works with windows
> console.
> Msys2 works with mintty - and could be made to work in the windows console.
I didn't really describe the test suite very well for the bindings
very well. The test suite compares a set of calls to some expected results.
* Is has_colors true?
* Does COLOR_PAIRS=64?
* Does getch return an ungetch'ed character, etc.
git.savannah.gnu.org/cgit/guile-ncurses.git/tree/test/
That's the reason that I set TERM=xterm in the test suite, because I know
what the expected answers are. It saves me from having to have different
sets of results for different terminals. Its just a convenience for me.
But, #win32con, to the extent that I've actually used it, seems to be
working okay.
-Mike Gran
signature.asc
Description: Digital signature