DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 4B5F1IRv3302143 Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 4B5F1IRv3302143 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=GicG20wN X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B00053858C41 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1733410876; bh=2hzyJ3ikM6SOMNpTAlsHCto02yBvTcskNinX587v8yE=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=GicG20wN1oy+YqwJT17SOAhs1mZLsL4+VSrm7ts9HmwEMYKplDPEZo2RVSWaNuLrG eTLyhm17wDfdVsXA5+XlWMC47dzBZ+Xjr5gMMfUsudwwm8By+D0Y929PMBi9S2AdCt +fuIOQ8pIKtZo8ycFX7JiQCvjOHi3p7oExSz4enU= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 67EB53858D20 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 67EB53858D20 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1733410842; cv=none; b=M7rt3zlB15u2uFe69xOWamfLdTGwhVkVq4kKQw5Ls3HMCEY5ai+L66wfVUA5DF7WbeUmrrfsLYYjzcOHqT1Nka9XOYOkawTc8G2av0ZndkgE3PK1m7eI/Ma4cY2W/+r2JWxF8MP6/VsQY+tkf3KVx0j9GSNTHtzic6w7JwHBs6s= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1733410842; c=relaxed/simple; bh=pSEnGuoYniB/tydinUWpIGVFzH0/O/zCyKvrnTMqNUQ=; h=DKIM-Signature:Message-ID:Date:MIME-Version:To:From:Subject; b=anrIz6ZxiUnD8IZZ4mDH12Q+13tFHTo81Jc/SEWp05mO4LNV6c/pj9bvHdvOfFHqhq06kum7dXmUe/2r3wJfpZwNns2pIHN6XJFBrhjNqqn5v4N5yS7ai91GVns8k5y5jFv5+zbbVqxX+S24DqNZfYhfSFbRi4nFCyBE78lsPmc= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 67EB53858D20 Message-ID: Date: Thu, 5 Dec 2024 16:00:36 +0100 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Conflict between tmux and cygwin X-Rspamd-Queue-Id: 4Y3yHp4Jz6z9sWd X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Federico Kircheis via Cygwin Reply-To: Federico Kircheis Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "Cygwin" It seems there is a conflict betwene some tmux functionalities and cygwin. In tmux it is possible to open a new windows with "tmux new-window -c $NEW_WD", the new shell should be located at "$NEW_WD", but it seems not to work with cygwin; th new shell is always openeed at ~ I thought I had it working years ago, and assumed it was a tmux specific bug on cygwin, as tmux on Linux work as expected, thus I hacked around the issue by making aliases and adding cd commands. Today I found https://github.com/tmux/tmux/issues/3283, and I can confirm that the CHERE_INVOKING functionality is causing the issue. I would like to avoid to change the provided /etc/profile to avoid conflicts during upgrades, but I would also like to have tmux work correctly out-of-the-box, like on all other platforms. Is there some way to reach such status? Best Federico -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple