• Axel Scheepers

    Most shells run as a login shell when you create an alias to it with a minus in front of it. In my case I had the same trouble with ksh which I had to install in my home directory.
    It’s installed in ~/sfw/bin/ksh, to make it start as a login shell under screen I created a softlink like so;
    cd ~/sfw/bin && ln -s ksh -ksh
    and then used ‘shell -$SHELL’ in my .screenrc et voila.

  • brian

    Thanks Axel, I also learned the other day that you can change the CWD anytime in screen by typing `chdir ‘ at the command prompt ( C-a : )