Menu

#689 Tab title changing to remote host name

Next Release
closed
nobody
5
2008-09-18
2007-11-26
Anonymous
No

The tab title needs to display the name of the machine you are logged into. A title of "Default" is no help after you've opened 9 tabs. The name of the machine can be captured from the ssh or telnet commands with a regex. I've attached a sample Perl regex script that gets the hostname out of a telnet or ssh command.

Although objective-c doesn't have a regex per se, C has 3rd party modules for this, and there are 3rd party modules for obj-c to implement regex. E.g. http://www.spikesoft.ch/?p=24

Discussion

  • Nobody/Anonymous

    PERL script to get hostname from ssh and telnet commands

     
  • fabian

    fabian - 2008-09-18

    You can set up your shell to do that. Just google.

     
  • fabian

    fabian - 2008-09-18
    • status: open --> closed
     

Log in to post a comment.