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 30105 invoked from network); 2 Mar 2023 15:15:39 -0000 Received: from minnie.tuhs.org (2600:3c01:e000:146::1) by inbox.vuxu.org with ESMTPUTF8; 2 Mar 2023 15:15:39 -0000 Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id CBC2C43BFE; Fri, 3 Mar 2023 01:15:34 +1000 (AEST) Received: from mail-pg1-x52d.google.com (mail-pg1-x52d.google.com [IPv6:2607:f8b0:4864:20::52d]) by minnie.tuhs.org (Postfix) with ESMTPS id EE6A143BF9 for ; Fri, 3 Mar 2023 01:15:28 +1000 (AEST) Received: by mail-pg1-x52d.google.com with SMTP id h31so9959995pgl.6 for ; Thu, 02 Mar 2023 07:15:28 -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=HWsWett/mMbRKYQjmbw52EJgr3F6uobUc/1hbytRNcA=; b=APBZ1Z9A+iMPXj9z69eKwYmdLLOJ3u6cLpayDhoRVPjXcMrmruDFe8e/Y9g/SDvrJ4 NPREIpaSZ6RNl4bbaUPeMlMgwOzeyW1tDrezDOA6B+1SuyYc8z+Km2xyxuPoYqlVaE4G yyQ52pss5WIxhAIhWIPJrUL71EQYauhx3CPvsGdTikuRJACp45wjdxQTLfeHYPpi1BnE EaxQqN8eVItKuDdQ4ocoKJrV/qR2DDTpJ5Dtf0zdbBaDQ3m2NTrMQ0dGspmXaS8ks4ZW xz0JvXxofxrJgy+BPerU1mbKeKHkCV+G5lJ6dU3MgfW8fopeUqDJdMR4Yis2DVrSr3d0 h8zQ== 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=HWsWett/mMbRKYQjmbw52EJgr3F6uobUc/1hbytRNcA=; b=DZczUFOKsfEIdKCDsINU8Pt3w4yNJ+JPN3m3wPmc+btx32lyTmYo0FCD12OS+Nr0oi USygWw7JW/RIjSr4s1ZXbK5U861RRvL4fdsjEyZJIRkMBP85zTbzGtjJwxAnCJ46iND5 Vkv5ok1dHLyxPF8IY4IjzWpFv+WYqfmR2GS8FjDqA7Gswe0zvUILMYBhleVmXD2qBKO+ J6LnKIyxerPW5b/N0Vw+Aur+JrZqdtvlCcaCOOE/VtI2lDuh0j1miPg84vJd8Ndz/knu dWkxXC1c0H3i5KVVASzpchGusTqXmOKJdC+HKHUY+gOMhrdep8tR3Kd3Gae6Y05YdR+H 9/wQ== X-Gm-Message-State: AO0yUKUVbIuo6V/IQ/9fkgs0/LQ+8jIKguhcwkdRqK9adfedXL8Y3XIq iCPVXMAmDQFobefM/UHlij2WQUah+pFnqB25CrLJcSW+EFw= X-Google-Smtp-Source: AK7set8f5MEmNFzE3TNtSAfeADXqeHjPDHZs+n6Sx8iU7YMbDO0TMVbtUztyu0qxSKf267kPu+9wfDwctIMFdW+Cyvo= X-Received: by 2002:a62:64ce:0:b0:5eb:e0e0:d650 with SMTP id y197-20020a6264ce000000b005ebe0e0d650mr3837808pfb.6.1677770127797; Thu, 02 Mar 2023 07:15:27 -0800 (PST) MIME-Version: 1.0 From: KenUnix Date: Thu, 2 Mar 2023 10:15:10 -0500 Message-ID: To: UNIX TUHS Group Content-Type: multipart/alternative; boundary="0000000000007b736d05f5ec4c69" Message-ID-Hash: I4KQ2TY2KUOHF4H7IA5IHZXPY7GVPTJE X-Message-ID-Hash: I4KQ2TY2KUOHF4H7IA5IHZXPY7GVPTJE 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: --0000000000007b736d05f5ec4c69 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Unix v7 programs to share 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/more more.c cc -o /usr/bin/pg pg.c https://drive.google.com/file/d/1LR3Q11sGADXuqA2C2c2gEKmJOrsXA8QC/view?usp= =3Dsharing https://drive.google.com/file/d/1_IUnyPwsRvYMAuqO9xb8Z8MZDbKLST70/view?usp= =3Dsharing https://drive.google.com/file/d/1t88SNnJjWIbPrGuTFfFZM-7qKhD6AS6S/view?usp= =3Dsharing Ken --=20 WWL =F0=9F=93=9A --0000000000007b736d05f5ec4c69 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Unix v7 pr= ograms to share

With all your help I thought I wo= uld share a couple of programs I had a hand in.

mo= re.c is like 'more' for Linux. more abc.txt or cat abc.txt | more o= r ls -l | more
pg.c is a 'pager' program. pg abc.txt = def.txt
cls. is a clear screen home cursor program using VT10= 0 codes. It works on
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 the console o= r telnet or putty.

All can be compiled and pla= ced in /usr/bin
=C2=A0 cc -o /usr/bin/cls cls.c
=C2=A0 = cc -o /usr/bin/more more.c
=C2=A0 cc -o /usr/bin/pg pg.c

https://drive.= google.com/file/d/1LR3Q11sGADXuqA2C2c2gEKmJOrsXA8QC/view?usp=3Dsharing<= /div>
<= a href=3D"https://drive.google.com/file/d/1t88SNnJjWIbPrGuTFfFZM-7qKhD6AS6S= /view?usp=3Dsharing" target=3D"_blank">https://drive.google.com/file/d/1t88= SNnJjWIbPrGuTFfFZM-7qKhD6AS6S/view?usp=3Dsharing

Ken


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


--0000000000007b736d05f5ec4c69--