#!/bin/sh
#
# ~/.profile, this file will be read by /bin/sh when invoked as login shell
#
echo executing /home/user/.profile

echo setting PATH...
PATH=.:/bin:/usr/ucb:/usr/bin:/usr/local/bin:/usr/etc
export PATH

echo who:
who

echo processes:
ps -j

PS1="$(whoami)@$(hostname)>"

if [ ! $CLIPBRD ]
then
  #login from telnet, terminal, modem, ...
  echo "tty login..."

else
  echo "GEM login..."
  . $HOME/.gemlogin
fi