From nobody Thu Jan 11 20:32:05 2024 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4T9xDT3DFgz56v4q for ; Thu, 11 Jan 2024 20:32:25 +0000 (UTC) (envelope-from 4250.82.1d52500070a5b5a.e985dbda7992039dc7adae991cca3368@email-od.com) Received: from s1-b0c6.socketlabs.email-od.com (s1-b0c6.socketlabs.email-od.com [142.0.176.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4T9xDS4hGKz4CbC for ; Thu, 11 Jan 2024 20:32:24 +0000 (UTC) (envelope-from 4250.82.1d52500070a5b5a.e985dbda7992039dc7adae991cca3368@email-od.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=email-od.com header.s=dkim header.b=vPVSIEOH; dmarc=none; spf=pass (mx1.freebsd.org: domain of 4250.82.1d52500070a5b5a.e985dbda7992039dc7adae991cca3368@email-od.com designates 142.0.176.198 as permitted sender) smtp.mailfrom=4250.82.1d52500070a5b5a.e985dbda7992039dc7adae991cca3368@email-od.com DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1705005145; x=1707597145; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:to:from:date:x-thread-info:subject:to:from:cc:reply-to; bh=tQYvImkWyCeXlHRcuoBh0foNE9Qsghpz9aT5o36uQX8=; b=vPVSIEOHUm7uJ+cjbldY12PtcBQKeozwATKXmfgv4ClHzOA9zmelut3Dt9AXzXBmKqM10AIWUG+aixUlwt3Ih7Rg0XwbXx4Is3CAATLbQ+pF2vg8piDNWJSs6S8XQyFofVf3Nq7qNm37klvdKee/JRRPF69JY/Pq96plj/jglq8= X-Thread-Info: NDI1MC4xMi4xZDUyNTAwMDcwYTViNWEuZnJlZWJzZC1hcm09ZnJlZWJzZC5vcmc= Received: from r3.h.in.socketlabs.com (r3.h.in.socketlabs.com [142.0.180.13]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Thu, 11 Jan 2024 15:32:13 -0500 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r3.h.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Thu, 11 Jan 2024 15:32:10 -0500 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.95 (FreeBSD)) (envelope-from ) id 1rO1if-0002l5-Pg for freebsd-arm@freebsd.org; Thu, 11 Jan 2024 20:32:05 +0000 Date: Thu, 11 Jan 2024 20:32:05 +0000 From: Steve O'Hara-Smith To: freebsd-arm@freebsd.org Subject: Re: USB-serial adapter suggestions needed Message-Id: <20240111203205.6d19a3d36c6c5c78e09e99d5@sohara.org> In-Reply-To: References: <3012A549-9482-4D69-9DF4-7987E650DFFA@yahoo.com> <55AC6824-587D-4C67-B64B-2045A1112F69@yahoo.com> <041F74B4-3D44-4364-9EBD-9F21A4F3B313@yahoo.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.1) X-Clacks-Overhead: "GNU Terry Pratchett" List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.68 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.98)[-0.983]; MV_CASE(0.50)[]; FORGED_SENDER(0.30)[steve@sohara.org,4250.82.1d52500070a5b5a.e985dbda7992039dc7adae991cca3368@email-od.com]; R_SPF_ALLOW(-0.20)[+ip4:142.0.176.0/20]; R_DKIM_ALLOW(-0.20)[email-od.com:s=dkim]; MIME_GOOD(-0.10)[text/plain]; RWL_MAILSPIKE_POSSIBLE(0.00)[142.0.176.198:from]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7381, ipnet:142.0.176.0/22, country:US]; DMARC_NA(0.00)[sohara.org]; RCVD_COUNT_THREE(0.00)[3]; DWL_DNSWL_NONE(0.00)[email-od.com:dkim]; FROM_NEQ_ENVFROM(0.00)[steve@sohara.org,4250.82.1d52500070a5b5a.e985dbda7992039dc7adae991cca3368@email-od.com]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; DKIM_TRACE(0.00)[email-od.com:+] X-Rspamd-Queue-Id: 4T9xDS4hGKz4CbC On Thu, 11 Jan 2024 12:12:15 -0800 bob prohaska wrote: > On Wed, Jan 10, 2024 at 09:34:00PM -0800, Mark Millard wrote: > > > > "&" creates background processes that are still killed when > > their parent tty or controlling process goes away. nohup > > avoids that kill. > > Not sure what's going on, but if I use > make buildworld & > on one of my RPi* hosts and log out or otherwise drop > the connection, the job keeps going. Maybe use of tcsh? It all depends on how the background process responds to receiving SIGHUP which is sent when the terminal session closes. The default action for SIGHUP is to exit but like most signals it can be trapped and a different action supplied. It seems that make ignores SIGHUP (I've never had cause to check), many daemon programs reload their configuration on receiving it. The nohup program catches the SIGHUP signals and ignores them shielding the child process it creates to run the command it's been given as arguments. It also redirects terminal output to nohup.out. -- Steve O'Hara-Smith