Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: zftp xterm titlebar



>>> "AD" == Alexandre Duret-Lutz <alexandre.duret@xxxxxxxxxxxxxx> writes:

[...]

 AD> Are there other xterm-compatible terminals emulators around ?

Yes, kterm :

--- Functions/Zftp/zftp_chpwd~	Thu Dec 23 11:42:24 1999
+++ Functions/Zftp/zftp_chpwd	Thu Dec 23 11:43:23 1999
@@ -32,9 +32,9 @@
     local str=$zfconfig[lastloc_$ZFTP_SESSION]
     [[ ${#str} -lt 70 ]] && str="%m: %~  $str"
     case $TERM in
-      sun-cmd) print -n -P "\033]l$str\033\\"
+      sun-cmd) print -Pn "\033]l$str\033\\"
 	       ;;
-      *xterm*|rxvt|dtterm|Eterm) print -n -P "\033]2;$str\a"
+      *xterm*|rxvt|dtterm|Eterm|kterm) print -Pn "\033]2;$str\a"
 	     ;;
     esac
   fi
--- Etc/FAQ.yo~	Thu Dec 23 11:46:07 1999
+++ Etc/FAQ.yo	Thu Dec 23 11:43:55 1999
@@ -1130,7 +1130,7 @@
     case $TERM in
       sun-cmd+CHAR(41) print -Pn "\e]l%~\e\\"
         ;;
-      *xterm*|rxvt|dtterm|Eterm+CHAR(41) print -Pn "\e]2;%~\a"
+      *xterm*|rxvt|dtterm|Eterm|kterm+CHAR(41) print -Pn "\e]2;%~\a"
         ;;
     esac
   }


-- 
Alexandre Duret-Lutz




Messages sorted by: Reverse Date, Date, Thread, Author