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_SIGNED,DKIM_VALID, FREEMAIL_FROM,HTML_MESSAGE,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 5293 invoked from network); 2 Jul 2021 18:06:55 -0000 Received: from tb-ob21.topicbox.com (173.228.157.67) by inbox.vuxu.org with ESMTPUTF8; 2 Jul 2021 18:06:55 -0000 Received: from tb-mx0.topicbox.com (tb-mx0.nyi.icgroup.com [10.90.30.73]) by tb-ob21.topicbox.com (Postfix) with ESMTP id BA00B2EFF9 for ; Fri, 2 Jul 2021 14:06:53 -0400 (EDT) (envelope-from bounce.mM93aa1a889014993c1e185d24.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx0.topicbox.com (Postfix, from userid 1132) id 7FFE8175B8D6; Fri, 2 Jul 2021 14:06:53 -0400 (EDT) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=pass (2048-bit rsa key sha256) header.d=fastmail.fm header.i=@fastmail.fm header.b=cRTy0d09 header.a=rsa-sha256 header.s=fm3 x-bits=2048; dkim=pass (2048-bit rsa key sha256) header.d=messagingengine.com header.i=@messagingengine.com header.b=wUUG/3DA header.a=rsa-sha256 header.s=fm3 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=none,d=none,d.eval=none) policy.policy-from=p header.from=fastmail.fm; spf=pass smtp.mailfrom=eekee57@fastmail.fm smtp.helo=wout5-smtp.messagingengine.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message 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:message-id:in-reply-to:references :date:from:to:subject:content-type:list-help:list-id:list-post :list-subscribe:reply-to:content-transfer-encoding :list-unsubscribe; s=sysmsg-1; t=1625249213; bh=2l/2YPfDBryBBPv6 fBoAZwed2ModplzzEbWzDMmmGq0=; b=mQgBJT+p8JzJXpuNWEMTpH7NLPudVd5a 2hbOezY9m/d0svuh0FGZJ8y2nyPHV3dzmyCuH3YGx9UJPf52b1iYjYnpi+43Yr/Y MdT+EIjjueIvmvibw3TdQrsnTRDOygPFaO/znPmjEOxFOM3VRw76Shn6vedDrUst trnSBoAO9yQ= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1625249213; b=rrwpwtWdfn58IgZEfxaoY5r/OEOa0ufOihAdhtW7vgNChEkAo0 y1FsPSzeLAqeqyCf5Li2DPxja3rOuA2gt95jNtlGNoahRg/V1h+BrKFU+ix5akd9 LXDNUauY9or180bAyNMnOmD6AeUYF4ES1TnN/cTBfb6vza/O+Q+TWi+3w= Authentication-Results: topicbox.com; arc=pass; dkim=pass (2048-bit rsa key sha256) header.d=fastmail.fm header.i=@fastmail.fm header.b=cRTy0d09 header.a=rsa-sha256 header.s=fm3 x-bits=2048; dkim=pass (2048-bit rsa key sha256) header.d=messagingengine.com header.i=@messagingengine.com header.b=wUUG/3DA header.a=rsa-sha256 header.s=fm3 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=none,d=none,d.eval=none) policy.policy-from=p header.from=fastmail.fm; spf=pass smtp.mailfrom=eekee57@fastmail.fm smtp.helo=wout5-smtp.messagingengine.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) X-Received-Authentication-Results: tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=pass (2048-bit rsa key sha256) header.d=fastmail.fm header.i=@fastmail.fm header.b=cRTy0d09 header.a=rsa-sha256 header.s=fm3 x-bits=2048; dkim=pass (2048-bit rsa key sha256) header.d=messagingengine.com header.i=@messagingengine.com header.b=wUUG/3DA header.a=rsa-sha256 header.s=fm3 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=none,d=none,d.eval=none) policy.policy-from=p header.from=fastmail.fm; iprev=pass smtp.remote-ip=64.147.123.21 (wout5-smtp.messagingengine.com); spf=pass smtp.mailfrom=eekee57@fastmail.fm smtp.helo=wout5-smtp.messagingengine.com; x-aligned-from=pass (Address match); x-me-sender=pass policy.xms= s1XfYFU8nuhPCY-nJ1qb-7HUDhmXGzwBTgVU5IMUsKZzTs5Kw5Rn3A2ZzVvPRdF-AFLx0yml_j9YxL2QmeYpsKkBnLyAToKFwhwQv_IUTX07G_I6xfiC8ou_EBbwkEhpMkqypohcxw; x-ptr=pass smtp.helo=wout5-smtp.messagingengine.com policy.ptr=wout5-smtp.messagingengine.com; x-return-mx=pass header.domain=fastmail.fm policy.is_org=yes (MX Records found: in1-smtp.messagingengine.com,in2-smtp.messagingengine.com); x-return-mx=pass smtp.domain=fastmail.fm policy.is_org=yes (MX Records found: in1-smtp.messagingengine.com,in2-smtp.messagingengine.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:message-id:in-reply-to:references:date:from:to :subject:content-type:list-help:list-id:list-post:list-subscribe :reply-to:content-transfer-encoding:list-unsubscribe; s=dkim-1; bh=J7bf7qzkhEa2mW4fhCd7pBGWHurteGcgUf66NHK0Unk=; b=J68vb2vIUPs5 +qfnlETamCTQVd46v+/qxf+5zVohhtrgFbKKS85NYqkcsk+cPoRrUVP0gFFXk71l HOrt7yKYeOXX7kHLC1XHSsyNjC7lxC4nNnZibmLv/jv2i/Lx7BOAnpsOZrRK2wWf HHSu/M4mPiePEZJ0DDk+PI4ja0ajOeA= Received: from tb-mx0.topicbox.com (localhost.local [127.0.0.1]) by tb-mx0.topicbox.com (Postfix) with ESMTP id D862A175B4D9 for <9fans@9fans.net>; Fri, 2 Jul 2021 14:06:43 -0400 (EDT) (envelope-from eekee57@fastmail.fm) Received: from tb-mx0.topicbox.com (localhost [127.0.0.1]) by tb-mx0.topicbox.com (Authentication Milter) with ESMTP id FBD7F8C5626; Fri, 2 Jul 2021 14:06:43 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1625249203; b=iADv1pgQ4DYuF4CHeWK4URCLqxDClAWcTBPvd/c7L7GVWM5q/g XjVz7IS/ICjBrXq7H0v14kKUga1t8yCbs8OQueQVLctM5Jv4zQHIfrTZkJHgumjq BxpiE5fmHoRNGfPLh49sV3ojQ86OAfergWMmPdLfX3Pu13PkuJGbL6YO8EmzMCkU 9auFKEafrdEd+Vx952QD3De8wT+mEesIsy/Vu/g9cta00hlOvUlDKF/7sQdZ2Idj yyJemjESY8eWFRywkNK5E1khm6z+wwKxLczmZQIOUML8OGNG93Jkk9PhwuvQgTI4 g5vA+xjxuS40xWjxNMbMf5bE5a0dkqGCQ5bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=mime-version:message-id:in-reply-to:references :date:from:to:subject:content-type; s=arcseal; t=1625249203; bh= eUAFOjMCo3/2U0ZzZsNCUB5xGmAf3yJw82FpcbnNkUk=; b=JwGjfypeVUMJDYVO UttdaBzUJWHilC44I2CVqbZD0EZ2t1KSbyBPNyVl/ZQYleVOZr0GAA5EH7Y7FZ4/ dAgmmOfUmHbfg/V99f+0WuTBdyFJEVnVhRNdb+brWSKv3dDZPTmQsx15DWvI+tsE Gg4M4CMR29RK+ALtd/CQyBB81BrcAsAzrQIlG2Xc+644VdgfM4+oL0CsnSN2WDCr mRlTgR1zaNihLMWnvyU4u9F2XcdRLVtx5qAAP7fRQnzVFQ1e+CWBNn4FM1Je2blg YL3/fATXZXDeZlOFka/JHUm4JFk/x6cmCUw75UP7/zJcmsk3TIz4UjjRbTZ4W+Gq ng+QYw== ARC-Authentication-Results: i=1; tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=pass (2048-bit rsa key sha256) header.d=fastmail.fm header.i=@fastmail.fm header.b=cRTy0d09 header.a=rsa-sha256 header.s=fm3 x-bits=2048; dkim=pass (2048-bit rsa key sha256) header.d=messagingengine.com header.i=@messagingengine.com header.b=wUUG/3DA header.a=rsa-sha256 header.s=fm3 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=none,d=none,d.eval=none) policy.policy-from=p header.from=fastmail.fm; iprev=pass smtp.remote-ip=64.147.123.21 (wout5-smtp.messagingengine.com); spf=pass smtp.mailfrom=eekee57@fastmail.fm smtp.helo=wout5-smtp.messagingengine.com; x-aligned-from=pass (Address match); x-me-sender=pass policy.xms= s1XfYFU8nuhPCY-nJ1qb-7HUDhmXGzwBTgVU5IMUsKZzTs5Kw5Rn3A2ZzVvPRdF-AFLx0yml_j9YxL2QmeYpsKkBnLyAToKFwhwQv_IUTX07G_I6xfiC8ou_EBbwkEhpMkqypohcxw; x-ptr=pass smtp.helo=wout5-smtp.messagingengine.com policy.ptr=wout5-smtp.messagingengine.com; x-return-mx=pass header.domain=fastmail.fm policy.is_org=yes (MX Records found: in1-smtp.messagingengine.com,in2-smtp.messagingengine.com); x-return-mx=pass smtp.domain=fastmail.fm policy.is_org=yes (MX Records found: in1-smtp.messagingengine.com,in2-smtp.messagingengine.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: gggruggvucftvghtrhhoucdtuddrgeduledrfeeikedguddukecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhepofgfgg fkjghffffhvffutgesrgdtreerreerjeenucfhrhhomhepfdfgthhhrghnucfirghruggv nhgvrhdfuceovggvkhgvvgehjeesfhgrshhtmhgrihhlrdhfmheqnecuggftrfgrthhtvg hrnhepudelfefhffdtveehgfefheelheevgeeffeelgfeuffefieduhefhieekudegieei necukfhppeeigedrudegjedruddvfedrvddunecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehinhgvthepieegrddugeejrdduvdefrddvuddphhgvlhhopeifohhutheh qdhsmhhtphdrmhgvshhsrghgihhnghgvnhhgihhnvgdrtghomhdpmhgrihhlfhhrohhmpe eovggvkhgvvgehjeesfhgrshhtmhgrihhlrdhfmheqpdhmrghilhhfrhhomhepvggvkhgv vgehjeesfhgrshhtmhgrihhlrdhfmh X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (fastmail.fm: Sender is authorized to use 'eekee57@fastmail.fm' in 'mfrom' identity (mechanism 'include:spf.messagingengine.com' matched)) receiver=tb-mx0.topicbox.com; identity=mailfrom; envelope-from="eekee57@fastmail.fm"; helo=wout5-smtp.messagingengine.com; client-ip=64.147.123.21 Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx0.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Fri, 2 Jul 2021 14:06:43 -0400 (EDT) (envelope-from eekee57@fastmail.fm) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id 4CA383200942 for <9fans@9fans.net>; Fri, 2 Jul 2021 14:06:42 -0400 (EDT) Received: from imap35 ([10.202.2.85]) by compute2.internal (MEProxy); Fri, 02 Jul 2021 14:06:42 -0400 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfeeikedguddulecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkjghffffhvffutgesrg dtreerreerjeenucfhrhhomhepfdfgthhhrghnucfirghruggvnhgvrhdfuceovggvkhgv vgehjeesfhgrshhtmhgrihhlrdhfmheqnecuggftrfgrthhtvghrnhepudelfefhffdtve ehgfefheelheevgeeffeelgfeuffefieduhefhieekudegieeinecuvehluhhsthgvrhfu ihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepvggvkhgvvgehjeesfhgrshhtmh grihhlrdhfmh X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 9510215A005E; Fri, 2 Jul 2021 14:06:41 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-530-gd0c265785f-fm-20210616.002-gd0c26578 Mime-Version: 1.0 Message-Id: <31c74da4-12f5-4236-ab6b-69cde447bb34@www.fastmail.com> In-Reply-To: References: <20210630.191534.433099114174883977.dworkin@weaselfish.com> Date: Fri, 02 Jul 2021 19:06:05 +0100 From: "Ethan Gardener" To: 9fans <9fans@9fans.net> Subject: Re: [9fans] Alternative to fine-grained mouse usage? Content-Type: multipart/alternative; boundary="ee0158d75b87484180b594d936dd026c" Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: 44b60342-db60-11eb-8e45-bd230d40bdc6 Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UNzE2YzVhYTBlMmFhOGEyNy1NOTNhYTFhODg5MDE0OTkzYzFlMTg1?= =?UTF-8?B?ZDI0Pg==?= 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: 7bit List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:M93aa1a889014993c1e185d24:1:vlhtQeM9MhwPalx6ny3jHtiPFAlfsLDm0CdBRWDhzA0 --ee0158d75b87484180b594d936dd026c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Jul 2, 2021, at 4:03 PM, silas poulson wrote: >> On 1 Jul 2021, at 18:48, Ethan Gardener wrote: >> sam -d can't display line numbers >=20 > You can sort of display them via >=20 > ,x { > p > } >=20 > Though it=E2=80=99s ugly and annoyingly can=E2=80=99t apply sam=E2=80=99s= regex to remove the character locations. My mail client swallowed the line with the equals sign until I tried to rep= ly. If that's happening to anyone else, it's on a line on its own between t= he opening brace and the p. It does work, but yeah, it's a bit on the ugly side. I can get line & char = numbers onto the same lines as the text, but only on the ends of the lines = which is even uglier. It's this: ,x/.*/ { p } The regexp selects whole lines without the newlines. Reversing the order of= =3D and p has no effect. (This reminds me why I switched to Forth: I can program my editor properly = instead of being constrained by a domain-specific language. But part of the= problem was I couldn't get my head around Sam's C code. It probably didn't= help that I started with terminal-editor communication; that was likely th= e deep end of the pool.) In any case, Plan 9's ed has a nice "browse" command which sam can't match.= I used to issue "0bn", then just "b" once per page. Or, if you don't want = line numbers, leave out the "n". ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T716c5aa0e2aa8a27-M93aa1= a889014993c1e185d24 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription --ee0158d75b87484180b594d936dd026c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Fri, Jul 2, 2021, at 4:03 PM, silas poulson wrote:
On 1 Jul 2021, at 18:48, Ethan Gardener <eekee57@fastmail.fm> wrote:
sam -d can't display line numbers
<= br class=3D"qt-" />
You can sort of display them via
<= div class=3D"qt-">
= ,x {
=3D
p
}

Though it’= s ugly and annoyingly can’t apply sam’s regex to remove th= e character locations.

My mail client s= wallowed the line with the equals sign until I tried to reply. If that'= s happening to anyone else, it's on a line on its own between the openi= ng brace and the p.

It does work, but yeah, it's a bit = on the ugly side. I can get line & char numbers onto the same lines as = the text, but only on the ends of the lines which is even uglier. It's = this:

,x/.*/ {
=3D
p
}

The regexp selects whole lines wi= thout the newlines. Reversing the order of =3D and p has no effect.

(This reminds me why I switched to Forth: I can program my editor = properly instead of being constrained by a domain-specific language. But pa= rt of the problem was I couldn't get my head around Sam's C code. I= t probably didn't help that I started with terminal-editor communicatio= n; that was likely the deep end of the pool.)

In any case, = Plan 9's ed has a nice "browse" command which sam can't m= atch. I used to issue "0bn", then just "b" once per pag= e. Or, if you don't want line numbers, leave out the "n".
= --ee0158d75b87484180b594d936dd026c--