Manny Vindiola's version solved my problem, but when using rdesktop with "-k fr" option caps-lock work but it is inverted (on = lower case letters, off = upper case letters). Removing that option, everything works well.
Manny Vindiola's version solved my problem, but when using rdesktop with "-k fr" option caps-lock work but it is inverted (on = lower case letters, off = upper case letters). Removing that option, everything works well.