On Mon, Jun 15, 2009 at 10:51:16PM +0800, Jennifer Ma wrote:
| hi all,
|
| i am new to openbsd and screen and ksh ...
|
| my question is how to use screen(from package) to load ksh with
| $HOME/.profile loaded(like a full login shell), so my alias can work
| again.
|
| i've already tried
| # screen -s /bin/ksh
| no luck.
|
| please help, many thanks.
Let screen start ksh -l.
However, in your .profile export ENV=~/.kshrc and then put all your
aliases and shell options in your ~/.kshrc. That way, all shells get
your aliases/shellopts, not just in screen.
Cheers,
Paul 'WEiRD' de Weerd
--
>++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
http://www.weirdnet.nl/