From debbugs-submit-bounces@debbugs.gnu.org Wed May 29 09:56:05 2024 Received: (at submit) by debbugs.gnu.org; 29 May 2024 13:56:06 +0000 Received: from localhost ([127.0.0.1]:36319 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sCJmf-0000rh-JN for submit@debbugs.gnu.org; Wed, 29 May 2024 09:56:05 -0400 Received: from lists.gnu.org ([209.51.188.17]:47952) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <34jNXZg0KDd8BMFYIVUDIFTPOHPPHMF.DPNCVH-HOV-FNBDTHOV.PSH@flex--alexhutcheson.bounces.google.com>) id 1sCJmd-0000rb-As for submit@debbugs.gnu.org; Wed, 29 May 2024 09:56:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <34jNXZg0KDd8BMFYIVUDIFTPOHPPHMF.DPNCVH-HOV-FNBDTHOV.PSH@flex--alexhutcheson.bounces.google.com>) id 1sCJmQ-0003gm-FM for bug-gnu-emacs@gnu.org; Wed, 29 May 2024 09:55:50 -0400 Received: from mail-yw1-x1149.google.com ([2607:f8b0:4864:20::1149]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <34jNXZg0KDd8BMFYIVUDIFTPOHPPHMF.DPNCVH-HOV-FNBDTHOV.PSH@flex--alexhutcheson.bounces.google.com>) id 1sCJmO-0003fY-TK for bug-gnu-emacs@gnu.org; Wed, 29 May 2024 09:55:50 -0400 Received: by mail-yw1-x1149.google.com with SMTP id 00721157ae682-629638f1cb0so33447827b3.3 for ; Wed, 29 May 2024 06:55:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1716990947; x=1717595747; darn=gnu.org; h=to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=CZwvbkV+hfZqLIFirIbp99JiJDYmf522mnpn6v+mA70=; b=GNSp/8P+ujTSM2bDtmsjhn3wwbRjp0cB9WAjrv/yqX5dCLJvT5vGaNdZvATi7QITCW MZXl4IaJfpNJnU2SyVqiSJYNH/gQ6yha6GGefTFqr2B4tWe+s2fVYZ016lvmFZ3mqi+7 m0nIJoKW3Z43MXRpNvckeANT/Pij+MF8WJdZluWqxmryzB7DjW961gtdtXM12M6LnmD8 uF0+F/0q8TPYTQuIA9NHYJb5v2mDpyVfCanOH5t3o7L3v9KP5DVJu9hKWPvtzW3SjWEW xcOQlqdWdBp6zhUEC3Wu5HBDncvfn7WyF3+RHDEaRUsedjTDnH091/wFu6OBvjsgCmzx 4Wxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716990947; x=1717595747; h=to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=CZwvbkV+hfZqLIFirIbp99JiJDYmf522mnpn6v+mA70=; b=PqVRJsLa9PmGaP8EVMXsLPOqyjcXWDl/RubhHSYZgO0JODRnr9CEjggAOB8Vva+/1H aLjSC4a7/EuOU/jJAwnVx0VgCm2KBiUWN7zH+GAIb3p5xySfLzURchK5XydgJ1gucBaN qC6pnTeq3o1ZjkjhG3VyAhEqz/9TNjLN9dE5DlG2NvfBARfpEGiWeeZD27jRFpoBqynv /P9NxUb1+0DRDn35AfcctbmgG6mIk8NMfoRXC4oPJKZzTTueZKq0nuPZipz6OCt9Aef+ 1nChxRFKJNip2hflmFp7CzlhFOTFOU0hrcJitSPaVlPjrGU+3fs0HW/dJSsV8Yw1AEkR NDRw== X-Gm-Message-State: AOJu0Yw4Nef3KH/KZ4oTZddsZtnEenkt9uW4i799R+WUIBneWL4UUFfC vdBM35FaYZ8MTPCUW/7Kui61K0FJvRSixLaxcX6iavo1SpVv0bJgAJR1yBw55ieGM1m7iirdBLm yNgMdk449vztjDduUxAefPKmFsM0Q/lZazcQwUmLZY2UjTEaxU5Yd2ntGqY9MWGzPHDBwCRlDsQ 7xEgYGR6wWE3Ef1okYgYu3EAP35rsjxjOVyi1POh7/2ldKVaz2jmLBp2ciFofBgBXvpQUi X-Google-Smtp-Source: AGHT+IEItC99Ewc3qyuQwlvIHQmicgpW1iwv60f9DBmuuMrw2Yds7DLW8eDa5oqEfPV67NbOspr3LJiFej312fJr8y+E X-Received: from alexh.c.googlers.com ([fda3:e722:ac3:cc00:2b:7d90:c0a8:418]) (user=alexhutcheson job=sendgmr) by 2002:a81:4c89:0:b0:62a:45ce:a268 with SMTP id 00721157ae682-62a45cea4d3mr16210457b3.9.1716990946963; Wed, 29 May 2024 06:55:46 -0700 (PDT) Date: Wed, 29 May 2024 13:55:43 +0000 Mime-Version: 1.0 Message-ID: Subject: 29.1; Tramp connection property "direct-async-process" causes job control not to work in M-x shell buffers From: Alex Hutcheson To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset="UTF-8"; format=flowed; delsp=yes Received-SPF: pass client-ip=2607:f8b0:4864:20::1149; envelope-from=34jNXZg0KDd8BMFYIVUDIFTPOHPPHMF.DPNCVH-HOV-FNBDTHOV.PSH@flex--alexhutcheson.bounces.google.com; helo=mail-yw1-x1149.google.com X-Spam_score_int: -95 X-Spam_score: -9.6 X-Spam_bar: --------- X-Spam_report: (-9.6 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, USER_IN_DEF_DKIM_WL=-7.5 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) To reproduce: 1. Start emacs with emacs -Q 2. Eval the following: (require 'tramp) ;; Enable direct-async-process for all SSH connections (add-to-list 'tramp-connection-properties (list "/ssh:.*" "direct-async-process" t)) 3. Start a Tramp SSH connection: C-x C-f /ssh:some.host.com: 4. Start a shell buffer with M-x shell. Choose sh or bash as remote shell (haven't tested with others) Expected behavior: Shell buffer shows a shell on the remote host. Job control (C-c C-z), fg, bg, etc. all work. Actual behavior: Shell buffer starts a shell, but shows errors at the top of the buffer: sh: cannot set terminal process group (128765): Inappropriate ioctl for device sh: no job control in this shell Shell mostly works, but job control features don't work. C-c C-z does nothing C-c C-c kills the shell, rather than the currently running job fg and bg give errors like: sh: fg: no job control In GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.18.0, Xaw3d scroll bars) of 2024-01-22, modified by Debian built on kokoro-ubuntu System Description: Debian GNU/Linux rodete Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XAW3D XDBE XIM XINPUT2 XPM LUCID ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix From debbugs-submit-bounces@debbugs.gnu.org Thu May 30 13:00:45 2024 Received: (at 71259) by debbugs.gnu.org; 30 May 2024 17:00:45 +0000 Received: from localhost ([127.0.0.1]:47014 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sCj8v-0006sB-4J for submit@debbugs.gnu.org; Thu, 30 May 2024 13:00:45 -0400 Received: from mout.gmx.net ([212.227.17.20]:53497) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sCj8s-0006ro-53 for 71259@debbugs.gnu.org; Thu, 30 May 2024 13:00:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1717088421; x=1717693221; i=michael.albinus@gmx.de; bh=rMI5XQH6er/7HfyX5e7ydh3v0NJyRAqXe+onIjrs6zo=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=IjTQTk3dmNQitp1zueae/ddGx3sNePWmSNrK7Qf/gljdCNhPQpmz+sYcJCJOKLbH eg7xRD6oBS8NaGdgioRdmFSCJx6ISBh+f+ktWVO5sSr5hnBbjs639WAiiVm3xXrfs C30yAxIxFQ/5J874xXgKdBmQBYYBnnXzlsSy7Z8rRXcz+yEHq2s7l2JRxNV8y3ZAM sc9v3GvPwLAO7WEYXzQef18VKS/ssXEPeMciERxB/lZQmU1KKqi0UtIQJPFG6eet4 Wt500zhCjmP80uLvqtHd/XJIpJSU3diNn5ejItdvbdi1lgF+OKcJZnQOdDIaFseX1 GNMmZ2OkxxQTxf6fgQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from gandalf.gmx.de ([185.89.38.151]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N8GQy-1sYbZN06Fs-014FNa; Thu, 30 May 2024 19:00:21 +0200 From: Michael Albinus To: Alex Hutcheson via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Subject: Re: bug#71259: 29.1; Tramp connection property "direct-async-process" causes job control not to work in M-x shell buffers In-Reply-To: (Alex Hutcheson via's message of "Wed, 29 May 2024 13:55:43 +0000") References: Date: Thu, 30 May 2024 19:00:19 +0200 Message-ID: <87a5k76xr0.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:t6wC3rwJen6lchisA3xvMQaBHAnlzrQoXwz6lAFoejc4nSDDEUD 09Xj4oW3J7hSxPApb0YMEfsJRUMReDwKpUmRwatCLv0fQAKnWVYQzLuixBhrxul/aYK7znJ uLvS6jmwJRfjtTRAFHOChRaTGOFDlDmQJi0zY2Pt9kjdTRveluG4+JGyvJUxzoKgeDWdge5 95Lma8ix3+jxtg0soRahg== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:kGxYzaf/fDk=;5xjCwO7K2oQLHQvFx1BggWubQ+a sXNx/VU3MtbWq9BQooFPrtIoFV1W9YU+2KQ5NvzT3Qma1gc8KHEGDVkTHYjiuaHRnW6fcYywF XAn34xoLQaXgXzmNlDet6iFKLAKkbzvZfNa+YyahUO4L8JB0yOnXVgmeBT+6B9IeAz9KuFv18 PjCNsGz6A/ZB3sBq7MMi+clkk19GuMIL31vChLOuzgAakFS3hI8Wkfv95vovg/kXvWjHlTykr 9HuDSotxhkU2oHjRixEwQAymCEzahgWBUAUetP9NR0K63SkYpuEFPAW2WIv1sQ76rUrtQlsGo V/8+ZlsSU9YxTHoTa2NQfSqugL/YTU1aAFXZBA6fBUAH7iGwaNqQ3o9PGAqoUnqo72DJUPTyZ duYckIpvL46njqeGnOQmNepy0Y3CmS8WVk4Z5UTvkebNabXQZd0XFpRJGBk/gMGx2eyqa6QoG gYL/YGR+RARqOMzqqqx+qlFwKRJsjMaYkNsrqu4T/Ulqn8ZbFBMVeKwkgFnE0DavWjhANk/iZ 3IXTGm151MgZDUvmbWSNhj7nzcs59VB8VjEg8T7nUFeoZ9CBKK81vE7ObKkoHDudcDRjYGylK P867j2leN+D+wxNiih/udfAVbX2hFON867W0mOKWK7r/Mkme2nhUjm91U38QoFPz0AYJY36KS 2uiDAU1Nd7K6KmU0j6Tq4cTedAT9+GxNcLezeT7D0bJ9IutA+xdSgTRDJ5pWzwcLZYO35K7T/ DWwuaphIK++u53D1bC05diZqPrOqm6iILu66wghSa+SGjB3tYOvzkKs/nHCm3oUeXoYeJWmbw T9M/y0IsMdT/E5bZJwACMOZklSkjHX3K3b1L6fNeXkeAYO9iVgMWTV4wfWcEddtF6Z X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Alex Hutcheson via "Bug reports for GNU Emacs, the Swiss army knife of text editors" writes: Hi Alex, > Actual behavior: > > Shell buffer starts a shell, but shows errors at the top of the buffer: > > sh: cannot set terminal process group (128765): Inappropriate ioctl > for device > sh: no job control [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [185.89.38.151 listed in zen.spamhaus.org] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [212.227.17.20 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [212.227.17.20 listed in wl.mailspike.net] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (michael.albinus[at]gmx.de) -0.0 SPF_PASS SPF: sender matches SPF record 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-Debbugs-Envelope-To: 71259 Cc: 71259@debbugs.gnu.org, Alex Hutcheson X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.9 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Alex Hutcheson via "Bug reports for GNU Emacs, the Swiss army knife of text editors" writes: Hi Alex, > Actual behavior: > > Shell buffer starts a shell, but shows errors at the top of the buffer: > > sh: cannot set terminal process group (128765): Inappropriate ioctl > for device > sh: no job control [...] Content analysis details: (1.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [212.227.17.20 listed in wl.mailspike.net] 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [185.89.38.151 listed in zen.spamhaus.org] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [212.227.17.20 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (michael.albinus[at]gmx.de) -0.0 SPF_PASS SPF: sender matches SPF record 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager Alex Hutcheson via "Bug reports for GNU Emacs, the Swiss army knife of text editors" writes: Hi Alex, > Actual behavior: > > Shell buffer starts a shell, but shows errors at the top of the buffer: > > sh: cannot set terminal process group (128765): Inappropriate ioctl > for device > sh: no job control in this shell > > Shell mostly works, but job control features don't work. > C-c C-z does nothing > C-c C-c kills the shell, rather than the currently running job > fg and bg give errors like: > sh: fg: no job control I could reproduce & fix it in recent Tramp sources. Pushed to the repositories. Unfortunately, the fix cannot be backported to Emacs 29 trivially. So you might try either Emacs 30 or Tramp 2.7 from the respective git repositories. Or you wait a little bit, until Tramp 2.7.1 appears on GNU ELPA. Planned for end of June. Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Thu May 30 13:03:05 2024 Received: (at submit) by debbugs.gnu.org; 30 May 2024 17:03:05 +0000 Received: from localhost ([127.0.0.1]:47117 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sCjBB-0006xr-0r for submit@debbugs.gnu.org; Thu, 30 May 2024 13:03:05 -0400 Received: from lists.gnu.org ([209.51.188.17]:35942) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sCjB5-0006x3-CB for submit@debbugs.gnu.org; Thu, 30 May 2024 13:03:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sCjAu-0004CW-IB for bug-gnu-emacs@gnu.org; Thu, 30 May 2024 13:02:48 -0400 Received: from mail-pg1-x534.google.com ([2607:f8b0:4864:20::534]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sCjAp-0002dn-Mk for bug-gnu-emacs@gnu.org; Thu, 30 May 2024 13:02:48 -0400 Received: by mail-pg1-x534.google.com with SMTP id 41be03b00d2f7-6bec8c86b48so996916a12.0 for ; Thu, 30 May 2024 10:02:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1717088562; x=1717693362; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=8n+tUPj7m/PQ4A0Vgms/JA81Dp4ynBVT/jBjIfdp8ac=; b=0iqWSBHJRmRWh96Zbo69T+xhZXOpeyvLyv8Jb/5Xa4YLLZDz5lwiEZvRnmNFFOzOhd KdmP08alRPPXHmwSqpRfHk475x95EZ53DtX+gPjg3g4I3ofaERaZT/4XyYYwk+uHTcNG /Mh88ayY9Y4V4KPdjtcRKtIOcMyhiu5r+CnC2H+3yqFZIh+iYkZg2FsACImkBCpqWc5B FGLRHMDepS4ldf+dH4xqD5+HEinCLbsDdAjhhepudfKmBB0nyw+4SeHgOIxZW8vDza8v wR0hlLtGnB6/iPD9Zaqxw1lXIW9hjl50ublYORn5pa2MCWpaPYHcE2lj9XpJTqh8prH5 fzxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717088562; x=1717693362; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=8n+tUPj7m/PQ4A0Vgms/JA81Dp4ynBVT/jBjIfdp8ac=; b=YlGLPOHv7KY9+Rq0QjEOyfdD7tpwlGfUK9ujGlHIqJdBEJK2yYbbHPoyxYBq4O+h+h goSKMYZrqYm7CM1KKstCR+zSEIzZHKQmBsV/iu9jtnISfcqb897ouUXYOzLoMHiU88OB l0gPz4T6SsZQ/DndP73T49bzTxXv47DDDNmOKz9UmRsfl8MXgtNJjhegsBkv1A9ZgoxL 0VTAe3m48Tm024lHRAYK/yUJS/oMxEUoI9yCwIZ2hjuNuKRDz7NrFuMCy/4Dwc0tBJfw r8wR1W24X/7U7H5XbOEGYxL9DMd+WPnEoVBC1cvfUij+736G/aVl1Tc2gX2lNQ+KQsNt 046w== X-Gm-Message-State: AOJu0YzBgqluD6FlGXryKQBMUm3JRO7f1trNrSZYcCFoEVmABrN+ZCBe P29yA222k8bOUEZfTLv/VUlVbHP7k5zfpd6WaVtB9e3uEZIUk9MuEZsthKWtfgLRp8IZYBoB1hP 77NVSAjMQv4yD5pz4WQZ4RIHLDHEYZohO5VU4 X-Google-Smtp-Source: AGHT+IGCFktPCVChwZryrRnaMk1kpbUQ+27iQcql45LajYxk1lGtC+NcM1tLDYeFh1VnaEOFLPvELLac+3bk+vYxwkw= X-Received: by 2002:a17:90b:4ad0:b0:2bd:ed7e:b712 with SMTP id 98e67ed59e1d1-2c1ab9da0eemr3283819a91.9.1717088561459; Thu, 30 May 2024 10:02:41 -0700 (PDT) MIME-Version: 1.0 References: <87a5k76xr0.fsf@gmx.de> In-Reply-To: <87a5k76xr0.fsf@gmx.de> From: Alex Hutcheson Date: Thu, 30 May 2024 13:02:30 -0400 Message-ID: Subject: Re: bug#71259: 29.1; Tramp connection property "direct-async-process" causes job control not to work in M-x shell buffers To: Michael Albinus Content-Type: multipart/alternative; boundary="000000000000c1758d0619aed5fe" Received-SPF: pass client-ip=2607:f8b0:4864:20::534; envelope-from=alexhutcheson@google.com; helo=mail-pg1-x534.google.com X-Spam_score_int: -175 X-Spam_score: -17.6 X-Spam_bar: ----------------- X-Spam_report: (-17.6 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: "Alex Hutcheson via Bug reports for GNU Emacs, the Swiss army knife of text editors" , 71259@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --000000000000c1758d0619aed5fe Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Great, thanks for the quick fix! On Thu, May 30, 2024 at 1:00=E2=80=AFPM Michael Albinus wrote: > Alex Hutcheson via "Bug reports for GNU Emacs, the Swiss army knife of > text editors" writes: > > Hi Alex, > > > Actual behavior: > > > > Shell buffer starts a shell, but shows errors at the top of the buffer: > > > > sh: cannot set terminal process group (128765): Inappropriate ioctl > > for device > > sh: no job control in this shell > > > > Shell mostly works, but job control features don't work. > > C-c C-z does nothing > > C-c C-c kills the shell, rather than the currently running job > > fg and bg give errors like: > > sh: fg: no job control > > I could reproduce & fix it in recent Tramp sources. Pushed to the > repositories. > > Unfortunately, the fix cannot be backported to Emacs 29 trivially. So > you might try either Emacs 30 or Tramp 2.7 from the respective git > repositories. Or you wait a little bit, until Tramp 2.7.1 appears on GNU > ELPA. Planned for end of June. > > Best regards, Michael. > --000000000000c1758d0619aed5fe Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Great, thanks for the quick fix!

On Thu, May 30, 2024 at 1:= 00=E2=80=AFPM Michael Albinus <michael.albinus@gmx.de> wrote:
Alex Hutcheson via "Bug reports for GNU Emacs, = the Swiss army knife of
text editors" <bug-gnu-emacs@gnu.org> writes:

Hi Alex,

> Actual behavior:
>
> Shell buffer starts a shell, but shows errors at the top of the buffer= :
>
> sh: cannot set terminal process group (128765): Inappropriate ioctl > for device
> sh: no job control in this shell
>
> Shell mostly works, but job control features don't work.
> C-c C-z does nothing
> C-c C-c kills the shell, rather than the currently running job
> fg and bg give errors like:
> sh: fg: no job control

I could reproduce & fix it in recent Tramp sources. Pushed to the
repositories.

Unfortunately, the fix cannot be backported to Emacs 29 trivially. So
you might try either Emacs 30 or Tramp 2.7 from the respective git
repositories. Or you wait a little bit, until Tramp 2.7.1 appears on GNU ELPA. Planned for end of June.

Best regards, Michael.
--000000000000c1758d0619aed5fe-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 30 03:38:30 2024 Received: (at 71259-done) by debbugs.gnu.org; 30 Jun 2024 07:38:30 +0000 Received: from localhost ([127.0.0.1]:54830 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sNp8n-0007na-P3 for submit@debbugs.gnu.org; Sun, 30 Jun 2024 03:38:30 -0400 Received: from mout.gmx.net ([212.227.17.21]:41933) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sNp8l-0007nN-Kb for 71259-done@debbugs.gnu.org; Sun, 30 Jun 2024 03:38:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1719733098; x=1720337898; i=michael.albinus@gmx.de; bh=NMlOpZr9biVbB+oq+6GZ20W0MmBmY52iReJert2JX0k=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=UusGPd08RFWyhKFcr9Uatwx2gJ6rJiqqsTaH6YRUz7urysi8XhUb8Jd3vtLuYSNl g+4mWlRig/JBflVvVnT9xUuVgis8YWb27Y6Op3jO8STMK55vMu+4lHmoo5dTdGyIo qCFzucb1/ouInUCoD7YgVS6havPAVe9kQJHCTG6JpCvS+rWo3WrM9Z0Zionz0+/9C /DgMVK7WXiDD9AHIFHPkzQbPNAaWWyDtSmrQroaE8+MzpHn7fnZw9SnHrpzGxk3TL eQOxSG0LIGxmRKiVvtR9FKQnysCbYbKISeuRidYv95/fRb8h2HcaWpcgcqmbwvJlU U04rCUqDvJWtmAh3tg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from gandalf.gmx.de ([185.89.38.155]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MWzjt-1suenI3XOz-00VYe0; Sun, 30 Jun 2024 09:38:17 +0200 From: Michael Albinus To: 71259-done@debbugs.gnu.org Subject: Re: bug#71259: 29.1; Tramp connection property "direct-async-process" causes job control not to work in M-x shell buffers In-Reply-To: <87a5k76xr0.fsf@gmx.de> (Michael Albinus's message of "Thu, 30 May 2024 19:00:19 +0200") References: <87a5k76xr0.fsf@gmx.de> Date: Sun, 30 Jun 2024 09:38:15 +0200 Message-ID: <87sewu3moo.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:ATlN4VKNctbe+Gb3KMNcbzCNI8DeQzq/pV4cMDDrefNUHHXxXpw w17y3zLWbjLu6XaQynM6LTR4nUtWSi+zNrFd5LNp82X+6RNuYd5FaW72qDuaHFr++mMHiVU 3iznMWv9mQm1nWvq1n7wJQq6WBT63T15K4KBJbwxTiBYM8Z+gKhHkgadOkvRQies/rv5I/Y YDnQCaNMGfYs3b5DRdtEA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:Glm56i5hzRk=;fmyXWTSc6emHIjpg/GsBVijVWSf rGK+NCFAQ9x6VJ85Bb0Dn6gxW8bK0gawnhKM9cFbievShL+WFKOth/7MBNZUTzdxaJ2Pv93sc 2G2zpSJu1IbKg2T0uu6JSjTucl+ihJn6qf5tOsliK/3IvGTL5FS4RumTEB0YJydhj10Z/5z4P Tn9VkhT2OOXztxZLaCdduC0LreBDmaPAB01ulfh5J7pS0n7e6JKOd6l8JmIhKXhHfvqhKzQ4P l7nbH0GoRdePWdFKeMu72R5cyyx+dVCW1+kGPx+uTG6JJgF0NuhJVlCJNDkWXB+xOZaEN1UxN tA6DIifrLADC8/ZGq5YWDQI0Zn2zoFCmEWpEZ1SVVDEvp3oGSyIgoyYOGbfm4N8FP8oBuJXgx kczFD8rgNbgqzy1iNLlqY4BMwfTyfBH7Q50n0TgbshmjpaefqTbU5ApWgHWNBjxtSp+31K0zb zBYefXgPe243dFy0AGyEbkjsh5clz7EvypWL92lkT7wEGOMvRz+K59rtp2cOqFubm6TnA7Gbq QMeHbe+FD6jd6j6hVSyiNIOrk9gkUe2WJdp476JrPbXZEM6ez9cvkFPM/4RqAWJWpS/yi7uua BeOGwBysEsBAUJGNZaHSBjKfkfD0LnpK44u0Rzv6SWP/8r6zQ2mHtFOgBCiz0cOHc59U1J7J9 xZBGKWrWI3v/zz/srx27e+T3SfKd9zsFep7QFetZE2AiJ4iIOdALQROX32Y74HOg05GeehaPd txBL1L616is/reN8ZlVw9i9UJG7sKWnWP3LOvuQamIDpJKLByvp8EEA2L/jVUpIrX/gc14m/R XxS3fYzF894/GGGSLMixb1sOZOYx+QJUozL/fC+wXdf9k= X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Version: 30.1 Michael Albinus writes: > I could reproduce & fix it in recent Tramp sources. Pushed to the > repositories. > > Unfortunately, the fix cannot be backported to Emacs 29 trivially. So > you might try either Emacs 30 or Tramp 2 [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [185.89.38.155 listed in zen.spamhaus.org] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [212.227.17.21 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (michael.albinus[at]gmx.de) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record X-Debbugs-Envelope-To: 71259-done Cc: alexhutcheson@google.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.9 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Version: 30.1 Michael Albinus writes: > I could reproduce & fix it in recent Tramp sources. Pushed to the > repositories. > > Unfortunately, the fix cannot be backported to Emacs 29 trivially. So > you might try either Emacs 30 or Tramp 2 [...] Content analysis details: (1.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [212.227.17.21 listed in list.dnswl.org] 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [185.89.38.155 listed in zen.spamhaus.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (michael.albinus[at]gmx.de) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager Version: 30.1 Michael Albinus writes: > I could reproduce & fix it in recent Tramp sources. Pushed to the > repositories. > > Unfortunately, the fix cannot be backported to Emacs 29 trivially. So > you might try either Emacs 30 or Tramp 2.7 from the respective git > repositories. Or you wait a little bit, until Tramp 2.7.1 appears on GNU > ELPA. Planned for end of June. Tramp 2.7.1 has appeared on GNU ELPA. I'm closing this bug therefore. Best regards, Michael. From unknown Tue Jun 17 20:40:09 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 28 Jul 2024 11:24:14 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator