NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Problem with ALT GR and the terminal
Veteran

Joined: 22 Feb 2006
Posts: 106
Reply with quote
Hi,

I've got troubles with my keyboard (french) and the terminal window of PhpEd (for SSH).

For example, if I want to insert a pipe "|", I have to press "ALT GR + 6" but instead I've got on the screen a small square and then my pipe. Same thing, if I want to insert "[" (ALT GR +5 ) or "]" (ALT GR + °).

I've included a screenshot to show you the problem for the pipe :



What can I do, besides, deleting the unwanted characters by hand ?

Is there somewhere a possiblity to specifiy another shell client (i.e. I don't have these problems using SecureShell client) ?

Thanks in advance,
View user's profileFind all posts by medifirstSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
What locale did you set on the remove host? (just run locale command to see it).
I'm not 100% sure, but en_US.ISO8859-1 would work for all west-europe charsets.
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Veteran

Joined: 22 Feb 2006
Posts: 106
Reply with quote
actually, the remote host locale is set to the following :

LANG=fr_FR.UTF-8
LC_CTYPE="fr_FR.UTF-8"
LC_NUMERIC="fr_FR.UTF-8"
LC_TIME="fr_FR.UTF-8"
LC_COLLATE="fr_FR.UTF-8"
LC_MONETARY="fr_FR.UTF-8"
LC_MESSAGES="fr_FR.UTF-8"
LC_PAPER="fr_FR.UTF-8"
LC_NAME="fr_FR.UTF-8"
LC_ADDRESS="fr_FR.UTF-8"
LC_TELEPHONE="fr_FR.UTF-8"
LC_MEASUREMENT="fr_FR.UTF-8"
LC_IDENTIFICATION="fr_FR.UTF-8"
LC_ALL=


Do I have to change it in order to use the console in PhpED ? Is there any other workaround ?
View user's profileFind all posts by medifirstSend private message
Veteran

Joined: 22 Sep 2005
Posts: 113
Reply with quote
I've got a similar problem. Using phpED terminal I'm unable to use those language specific characters like "ç" "ã", etc.

I think there's nothing to do with the locale since if I use other program like PuTTY there's no such problem, and I can type any character.

I didn't find any place to set something that could affect the keyboard behaviour in terminal.
View user's profileFind all posts by HoTShoTSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
to medifirst:
Currently PhpED 4.6 terminal does not support UTF8 input, please try to set fr_FR.ISO8859-1
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Veteran

Joined: 22 Feb 2006
Posts: 106
Reply with quote
I changed the LANG variable in the .bash_profile file to fr_FR.ISO8859-1 (and I checked that "locale" returned all the LC_* variable values as fr_FR.ISO8859-1), but the problem is still there.

Any other solution to propose ?
View user's profileFind all posts by medifirstSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
Did you check UTF-8 in the account settings for the terminal?


When it is checked, non-ascii symbols are passed to the far end as UTF8 characters, while when it is not checked they are passed according to active ANSI code page supported by OS.
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Veteran

Joined: 22 Feb 2006
Posts: 106
Reply with quote
Sorry for the delay answering to your post, I must have missed it.

I tried to check and uncheck UTF-8 support but it doesn't change anything (I tried for the locale server : fr_FR.UTF-8 and fr_FR.ISO8859-1).
View user's profileFind all posts by medifirstSend private message


Joined: 20 Feb 2007
Posts: 4
Reply with quote
Hello,

I have the same problem. But it has worked. I think it was with the version 4.6.1, my trial version...

No sorry, it does'nt work in this version, I just tried In fact, it is probably an update made on my linux server...
View user's profileFind all posts by foreySend private message
Re: Problem with ALT GR and the terminal


Joined: 21 Jul 2007
Posts: 1
Reply with quote
This problems seems not resolved in the version 5 (trial).
It's not working, i don't think the pb come from server, because with putty it's ok.
But i will not buy phped for this bug.

medifirst wrote:
Hi,

I've got troubles with my keyboard (french) and the terminal window of PhpEd (for SSH).

For example, if I want to insert a pipe "|", I have to press "ALT GR + 6" but instead I've got on the screen a small square and then my pipe. Same thing, if I want to insert "[" (ALT GR +5 ) or "]" (ALT GR + °).

I've included a screenshot to show you the problem for the pipe :



What can I do, besides, deleting the unwanted characters by hand ?

Is there somewhere a possiblity to specifiy another shell client (i.e. I don't have these problems using SecureShell client) ?

Thanks in advance,
View user's profileFind all posts by dev75Send private message
Veteran

Joined: 22 Feb 2006
Posts: 106
Reply with quote
You're right, the problems are still there in the latest version (5025)...
View user's profileFind all posts by medifirstSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
fr_FR.ISO8859-1 and all the other national encodings are NOT supported. If you need them please use UTF-8 for your terminal sessions.
Let know if you get any problems with this encoding.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Problem with ALT GR and the terminal
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic