On Thu, 06 Mar 2008, Lorenzo Fiorini wrote: > > 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. > With Unicode UTF-8 Alt+A: > char: 195 > char: 165
I'm a little bit confused. The GTTRM results should not be the same for UTF and ISO modes. Can you repeat the tests? But please remember that GTTRM detects UTF8/ISO mode at application startup and when you change it in your terminal settings during application execution it will not be detected. > Alt+cursor keys give "normal" K_RIGHT, K_LEFT, K_DOWN, K_UP So this probably will not work. > > Create binaries and put it somewhere on public forum or better MacOSX > > package with PuTTY binaries. > Yes, I considered it but putty needs X11 env which is not installed by > default. So it's the problem. I think that the easiest way will be using some MscOSX default terminal program. If screen output is correct (try UTF8 mode if you want to used all font glyphs) then check the keyboard. If you can document the escape key sequences used by this terminal emulator (using GTSTD) then I can add support for it if it will be necessary and this terminal program is not XTERM compatible. What TERM envvar it sets? > Probably you can give me some hints: on OS X putty localhost works > while pterm opens but doesn't show the shell prompt but it asks the > confirmation when I close the window. Sorry but it looks like sth hard coded in PuTTY MacOSX code. Maybe it simply cannot find default SHELL or this is result of executing it. It's also possible that the problem is inside allocating pseudo terminal (it's a virtual device) for shell session. Probably using MacOSX I would find the answer but now I can only guess. best regards, Przemek _______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
