Hi Daniel!

On Mo, 15 Feb 2010, Daniel Pena wrote:

> 
> PS. Sorry, I didn't posted the exact outputs, but my Linux is in
> Portuguese.

in that case, you can always temporarily set your locale setting 
appropriately. This usually also helps to find better matches with 
Google. 

#v+
chris...@t41:~$ foobar
bash: foobar: Kommando nicht gefunden.
chris...@t41:~$ export LANG=C; foobar
bash: foobar: command not found
chris...@t41:~$
#v-

Usually my system responds in German. The error message tells me in 
German, that the command foobar was not found. To get the English 
output, I simply set the environment variable to its default value 
(which should always work). To override all locale variables, you can 
use LC_ALL which has precedence over all existing LC_ variables (and 
LANG, See the output of locale to see which environmental variables 
influence your locale).

(Usually it would be enough to set the variable only for the program you 
want to run, e.g. use LC_ALL=C vim to set the LC_ALL variable only for 
vim, but in the above case I had to export the variable to its new 
value, since it wouldn't affect the running shell otherwise. This has 
the drawback, that all programs started afterwards, use the new locale 
setting).

regards,
Christian
-- 
Es gibt ein Alter, in dem eine Frau schön sein muß, um geliebt zu 
werden. Und dann kommt das Alter, in dem sie geliebt werden muß, um
schön zu sein.
                -- Françoise Sagan

-- 
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

Reply via email to