From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22025 invoked by alias); 19 May 2014 12:27:00 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 18833 Received: (qmail 19097 invoked from network); 19 May 2014 12:26:52 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.2 From: Frank Terbeck To: zsh-users@zsh.org Subject: Re: Zsh changes on Ubuntu In-Reply-To: (Thorsten Kampe's message of "Mon, 19 May 2014 12:57:08 +0200") References: <87iop4zoih.fsf@ft.bewatermyfriend.org> User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) Date: Mon, 19 May 2014 14:03:30 +0200 Message-ID: <87sio67z71.fsf@ft.bewatermyfriend.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Df-Sender: NDMwNDQ0 Thorsten Kampe wrote: > * Frank Terbeck (Sat, 17 May 2014 12:29:58 +0200) >> Since ubuntu is debian's downstream, I'm pretty sure this may be tied to >> a change in debian's global zshrc: In pre-5.x packages, debian used a >> rather broken approach trying to read escape sequences for special keys >> from the terminfo database. >>=20 >> Starting with the package for 5.0.0 and onward=C2=B9, that was fixed by >> setting the terminal zsh is running in into the correct mode for the >> values from terminfo to be applicable while zsh's line editor (ZLE) is >> running. This was done to make the setup work across as many different >> terminals as possible. [...] > "export DEBIAN_PREVENT_KEYBOARD_CHANGES=3Dyes" in .zshenv did the=20 > trick. No need to export the parameter. No external process will need it, and zshenv is read for every zsh-instance, that also reads zshrc. Generally, I wouldn't advice people to set the parameter. Setting the terminal into "keyboard-transmit-mode" (which is what the smkx terminfo entry does) while the line editor is active is the right thing to do, IMNSHO. Otherwise, you can't rely on values from $terminfo to be correct. The parameter is really meant for people who know what they are doing. I'm just mentioning this for the innocent lurker, who might be wondering what we're on about. I don't know of your background and you might indeed know what you're doing. This is not meant to be offensive. Regards, Frank