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: Day Brown <daybrown AT hypertech.net>
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] set vs printenv
  • Date: Thu, 14 Aug 2003 02:22:59 -0700

qwms-avib AT dea.spamcon.org wrote:
>
> 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
Kewl. does that mean that a program can stipulate what
the numbers of lines and columns should be? or is that
still something that only root can do?




Archive powered by MHonArc 2.6.24.

Top of Page