ksh stuff

Below is a little code I use with ksh. The wt() function can only be expected to work in an X-term. The code sequences are different for other terminal emulators. DIRSTACK=$PWD function dirs { print $DIRSTACK } function pushd { dirname=$1 cd ${dirname:?”missing directory name.”} DIRSTACK=”$PWD $DIRSTACK” } function popd { DIRSTACK=${DIRSTACK#* } top=${DIRSTACK%% *} [...]