From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim Cross Newsgroups: gmane.emacs.devel Subject: Re: M-x in shell after emacs --daemon Date: Mon, 28 Nov 2011 19:24:49 +1100 Message-ID: References: <20176.13652.681947.647027@gargle.gargle.HOWL> <20178.65014.719546.153995@gargle.gargle.HOWL> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1322468710 15845 80.91.229.12 (28 Nov 2011 08:25:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 28 Nov 2011 08:25:10 +0000 (UTC) Cc: Emacs developers To: tv.raman.tv@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 28 09:25:06 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RUwWO-0006Cr-WC for ged-emacs-devel@m.gmane.org; Mon, 28 Nov 2011 09:25:05 +0100 Original-Received: from localhost ([::1]:50013 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RUwWO-0003Yv-DG for ged-emacs-devel@m.gmane.org; Mon, 28 Nov 2011 03:25:04 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:41046) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RUwWG-0003Xd-7P for emacs-devel@gnu.org; Mon, 28 Nov 2011 03:25:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RUwWB-0006CK-Qc for emacs-devel@gnu.org; Mon, 28 Nov 2011 03:24:56 -0500 Original-Received: from mail-gx0-f169.google.com ([209.85.161.169]:55074) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RUwWB-0006CG-O7 for emacs-devel@gnu.org; Mon, 28 Nov 2011 03:24:51 -0500 Original-Received: by ggnq4 with SMTP id q4so712403ggn.0 for ; Mon, 28 Nov 2011 00:24:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=S8TTNLm59+42M/B2ysioiieoU+7LaDCW6BiGe9yDMHs=; b=tbnqGGZzo5ZrbbJQpiwGwaM5DYcGuhMxi1ot2YGf3Iz43quv1I5SYbNstV/ZFCROb6 V8s2i/1nhfCE4rMcDVEMDXKcsuZWRHEhfDM6H4JeaHruXI0GQchwf8iQBfRRfE8TfVIo w3kTLyaP9pVzvD3gx321QUR7Ie4CILIxLqaLw= Original-Received: by 10.50.42.166 with SMTP id p6mr18495709igl.17.1322468690008; Mon, 28 Nov 2011 00:24:50 -0800 (PST) Original-Received: by 10.231.35.74 with HTTP; Mon, 28 Nov 2011 00:24:49 -0800 (PST) In-Reply-To: <20178.65014.719546.153995@gargle.gargle.HOWL> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.161.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:146295 Archived-At: I upgraded to the most recent bzr sources for emacs and svn sources for emacspeak and tested again on both 32 bit and 64 bit Xubuntu systems. I tested with emacs started in daemon mode as part of my xsession startup and starting just under a virtual console. In neither case was I able to reproduce the issue you are seeing. I ran emacsclient -c under X and emacsclient -t underthe virtual console and then ran M-x shell. Issuing w, ls, top and other commands which I thought might have problems, but all worked fine. The emacs I'm running is compiled with all standard configure options and built with GTK+ support. The only two 'no' responses reported by configure are for imagemagick and selinux support. Emacs is installed in /usr/local I you still have not got a resolution to this by next weekend, I'll try installing stumpwm - its been a while since I tried running it and was thinking about giving it another try, so this could be a way to kill two birds with one rock. Tim On 28 November 2011 14:20, T. V. Raman wrote: > > I'm not running gnome -- when Ido run X, I =A0run stumpwm. > > I'm definitely seeing the problem with no X in sight. > >>>>>> "Tim" =3D=3D Tim Cross writes: > =A0 =A0Tim> Hi Raman, I don't see this behavior. I'm running 64bit > =A0 =A0Tim> Emacs 24, built from bzr on 18th and emacspeak from svn > =A0 =A0Tim> revision 7410. > =A0 =A0Tim> > =A0 =A0Tim> Neither M-x shell or M-x term give any errors or > =A0 =A0Tim> warnings when running using emacsclient and emacs > =A0 =A0Tim> started with --daemon. I'm starting emacs as part of my > =A0 =A0Tim> normal login. Tested both under X and by switching to a > =A0 =A0Tim> virtual console and running emacsclient -t. I'm running > =A0 =A0Tim> under Xfce on an xubuntu 11.10 system. > =A0 =A0Tim> > =A0 =A0Tim> Are you running under GNOME? I remember seeing issues > =A0 =A0Tim> relating to problems with shell mode and GNOME which I > =A0 =A0Tim> think were related to terminal description problems > =A0 =A0Tim> i.e. emacs unable to determine correct height/width > =A0 =A0Tim> etc. Maybe grep the archive? > =A0 =A0Tim> > =A0 =A0Tim> I usually update this machine on sundays, so will update > =A0 =A0Tim> later today and test agin. f I notice any issues with > =A0 =A0Tim> top or w, will post again. > =A0 =A0Tim> > =A0 =A0Tim> Tim > =A0 =A0Tim> > =A0 =A0Tim> On 26 November 2011 11:39, T. V. Raman > =A0 =A0Tim> wrote: > =A0 =A0>> This is when running on Linux. > =A0 =A0>> > =A0 =A0>> Start emacs --daemon -- then launch an emacsclient frame > =A0 =A0>> -- either tty or graphical. > =A0 =A0>> > =A0 =A0>> M-x shell > =A0 =A0>> > =A0 =A0>> programs like w report " 10 columns not wide enough. stty > =A0 =A0>> cols 80 fixes w -- but top =A0fails in that it displays just > =A0 =A0>> the first column of top output -- guess it thinks the > =A0 =A0>> terminal still has 10 cols. > =A0 =A0>> -- > =A0 =A0>> > =A0 =A0>> -- > =A0 =A0>> > =A0 =A0>> -- > =A0 =A0>> > =A0 =A0>> > =A0 =A0Tim> > =A0 =A0Tim> > =A0 =A0Tim> > =A0 =A0Tim> -- Tim Cross > > -- > Best Regards, > --raman > --=20 Tim Cross