NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: sh shell emacs mode



On Sat 13 Jun 2009 at 00:53:40 -0700, Cliff Wright wrote:
> was sh a login shell? can test by doing "ln -s /bin/sh /bin/-sh",
> and starting -sh (note not /bin/-sh, that will not work as it must
> start with a dash). this worked for me.

There is an option for xterms to make sure that the shell it starts is a
login shell: -ls. You can also set it in the X resources file
($HOME/.Xresources):

xterm.vt100.LoginShell:         on

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert    -- You author it, and I'll reader it.
\X/ rhialto/at/xs4all.nl      -- Cetero censeo "authored" delendum esse.


Home | Main Index | Thread Index | Old Index