From owner-freebsd-ports@freebsd.org Wed Jul 8 22:50:37 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2301035796A for ; Wed, 8 Jul 2020 22:50:37 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B2Dzb2fV7z4BKp for ; Wed, 8 Jul 2020 22:50:35 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: by mail-ed1-x532.google.com with SMTP id a8so319335edy.1 for ; Wed, 08 Jul 2020 15:50:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=G97XPhlHo8nYT1nItIhd98ib97FPnAa2i/P40TV+xFc=; b=fsiZRzpVjgAAFXf8DA81VtS8tvR85rSZsY0Kiql+HsmH7FGpEDP5SEPCnAI7Wqc5jh pQY1IcQie3crR4ObOND8nMVqlelPbjq0/o87uJ3JtzJkHy5/C35cB3GXLJ4TOOZ2UNeg 9WpOwhJswYbG+UhDoJiIIX0rmqUo0Jo5+UfyUYd8MmTBtuWiJSMcstjocc4c5hJjCgm7 xpoADLcLQR9Sv+1hqbHPGHoxQ5+Enp6/JgE6W+S98DyWIkQLnHJ3gqRZssEJGGhuYyY5 WLI8amqUlD+UoHEh2NjK62B2rGARsHkA5sCrdPhUGk7j9Kj7ko72Aozr3nxPsI8zF0Ew VzRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=G97XPhlHo8nYT1nItIhd98ib97FPnAa2i/P40TV+xFc=; b=HfyxSCt3Y3IfOR/OgUa2qNBsP6qddO5Jd58Dtn2A1k4OdfsnNCNc5+R0lVH0uEmOkl otGB/FDh/sPmIOjx225ot2lMEYKhf71EaQEzoXDPUX2LrhvEpNHhnLCVN8l0WwYyOsR3 I4r4vbpTbpMQ46v2kwW9xHc/RhWlCXyKmhKJnJgg6/8DtjuzZNq4fJ/BRzVK8cxMJJ2v sKrt4Iaumhy9lHJZtfDf6nvEnTC5FDYYSVrEOEX7+4SJ03wKzHPx4QecFDp51X7YA1e5 D/tDhYZV3FMJmPAZFPlcVEUXrpx7hQNy9lQ70oIq9fy16QsajtqDFIuuy8rctGN0tXOa NZOA== X-Gm-Message-State: AOAM530QWF9F91bO2iRy3z7GF0/uqKeFKj6pEyVejuoxcT7BUYxsw7fU QmRd4w53WX9EiurBsuvTcPCOx9xxmrHCF9ZANDla4A== X-Google-Smtp-Source: ABdhPJxN/+BJi1onU/FlMagRtX+Eamm6vYCfAi4xOkeR80rtuyg9QAXF1pJU0hadN+MItLN2fNO08Kzq4LR8zcMa77A= X-Received: by 2002:a05:6402:1778:: with SMTP id da24mr58291696edb.126.1594248632807; Wed, 08 Jul 2020 15:50:32 -0700 (PDT) MIME-Version: 1.0 References: <20200708034703.GA50491@www.zefox.net> <941930819.28.1594197843269@localhost> <20200708153013.GA52503@www.zefox.net> <25c3b51c-6fa2-4d69-cb39-5ac7802fc658@unfs.us> <20200708215341.GB52503@www.zefox.net> In-Reply-To: <20200708215341.GB52503@www.zefox.net> From: Freddie Cash Date: Wed, 8 Jul 2020 15:50:19 -0700 Message-ID: Subject: Re: Gracefully killing and restarting a port build.... To: bob prohaska Cc: "Janky Jay, III" , freebsd-ports X-Rspamd-Queue-Id: 4B2Dzb2fV7z4BKp X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=fsiZRzpV; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of fjwcash@gmail.com designates 2a00:1450:4864:20::532 as permitted sender) smtp.mailfrom=fjwcash@gmail.com X-Spamd-Result: default: False [-3.30 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.976]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; NEURAL_HAM_LONG(-1.03)[-1.029]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::532:from]; NEURAL_HAM_SHORT(-0.29)[-0.292]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jul 2020 22:50:37 -0000 On Wed., Jul. 8, 2020, 2:53 p.m. bob prohaska, wrote: > On Wed, Jul 08, 2020 at 09:34:53AM -0600, Janky Jay, III wrote: > > In the future, if you can, try using "screen" or "tmux" to run these > > large builds in so you don't take the risk of losing the > > terminal/console. Or, maybe I'm completely off-base as to how it was > > lost to begin with. > > > > AIUI, screen runs until the session terminates and then stops. In my case > the controlling terminal was lost when the ssh connection broke. Thus, I > think screen would have quit as well. Nope. Screen (or tmux which is nicer to use, imo) takes over as the controlling terminal. When the ssh connection terminates, screen continues running (along with all the processes started in that screen session). You reconnect via ssh, and connect to the running screen session and carry on like nothing happened. Cheers, Freddie Typos due to smartphone keyboard.