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

Click here to return to the '(damn geeklog!!)' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
(damn geeklog!!)
Authored by: thinkyhead on May 24, '02 04:16:58AM
Replace the call to OSASCRIPT with this line in BASH:

echo -e "\033]0;$1\007"

or this line for CSH, ZSH, etc.:

echo -n "^[]0;$1^G"

Note that ^[ is actually the esc character and ^G is ctrl-G.To enter these characters use vi and use the following sequences for each:

^[ ........ ctrl-v - esc
^G ...... ctrl-v - ctrl-g

Now when you connect to your remote host you can have your .login or .bashrc file set the Terminal title to the name of the remote server.

In tchs this command will make the Terminal title always show the current directory:

alias precmd 'echo -n "^[]1;$PWD^G"'

Use the same trick for esc and ctrl-G.

[ Reply to This | # ]
Geeklog and slashes...
Authored by: robg on May 24, '02 08:04:11AM

The good news is that this has apparently been greatly improved in the newest version. Even better, they're close to releasing it and I have a version running locally ... so we will be upgrading very soon now!

Thanks for putting up with it so far; it's incredibly annoying, I know!


[ Reply to This | # ]
Geeklog and slashes...
Authored by: thinkyhead on May 27, '02 04:30:25AM

(Psst... It's me, I'm the guy who supplied the patches to the geeklog and phplib projects at sourceforge. The backslash problem should be completely solved by the upcoming update to these two parts of GeekLog. The major cause of the problem was with phplib, and not geeklog per se.)

[ Reply to This | # ]