From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 12882 invoked from network); 22 Jul 2021 23:45:37 -0000 Received: from tb-ob1.topicbox.com (64.147.108.173) by inbox.vuxu.org with ESMTPUTF8; 22 Jul 2021 23:45:37 -0000 Received: from tb-mx1.topicbox.com (tb-mx1.nyi.icgroup.com [10.90.30.61]) by tb-ob1.topicbox.com (Postfix) with ESMTP id 619D236134 for ; Thu, 22 Jul 2021 19:45:35 -0400 (EDT) (envelope-from bounce.mMf5cfe43f0a56bf959f4d436a.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx1.topicbox.com (Postfix, from userid 1132) id 585C62E96EB9; Thu, 22 Jul 2021 19:45:35 -0400 (EDT) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=RFnv2bcl header.a=rsa-sha256 header.s=20161025 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=gmail.com; spf=pass smtp.mailfrom=inkswinc@gmail.com smtp.helo=mail-yb1-f179.google.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (body has been altered)) (Message modified while forwarding at Topicbox) ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type:list-help:list-id:list-post :list-subscribe:reply-to:content-transfer-encoding :list-unsubscribe; s=sysmsg-1; t=1626997535; bh=Yj/iWAw0cRKCPTdP uR97X3PMK9VyuyrTibYrqICyclY=; b=n3VmRztfJGkNYI7f+z6LUrdk1Hfd7SA7 jJJ76up/+FEfMyrqPwEvZc9d9uUfppbbooPdEkPhHHmb2OY8WEsCqNY6iSjIgdia mKt/a69Wu5tM1beH1NdCc1YO0/ZPFx+GjptOXy8bfNL5Gk2aTHDJbH8RLaYuQ/tn sy1lNCQ942M= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1626997535; b=t2qruSpDmFu8JEg34B/t1/TmP9TueWISfkzseqRQCIYRHy/T5Z Qwq/jaLtJPB31cn/jtl4sVwIAMPiXuu3lIPlSlfMhVnDQyHyyD1PphMlg8zi2HW5 IR0KLIqhZGG/nxh12FIGOTaaLqbOCl5bMxYjncvLLH3RLFbFQRt7i9Ea0= Authentication-Results: topicbox.com; arc=pass; dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=RFnv2bcl header.a=rsa-sha256 header.s=20161025 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=gmail.com; spf=pass smtp.mailfrom=inkswinc@gmail.com smtp.helo=mail-yb1-f179.google.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (body has been altered)) (Message modified while forwarding at Topicbox) X-Received-Authentication-Results: tb-mx1.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=RFnv2bcl header.a=rsa-sha256 header.s=20161025 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=gmail.com; iprev=pass smtp.remote-ip=209.85.219.179 (mail-yb1-f179.google.com); spf=pass smtp.mailfrom=inkswinc@gmail.com smtp.helo=mail-yb1-f179.google.com; x-aligned-from=pass (Address match); x-google-dkim=pass (2048-bit rsa key) header.d=1e100.net header.i=@1e100.net header.b=I03QlSKH; x-me-sender=none; x-ptr=pass smtp.helo=mail-yb1-f179.google.com policy.ptr=mail-yb1-f179.google.com; x-return-mx=pass header.domain=gmail.com policy.is_org=yes (MX Records found: alt4.gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com); x-return-mx=pass smtp.domain=gmail.com policy.is_org=yes (MX Records found: alt4.gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h= mime-version:references:in-reply-to:from:date:message-id:subject :to:content-type:list-help:list-id:list-post:list-subscribe :reply-to:content-transfer-encoding:list-unsubscribe; s=dkim-1; bh=Yj/iWAw0cRKCPTdPuR97X3PMK9VyuyrTibYrqICyclY=; b=lxSmgP7OAhsw EotTDfnscKkCd3Bd/TP/WPMPsD0zh9qxUz3w57OlklbxB5TCIva0nBxFFyBgx5Y4 tRo7JAHkuwWnlwMiQjJSdRWYb63JVY53GMKFjVmhu2dOrQVvDe+TnVmn5ujPGSQk 5naAY5Mk3wnYmu3SV7i5ISHiWt0++bU= Received: from tb-mx1.topicbox.com (localhost.local [127.0.0.1]) by tb-mx1.topicbox.com (Postfix) with ESMTP id 8419D2E96ABA for <9fans@9fans.net>; Thu, 22 Jul 2021 19:45:24 -0400 (EDT) (envelope-from inkswinc@gmail.com) Received: from tb-mx1.topicbox.com (localhost [127.0.0.1]) by tb-mx1.topicbox.com (Authentication Milter) with ESMTP id 049E703685B; Thu, 22 Jul 2021 19:45:24 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1626997524; b=wYSyjzEzM+xDHITQn++YhYvRYAk7htRpG5Ub8PNqLPvNxgHxyB JnsTqbpzw3jd5tQwb443sVYb4Fot/cR1ldfWJSr8ybpVfGQ7uHesB7rP1uR01Erq HIgk2Ge1287zPFzQxXT9tIrRLCZVXfCDFGTCSXdaASvx7A7mvnGVa6vetmxV7QVX jgU4gBDXd6VMWW6rkyi7RSADlaB1uoFWKWwlZwQhZ4fj1Tl/JOyfii0KosaIGVfd NT0F/5EZYo5VrhhKZJb9FMlUXVbn7A0Erx8YnUKwhlr4TM1NfTvkKThd//tgbYWP XpXqKfyKhhcIaC+yKJbzkpkV0Ttq+hYEA0Yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type; s=arcseal; t=1626997524; bh=0HB8O4/XPTvcYaMqRl+iFTXjXs81FncBm3mZMgh0XGo=; b=Oc5gti5y34KQ P0uQxXtbmp9xawJzwu4p2SOOsjjUE3IT6Jjh7YRnRRQ6KXc6OFTaS2qxx3DR2mJG mcOMk7+Abi6gbNvn7JiGxeiExtkG8aIdfE3P0IiH8Oc/9Ci9eX9wHuNVZHpyWcbn Zms37o9edU7YFEToyrN7IarXeT4n/hiz/C+U3oVJeLy56M8kCmYRAYZnq4Al8ltU W3JkqlpZdc0M0UMAeHCZklpKKIacdpKj8FYm9e4QMZ8VCnxRNYs3g1lxxOYt0RBN 2w+/b9hgZh020h4XvywnDXD5Q8VR3lwcICTOjwwMOJjQ3twWa6+ZYdcq6F7XGgTK 2W84y1Hp7A== ARC-Authentication-Results: i=1; tb-mx1.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=RFnv2bcl header.a=rsa-sha256 header.s=20161025 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=gmail.com; iprev=pass smtp.remote-ip=209.85.219.179 (mail-yb1-f179.google.com); spf=pass smtp.mailfrom=inkswinc@gmail.com smtp.helo=mail-yb1-f179.google.com; x-aligned-from=pass (Address match); x-google-dkim=pass (2048-bit rsa key) header.d=1e100.net header.i=@1e100.net header.b=I03QlSKH; x-me-sender=none; x-ptr=pass smtp.helo=mail-yb1-f179.google.com policy.ptr=mail-yb1-f179.google.com; x-return-mx=pass header.domain=gmail.com policy.is_org=yes (MX Records found: alt4.gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com); x-return-mx=pass smtp.domain=gmail.com policy.is_org=yes (MX Records found: alt4.gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgedvtddrfeejgddvvdculddtuddrgeduhedrtddtmd cutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghn shhusghstghrihgsvgdpuffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtne cunecujfgurhepgghfjgfhfffkuffvtgesthdtredttddtjeenucfhrhhomhepufhilhgr shcuofgtvehrohhskhgvhicuoehinhhkshifihhntgesghhmrghilhdrtghomheqnecugg ftrfgrthhtvghrnhepheejieffffevleduuefhhffhffehtdeuleegueetfeefudekgeel tdeiffeuudelnecukfhppedvtdelrdekhedrvdduledrudejleenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepihhnvghtpedvtdelrdekhedrvdduledrudejledphhgv lhhopehmrghilhdqhigsuddqfhdujeelrdhgohhoghhlvgdrtghomhdpmhgrihhlfhhroh hmpeeoihhnkhhsfihinhgtsehgmhgrihhlrdgtohhmqe X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (gmail.com ... _spf.google.com: Sender is authorized to use 'inkswinc@gmail.com' in 'mfrom' identity (mechanism 'include:_netblocks.google.com' matched)) receiver=tb-mx1.topicbox.com; identity=mailfrom; envelope-from="inkswinc@gmail.com"; helo=mail-yb1-f179.google.com; client-ip=209.85.219.179 Received: from mail-yb1-f179.google.com (mail-yb1-f179.google.com [209.85.219.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx1.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Thu, 22 Jul 2021 19:45:24 -0400 (EDT) (envelope-from inkswinc@gmail.com) Received: by mail-yb1-f179.google.com with SMTP id g5so1586403ybu.10 for <9fans@9fans.net>; Thu, 22 Jul 2021 16:45:23 -0700 (PDT) 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; bh=0HB8O4/XPTvcYaMqRl+iFTXjXs81FncBm3mZMgh0XGo=; b=I03QlSKH957YL/PDZEK+qaFg25Dzl2bOpeF6W48YCOPOL+du4uw02lzHhm45thFGSW dyn3wfGflr/LSuEJpOW3h7d0QlccHClvyBd15DEmtVnio/w9HXoHaSXt0gAmA2x5FjCo nOBC68AslfSWpMH0G3cmU1Q1xtw/WCqZwKSZaTp5EgK6ZICpuVgijCYb6OwzGB5eG7f/ 4o0doxpa7fCwr2MHUnGNJCkQP7Et5kge/4YVGIzlVbvnrsZZPW8fHSP+5BL1pVQRKe3y mp2VzqAQ/mPiL+GgOM8Pp/hTBffpAHqoTn+sqnNnyonoZQcPh/PNLrGb0l5mnM3OsUuN K+jQ== X-Gm-Message-State: AOAM531lWrqvNxbyj02YMGzgYDvXrplMagO+m3qrmgzkKN0BHoHAIzh5 xwad96P11Y44tfqeKDdN9sYiWXBKTLpqqvkpGj7ud65m7mc= X-Google-Smtp-Source: ABdhPJxW4pSEYcqrBN4KWVluKmSxEsC+1oNStD7rlLr4qLt3ev/iAaYXlUpPmkrZ5M/gR9atWS525VWJpRMuyhbQTyk= X-Received: by 2002:a25:4442:: with SMTP id r63mr2655027yba.195.1626997523262; Thu, 22 Jul 2021 16:45:23 -0700 (PDT) MIME-Version: 1.0 References: <16269611020.38ad.33188@composer.9fans.topicbox.com> <16269851390.DBFd5AcC9.900602@composer.9fans.topicbox.com> In-Reply-To: <16269851390.DBFd5AcC9.900602@composer.9fans.topicbox.com> From: Silas McCroskey Date: Thu, 22 Jul 2021 16:45:12 -0700 Message-ID: Subject: Re: [9fans] A few questions about sam To: 9fans <9fans@9fans.net> Content-Type: text/plain; charset="UTF-8" Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: e5409714-eb46-11eb-9f6d-ef991061a29a Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UNjBiNWMxOTI5YTYzYjA3Ny1NZjVjZmU0M2YwYTU2YmY5NTlmNGQ0?= =?UTF-8?B?MzZhPg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> Content-Transfer-Encoding: quoted-printable List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:Mf5cfe43f0a56bf959f4d436a:1:5TnanZXpf-Nys35sfe41Yzr7QhFXPiSRdf9Roiau9B0 > The sam window is not always responsive to commands. Under what specific = conditions is this the case? I can think of a few cases: * You issued an I/O command (shell, read file, write file, etc.) and it's still in progress (there will always be output you can wait for in these cases, e.g. the second '!' for shell commands). There's no way I know of to kill an issued command from within sam (e.g. del key doesn't work); if you launched something that's infinite looping or the like you'd have to find it via ps and send a signal/note. * You're entering commands on something other than the last line ("history" is editable, as in normal plan 9 terminals, which can be particularly confusing in sam, as there's no prompt). * You've started a compound command spanning multiple lines (e.g. with { } braces) and haven't completed it yet. > is there a way to repeat the last entered command in sam without having t= o snarf and paste? I know one can repeat the last search with //. Not that I know of, sadly. Bare 's' to repeat is one of the things I miss most about ed. Samterm's 'send' (send the highlighted text (or the current snarf buffer) for execution) might be a slightly faster idiom than snarf+paste+enter, though. > In ed the "e" command allows one to switch files. It replaces the current= file with another. To add a file to the list in sam, one should use B not = e. Is that correct? I.e. it would seem "e" is allowed but not sam's natural= way of doing things? B and b are both useful for this, yes. The former will load a new file if that path isn't already in the menu, the latter will only switch to already-loaded files. 'b' can be combined with X to good effect, in spite of that clearly not being an anticipated case: X/pathregex/b will print "?blank expected" but still switch to the file matching pathregex, so you don't need to type (or copy+paste) the full path. - Silas ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T60b5c1929a63b077-Mf5cfe= 43f0a56bf959f4d436a Delivery options: https://9fans.topicbox.com/groups/9fans/subscription