On Thu, 06 Mar 2008, Lorenzo Fiorini wrote: > > What shows: > > #include "hbgtinfo.ch" > > proc main() > > ? hb_gtInfo(HB_GTI_ISUNICODE) > > return > > [...] > > Just try to make also: > > printf "[\xc3\xa5]\n" > With Unicode UTF-8: > .T. 1 char > With Western ISO-Latin-1: > .F. 2 chars > env var TERM is linux
So UTF-8 is properly recognized. But when you were making test with gtkeys //gttrm which mode was active. Can you check the results of K_ALT_A with and without UTF-8. And what are the results of ALT + cursor keys. > > If you answer for all of the above questions (and maybe some others, > > BTW what is your TERM envvar) then we can add general support for MacOSX > > and PuTTY to GTTRM if it needs some additional code. But I'm still not > > sure if it's really necessary. It's possible that only UTF-8 mode was > > not detected automatically. Unfortunately there is no standard way to > > make it and I have to use small hack. It's possible that it does not > > work with PuTTY MacOSX port. If yes then I can try to update it. > Do you think it'll be difficult to support another app called iTerm? No. Just simply test it and check how it works. I suggest to use UTF-8 mode if possible. But the question is about terminal capabilities supported by iTerm. > I can't find a putty package already built for Mac OS X and I can't > ask to users to compile it from developer tools. Create binaries and put it somewhere on public forum or better MacOSX package with PuTTY binaries. best regards, Przemek _______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
