From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from zero.zsh.org (zero.zsh.org [IPv6:2a02:898:31:0:48:4558:7a:7368]) by inbox.vuxu.org (Postfix) with ESMTP id E568526785 for ; Mon, 3 Jun 2024 17:59:38 +0200 (CEST) ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1717430378; b=D3RFt7JfKM36fMt/izSAWQeLHpnzzQ3BSrj7anQDmsAU96MJZwu3TU5ahd3HYlFKmprrmL2uuo zA6XNAXM1sT/2EULDkrA42TWf6BDvOrO8MJ0YgKRCkGnEbxfDL0RT/VUIbhi1TsLFXoMKn/HG1 ndjzqgRyvx1Nov9qy0fFAFoaILpPTdSz930vrwYYa33Sh28JnzpChCuqnGeuXz///zj5v5+Ib+ JWuOrgBu2WRKkEZ17cMdzYiCcUOih5CH6I+nCHR4p/L1pTUvftUipOuTyPktmEPusTjFHs+IOk hdiQnTQAvG72C4BDkv7HABLWwgLnujdZUbxkNeuJgFeEAQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mta02.eastlink.ca) smtp.remote-ip=24.224.136.13; dmarc=none header.from=eastlink.ca; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1717430378; bh=S6jDXhwsLJyojcZatsvhjyQ7aP3ywpXiTBD3QPN9XQw=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:In-Reply-To:References:To:Subject:From:MIME-Version:Date: Message-ID:Content-Type:DKIM-Signature; b=jELSu0Q+q1B9W/qaA3aYPo72NYt1+MNqDz/vuemWMa1qLOSXw2VsYBhc4n0r8eAaoBvW9MmiW4 mjwrzyV1N1TPabXrb8FHOe8v676p/yvc4GlBVUy4/sFiXwagSnwIqgxCICAtQwSYTyQTV2vhNf NxQ3o5DDGhtmwwFv2VjVhp8cz39ZR4I4Sn5X5K9sEsuIPpnwh6cdejmGXkImnLIipsfB5D+NF6 LJ9tM4iOi2O5UgcnABAniT/t5FDFDNAbXHXKRAH+V05luL8fREZDEYmSAbURqpNBprT2VxApGQ vzKOzobr2hbyot/IOiIQ5wRcO3kfGYUiXtN0lP3BHGwTAw==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:In-reply-to:References:To:Subject: From:MIME-version:Date:Message-id:Content-type:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=5BK4ylmpQLZdWSzETdHGEq8zyUd/mRqgBU+5erzNToU=; b=R/6n4YVfRLK0MXmwFRMhbtQ459 qQdXyJj2A70Fv1n/2h8a4fdPVy6eeqiKPrORKA8oidOfEbmjXGZL2gNbvMy/JOg9CTVvWfRq0j4hZ K6JxoFYgkJPHj7OtqpuPxSmrLHURFpvPEB0O7A15Y96Gi9HWhvoXeqy+lc3M5aA8ASm/CGM09Je/f NlhEqt4SqZ3jecd8cPSLzku/ORvWB2KKfrp+TzOPf4SxE3xS9est0+40Wol4lHwlZD0VUSo5DzHu3 HO97UNkxGzjC756os2k7BUfgbbF40J+6R51oJDSTNe3VzHqni/UnqauC5B3GtH2zRp80SgWqRUCpK 8K342r6Q==; Received: by zero.zsh.org with local id 1sEA5x-000BFf-UL; Mon, 03 Jun 2024 15:59:37 +0000 Authentication-Results: zsh.org; iprev=pass (mta02.eastlink.ca) smtp.remote-ip=24.224.136.13; dmarc=none header.from=eastlink.ca; arc=none Received: from mta02.eastlink.ca ([24.224.136.13]:33517) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1sEA5Q-000AZt-3c; Mon, 03 Jun 2024 15:59:04 +0000 Received: from csp02.eastlink.ca ([71.7.199.167]) by mta02.eastlink.ca ([24.224.136.13]) with ESMTPS id <0SEI0WD1OHNKITD0@mta02.eastlink.ca> for zsh-users@zsh.org; Mon, 03 Jun 2024 12:59:03 -0300 (ADT) Received: from [192.168.0.15] (host-24-207-19-13.public.eastlink.ca [24.207.19.13]) by csp02.eastlink.ca ([71.7.199.167]) with ESMTPSA id EA5OsAuK308rzEA5OsUrP4 (version=TLSv1_2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256); Mon, 03 Jun 2024 12:59:03 -0300 X-Authority-Analysis: v=2.4 cv=b+UR4cGx c=1 sm=1 tr=0 ts=665de847 a=e7T7DzMKK1R988ZCg0wLyw==:117 a=e7T7DzMKK1R988ZCg0wLyw==:17 a=r77TgQKjGQsHNAKrUKIA:9 a=_O9oMmQEA4_hq-dZYYsA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=pGLkceISAAAA:8 a=KJFExiG_GEznWsh9CPMA:9 a=Ujb0uQwEnf5nJsh-:21 a=_W_S_7VecoQA:10 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdelvddgleehucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecugfetuffvnffkpffmpdfqfgfvnecuuegrihhlohhuthemuceftddtnecunecujfgurheptgfkffggfgfhuffvfhgjsegrtderredtvdejnecuhfhrohhmpeftrgihucetnhgurhgvfihsuceorhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrqeenucggtffrrghtthgvrhhnpeevffekgfdtgeejfeeggfeijeehfeehtedvvdfhvddujeduieelveekgeejtdeutdenucfkphepvdegrddvtdejrdduledrudefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepvdegrddvtdejrdduledrudefpdhhvghloheplgduledvrdduieekrddtrdduhegnpdhmrghilhhfrhhomheprhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepreerpdhrtghpthhtohepiihshhdquhhsvghrshesiihshhdrohhrghdpghgvthdqkghiphfrrghsshifugepthhruhgv X-Vade-Score: 0 X-Vade-State: 0 X-EL-AUTH: rayandrews@eastlink.ca Content-type: multipart/alternative; boundary="------------k98VOiiNIlDCg1lxzhO05z5y" Message-id: <56b5ac4e-53b4-46e1-94f8-d70e07c741da@eastlink.ca> Date: Mon, 3 Jun 2024 08:59:02 -0700 MIME-version: 1.0 User-Agent: Mozilla Thunderbird From: Ray Andrews Subject: Re: exec To: zsh-users@zsh.org References: <2bb9cec5-1293-4103-a73c-fd2a190cb65d@eastlink.ca> Content-language: en-US In-reply-to: X-Seq: 29988 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: , List-Subscribe: , List-Unsubscribe: , List-Post: List-Owner: List-Archive: This is a multi-part message in MIME format. --------------k98VOiiNIlDCg1lxzhO05z5y Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 2024-06-03 08:33, Mark J. Reed wrote: > In X11 setups back in the day, it wasn't uncommon for the *.xinitrc* > or whatever startup file you use to end with something like *exec > xterm*, so if /that particular instance/ of *xterm* exited, then the > whole window system went away with it. But that's not typical of > modern systems. And even then the computer wouldn't shut down. You'd > just be dropped back at your original shell on the console, or if > you'd also *exec*'ed *xinit*, at a login prompt. Exactly.  My point was rhetorical -- obviously control resumes 'somewhere' in the stack of all these GUI functions.  But it isn't easy to figure out where.  I even tried this:   # start xfce4-session normally touch /aMisc/"$(date +%F--%T)-starting xfce" #    exec xfce4-session     xfce4-session touch /aMisc/"$(date +%F--%T)-stopping xfce" ... just to see if I could get some sense of flow control, but it doesn't work.  I never get to 'stopping'.  It feels wrong. --------------k98VOiiNIlDCg1lxzhO05z5y Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

On 2024-06-03 08:33, Mark J. Reed wrote:

In X11 setups back in the day, it wasn't uncommon for the .xinitrc or whatever startup file you use to end with something like exec xterm, so if that particular instance of xterm exited, then the whole window system went away with it. But that's not typical of modern systems. And even then the computer wouldn't shut down. You'd just be dropped back at your original shell on the console, or if you'd also exec'ed xinit, at a login prompt.
Exactly.  My point was rhetorical -- obviously control resumes 'somewhere' in the stack of all these GUI functions.  But it isn't easy to figure out where.  I even tried this:

  # start xfce4-session normally
touch /aMisc/"$(date +%F--%T)-starting xfce"
#    exec xfce4-session
    xfce4-session
touch /aMisc/"$(date +%F--%T)-stopping xfce"

... just to see if I could get some sense of flow control, but it doesn't work.  I never get to 'stopping'.  It feels wrong. 

--------------k98VOiiNIlDCg1lxzhO05z5y--