Re: Problem wih characters (was Problem with IME)

jim_breen_at_hotmail.com
Date: 02/27/05


Date: 27 Feb 2005 06:28:51 GMT

Bart Mathias <mathias@hawaii.edu> dixit:
>jim_breen@hotmail.com wrote:
>OK, that worked nicely. I would never have been able to figure it out
>for myself; I've been using Linux for almost two years now, and never
>even *heard* of an "env" utility.

Don't worry, Bart. I've been using Unix for 19 years and Linux for 11,
and I only found out about "env" a month or so back...

>(I have now looked at the manual;
>apparently I can run any program I could start from the shell in a
>LANG=ja_JP.UTF-8 environment, although I suspect it wouldn't have any
>effect on most. [I'd better save this before I experiment with ~$ env
>LANG=ja_JP.UTF-8 vi.] OK, I didn't think vi would like Japanese. But
>it didn't work with AbiWord either, in spite of the fact that any .doc
>attachment I open from Mozilla brings AbiWord up in broken Japanese!)

Depends on what your vi is. It's often an alias for vim often these days.
I'd do some Googling on vim and I18N.

>I'm also so ignorant that I have no idea how to do the following, or it
>would have been my first choice.

>> (b) write a little script like:
>>
>> #!/bin/bash
>> LANG=ja_JP.UTF-8 /usr/bin/mozilla
>>
>> and put its name in the Command box.

The "#!" at the start of the line flags the shell you want to use.

You have to save that in a file, and make it executable with "chmod +x".

-- 
Jim Breen        http://www.csse.monash.edu.au/~jwb/
Computer Science & Software Engineering,
Monash University, VIC 3800, Australia 
$B%8%`!&%V%j!<%s(B@$B%b%J%7%eBg3X(B


Relevant Pages

  • Re: Problem with vi editor
    ... We use vim om Red Hat. ... > I have an C++ application running on my linux machine. ... > application is running and edit it, the application stops logging to the ... > those of the individual sender unless otherwise stated. ...
    (RedHat)
  • Re: Newlines mangled when pasting in normal mode [Vim 7, OS X]
    ... I mostly use vim in the CLI, ... > Are you just logging into Linux remotely via some terminal emulator? ... Putty is a windows ssh term program that emulates xterm quite well. ...
    (comp.editors)
  • Re: Vim7 on Ubuntu/Kubuntu
    ... I think VIM is one of those things you could download as a deb and just ... >>> User Iam ... Internal grep - for use on XP, but darn useful on Linux too. ... And we are trying to encourage Windows' folk - who are mostly non-geek - ...
    (Ubuntu)
  • Re: [GVIM]Window size not what I set it to in gvimrc/vimrc
    ... Here's an annoying little problem I'm seeing in vim 6.3 under ... Perhaps someone has some insight. ... Maybe you can tweak it for Linux and ...
    (comp.editors)
  • Re: Software submission for Linux distributions
    ... >> report in Abiword in Linux. ... You don't "write" in .doc format. ... > How about not changing the font size? ...
    (comp.os.linux.misc)