screen size in the environment

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

 



I'm not sure why those variables aren't available to C programs, but they 
are apparently set by the OS.  This is fairly traditional in the Unix 
world.  The man page for ls in many versions of Unix (including Linux,) 
states that ls determines how wide to make its output from the variable 
COLUMNS.  If it is unset, ls assumes 80.  So, there is a good reason why 
the OS sets these somewhere.  As I said, I don't know why they don't show 
up with the C programs.





[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux