From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "KARR, DAVID" Newsgroups: gmane.emacs.help Subject: After reinstalling Cygwin, executing shell function in Emacs gets "cannot set terminal process group" Date: Thu, 8 Aug 2024 23:55:59 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28097"; mail-complaints-to="usenet@ciao.gmane.io" To: "Help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 09 09:36:31 2024 Return-path: Envelope-to: geh-help-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 1scKAp-0007DQ-GG for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 09 Aug 2024 09:36:31 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1scKAN-0005jM-O6; Fri, 09 Aug 2024 03:36:03 -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 1scCzP-0005ey-Rn for Help-gnu-emacs@gnu.org; Thu, 08 Aug 2024 19:56:15 -0400 Original-Received: from mx0b-00191d01.pphosted.com ([67.231.157.136]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1scCzN-00034F-I8 for Help-gnu-emacs@gnu.org; Thu, 08 Aug 2024 19:56:15 -0400 Original-Received: from pps.filterd (m0288869.ppops.net [127.0.0.1]) by m0288869.ppops.net-00191d01. (8.18.1.2/8.18.1.2) with ESMTP id 478NSthx005458 for ; Thu, 8 Aug 2024 19:56:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=att.com; h=from :to:subject:date:message-id:content-type :content-transfer-encoding:mime-version; s=PP1; bh=Znoin/2Se0m+H VYqlofGNEb9CFMdzrlrbRotJdJcGfQ=; b=W6pq5CRxFEgQnOfur7d8K9CaRe4nt edbnN10kathezh7DPNQbMRBauFx3CpRvkVZnNG05kjEoYLHtCEMud4mijT4zL+Nw eKlim6gkZZlk6PBTbEMzrSgEY7w14xschiYXCo6Wq7U0w834c22avuQj8+7tiUJp 1GcSiJ4fkwpBS6LRMxBcrfH84Bf8/4PZNNTrvO4XNdfi1xnuwr/mybkn6DEmFg2B KMxMP3KalhpkkXDpqCpvuEZrmGksTMmeiTp1I/pCDU8VDqsALDLIflQlffMXo5E5 d4oZVUz81+7djGxfU9jH88svg76h2kl7YCtDFuELLVOOyhcCUarfjM77w== Original-Received: from flpd657.enaf.ffdc.sbc.com (sbcsmtp9.sbc.com [144.160.128.153]) by m0288869.ppops.net-00191d01. (PPS) with ESMTPS id 40w7qvre3u-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 08 Aug 2024 19:56:12 -0400 (EDT) Original-Received: from enaf.ffdc.sbc.com (localhost [127.0.0.1]) by flpd657.enaf.ffdc.sbc.com (8.14.5/8.14.5) with ESMTP id 478NuADD066064 for ; Thu, 8 Aug 2024 16:56:11 -0700 Original-Received: from zlp25947.vci.att.com (zlp25947.vci.att.com [135.213.92.137]) by flpd657.enaf.ffdc.sbc.com (8.14.5/8.14.5) with ESMTP id 478Nu3t1065905 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 8 Aug 2024 16:56:03 -0700 Original-Received: from zlp25947.vci.att.com (zlp25947.vci.att.com [127.0.0.1]) by zlp25947.vci.att.com (Service) with ESMTP id 2F99D40F6361 for ; Thu, 8 Aug 2024 23:56:03 +0000 (GMT) Original-Received: from CAFRFD1MSGEX5ED.ITServices.sbc.com (unknown [135.147.202.233]) by zlp25947.vci.att.com (Service) with ESMTP id A76A840F6360 for ; Thu, 8 Aug 2024 23:56:02 +0000 (GMT) Original-Received: from CAFRFD1MSGEX5EA.ITServices.sbc.com (135.147.202.230) by CAFRFD1MSGEX5ED.ITServices.sbc.com (135.147.202.233) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Thu, 8 Aug 2024 16:56:01 -0700 Original-Received: from CAFRFD1MSGETA07.tmg.ad.att.com (144.160.143.86) by CAFRFD1MSGEX5EA.ITServices.sbc.com (135.147.202.230) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11 via Frontend Transport; Thu, 8 Aug 2024 16:56:01 -0700 Original-Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.169) by edgeFF.exch.att.com (144.160.143.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Thu, 8 Aug 2024 16:56:01 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=H3rKRDZAtImPpJF8xjgnmD9iyz92Dp3G/JbGcmbb2QW0AP+HDptVQ5KrRzK2OsueA4rKi3ZfX5WrVjJPlsEhuC5tkfytRZH1NFqxIKHujLsztjbqTaM6WxfmfOifaY+oyvidguCWVs0NL/LkwewTqRHwdPLDUdMyauKTW5ZPo/gKaX1FxPWP3rWZHwQXfwM6pc3Y/tAa8j/ZBf/3pJkv0OXwoEcGprJ0GfJFFBeZsolU8byNkTr05F7ADtAzAdvW+wvbz9QCqol/o10cGOTO7iNNSHfTurcVlouhyXydLjAr389idyIKm2nTUgkCMnXi++LTXZxU4thZqZOqEY6OJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Znoin/2Se0m+HVYqlofGNEb9CFMdzrlrbRotJdJcGfQ=; b=PLDNFTHBFaiiHimBar+Mr/RPO0qZoAqhWxoLuwDf1x7ZAmqJROsTg1hWsHKIS9+oryADaljIR0O7nypaJ3BHe/2OQeKYH+XSJeQRSHNp5eDnvo+HusjwrvNVCRvKXtC7sVT4owPTO5kKnosRvlwSoVEYiASUyL/O5NcCk8NXtemh+k3ezVE4uWANaNknPvl2y6bR6kqyZ8J8BCrFUFicm4u+PTKcIgUoAwgrqM82h8GvBY8G44ouvK5KR3jz96sGMZl6pDh++Wm8KJryGFo27akCV09mcZCj5RLlpOT9UeL/FwiZMH48miJk09FPLkDLRa52f5De+KEasRgk7vlhHQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=att.com; dmarc=pass action=none header.from=att.com; dkim=pass header.d=att.com; arc=none Original-Received: from DM3PR02MB10256.namprd02.prod.outlook.com (2603:10b6:0:4b::5) by DM3PR02MB10256.namprd02.prod.outlook.com (2603:10b6:0:4b::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7849.15; Thu, 8 Aug 2024 23:55:59 +0000 Original-Received: from DM3PR02MB10256.namprd02.prod.outlook.com ([fe80::1f1d:c970:cbe7:1d04]) by DM3PR02MB10256.namprd02.prod.outlook.com ([fe80::1f1d:c970:cbe7:1d04%5]) with mapi id 15.20.7849.014; Thu, 8 Aug 2024 23:55:59 +0000 Thread-Topic: After reinstalling Cygwin, executing shell function in Emacs gets "cannot set terminal process group" Thread-Index: Adrp69krfpdIpXRqTzKi6g6o1Fb1dQ== Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DM3PR02MB10256:EE_ x-ms-office365-filtering-correlation-id: 0092e14d-1edd-4486-6521-08dcb805a6ef x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|376014|1800799024|366016|38070700018; x-microsoft-antispam-message-info: =?us-ascii?Q?D5RtDqHMWsdmN5/UwR9sJs1cMrxC+0FPszFF4YHW+MDTZCk6GhhzPZso2eTC?= =?us-ascii?Q?U9p6MxfnbnB/FwtZwV5jwMpqerYZsqi2tK3f7pPZa26GYlgW7sOMtbkyo8dA?= =?us-ascii?Q?sShZ6M+Pmji1Z3T+dBbh/wzYlUyeNDhCKVisVaTP+O23S8tPHvuPX8GdD0iB?= =?us-ascii?Q?VrtAu27g7J1nTFwJmPj2hNJdsQu1p8DVsebt0oOHXTEhM4V9h61XtKVR9GJn?= =?us-ascii?Q?SOdvoFqgo5BwSDp5rHPAXb2kHLFEBGz+O4aZk8R2ok6xw2kBdUW89ur1NlXc?= =?us-ascii?Q?C99QsRklvPf/NhyWa1Z6ChgxcdZwnPlnxW7NEIR2th7pUxyhiMl2DwI5hl8o?= =?us-ascii?Q?HV1aaH2OIeVMAivu11vIgkaJ4H4YcdFkrM01LpU8U2y5univFJGpxVdjh7Kb?= =?us-ascii?Q?kElsVeIoYpUQj5hTpcyO9uIdbrEM709JApHiD7oJz24Q1sm2EvGIpQJ63LVI?= =?us-ascii?Q?iy9DuhYuMaZoKW0ywBCEllkHtFq4Xf0nEV9zno58y0bsZzWz09a7Vz1JfQCo?= =?us-ascii?Q?HMY2+y5OzfYjOlzJz5syLYZ+z7feH8TY0gvp8jHZOFox+bFuRDBx9Kzgdqe+?= =?us-ascii?Q?RYAqOahaJFNF92usYxEcrZLzrXaNXogc62fMIoeLvtD6Kz2tohqnHiCFGnU+?= =?us-ascii?Q?/F6C6 x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM3PR02MB10256.namprd02.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(376014)(1800799024)(366016)(38070700018); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?GmmvQc7v/uGO8Xijy+uCYOQvwl1CxgJNKa/1wbKtpvweA82yExfz5oVoIauk?= =?us-ascii?Q?+Ps9s7/WqdFBNxGLSO4Usv+w+0OOaZ0kihX200UnzqtjdcaPonPxJsy7D4a3?= =?us-ascii?Q?ClXj7WXNXF+VFCL2gYO7uDRc8WocWBhRtgZ5rPTnphnBISDN55P/7VXytT4j?= =?us-ascii?Q?phOZEAIxuVi1RuspxuLtjv+WPX+oyivaM3H5inJdbwNLw4eALqPaWsb51zng?= =?us-ascii?Q?RvuPc1vUZpq+/6UKi4444gb8qZKgz0FeqQOZu23YvKSj4TyLt5xJ4l92Faz+?= =?us-ascii?Q?Xw6b1Hj+8eJMuDzkEtgs9acip35Jx8Lrq+oFboISEj9jFQlAKy0UZOPOEZEc?= =?us-ascii?Q?+BmPHJcIs58DWHcoCcUUBS5prpQLXerSteQPLHL6JpLs0uBs9P7LO07Wfq+W?= =?us-ascii?Q?yXqc1EHxAUqoiasWymayaoOGwlfqxEpwNhd+AQ/joysLRhlMHtf3zaPjCSkG?= =?us-ascii?Q?Cf60zHebZI08Et7Fit0doulbKtUhOgJ9Qmowv0YIOIDek1efUP1YhaQAc9D9?= =?us-ascii?Q?WpNK8KqHvIMpRrroyxSpYuNnVVoAWconiI9e9gT4wgHDG1YuOvE0MHZi3TTp?= =?us-ascii?Q?etEJS94bvWNqFwYnAP6TbyizGANOwydKrPC0FrVrAzGOW5QGMKeWdbTDEOty?= =?us-ascii?Q?i1 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM3PR02MB10256.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0092e14d-1edd-4486-6521-08dcb805a6ef X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Aug 2024 23:55:59.4297 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: e741d71c-c6b6-47b0-803c-0f3b32b07556 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 09obzhWGUYwjDt+5UaT59NWQKOaWS3zkrAVfwdeqqxcGQYCfu2GsPiZiwCO/4Vv8 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM3PR02MB10256 X-TM-SNTS-SMTP: CE6D4D5330B5BF33CF3557AA5574869F1859DFD5A03A6564215C6A7B1352BDC02 X-Proofpoint-GUID: Jzt7Q6_lUASR0RS_nhp5Vnh-1NFDNtiV X-Proofpoint-ORIG-GUID: Jzt7Q6_lUASR0RS_nhp5Vnh-1NFDNtiV X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-08-08_23,2024-08-07_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_policy_notspam policy=outbound_policy score=7 bulkscore=0 suspectscore=0 spamscore=7 clxscore=1015 lowpriorityscore=0 mlxscore=7 phishscore=0 impostorscore=0 malwarescore=0 mlxlogscore=110 adultscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2407110000 definitions=main-2408080171 Received-SPF: pass client-ip=67.231.157.136; envelope-from=dk068x@att.com; helo=mx0b-00191d01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 09 Aug 2024 03:36:01 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:147569 Archived-At: I've been using Cygwin and Cygwin Emacs for a long time on Windows 11. I h= ave to reinstall it every couple of years. I just reinstalled Cygwin today= , and after having to remember a bunch of things, I finally got my Emacs wi= ndow again. However, the main thing I use it for is giving me a new proble= m. I have a wrapper function that creates a new buffer and runs "(shell)".= This has literally worked fine for decades. Today, it worked fine for th= e first shell. The package allows me to manage multiple shell buffers. Whe= n I tried to create the second shell buffer, it said this: bash: cannot set terminal process group (-1): Inappropriate ioctl for d= evice bash: no job control in this shell If I just kill this buffer at this point, I can safely interact with the fi= rst shell buffer. However, if I execute any command, it seems to execute i= t in an infinite loop, and if I then kill the buffer, the Emacs process is = completely hung, and I have to kill the entire process.=20 This is using Emacs v29.4.