question: learning about csh & term

question: learning about csh & term

Post by Eli K. Bu » Wed, 25 Mar 1992 20:48:09



1) Is there an ftp site that would have documents describing csh & term?
I find the man pages a little cryptic.

2)How can I set the tab stop for cat, more, exectra...
Can I do this from a dot file
  - such as I can for vi--> setenv EXINIT 'set tabstop=4'
I have been doing (but I don't want to convert tabs to spaces):
  expand -4 filename

Please email me.

thanks in advance,
eli

 
 
 

1. Best way to set term and TERM for csh?

I want to get prompted for my term type everytime I log in
because I don't always use vt100 emulation but I'm confused
about what is the best way to do this.  My first question is:

* Is it best to do this in .cshrc or .login?  It seems like
  the answer is .login since this is something you only need
  to do at login (i.e., you don't need to do this when you
  spawn a shell, etc.).

Next question:

* Is it better to use some form of tset or something like this:

if (!($?term) || ("$term" == '')) set term = unknown

if (($term == 'network') || ($term == 'unknown')) then
        echo 'Please select the appropriate terminal type.'
        echo -n 'default is vt100: '
        set term = "$<"
        if ("$term" == '') set term = vt100
endif

Thanks for your help,
Nancy

--

 **  **    Nancy McGough             |  "No one suspects the
*  **  *   Infinite Ink              |   days to be gods."      
 **  **    ftp://ftp.ii.com/pub/ii   |                     -Emerson    

2. AIX bug in "thewall" parameter

3. which shell I should learn to use, bsh or csh?

4. Newbie: pstree, slocate, mingetty, makewhatis and gawk

5. How to learn how to script csh

6. Win 95 Linux (SCO Unix) network problems

7. How does one learn arg0 in csh

8. more LANS over a F80

9. help in learning how to do Bourne shell scripts then converting them to csh scripts

10. terms want to learn~~

11. Term 2.3.5 & X questions

12. &&&&----Looking for a unix shell------&&&&&

13. Use of csh _local_ variables path/term/etc.