Skip to Content.
Sympa Menu

baslinux - Re: [BL] set vs printenv

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: qwms-avib AT dea.spamcon.org
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] set vs printenv
  • Date: Fri, 15 Aug 2003 06:26:01 +1200

Ken Martwick wrote:
>
> When I type "set" in BasicLinux (either 1 or 2), one
> of the outputs is "LINES=xx", where xx is the num-
> ber of lines of text on the screen. But, when I type
> "printenv", LINES does not appear.

printenv is not included in BasicLinux. It is in the
sh_utils.tgz package (/slakware/a11).

> Is this something only "bash" knows?

No.

> More to the point, can anyone tell me how (inside a
> program), one can determine the count of lines and
> columns in the screen display.

echo $LINES
echo $COLUMNS

Cheers,
Steven






Archive powered by MHonArc 2.6.24.

Top of Page