From: Maxim Tyurin <mrkooll@bungarus.info> To: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru> Subject: Re: [sisyphus] zsh: wrong encoding in term caption Date: Fri, 12 Aug 2005 20:00:02 +0300 Message-ID: <m3irybf5v1.fsf@mrkooll.tdr.pibhe.com> (raw) In-Reply-To: <42F32537.3040901@vzljot.ru> (Vitaly Ostanin's message of "Fri, 05 Aug 2005 12:37:11 +0400") Vitaly Ostanin writes: > Здравствуйте. > > Вставил в .zshrc > > case $TERM in > xterm* | rxvt | aterm) > precmd(){print -Pn "\e]0;%~\a"} > ;; > esac Это из моего .zshrc: # Если работаем под X меняем заголовки терминала case $TERM in xterm*|rxvt*|aterm*) precmd () { print -Pn "\e]0;TERM %n@%m: %~\t$1\a" } preexec () { print -Pn "\e]0;TERM <%n@%m> $1\a" } ;; esac В локали koi8 у меня все работает > > Всё прекрасно, кроме русских букв в путях - выводятся > кракозябрами. Это лечится? > > zsh-4.2.5-alt2 > локаль ru_RU.CP1251 -- With Best Regards, Maxim Tyurin aka Bungarus JID: MrKooll@jabber.pibhe.com
prev parent reply other threads:[~2005-08-12 17:00 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-08-05 8:37 Vitaly Ostanin 2005-08-05 9:14 ` [sisyphus] " Vitaly Ostanin 2005-08-05 10:44 ` Alexey Morsov 2005-08-05 12:01 ` Vitaly Ostanin 2005-08-15 5:21 ` php-coder 2005-08-15 11:09 ` Vitaly Ostanin 2005-08-16 9:54 ` php-coder 2005-08-18 12:02 ` Vitaly Ostanin 2005-08-12 17:00 ` Maxim Tyurin [this message]
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=m3irybf5v1.fsf@mrkooll.tdr.pibhe.com \ --to=mrkooll@bungarus.info \ --cc=sisyphus@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git