[comp.sys.hp] tcsh or cetera for HP 9000?

mark@motown.altair.fr (Mark James) (02/06/91)

I am about to get myself ported from a Sun to an HP workstation, and
I'm going to miss tcsh 5.18 with its command-line editing features.
Is tcsh or anything similar available under HP-UX?  Not necessarily
public-domain, but obviously that's preferable.

--
Mark James  <mark@bdblues.altair.fr> or <mark@nuri.inria.fr>

jewett@hpl-opus.hpl.hp.com (Bob Jewett) (02/12/91)

> some bugs or questionable features relating to the history file, for
> instance sharing the same history file between several ksh instances
> sometimes works strangely.

I think this can be fixed by the user.  I set up one history file per tty,
so different windows have separate histories. If I do a shell escape from
some program, I have the history of that window.  Here are the necessary
lines from my .kshrc:

HISTDIR=/tmp/${LOGNAME:-$USER}
if [ ! -d $HISTDIR ] ; then /bin/mkdir $HISTDIR; fi
HISTFILE=$HISTDIR/`basename \`tty\``.khist
export HISTFILE

Bob