From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20703 invoked from network); 8 Nov 2005 14:13:35 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 8 Nov 2005 14:13:35 -0000 Received: (qmail 20984 invoked from network); 8 Nov 2005 14:13:27 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 8 Nov 2005 14:13:27 -0000 Received: (qmail 5412 invoked by alias); 8 Nov 2005 14:13:20 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9665 Received: (qmail 5402 invoked from network); 8 Nov 2005 14:13:20 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 8 Nov 2005 14:13:20 -0000 Received: (qmail 20087 invoked from network); 8 Nov 2005 14:13:20 -0000 Received: from vinc17.net4.nerim.net (HELO ay.vinc17.org) (62.212.121.106) by a.mx.sunsite.dk with SMTP; 8 Nov 2005 14:13:18 -0000 Received: from lefevre by ay.vinc17.org with local (Exim 4.54) id 1EZUDt-0006gd-I8; Tue, 08 Nov 2005 15:13:17 +0100 Date: Tue, 8 Nov 2005 15:13:17 +0100 From: Vincent Lefevre To: zsh-users@sunsite.dk Subject: Re: Is zsh buggy in connection with screen? Message-ID: <20051108141317.GQ27583@ay.vinc17.org> Mail-Followup-To: zsh-users@sunsite.dk References: <20051108130233.GA6146@hpfsc.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20051108130233.GA6146@hpfsc.de> X-Mailer-Info: http://www.vinc17.org/mutt/ User-Agent: Mutt/1.5.11-vl-20051031 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.4 On 2005-11-08 14:02:33 +0100, Sebastian Stein wrote: > The following scenario: > > I have screen running under X11. In screen I have different zshs open. Some > of them are currently running a vim. I detached screen for about 1 hour from > X11. After I attach it again and try to insert something in the vim, they > abort saying there was a X11 error (bad window name). > > Can this be related to zsh? I don't think so, why would it be? The problem may be due to specific environment variables or a different configuration concerning the terminal. > I don't see why this should be caused by something else, because I > have not upgraded any software package connected to X11, vim or > shell. I never had this problem using bash. What is your terminal? xterm for instance sets environment variables that are no longer valid in a different terminal and/or X11 session: ENVIRONMENT Xterm sets several environment variables: DISPLAY is the display name, pointing to the X server (see DISPLAY NAMES in X(1)). [...] WINDOWID is set to the X window id number of the xterm window. This may be your problem... -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / SPACES project at LORIA