MinTTY Unicode Support and Build Error
-
29-10-2019 - |
Frage
I'm trying to use MinTTY with MSYS (downloaded from here), and I've noticed that it doesn't seem to have Unicode support.
i.e.:
I can't paste Unicode text into it (it turns out garbage).
If I
cat
a Unicode file to the terminal (whether UTF-8 or UTF-16) I get back garbage.If I use
ls
and a file name is Unicode, it prints out garbage. Piping the result to a file does not help -- it's still garbage even when viewed in a text editor with Unicode support.I can't figure out how the
UTF-8
setting in the seettings works. It doesn't seem to change anything.When I try to download the source and build it, I get build errors that I can't solve:
Makefile:117: charset.d: No such file or directory Makefile:117: child.d: No such file or directory Makefile:117: config.d: No such file or directory Makefile:117: ctrls.d: No such file or directory Makefile:117: minibidi.d: No such file or directory Makefile:117: std.d: No such file or directory Makefile:117: term.d: No such file or directory Makefile:117: termclip.d: No such file or directory Makefile:117: termline.d: No such file or directory Makefile:117: termmouse.d: No such file or directory Makefile:117: termout.d: No such file or directory Makefile:117: winclip.d: No such file or directory Makefile:117: winctrls.d: No such file or directory Makefile:117: windialog.d: No such file or directory Makefile:117: wininput.d: No such file or directory Makefile:117: winmain.d: No such file or directory Makefile:117: winprint.d: No such file or directory Makefile:117: wintext.d: No such file or directory Makefile:117: wintip.d: No such file or directory Makefile:117: xcwidth.d: No such file or directory Makefile:117: res.d: No such file or directory windres --preprocessor 'gcc -E -xc-header -DRC_INVOKED -MMD -MP 'res.rc res.o gcc xcwidth.c -c -MMD -MP -include std.h -std=gnu99 -Wall -Wextra -Werror -Wundef -march=i586 -mtune=pentium-m -DNDEBUG -fomit-frame-pointer -Os In file included from <command-line>:0:0: ./std.h:4:28: fatal error: cygwin/version.h: No such file or directory compilation terminated. make: *** [xcwidth.d] Error 1
Questions:
Is it possible to somehow get Unicode support in MSYS/MinTTY (it seems to be an issue with both)?
If not, then where do I get all those files like
charset.d
, and how do I build MinTTY for MSYS?
Keine korrekte Lösung