Kalle wrote:
> As GNU coreutils 5.93 documents that stty -a prints "all current
> settings in human-readable form", I wonder whether some
> implementation could make the word "columns" depend on the
> locale. The specification of "stty" in IEEE Std 1003.1, 2004
> Edition does not say anything about setting or retrieving the
> size of the console, but it requires at least the "speed",
> "ispeed", and "ospeed" words in "stty -a" output to be unaffected
> by locale; perhaps this is why GNU coreutils 5.93 leaves
> "columns" untranslated.
svnmerge already sets LC_MESSAGES=C to be able to consistently parse the output
of svn's command line client. I reckon this should also fix these issues with
translation, right?
> GNU coreutils also supports "stty size", which outputs only
> the rows and columns and may thus be more reliable to parse.
> However, I don't know how widely that's supported elsewhere.
Ah nice to know! But I'd rather stay with a more portable form (for some
meaning of "portable"). BTW, what about "stty -g"? Is its output portable?
Giovanni Bajo
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jan 8 01:46:11 2006