to have a computer name and path on the title
of xterm i do have following in my .tcshrc:
if ($?TERM) then
alias monas_private_title 'echo -n "\033]0;`hostname`:`pwd`\007"'
alias cd 'cd \!*; monas_private_title'
# monas_private_title # <---- mark
if I uncomment marked line and try to "less some_file" - I get one line with ESC and no text of that some_file.
if I leave as it is - I don't get info until first cd.
Question: Why do I get that crap? How do I have information right after login.
info about sw (if that matters)
tcsh: version tcsh 6.08.00 (Astron) 1998-10-02 (i586-intel-linux) options 8b,nls,dl,al,color
xterm: AIX 4.3.3