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,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 15294 invoked from network); 22 Jul 2021 19:18:57 -0000 Received: from tb-ob0.topicbox.com (64.147.108.117) by inbox.vuxu.org with ESMTPUTF8; 22 Jul 2021 19:18:57 -0000 Received: from tb-mx1.topicbox.com (tb-mx1.nyi.icgroup.com [10.90.30.61]) by tb-ob0.topicbox.com (Postfix) with ESMTP id BB9DC308D6 for ; Thu, 22 Jul 2021 15:18:54 -0400 (EDT) (envelope-from bounce.mMee00a57a34c332edd0a4e2a0.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx1.topicbox.com (Postfix, from userid 1132) id B826C1E39B74; Thu, 22 Jul 2021 15:18:54 -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=hzPvFVJx 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=charles.forsyth@gmail.com smtp.helo=mail-pj1-f46.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=1626981534; bh=0Cq310R+kfph2Yia 4amPxyANajPVjGRxv2wMEehcRsI=; b=oyftoBB9EwzgtH7j08V9+T4tCp6jwv2V ET2yclRz7CnUEXh3w42hgjJqGCDg9WIqtfeQtpj9jBloJGSYchMx7ULMLFn+FsYf UDEVybqb+JxtD5pSw75THgOih6ALNiKyLjR4Qrz50owf9+8Q198SVlM0ag55e74I EpFeXk5jpco= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1626981534; b=Qjhqtg7Ut3E/seD4DuYHy5p+A07HrPwYPb+4B8sdsL3uZFHiaB RO5jC3z8D59613KW6RajmB+sh12Myx0hpjIKgOtre1RAlNyzzycK9qObR4OYNSCP NEK37GQQrpKjjGOquTK08ecDMdLsHF8XQv7KoPnH3vhsFh/7jY4DVxLnw= Authentication-Results: topicbox.com; arc=pass; dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=hzPvFVJx 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=charles.forsyth@gmail.com smtp.helo=mail-pj1-f46.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-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=gmail.com header.i=@gmail.com header.b=hzPvFVJx 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.216.46 (mail-pj1-f46.google.com); spf=pass smtp.mailfrom=charles.forsyth@gmail.com smtp.helo=mail-pj1-f46.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=ofFYH2qA; x-me-sender=none; x-ptr=pass smtp.helo=mail-pj1-f46.google.com policy.ptr=mail-pj1-f46.google.com; x-return-mx=pass header.domain=gmail.com policy.is_org=yes (MX Records found: gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com); x-return-mx=pass smtp.domain=gmail.com policy.is_org=yes (MX Records found: gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com,alt3.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=j4gaLha7dqCznGBVvjbZ1BZ2SsfiMmDy+NdYY+gWD1g=; b=TpcZO2kpF1Yg MyXf7o2jtPRevjxNVSulIWuwQzDPcOLUkkFQZxZi6Q4SEPxaiiexVKRyD3ry4FHo CUdYEq4Krihf8TURPLN92UwgjYEhOJhoemoM200p+DRFoBP0c/CsBIebivmbpCOi 5uB+pegS2PyS+pQQXjZgu226QC4GIjY= Received: from tb-mx0.topicbox.com (localhost.local [127.0.0.1]) by tb-mx0.topicbox.com (Postfix) with ESMTP id 1C07C266BC50 for <9fans@9fans.net>; Thu, 22 Jul 2021 15:18:42 -0400 (EDT) (envelope-from charles.forsyth@gmail.com) Received: from tb-mx0.topicbox.com (localhost [127.0.0.1]) by tb-mx0.topicbox.com (Authentication Milter) with ESMTP id 2B418ED95FC; Thu, 22 Jul 2021 15:18:42 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1626981522; b=xKJYAJXUu2KTDk8C+lHK7CSuFbpMpPM4MSaDr3CLzJ5VrV1xIl aKGC+tr+jYXg7uFewO1OonePu8lRl3RBAjLhgzP4VSI7ZutNckidotulYDzYMJPe fqjrfLi8HpKKwfiT3wuF93KbeCz7kFJvDK/mKfEjjZvkVLLOMFrdf0zSVxRF7+d5 GQpaHjwYHMaiEKI4n5LzKze86r1IYokwrLBce7h/SHwsuzE119xY6aQ0NCTPDRHG gl0Kiuk/DPVvomzwNksMS3X4+V1SeOYuFp3E3F3RBxBOm/bm0uc3brEnPhENd6E+ U2SHO2HsXryCdsKYJK1q0Zex+djHaC0yUCjw== 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=1626981522; bh=ztMyzZfRvYrV1wMBYYs0/1cf9LaWBIJ8HtoKj0gjVdw=; b=VdAnFajtkBYI PiqS72d2BoXph5f8hlDX7XWGTFVLBWCeu7Oj28lMsqiqSPRHIkULPD5QViPQvmvv 6BREeRTxrUWJuyO8mAlBZy93TutOtTwuRu3wK88qRdw25HUvPOQXkmoTbma2M+xL es93Z3RGI1IL9LI5VMLJERq3Ypk3hGI36KyoUiAwgf3G+oXADdVysU+VZphg4ieT dvYjKbVC8+C8BFA0fsZur7pnylCCq/1V1qnmWAae63MYo9O0coeQLXkyvrPmbwOs Tt84nvxg5vmbr9vaEyP8ZWO3g48/r5BVmrWmYN8r4h0DB5qMZVPUC7V0OmHTXTg/ cwit+yJFYA== 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=gmail.com header.i=@gmail.com header.b=hzPvFVJx 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.216.46 (mail-pj1-f46.google.com); spf=pass smtp.mailfrom=charles.forsyth@gmail.com smtp.helo=mail-pj1-f46.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=ofFYH2qA; x-me-sender=none; x-ptr=pass smtp.helo=mail-pj1-f46.google.com policy.ptr=mail-pj1-f46.google.com; x-return-mx=pass header.domain=gmail.com policy.is_org=yes (MX Records found: gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com); x-return-mx=pass smtp.domain=gmail.com policy.is_org=yes (MX Records found: gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com,alt3.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: gggruggvucftvghtrhhoucdtuddrgedvtddrfeeigdduudeiucdltddurdegudehrddttd dmucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgf nhhsuhgsshgtrhhisggvpdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttd enucenucfjughrpeggfhgjhfffkffuvfgtsegrtderredttdejnecuhfhrohhmpeevhhgr rhhlvghsucfhohhrshihthhhuceotghhrghrlhgvshdrfhhorhhshihthhesghhmrghilh drtghomheqnecuggftrfgrthhtvghrnhepfeeftefhvefhveetjedthfeifeeiveehjeel vdegvedvgeelgfevtdelgfegieeknecuffhomhgrihhnpehtohhpihgtsghogidrtghomh enucfkphepvddtledrkeehrddvudeirdegieenucevlhhushhtvghrufhiiigvpedtnecu rfgrrhgrmhepihhnvghtpedvtdelrdekhedrvdduiedrgeeipdhhvghlohepmhgrihhlqd hpjhduqdhfgeeirdhgohhoghhlvgdrtghomhdpmhgrihhlfhhrohhmpeeotghhrghrlhgv shdrfhhorhhshihthhesghhmrghilhdrtghomheq X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (gmail.com ... _spf.google.com: Sender is authorized to use 'charles.forsyth@gmail.com' in 'mfrom' identity (mechanism 'include:_netblocks.google.com' matched)) receiver=tb-mx0.topicbox.com; identity=mailfrom; envelope-from="charles.forsyth@gmail.com"; helo=mail-pj1-f46.google.com; client-ip=209.85.216.46 Received: from mail-pj1-f46.google.com (mail-pj1-f46.google.com [209.85.216.46]) (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>; Thu, 22 Jul 2021 15:18:41 -0400 (EDT) (envelope-from charles.forsyth@gmail.com) Received: by mail-pj1-f46.google.com with SMTP id p5-20020a17090a8685b029015d1a9a6f1aso4305607pjn.1 for <9fans@9fans.net>; Thu, 22 Jul 2021 12:18:41 -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=ztMyzZfRvYrV1wMBYYs0/1cf9LaWBIJ8HtoKj0gjVdw=; b=ofFYH2qA2c85w+LSVp7wrFtT+89GScnx1dJWLgbpZo9ueLjxP8Nx2GoZk65JUfrWqb Y6XSfiZD+rGxYioFt7dGpvjhs2NUFNBJD66Vl85gakc1e8WGBMkMHfDeTJbhHk6G6kxS EjkXnTMhiLFi0i4ACpPrPAa98BHwPUeui++3l96K//TAJO/dJ3Vg3wdupF24YKw3Tc8E ar83QqNStB+SZXB6HrIAXuIF8T/bM967uhfr2/jUMAM+1ZhbOZ1VAoW2IEuhKqPEg+ui hrf0NxnwYorYZ5eTuKtAi/dDsP9ds9cOxc6rIeU0hufKrOHOAM8NkNNGN9BcN/GgSwGx k84Q== X-Gm-Message-State: AOAM531CtzrgySXuXy5eQXKbLBryjWlOmh9gKnz84+eNnREDrUbuM7Vj 4qm+6OP4lMd1+tge2s6//edNw6+XGNQM1AWrfb2ZYGu6J6QZFA== X-Google-Smtp-Source: ABdhPJw8CMfmIi8lT3WEzBF2jfCNAMqtExyV8Jr+KmqpYjbq8MiKbTtnNW5W5a7nXmPHcb3V9bWE3SNaelNnyI6jWQE= X-Received: by 2002:a17:902:bd03:b029:11c:d504:c1ce with SMTP id p3-20020a170902bd03b029011cd504c1cemr920670pls.7.1626981520493; Thu, 22 Jul 2021 12:18:40 -0700 (PDT) MIME-Version: 1.0 References: <16269611020.38ad.33188@composer.9fans.topicbox.com> <20210722191053.o75rwrxssyb74pbp@nohostname> In-Reply-To: <20210722191053.o75rwrxssyb74pbp@nohostname> From: Charles Forsyth Date: Thu, 22 Jul 2021 20:18:28 +0100 Message-ID: Subject: Re: [9fans] A few questions about sam To: 9fans <9fans@9fans.net> Content-Type: multipart/alternative; boundary="00000000000095ce4505c7bb277b" Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: a332759c-eb21-11eb-9421-94c008e224ec Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UNjBiNWMxOTI5YTYzYjA3Ny1NZWUwMGE1N2EzNGMzMzJlZGQwYTRl?= =?UTF-8?B?MmEwPg==?= 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:Mee00a57a34c332edd0a4e2a0:1:g_cCq_OkmX2av4ErQNSefuHjWHy-f4B6dI4SQVGGc9c --00000000000095ce4505c7bb277b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable >/tmp/x: ?warning: last char not newline is a warning you get when you try to write a file that doesn't end with a newline, the other message: > I sometimes get the "?newline expected" error, is provoked by a syntax error in a command in the sam (command) window. For instance, try typing qx (and a newline) it expects nl after q On Thu, Jul 22, 2021 at 8:14 PM mcz wrote: > > * Must every sam file end with a newline? I.e. even files with simple > text? > > No, I don't think sam cares. > > > I sometimes get the "?newline expected" error, > > In sam version I use, it's just a warning. The file is saved without > newline at > the end, unless I add it there. > > > which I would like to avoid if possible. >=20 > The best way to avoid the warning about the missing newline character is > to add > the missing newline character. >=20 > Some programs (POSIX world, ANSI C) assume that every line ends with > newline > character, so most editors add it for you if it's missing. Sam apparently > thinks it's good to have it, but doesn't get in your way if you don't add > it. ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T60b5c1929a63b077-Mee00a= 57a34c332edd0a4e2a0 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription --00000000000095ce4505c7bb277b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
>/tmp/x: = ?warning: last char not newline

is a warning you get when you try to write a file that doesn't end wi= th a newline, the other message:

> I sometimes get the "?newline exp= ected" error,

is= provoked by a syntax error in a command in the sam (command) window. For i= nstance, try typing
&nb= sp;  qx
(and a new= line)
it expects nl aft= er q

On Thu, Jul 22, 2021 at 8:14 PM mcz <emcze@ya.ru> wrote:
>  * Must every sam file end with= a newline? I.e. even files with simple text?

No, I don't think sam cares.

> I sometimes get the "?newline expected" error,

In sam version I use, it's just a warning. The file is saved without ne= wline at
the end, unless I add it there.

> which I would like to avoid if possible.

The best way to avoid the warning about the missing newline character is to= add
the missing newline character.

Some programs (POSIX world, ANSI C) assume that every line ends with newlin= e
character, so most editors add it for you if it's missing. Sam apparent= ly
thinks it's good to have it, but doesn't get in your way if you don= 't add it.

------------------------------------------
9fans: 9fans
Permalink: https:= //9fans.topicbox.com/groups/9fans/T60b5c1929a63b077-Md2dae2641e7441d4522a6f= f9
Delivery options: https://9fans.topicbox.com/gro= ups/9fans/subscription
= --00000000000095ce4505c7bb277b--