LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   $WINDOWID in dtterm (https://www.linuxquestions.org/questions/linux-newbie-8/%24windowid-in-dtterm-362678/)

janine 09-12-2005 11:22 AM

$WINDOWID in dtterm
 
Hey guys,

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:

Code:

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.

thanks
janine ;)


All times are GMT -5. The time now is 04:28 AM.