Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Typos? | 7 comments | Create New Account
Click here to return to the 'Typos?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Typos?
Authored by: babbage on May 22, '01 10:29:57AM
I can't get the material you have on here to work. There seems to be at least one typo -- you've got "settile" on the end of the last line instead of "settitle" (missing the 3rd T). Since you've put it online anyway, it's easier for readers to just download that: wget http://homepage.mac.com/cftarnas/.cv/cftarnas/Public/settitle-link.gen That is working just fine for me...

[ Reply to This | # ]
alias for ssh to change title?
Authored by: to0l25 on Oct 18, '01 08:57:55AM
that is definitly the only one that works for me, thanx alot.
unfortunately i often work via ssh (with ssh -l username hostname) on other hosts, so it would be useful to have the remote host in the title bar. i tried hard but i didn't get it right for my purposes.
i do it this way in the moment, but i am not really satisfied with it, 'cause it's not flexible enough: i need to have an alias for every host to connect:

alias ssh_host 'settitle "ssh on host.tld"; ssh -l user host.tld; settitle $t:t/$cwd:t'

this will set the title to "ssh on host.tld", but i do not have the path i am working in. i also changed the first line and delete ${HOST} (if i didn't do that the output for my ssh-alias was a bit confusing). maybe someone is able and willing to help me out. thanx in advance, to0l25

[ Reply to This | # ]