Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there a way to display the hostname as name of a tab in Console2?

If I use cygwin and ssh to a remote host, I would like the tab name to reflect the remote hostname.

share|improve this question
1  
How do you start ssh? There is a question about naming tabs in ConEmu. Take a look? –  Maximus Sep 23 '12 at 20:11
add comment

1 Answer 1

If you're using an X terminal emulator (such as Xterm) you can use ANSI escape sequences to set the window title. I don't know if Console2's ANSI support extends that far. Probably trying it is the easiest way to find out.

The Cygwin application Mintty does have the ANSI support you're looking for. Also, you can run an X terminal emulator (or any other X program) on your Windows desktop using X Server software such as XMing or Cygwin/X.

share|improve this answer
    
Thanks for xterm and Mintty tip! –  Christian Sep 24 '12 at 12:16
    
@Christian thank me with an upvote! –  Isaac Rabinovitch Sep 24 '12 at 16:17
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.