FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 08-06-2012, 01:53 PM
Ross Cavanagh
 
Default SSH prompt: Need advise from Japan

On Mon, Aug 6, 2012 at 10:43 PM, Akemi Yagi <amyagi@gmail.com> wrote:

> On Mon, Aug 6, 2012 at 5:23 AM, Ross Cavanagh <ross.cav@gmail.com> wrote:
>
> >> I just quickly started up a CentOS VM to check something...
>
> > But it appears even I have some issues via my terminal too:
> >
> > [root@CENT01 ~]# useradd -m ross
> > [root@CENT01 ~]# cd /home/ross/
> > [root@CENT01 ross]# touch ãƒ*ス
> > [root@CENT01 ross]# ls
> > ??????
>
> I have a .ja version of CentOS-6 in a VM. I do all my testing work by
> ssh'ing to it but have not encountered issues with Japanese
> input/display.
>
> [yagi2@c63-64ja ~]$ mkdir 日本語
> [yagi2@c63-64ja ~]$ cd 日本語
> [yagi2@c63-64ja 日本語]$ touch ãƒ*ス
> [yagi2@c63-64ja 日本語]$ ll
> total 0
> -rw-r--r--. 1 yagi2 yagi2 0 Aug 6 06:39 ãƒ*ス
>
> The machine I connect from does have Japanese input set up (as
> mentioned by others).
>
> Akemi
> A Japanese in California :-)
>
> Can you do a useradd command in kana or kanji? Mine was rejected, which I
think was the main concern that the username / password combination would
be in Japanese. I don't think I've encountered a non romaji home directory
- but the folders and files can be created in Japanese no problem.

The issue I had is a local one that I can fix with the display actually.
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 08-06-2012, 02:51 PM
 
Default SSH prompt: Need advise from Japan

Fajar Priyanto wrote:
> Definitely Ross. I'll tell my friend. Thank you.
>
> Sent from Samsung Galaxy ^^
> On Aug 6, 2012 8:23 PM, "Ross Cavanagh" <ross.cav@gmail.com> wrote:
>
>> On Mon, Aug 6, 2012 at 9:14 PM, Fajar Priyanto <fajarpri@arinet.org>
>> wrote:
>>
>> > I see. Thanks Ross. That makes sense.
>> >
>> > Sent from Samsung Galaxy ^^
>> > On Aug 6, 2012 8:12 PM, "Ross Cavanagh" <ross.cav@gmail.com> wrote:
>> >
>> > > On Mon, Aug 6, 2012 at 8:58 PM, Fajar Priyanto <fajarpri@arinet.org>
>> > > wrote:
>> > >
>> > > > On Mon, Aug 6, 2012 at 7:54 PM, Ross Cavanagh <ross.cav@gmail.com>
>> > > wrote:
>> > > > >
>> > > > > You're prompt will reference whatever the hostname is doesn't
>> it?
>> I'm
>> > > > > located in Tokyo, I haven't setup any servers with Japanese
>> hostnames
>> > > > > actually, but on occasion some filenames are written in
>> Japanese.
>> > What
>> > > is
>> > > > > it you wanted to see exactly? It also depends on the keyboard
>> setup
>> > you
>> > > > > have set to the default. Most people in Japan set the keyboard
>> to a
>> > US
>> > > > > style - where they enter romaji, and don't usually enter the
>> kana
>> > from
>> > > > the
>> > > > > different keyboard layout. So, you type the roman characters ra
>> for
>> > > > example
>> > > > > to make ら, but there is a Japanese keyboard layout where you can
>> type
>> > > > the ら
>> > > > > character directly - but I never really see that used.
>> > > > >
>> > > > > So, as far as I know, you'll be using whatever input methods you
>> > > actually
>> > > > > have on your local system where you're ssh'ing from. So, if you
>> > needed
>> > > to
>> > > > > write Japanese input you'd need some local IME on your
>> particular
>> > > system.
>> > > >
>> > > > Hi Ross, thanks for your time. What I want to know is, during the
>> > > > initial ssh login.
>> > > > Will it display the dialogue fully in Japanese? e.g.
>> fajar@8.8.8.8's
>> > > > password: (will it be in Japanese?)
>> > > >
>> > > > As far as I'm aware, you would be seeing virtually everything in
>> > English
>> > > as the directory structures are in English. Usually people's home
>> > > directories are setup in English, I don't think I've ever come
>> across a
>> > > user login that does use Japanese actually (not sure if you can -
>> > otherwise
>> > > your SSH connection you'd have to match you user name - eg. Ross
>> would
>> be
>> > > my katakana name, ãƒ*スï¼*8.8.8.8 - don't even know it's possible). I've
>> > worked
>> > > at one Japanese company as the only foreigner, and all others
>> companies
>> > > have been international ones - but everyone uses Roman characters
>> for
>> > their
>> > > logins and not kana or kanji.
>> > >
>> > > Same with passwords.
>> > >
>> > > Usually, on systems I've seen in Japan most of the time files and
>> folders
>> > > are creating using Roman characters for naming (most of the time).
>> > Within a
>> > > document, of course it could be written 100% in Japanese. Some
>> folders
>> > and
>> > > files can be in Japanese, so it can be hard to navigate through some
>> > > directories if you don't have any IME tools for Japanese input. Lots
>> of
>> > tab
>> > > autocomplete and copy and pasting at times - but that's usually
>> within
>> a
>> > > home directory for a user for example.
>> >
>> > I just quickly started up a CentOS VM to check something...
>>
>> [root@CENT01 ~]# useradd -m ãƒ*ス
>> useradd: invalid user name 'ãƒ*ス'
>>
>> So, looks like it needs to be in Roman characters.
>>
>> But it appears even I have some issues via my terminal too:
>>
>> [root@CENT01 ~]# useradd -m ross
>> [root@CENT01 ~]# cd /home/ross/
>> [root@CENT01 ross]# touch ãƒ*ス
>> [root@CENT01 ross]# ls
>> ??????
>>
>> So, my Japanese input isn't being displayed. But I did get a warning
>> when I
>> SSH'd in about that:
>>
>> -bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8)
>>
>> Hope that helps.

Fajar, please don't top post.

And the Japanese not being displayed - the setlocale is your clue: you
need to install Japanese language support.

mark

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 08-06-2012, 03:04 PM
Akemi Yagi
 
Default SSH prompt: Need advise from Japan

On Mon, Aug 6, 2012 at 6:53 AM, Ross Cavanagh <ross.cav@gmail.com> wrote:

>> Can you do a useradd command in kana or kanji? Mine was rejected, which I
> think was the main concern that the username / password combination would
> be in Japanese. I don't think I've encountered a non romaji home directory
> - but the folders and files can be created in Japanese no problem.

Right, username cannot be in Japanese :

[root@c63-64ja ~]# useradd 三軒茶屋
useradd: '三軒茶屋' ã¯ãƒ¦ãƒ¼ã‚¶åã«ä½¿ãˆã¾ã›ã‚“

Akemi
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 09:11 AM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org