I've got a problem about the $WINDOWID variable I wanted to print into a file, when a new terminal window is opend.
I tried this in Solaris 8, /usr/dt/bin/dtterm:
echo "User $USER opened terminal window $WINDOWID at 'date' >> /tmp/term.log
The variable for user works, but the one for the window id doesn't!
I only get --> User root opened terminal window at ...
Does anybody know why? They both work in every shell, so that shouldn't be the problem.