
Diego M - 2013-11-01 21:22:44
Hi François
Congratulations on great class developed.
I'm using php class knd to automate a console, however I am having problems with the interpretation of extended ASCII characters.
When called ncurses_getch() does not interpret special characters like (ÁÓÉÚã...) and ncurses_addch() does not print key codes extended ASCII characters.
I did several tests changing the terminal type (xterm, vt102, vt220, Linux) and utf-8 and iso-8859-1, but had no success.
I tried to add setlocale() at the top of script, but did not succeed.
I do not know if the problem is occurring by a misconfiguration of my terminal or the ncurses does not support extended ASCII or whether to enable some parameter.
The documentation for ncurses functions is still very incomplete at php.net.
I am using php script with the class knd as shell for an ssh connection.
The system is Debian 7 and terminal as the default terminal use a machine with Ubuntu.
You have to give me some help, based on your experience with ncurses?
I appreciate the attention.