🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #36

Init files (was Questions/bugs.)

#36
From: Brian Fox
Date: Wed, 21 Jun 1989 00:20
11 lines
801 bytes
   Date: Tue, 20 Jun 89 10:02:58 -0400
   From: James J Dempsey <jjd@bbn.com>

   Having said this, I think there should also be some way of determining
   from inside .bashrc whether or not a given session is interactive or
   not.

In bash, if PS1 is not set, then the shell is not interactive.

Brian Fox
Technical Details
Message-ID: <8906210020.AA03847@aurel.caltech.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!ukma!tut.cis.ohio-state.edu!aurel.caltech.edu!bfox
References: <8906201402.AA03578@life.ai.mit.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!ukma!tut.cis.ohio-state.edu!aurel.caltech.edu!bfox
From: bfox@aurel.caltech.edu (Brian Fox)
Newsgroups: gnu.bash.bug
Subject: Init files (was Questions/bugs.)
Message-ID: <8906210020.AA03847@aurel.caltech.edu>
Date: 21 Jun 89 00:20:37 GMT
References: <8906201402.AA03578@life.ai.mit.edu>
Sender: daemon@tut.cis.ohio-state.edu
Reply-To: bfox@aurel.caltech.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 11