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=-0.8 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 30083 invoked from network); 2 Mar 2023 00:44:26 -0000 Received: from minnie.tuhs.org (2600:3c01:e000:146::1) by inbox.vuxu.org with ESMTPUTF8; 2 Mar 2023 00:44:26 -0000 Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id 7F690434AF; Thu, 2 Mar 2023 10:44:23 +1000 (AEST) Received: from mail-pj1-x102f.google.com (mail-pj1-x102f.google.com [IPv6:2607:f8b0:4864:20::102f]) by minnie.tuhs.org (Postfix) with ESMTPS id 9098F434AA for ; Thu, 2 Mar 2023 10:44:19 +1000 (AEST) Received: by mail-pj1-x102f.google.com with SMTP id p3-20020a17090ad30300b0023a1cd5065fso1113372pju.0 for ; Wed, 01 Mar 2023 16:44:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=JtfwlpYegUHvPaZQlXQm3dQK9JXIh//v0BSyQQplkUM=; b=jsTK0PPLWPrFyQMix9QMd7EYdA1FxHq3dXOV6c/IMiLhplZ2jcfrNuSGoPlfuxFCFd M2eGqq4jOHYwoQQpr9Ir/YY+0RNjzowEmMHjo+dQD1HVdKy+MwrgmKew8g54lZ3P3Bth mvkpa0VWy3MJOQFr0uZxAsk9uUdvV9jzxI5UTg6wkcv5p7+ZUbFFbk3zYMbwc2akpAOx wwR3FOffpLBQ9dZN1L+Biw5+/EYEqVwK0bwx6+rejrY8pcbptjqDVhxPw3KcGpwkVZk3 Rz1ADRPq1RigR0gUC1D+i0oVSn86UwSi7/n0HO7i2XnrXJ4FKmlKrlFkpqi5LOWC3aqh bq7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=JtfwlpYegUHvPaZQlXQm3dQK9JXIh//v0BSyQQplkUM=; b=LXqvvXu1ijg1z+S3j75KbHIpRVXks0isOE6zGdu0A2bhc+QoaLEitnPdmDVVnmwVyt sr+A7iOA3OktKG0I0UkoYbJlMPSl4mbRrOtJ2hlAnilHxLGKwsC+TCwKKh6G8405aiJo J0w9D5SORS9Y4aXfLTl7BTRtmSqiuI4NfhFYLWpPdY3ZfM4sxHLgRJPZkS7qTAgG9AaV 3UjZXlaX0m5LXptSq9PGbMXAVLwwlphq+uBpbmbu6PN+Dmc4SnafLM+1Fak4gIv42rQD fA7C2Mhw6/KmAmMxT5zvNYKsHqWUGHkVBa4FAhruhcsmuCeSSUWA/qAbDkIeAm/1H3xj MQ1Q== X-Gm-Message-State: AO0yUKW1atWxQ/dpaWret3/2w5w4chEJsSQqijbk7mEZe19miclbSI2b 5pxCKsWbjhbT/MklosQAV85Ta697GBZ7cNURT07zpuxH X-Google-Smtp-Source: AK7set+gufTBoPZhbnRSP8POQakc6mT4mBmLNJjQPlhfX7UR7+pV67HVHXnWRkY8uk+pkTVujuaTC5kmx8UcGK8FCB4= X-Received: by 2002:a17:902:6845:b0:19c:d14b:ee20 with SMTP id f5-20020a170902684500b0019cd14bee20mr3115902pln.8.1677717858673; Wed, 01 Mar 2023 16:44:18 -0800 (PST) MIME-Version: 1.0 From: KenUnix Date: Wed, 1 Mar 2023 19:44:01 -0500 Message-ID: To: UNIX TUHS Group Content-Type: multipart/alternative; boundary="000000000000ffe90705f5e02014" Message-ID-Hash: UD24DFBYA2LPEKHLNQRRXQZYBKXJXOWL X-Message-ID-Hash: UD24DFBYA2LPEKHLNQRRXQZYBKXJXOWL X-MailFrom: ken.unix.guy@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [TUHS] Unix v7 programs to share List-Id: The Unix Heritage Society mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --000000000000ffe90705f5e02014 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable With all your help I thought I would share a couple of programs I had a hand in. more.c is like 'more' for Linux. more abc.txt or cat abc.txt | more or ls -l | more pg.c is a 'pager' program. pg abc.txt def.txt cls. is a clear screen home cursor program using VT100 codes. It works on the console or telnet or putty. All can be compiled and placed in /usr/bin cc -o /usr/bin/cls cls.c cc -o /usr/bin/pg pg.c cc -o /usr/bin/more more.c More to come. Enjoy. Ken --=20 WWL =F0=9F=93=9A --000000000000ffe90705f5e02014 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

With all your help I thought I would s= hare a couple
of programs I had a hand in.

more.c is like 'more' for Linux. more abc.txt or cat abc.txt | m= ore or ls -l | more
pg.c is a 'pager' program. pg abc= .txt def.txt
cls. is a clear screen home cursor program using= VT100 codes. It works on
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 the cons= ole or telnet or putty.

All can be compiled an= d placed in /usr/bin
=C2=A0 cc -o /usr/bin/cls cls.c
= =C2=A0 cc -o /usr/bin/pg pg.c
=C2=A0 cc -o /usr/bin/more more.c

More to come. Enjoy.

K= en

--
WWL =F0=9F=93=9A=


--000000000000ffe90705f5e02014--