RedDog has asked for the wisdom of the Perl Monks concerning the following question:
The system in question is an HP-UX mainframe system, and the user's shell is ksh by default. If there are any monks out there who have a good understanding of shell scripting, any help or ideas would be greatly appreciated. Thank you.if [ "$TERM"="" ]then eval `tset -s -Q -m':?hp'` else eval `tset -s -Q` fi stty erase "^H" kill "^U" intr"^C" eof "^D" stty hupcl ixon ixoff tabs PATH=$PATH:. set -u trap "echo 'logout'" 0 set -o ignoreeof EDITOR=vi export EDITOR ## Here are the lines that I am adding. cd /home/production/scripts USER=`who am i|cut -c 1..8` (trap "trap 0;exit" 0 1 3 15; cobrun /home/production/cobol/obj/eftchg + $USER)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (WAY OT) Setting up a user's profile
by MZSanford (Curate) on Oct 01, 2001 at 18:15 UTC | |
by RedDog (Pilgrim) on Oct 01, 2001 at 19:02 UTC | |
|
Re: (WAY OT) Setting up a user's profile
by thatguy (Parson) on Oct 01, 2001 at 20:48 UTC | |
|
Re: (WAY OT) Setting up a user's profile
by mischief (Hermit) on Oct 02, 2001 at 18:34 UTC |