To give you the best experience, this site uses cookies. Continuing to use 9bis.net means you agree to our use of cookies.
 

English version Russian version Version française Nederlandse versie Versión española Version portuguese Version polonaise Italian version Versiunea româna   KiTTY News

KiTTY : Forum

Last modification : -

KiTTY web site




Forum Home
 

Window title taken from Environment Variable

BlackSheep - Thu 10/07/2008 12:58:58 CEST +0200

Hi,

Sometimes could be good that after loging in into a server the windows title changes to an environment variable of the server. Could be either automatically or with a keyboard shortcut or in anyother convinient way. This is good for example when you have many oracle instances in the same server. Then the window title would change to the $ORACLE_SID environment variable.
Thank you!


Cyd - Tue 15/07/2008 12:07:13 CEST +0200

Hi
You can create such an alias
   alias sql='echo \"\033]0;${ORACLE_SID}\007\" ; sqlplus'

Cyd




Answer


The forum is actually closed