X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B664F396E47A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1606381730; bh=WMowyT6mwWYuJdAix1ehmgn59xHt2oEHAfq9VD46H5o=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=et5cCuW2dBpf12u+F++yleg9EgKtz+WjYPjDoRft2CoNkiZgibPBcegMMxKN+0h5I ortt/q9CP/GjlQjDSQkf4hxJaqHSVcvQ6ewoCBVizbknqAsleoMcEdIPzHdEW3o/tQ 6q/RV5fjRZui/CIKWp4MUNG7cK0S+OACrXucyPSo= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org C3F70393D019 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CbHoRHkwLCFQ7SD0vp0XfqSEINXGg+iaziyQXzz2geeni3ML1SjVFC2Xc0yY8d77gRJ4SNHnUkoE2d62wxmc0a5+Bjfdx5PcwQDI08zl/Sh4gQSRlTO9ntJgdIDywjhaTMnH1jS9RyZVdtdI0POYH5yR8M/TZw+xUwO92HC0OXndWez+bHHJmZz0SBU5+SxDWy99/btWgzozpI4X9DSpZLvfrrZPwi86UiRQOste+oiBK/I1b9WgY6wixm3VT0JW1R4/TskBeFwHt2VPQUBVZFxRNuWGvCVEWioFfH+1cJ+vi7Izc4gj+sD58bPYjCl5zRRE+8MUwLOOa0XZFnyo0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=s4GTBiH7xxrhJ+rCfzMy6l49jlHx1/qXQZUnLnZMtQc=; b=Rz9Q/ZOWypPvwW9TFfbkqMM+Wc1R2HpjrI+kdd7Fham+T24QdmtRn4GETp79orEgI0DgdSMljoxjMts6Ouo5lBftEM5e2VXYi7MkUACa/mPXrK9LQIHru9kp7Z90HypjORLNE4JuBz0MxoUH7XLFICgT6Y9M28mmz6ZmIpQQcF+MYHKU8BqHRaDSC0m0x/59a9C1Q2+gZOJ2cIXcJMKXm0o1fYTIPrttmCR0+h5suy5iU6aKb2fj64x6axsSXY7QykPB/y5LTzpg/4aw6qa3p8EgRKTtG5sHuv+ZMIWlIgj3G4EvsC9ix69hVnl6yNdw9RKsCmdXhWOP6vFDk0xBHw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none To: "'cygwin AT cygwin DOT com'" Subject: Starting xterm as a DOS Command Prompt one-liner Thread-Topic: Starting xterm as a DOS Command Prompt one-liner Thread-Index: AdbD0UVfjtjMLqouTSa4HGt2eUyqVw== Date: Thu, 26 Nov 2020 09:08:46 +0000 Message-ID: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:90DAA866D5697A7BF90785824B2646ABFE61577D5691040A3CC96A8FDE356CE2; UpperCasedChecksum:BB6BF9C4FB78FA58D9A52F5DA4315B43CA7604DCA0702396FD3F91664EFEE472; SizeAsReceived:6695; Count:42 x-tmn: [9VZacEiQZJRg1LKmJAB/Fmqn7wXjBhNf] x-ms-publictraffictype: Email x-incomingheadercount: 42 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: d5c38b5b-dd20-46da-c677-08d891eae18a x-ms-exchange-slblob-mailprops: NS9Gj58uCj0pdgXQJESbxfgEx2a9zgRHmiK89MklJQu0qE1/CQ0cZTpuwAtpx76jdLkhyw3yqB1zJcIasbauL7ubzfwKgvqzdjeRjwgKxM6w+1qoIh6ojbYZuicdJdCFbcM+oTuhq++uJcGDNKnSjfAf5GmqYQd4okEgRUxFpEZ3i91pfSioxx1QEYE1QaHvMGBOtI/L0AVjtYNjHTgvE/UjCMPwX4a8t3mBSvo6V3h/6n89wYN1xy5bC0flb7byaPPDDni4N67QzUf1dB6PLGCXoCe4hpB6SFABo1CVR/OxZq1f//V9Litay7fdRH2qY8gYrfm6p4RwJrmpgN5d2mi2kZQOEzReaGmbECPK07k6qVq004FqYyqvVIqlrdnLKV6G0c0hHS9F8beiU4mb74D71B47MlB6p7+bFsZKKi0cQlzzZA+ZaD3uVYTahxlazuepghRt4nVhgdRKhFgWTKZp4aACRtfUh69tUefm72L0z1FrdVmDMob21WADXwLEz4Xzgw5+vK6XlFtqwHu/KzIX+0utb9AYu2eoXS/8Aw5yjdAMvAyMh5PNhJLQK7BnxEGZUXNrtRytNj8F3epG//ji4vVRp3eTSBCGnqSxlgUve2ydxnMPJRgxxs9pZL4OQlN2c4F1XOsGrcNJmPj4wGCyRpMoZsXd2L3s4GuGzQxNxbwREFzblnp4raCrOf5orCz5QQyPhbNezftHi8EU4w== x-ms-traffictypediagnostic: VI1EUR05HT226: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: QhealW0fHAzIMbOZUtZICNE9+HDbIOrcbYcjGZMZRschubdZYqAl3GRS6Idp/V10R/dS0oYOnWaLWoFO2rwypmpBOn470y4HUGaBc1cZwxqk7KqAw8uGbWWmtHPCm6DK9Q9cu4HTqimx96W4V7wb/HMQ3+YuU1JBtR6KDKgEVLoxmdIq5wEqC5jnj1cs7V6llbWvVg0pKeVb7/zl3xedcw== x-ms-exchange-antispam-messagedata: 9aLqrdQtBAlXGQOMrkt+lRDk2b5FQ0uITF/UsKt+xxpyuEZo6TJK1zyN0kQaz77lKW0Eo3TU6WH+ha2zs9K+hmpVe+4G45zSXqifwFIjDBv8fcGz6073eloZK6V18VWZaVM6GsqUW/Cylh03BfWNgg== x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-AuthSource: VI1EUR05FT062.eop-eur05.prod.protection.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: d5c38b5b-dd20-46da-c677-08d891eae18a X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Nov 2020 09:08:46.4228 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1EUR05HT226 X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Fergus Daly via Cygwin Reply-To: Fergus Daly Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Cygwin" This one-line DOS command to start an xterm terminal: D:\cygwin> bin\run bin\XWin -clipboard -nolock -multiwindow 2> nul & timeout 4 > nul 2> nul & bin\xterm -display :0.0 2> nul & bin\kill -KILL -- -1 (broken here after each "&" for clarity of presentation only) works, and is a neat and convenient alternative to starting xterm at the bash or mintty prompt with the single line $ /bin/xinit /bin/xterm -- -nolock -multiwindow 2> /dev/null (The "> nul" phrases in all the above just suppress notifications.) Question 1: I find the timeout .. chunk necessary to give XWin enough time to load before the xterm .. chunk draws upon it. Is there a different conjunction to "&" that says "wait till this is enacted before moving on" (which is actually what I thought "&" did!)? Question 2: The final kill .. chunk only operates after the xterm terminal is closed, and its purpose is to kill XWin, which otherwise hangs about. Is there some other way of assuring that the un-needed XWin is killed, maybe (I dunno) by adding a qualifier to the initial "run XWin" chunk? Thank you! -- 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