[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] less problem solved
On Thu, Aug 15, 2002 at 02:19:49PM +0200, Edgar Aichinger wrote:
> Hello all,
>
> finally I found out what was causing trouble with less on my and
> Martin Tarenskeen's system. With installed LESSOPEN mechanism,
> less was not able to display normal files (those not covered by
> a case in /usr/bin/lesspipe.sh) anymore.
>
> Both of us had "setenv SHELL=u:\bin\bash" in mint.cnf. After changing
> that to "u:\bin\sh", everything worked again as expected.
>
This still didn't solve my problem completely, because TosWin2 uses the
entry in the /etc/passwd file (where I have "bash" as my favourite
interactive shell) and changes the SHELL environment variable from
"/bin/sh" back to "/bin/bash" again.
Therefore, a better solution seems to be to add
export SHELL="/bin/sh"
in the file /etc/profile also.
Now I can run bash when I select "open shell" in TosWin2, AND my problem
with less has been solved elegantly.
--
Martin Tarenskeen