Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Some terminal programs, in particular Konsole supports "Remote title format" which allows you to specify title for remote tabs which includes placeholders like remote host. How does this work? Where does it get the remote host from, and how does it recognize the tab is holding a remote session?

It seems to work for ssh, but not for other remote shell or terminal clients, and neither does it work for screen sessions that connect to remote hosts. What's the protocol it uses to recognize the remote session?

share|improve this question
add comment

1 Answer

According to http://www.petesodyssey.org/node/234 and some other search hits I found, it specifically recognizes the ssh command entered after the kind of prompt that is the default in many Linux distributions (in particular, I found some hits noting that it does not work with FreeBSD's defaults). This suggests that, unless they also provide some kind of escape sequence that you could use (as some other terminal emulators do), you won't easily be able to make it work in other cases.

share|improve this answer
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.