about setting that prompt for csh...

Maarten Litmaath maart at cs.vu.nl
Fri Jun 16 08:50:51 AEST 1989


nick at aimed.UUCP (Nick Pemberton) writes:
\In .login, after the TERMCAP entry is set, I have the following lines:
\
\set invs=`tput smso`
\set inve=`tput rmso`

Try:
	set	invs = "`tput smso`"
	set	inve = "`tput rmso`"

This will avoid csh interpreting the output of `tput'.
For the ANSI terminal:

	so=^[[7m
	se=^[[m

Both strings contain the wildcard character '['. In both cases the
corresponding ']' is missing. Hence csh decides "Missing ]." and the final
output of each backquote command will be empty, whereas the error messages
somehow get lost. Yet another bug.
-- 
"I HATE arbitrary limits, especially when |Maarten Litmaath @ VU Amsterdam:
   they're small."  (Stephen Savitzky)    |maart at cs.vu.nl, mcvax!botter!maart



More information about the Comp.unix.questions mailing list