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.
If you are not already a screen user I'd recommend using tmux instead (which is in ports, and per -current in the base system). $ cat ~/.tmux.conf set-option -g default-command "cd; exec $SHELL -l" /Alexander