It is currently Mon, 04 Mar 2024 00:48:18 GMT



 
Author Message
 tcsh env variables
Hi,

I had a problem using the "more" command in tcsh. It used to skip some lines
during display resulting in a few lines not being displayed at all. I am not
sure what caused that problem, but this didnt happen if i used csh.

So, I compared the env variables for these 2 shells to see if csh does anything
different. I looks like csh sets 2 environment variables "LINES" and "COLUMNS"
that is used by commands like "more" while displaying data. But "tcsh" did
not seem to set these variables. But once *I* set them in tcsh, everything is
fine.

The man pages for tcsh say that the env variables "LINES" and "COLUMNS" are
updated *if set*. My questions are:

1. do i need to explicitly set these env variables for tcsh (in my .env
for e.g..)?

2. is it true that csh automatically maintains these variables irrespective
of whether they are previously set or not? if yes, can this behavior be
incoporated into tcsh?

thank you for your time and response.

siva



 Sun, 24 May 1998 03:00:00 GMT   
 
   [ 1 post ] 

Similar Threads

1. Wanted: List of TCSH ENV variables

2. global env. variables for tcsh

3. ENV Shell Variable to Normal Variable Qn

4. local env. in tcsh

5. Starting tcsh with custom env. in an xterm

6. ksh .profile/ENV question by tcsh user

7. Setting env variables for Sun JDK and IBM JDK on a same Linux Server

8. How to change PATH env variable

9. howto set $socks env variable


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software