[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: question about display lines long than the screen




Oswald Buddenhagen wrote:

> > but why debian no "COLUMNS" and "LINES" enviroment variable?
> > distributation just differ from the installation and maintain tools is it?
> >
> this may be version related.
> these both variables are set by bash, so it is possible, that the version
> distributed with debian does not allow you to set them to arbitrary
> values. however, there are some options related to this. try "man bash"
>
> --
> Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
> --
> Linux - the last service pack you'll ever need.
>
> --
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null

However,in the source code of ps, it should have some code that to retreive the COLUMN
variable in the screen...maybe via a function in the glibc library.....
this won't be shell specific as ps can run in all shell..so is there any way to
set the COLUMN and LINES without using the enviroment variable?


Reply to: