Re: Error codes as output of gammu commands

Marco Gaiarin <[email protected]>
Newsgroups gmane.linux.drivers.gammu
Organization Casa Gaiarin
Message-ID <[email protected]>
Mandi! Unknown
  In chel di` si favelave...

> How could I get a response which is always the same for all machines -
> for example always in english?

Try:
	LANG=C gammu --getsecuritystatus

or:
	LC_ALL=C gammu --getsecuritystatus

on a script, do an:

	export LANG=C
or
	export LC_ALL=C

on the top of the script.

-- 
Marco ``Gaio'' Gaiarin	 | LUG Pordenone    (http://www.pordenone.linux.it)
P.zza S. Tommaso, 20	 | Lilliput BBS      (http://bbs.lilliput.linux.it)
Cimpello di Fiume Veneto | Azione Cattolica - Concordia-Pordenone
33080 Pordenone (Italia) |                         (http://www.accanto.org)
Tel.   +39-0434-56-1305  | http://www.gaiarin.it/             [email protected]

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Gammu-users mailing list - https://lists.sourceforge.net/lists/listinfo/gammu-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.