Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SSH and en_US.UTF-8 using canadien french keyboard layout
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
WildChild
Apprentice
Apprentice


Joined: 14 Sep 2003
Posts: 171

PostPosted: Tue Aug 30, 2005 9:12 pm    Post subject: SSH and en_US.UTF-8 using canadien french keyboard layout Reply with quote

I recently installed Gentoo on a server machine. I've decided to take the plunge and try an UTF-8 only system. We use the en_US.UTF_8 locale for everything but we use the canadian french (cf) keyboard layout for the accents. When the system is used via a VT, there is no problem. The problem appear using SSH. When trying to type accentuated caracters, they doesn't shows correctly or they appears after pressing another key. Executing "unicode_start" solve the problem so I've added it to /etc/profile but I've found that executing this command under a normal user account print these messages:

Couldnt get a file descriptor referring to the console
Couldnt get a file descriptor referring to the console
Couldnt get a file descriptor referring to the console
Couldnt get a file descriptor referring to the console

Is there any clean way to enable automaticly unicode on ssh session?

Thanks
_________________
Codito, Ergo Sum
Back to top
View user's profile Send private message
WildChild
Apprentice
Apprentice


Joined: 14 Sep 2003
Posts: 171

PostPosted: Wed Aug 31, 2005 1:43 am    Post subject: Reply with quote

I found a solution when viewing the script unicode_start. I added
echo -n -e '\033%G'
to /etc/profile and it works flawlesly! :D
_________________
Codito, Ergo Sum
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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