-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Thierry EXCOFFIER on 2/26/2006 8:59 AM:
> 
> Description:
>         LINES and COLUMNS variables are not exported,
>         so applications using these variables can not
>         find the screen size.

POSIX states that "Users should not need to set this variable in the
environment unless there is a specific reason to override the
implementation's default behavior, such as to display data in an area
arbitrarily smaller than the terminal or window."  But if it is causing
you problems, you can simply do:

export LINES COLUMNS

before invoking your app that does not know how to query the terminal for
its normal size.

- --
Life is short - so eat dessert first!

Eric Blake             [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFECjIg84KuGfSFAYARAsjIAJ0Z45aEZxmin04YxSfRS1cMT9zhjwCgnXjT
e3HtvPU/8vrwbJ0nczT0q9M=
=Ix8n
-----END PGP SIGNATURE-----


_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to