Sorry my express...

This is my .cshrc:
...
    if ($TERM == "cons25") then
            set prompt = "%m:%l=%// > "
    else
            set prompt = "%{\e]0;%m:%l=%//\a%}> "
    endif
...

Under the console, the screen is:
...
...
...
hostname:tty=path >
...

Under xterm, the screen is:
...
...
...
>
...
and the xterm window title is hostname:tty=path.

For tmux, how can I do the same thing?

To tmux under Console, the screen is:
...
...
...
hostname:tty=path >
...

To tmux Under X, the screen is:
...
...
...
>
...
and the tmux window title is hostname:tty=path.

the $TERM is still screen, whether console or X. I can't use it for my
point.
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to