From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alex Hutcheson via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#71259: 29.1; Tramp connection property "direct-async-process" causes job control not to work in M-x shell buffers Date: Thu, 30 May 2024 13:02:30 -0400 Message-ID: References: <87a5k76xr0.fsf@gmx.de> Reply-To: Alex Hutcheson Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000c1758d0619aed5fe" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24959"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 71259@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 30 19:04:06 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sCjC9-0006EO-9g for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 30 May 2024 19:04:05 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sCjBx-0004Q8-Q1; Thu, 30 May 2024 13:03:53 -0400 Original-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 1sCjBw-0004Pl-Fj for bug-gnu-emacs@gnu.org; Thu, 30 May 2024 13:03:52 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sCjBw-0002ix-5v for bug-gnu-emacs@gnu.org; Thu, 30 May 2024 13:03:52 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sCjC6-000707-Lc for bug-gnu-emacs@gnu.org; Thu, 30 May 2024 13:04:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alex Hutcheson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 30 May 2024 17:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71259 X-GNU-PR-Package: emacs X-Debbugs-Original-Cc: "Alex Hutcheson via Bug reports for GNU Emacs, the Swiss army knife of text editors" , 71259@debbugs.gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.171708858526781 (code B ref -1); Thu, 30 May 2024 17:04:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 May 2024 17:03:05 +0000 Original-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 Original-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 Original-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 Original-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 Original-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) In-Reply-To: <87a5k76xr0.fsf@gmx.de> 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:286237 Archived-At: --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--