simon-git: ipbt (master): Simon Tatham
Commits to Tartarus hosted VCS
tartarus-commits at lists.tartarus.org
Mon Aug 28 07:02:47 BST 2017
TL;DR:
353928e Handle fallback from libncursesw to libncurses.
Repository: https://git.tartarus.org/simon/ipbt.git
On the web: https://git.tartarus.org/?p=simon/ipbt.git
Branch updated: master
Committer: Simon Tatham <anakin at pobox.com>
Date: 2017-08-28 07:02:47
commit 353928ebb0182f72bbf03a97c90038636e276ad2
web diff https://git.tartarus.org/?p=simon/ipbt.git;a=commitdiff;h=353928ebb0182f72bbf03a97c90038636e276ad2;hp=24a1a3b8b48a4d1267a836ca2b6ef6c393347e9b
Author: Simon Tatham <anakin at pobox.com>
Date: Mon Aug 28 06:43:43 2017 +0100
Handle fallback from libncursesw to libncurses.
In the previous commit message I suggested that the lack of
libncursesw should be cause to compile the -U option out. Of course, I
wasn't thinking clearly: -U refers to how we interpret the _input_
data, whereas having libncursesw or not affects what _output_ we can
generate, so it's perfectly sensible to support -U even without
libncursesw, as long as we recognise that and use a fallback approach
to Unicode.
This way, a non-UTF-8 system without libncursesw ought at least to be
able to read UTF-8 ttyrecs and display whatever subset of them will
fit in its system locale.
Makefile.am | 3 ++-
configure.ac | 8 +++++++-
ipbt.c | 44 ++++++++++++++++++++++++++++++++++++++++++--
3 files changed, 51 insertions(+), 4 deletions(-)
More information about the tartarus-commits
mailing list