On Thu, Mar 05, 2009 at 06:11:18PM -0800, Peter Steele wrote:
>
> >I first wondered why none of my commands in "/etc/profile" and
> >"~/.profile" got executed. Finally, I modified
> >"/usr/src/bin/sh/main.c" to trace what files are read, recompiled
> >the "sh" command and: the only file that is
On Thu, 5 Mar 2009 18:11:18 -0800 (PST), Peter Steele
wrote:
> I have a similar problem, but with bash. I have both my personal
> account and root set to use bash instead of sh and when I login
> the .bashrc file is not read. My system does not have an X
> environment, it's plain old BSD. How can
>I first wondered why none of my commands in "/etc/profile" and
>"~/.profile" got executed. Finally, I modified
>"/usr/src/bin/sh/main.c" to trace what files are read, recompiled
>the "sh" command and: the only file that is executed is "~/.shrc".
>
>I just cannot believe that FreeBSD has such
On Wed, Mar 4, 2009 at 4:08 PM, Bertram Scharpf
wrote:
> Hi,
>
> from "man sh":
>
> Invocation
> [...] When first starting, the shell inspects
> argument 0, and if it begins with a dash (`-'), the shell is also consid-
> ered a login shell. This is normally done automatically by th
Good evening Betram et al.
I've read the discussion thread as far as it went and would like
to share my own solution to a similar problem, mapped onto the
sh topic. Maybe it works.
A little background:
First of all, because my standard dialog shell is the system's
C shell, the files important ar
On Thu, Mar 05, 2009 at 02:23:52PM +0100, Bertram Scharpf wrote:
>
> Hi Frank,
Hi Bertram,
>
> Am Donnerstag, 05. Mär 2009, 04:15:05 + schrieb Frank Shute:
> > On Wed, Mar 04, 2009 at 04:08:03PM +0100, Bertram Scharpf wrote:
> > > from "man sh":
> > >
> > >Invocation
> > > [...] t
Hi Frank,
Am Donnerstag, 05. Mär 2009, 04:15:05 + schrieb Frank Shute:
> On Wed, Mar 04, 2009 at 04:08:03PM +0100, Bertram Scharpf wrote:
> > from "man sh":
> >
> >Invocation
> > [...] the shell inspects
> > argument 0, and if it begins with a dash (`-'), the shell is also
> >
On Wed, Mar 04, 2009 at 04:08:03PM +0100, Bertram Scharpf wrote:
>
> Hi,
>
> from "man sh":
>
>Invocation
> [...] When first starting, the shell inspects
> argument 0, and if it begins with a dash (`-'), the shell is also consid-
> ered a login shell. This is normally done au