HOW do you tell KSH is interactive ?
    Jun Lu 
    luj at gus17.ecn.purdue.edu
       
    Mon Feb 18 18:04:24 AEST 1991
    
    
  
In my .profile I set "export ENV=~/.kshrc".  Certainly I don't want
the aliases or something to executed for non-interactive shell, i.e.
the shell spawned to interprete the ksh-scripts.  Is there a way to 
tell if the shell is interactive wone ithin .kshrc ?
Thanks,
--Jun
P.S. testing PS1 didn't work.  
--
-- Jun Lu                          Internet:luj at ecn.purdue.edu          --
-- Aeronautics & Astronautics      Bitnet:  luj%ecn.purdue.edu at purccvm  --
-- Purdue University		   UUCP:    pur-ee!luj                  -- 
-- W. Lafayette, IN 47907          Phone:317-494-9410  Fax:317-494-0307 --
    
    
More information about the Comp.unix.shell
mailing list