home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / question / 9472 < prev    next >
Encoding:
Text File  |  1992-07-27  |  928 b   |  33 lines

  1. Newsgroups: comp.unix.questions
  2. Path: sparky!uunet!elroy.jpl.nasa.gov!sdd.hp.com!ux1.cso.uiuc.edu!news.cso.uiuc.edu!osiris.cso.uiuc.edu!gordon
  3. From: gordon@osiris.cso.uiuc.edu (John Gordon)
  4. Subject: Re: stupid question from a neophyte user
  5. References: <1992Jul27.194816.3335@u.washington.edu>
  6. Message-ID: <Bs2tBH.2Hr@news.cso.uiuc.edu>
  7. Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
  8. Organization: University of Illinois at Urbana
  9. Date: Tue, 28 Jul 1992 01:54:52 GMT
  10. Lines: 21
  11.  
  12. sue@byron.u.washington.edu (Shu-Chen Eclipse) writes:
  13.  
  14. >how the hec do I get something simple like this to work:
  15.  
  16. >  If ($TERM
  17. >  !== "sun" || $TERM!== "sun-cmd")
  18. >     then .........
  19. >  endif
  20.  
  21. >in csh  ????
  22.  
  23.     This should work:
  24.  
  25.     #
  26.     if ( $TERM != "sun" || $TERM != "sun-cmd" ) then
  27.         ......
  28.     endif
  29.  
  30. ---
  31. John Gordon                        My incredibly witty saying has been 
  32. gordon@osiris.cso.uiuc.edu         Politically Corrected into oblivion.
  33.