Can value of environmental var appear in prompt?

Chet Creider creider at csd.uwo.ca
Tue Jun 18 04:47:21 AEST 1991


How can one make the value of an environmental variable appear in a
C-shell prompt? While using screen, I often become confused as to which
window I'm in. Screen maintains an environmental variable WINDOW giving
the number of the current window. Can this value be put into a prompt?

Thanks,

Chet Creider
creider at csd.uwo.ca



More information about the Comp.unix.questions mailing list