delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/07/17/08:49:47

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 14985398EC28
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1594990141;
bh=yHcNy7E26S7HYFtA6pkkMgomc7zPIabWu/4yOCgE8vE=;
h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:Cc:From;
b=Oa6dU12l1N711TLf3tVI4DLz9ykqd0OtyfLadeSjeas6U1ecGkGyKwd+vRGLXhpz4
9L67JDkshmGqQP6rrobU4JzVLbEiSwIhO/S3sNKDr79coysIN3ezW8Tdci7pBhho80
L9i7UILKLry8f8tHRzjdLssoUnXkbDsdKXfA1v2c=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org C6E1F398F003
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
b=P08cwtkDbiI6a81MH0pYSlbHSer7MVYcYGOHLgWoAyUnV4Ha2rtvwNqzPqcZJ6D08T8/dg5+gLUKE64Q13irrvCTtDH8Svid7EkeoEcN8ThA5kjxG8ZxzruC3YQnaBnbBZ+PRTX68oKpJd1WvdbDE0o24agDCm5xsqJ1CGLsc+A2QcouztxM5Nt7f0ZhP2bcHdSfL/ZNN2uIH5g2dE/EzIvPL6PTIXP6HY8sZ3acgIxZkjD9+bxPZrtpCALgY65Dn8FtJvTyKH5IoZP20+AEqe8ETqxX590JWrZawptNn+m2gtNjPQXONS81BZS7Pm3AJScnjn6ce32McTazXo/zdw==
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=YdRXu5pjb4pwAtAryVU1rAJyDbUzRHD5yeLyp1QCdQU=;
b=BedNcpt10yswvp3t7gbArfdwXRUmFIeVrGJmmkH4g7MIlYMHJZ5nNjRwISdO8/JmsC2qoFhc1v6jQD6x7BmLSQ413+armO78SVF5rdbwn0l/QEPrtVpLQs2kSBptt3vpJFGr2PurvHykqxTtwZuTPwKSGwbMSF2hjnDNEn0Upuo4BgbmCZv5myLQVrktLDUBBkdN3OlpBkqVwTwhzfhlzv2XlABpMZPFwO3sYtpnDCnZY6SjIYrHWwsZvjlERm3LeRta0RMEw11ppe2KJ0Nw8V9nanskYQS2mmuiNrRjBNfgn82PGBNZa/DD0CLY11vccwZ0UxJ8OH8r/Z5jyAazIw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none;
dkim=none; arc=none
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: Is there a one-liner to start a xterm window (and close XWin at the
end of the session)?
Thread-Topic: Is there a one-liner to start a xterm window (and close XWin at
the end of the session)?
Thread-Index: AdZcOIKTPJ7f3nfxR/q1emAa56DTUg==
Date: Fri, 17 Jul 2020 12:48:55 +0000
Message-ID: <DB6PR0301MB2533C18F571E1DFA74D85A3EA47C0@DB6PR0301MB2533.eurprd03.prod.outlook.com>
Accept-Language: en-GB, en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-incomingtopheadermarker: OriginalChecksum:993C44948657DBC479A2A26E6FD4A9F5FA70F5BBCCB938487B5B29F6024D62FF;
UpperCasedChecksum:0E87A912B990F2B7563C2CD0DCAEF9CCF26C00021A6A045412FFED9897F751AB;
SizeAsReceived:6786; Count:42
x-tmn: [O0dnxv7U6y9F0fnmb91BSiiRbtJkjMjd]
x-ms-publictraffictype: Email
x-incomingheadercount: 42
x-eopattributedmessage: 0
x-ms-office365-filtering-correlation-id: a3481d81-ee85-4111-4230-08d82a4fc426
x-ms-exchange-slblob-mailprops: S/btQ8cKWiS9msLST/hR/LImm3xqZNaRpnXT63i6rBFkW/S7nZhOjFlFpr4mSjLwuUw6MQs5/Q9Aqzf92z5sIXs61nXyR89ninOgPmd8aMAqyt8z6GuYzWDyWbJ9kwitxebCqBXke2JWKoujzkv7ZX8RqT7Ko75zEumxZoEXCSGG5x5XwnXl7lVOkzR7GcVqcCQuJXEBaGZTGR1gBqmiddMLfw5mJwPNNoodKjuwhi/BQA2AHCA7ySZGVM3scy0+V0dHlqv6ZPdKAnwNV5PGXMjLP4SXn88Nhx/2DCRMgRpTfi61IMW+U2yVOPMm6ozgOFFGGGBEUs7ZIOCWnYht/a72vrKqLQQquFJsDX91ErbjpK2u9Zm4S9F9Ne90BOhMh2pI/kkczvLSNvScc+1RzIL2exTwntMgHnlvwBxHwLujbChYJbDlNrzqplpi8urZnK3q3iPRuYMBgaoXeDEWxSsjncoOaJdqZONdbsIpu+xVZkTvrSi/3iTJ5dKReLs6rUGdgD+qPi0w7WJMkIJQbq/RGV8LUdi00zgO/KVnJfyQwqSPMpYEkwreo5yP+KdDpo/N6bGxoGaodlCnmWALhfbW8B9QZXDIDkD+4XEFs8M3+J6n+gfD3i/YPNvwnfo0oroFh6185R0Ak40JyDd+c8AqIP6WHQftvUm5zO4UeCw5CAEx7nHV7FKUuhT1sLVnO74kcy66tb1KCtuVugKoM6ekGRQ0mQG3Fb7Q6awlhv3a+w6Uf725/PSLnUmDqn2R8N7jP8xM0Ss=
x-ms-traffictypediagnostic: DB8EUR06HT099:
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: nbihzWy23bZ6amDhwz2D8DNaNKgWQdqqexUWR28SGKV9IdnR/tnT1MsfsGYTqomvtwUag1GbGeGrrkE7EaWnKKEtLRmQ4Nef+A2MipOmiqpA9eUAcU10qKeOA1Y3M1v5PSCzylHtq7aZs2f82XRUdTT8X/WsmL0214nUtPg5r7sW9tZJsvDv/dtJxMjhWtEgFSxOi7zOl14I9tHrfkLP+A==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:0; SRV:;
IPV:NLI; SFV:NSPM; H:DB6PR0301MB2533.eurprd03.prod.outlook.com; PTR:; CAT:NONE;
SFTY:; SFS:; DIR:OUT; SFP:1901;
x-ms-exchange-antispam-messagedata: BSw38xxDK/XhH0GO45mHdSQtraqueU8VphBz1h1fftL23qVAGcBmpRapjYonRmPO4Sxxoy4B+LyOL5BD2rzX/FWbW/iqCPVhooRI+7KTpypbiEX3hx6iDz9wBizsK6dbwhCPwxwynvI2KhIXQeA96g==
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: DB8EUR06FT019.eop-eur06.prod.protection.outlook.com
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-CrossTenant-Network-Message-Id: a3481d81-ee85-4111-4230-08d82a4fc426
X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Jul 2020 12:48:55.4129 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Internet
X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8EUR06HT099
X-Spam-Status: No, score=-1.3 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 <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Fergus Daly via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Fergus Daly <fergusd84 AT outlook DOT com>
Cc: Fergus Daly <fergusd84 AT outlook DOT com>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

At the moment I initiate a xterm session with a 4-line cmd script at the Cygwin root directory as follows:
@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
Not wishing to mend what isn't broken, can anybody recommend a slicker opener (and closer)?
(All the lines, and all their components, seem to be essential.
Line 1 is a necessary precursor. Line 2 induces an apparently essential pause.
Line 3 opens the xterm session, which can then be progressed to its conclusion.
At which: resumption of the cmd script at line 4 kills the now redundant XWin session.
Thus guaranteeing a neat finish with no straggling processes.)
Thank you for any easement! A one-liner would be perfect.
Fergus  
--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019