On 23.04.12 13:45, Petr Hracek wrote:
I have observed some tricky problem with environtment variable COLUMNS during the starting of apache2-2.2.21 Sometimes this variable is set to more then 80 characters and higher variable causes problems with CGI scripts which check ps output Do you have any idea why this variable is set to more then 80 characters and how to unset them?
I found this to be a problem in Debian 6.0 and some Ubuntu versions, which set COLUMNS and LINES in /etc/csh.cshrc environment variables.
I have filled up bugreport because that pretty sucks (bash sets COLUMNS and LINES too, but as its variables, not environment). It should be fixed already, but you may comment it on your system.
To fix, use "ww" as option for 'ps' so it does not truncats its output. -- Matus UHLAR - fantomas, uhlar@xxxxxxxxxxx ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. "To Boot or not to Boot, that's the question." [WD1270 Caviar] --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx