hi, i am trying to use the function fish_title to set the title in screen.
on the commandline i can change the title with: echo -ne '\033ksometitle\033\\' i figured that i should be able to do the same inside the function: function fish_title echo -ne '\033ksometitle\033\\' end but that is not the case. instead sometitle gets written to the terminal itself. also, i expected that (commandline) should give me the last commandline: function fish_title echo -ne '\033k'(commandline)'\033\\' end but it doesn't. what am i missing? on a related note: why does echo -n "\eksometitle\e\\" not work in the commandline? in bash the following does work: echo -n "^[ksometitle2^[\\" (where ^[ is the literal escape) this suggests that \e is not equivalent to a literal escape or that fish generally handles escape in strings differently than bash. greetings, martin. -- cooperative communication with sTeam - caudium, pike, roxen and unix offering: programming, training and administration - anywhere in the world -- pike programmer travelling and working in europe open-steam.org unix system- bahai.or.at iaeste.(tuwien.ac|or).at administrator (caudium|gotpike).org is.schon.org Martin Bähr http://www.iaeste.or.at/~mbaehr/ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users