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, HTML_MESSAGE,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 5722 invoked from network); 5 Jan 2022 01:36:00 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 5 Jan 2022 01:36:00 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id ED70E9C70B; Wed, 5 Jan 2022 11:35:58 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 7B8529C6E5; Wed, 5 Jan 2022 11:35:34 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=pass (2048-bit key; unprotected) header.d=bsdimp-com.20210112.gappssmtp.com header.i=@bsdimp-com.20210112.gappssmtp.com header.b="PQsuTONH"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id 3DCDC9C6E5; Wed, 5 Jan 2022 11:35:32 +1000 (AEST) Received: from mail-ua1-f46.google.com (mail-ua1-f46.google.com [209.85.222.46]) by minnie.tuhs.org (Postfix) with ESMTPS id 65AC294A6B for ; Wed, 5 Jan 2022 11:35:31 +1000 (AEST) Received: by mail-ua1-f46.google.com with SMTP id o1so66379928uap.4 for ; Tue, 04 Jan 2022 17:35:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=qM5xXITCikdjhcH9a+DPIx9GUvuLW+8VcvS7JR5INg8=; b=PQsuTONHhJHDNazeTba/3m8n5EpCCNldlpcWS1fHATyDwWS4LAYvyX0OV0Dfpb1dDh j46XeXWQobUK19jYd16brNXAUVQQ4In9sDaYhjA+7wPDlLSmE/mnfuqBHKhY/i0M5hww 3rXYRc0wiRNS5eKmOvDGc47wYzJ443q3Mxpsv0sHimjng8Qnlz3urzKEYNOJekcpM1f/ ET0MM7lNJAyEo2YurIp7qnQNn0LOW9TzDKfyUHyLY7WYjH73W+wwCK1GM8L7c31rKdHU t0OZWWFS8o4jytJiEI8sl+eK2B7ER2a2AjcdFgvZoVMsW9rTKTHL09LZC+fWCzFj8LuM CI9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=qM5xXITCikdjhcH9a+DPIx9GUvuLW+8VcvS7JR5INg8=; b=3tcIHF7hzj7X2fYg18fmCbSZ8pWlxtbQEv+Nb4RFQI1W5Suo1ARPpreTNAyPmbUEOs GyVdgaQyX2JpIPh5iPf5ZsILWuRk0DO/Ik7ecPG0cDmFzrxvZ9LM4j/MkVk8q4d44IdC WV0dfCeQSZXjsh4wBbZCN43bk2oFlrPLztuIpYKRh1ii0aZSMYImXU6GkN0kkUfXUunD qxXP6LJ7KRQSfIgTw/16EUX36XG7LPj6945xRP9RLxSMvdGqOKE/4hJcjJ65bh0nmG6f vMg0dsTHGYSZNttyatWBF0HrVMrgtTd+ZYMyf710Gtf5xt5SrJxRophVxgKwfHmND6uJ IPLQ== X-Gm-Message-State: AOAM5307jS4hCL0ZrONz41ylFmMbEt9u/qbnlcLHncApYwB3/ZNVID2W GmjxYxPocBMUBr13AFYl7+eiwQY1eqA/5pmti9lT3S9gQhY= X-Google-Smtp-Source: ABdhPJzYVlQKt/R/gwv2vFuNji/DeGNLeKyhUynpQ5fwMQxj4+XN7Y/rbdS0dCebrB++hDDae1AVprOq7yuBBkgoAEM= X-Received: by 2002:a05:6102:ec2:: with SMTP id m2mr16622293vst.6.1641346530220; Tue, 04 Jan 2022 17:35:30 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Warner Losh Date: Tue, 4 Jan 2022 18:35:19 -0700 Message-ID: To: Will Senn Content-Type: multipart/alternative; boundary="000000000000e3337b05d4cbc497" Subject: Re: [TUHS] vi on v7 X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: TUHS main list Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" --000000000000e3337b05d4cbc497 Content-Type: text/plain; charset="UTF-8" On Tue, Jan 4, 2022 at 5:33 PM Will Senn wrote: > Well, hallelujah, after much travail (I've tried this every Christmas for > at least 5 years now), I have succeeded in building vi on v7 from 2bsd. Had > to patch the c compiler to enlarge the symbol table, tweak some stuff here > and there, but it finally built and installed without any errors, yay. > > Now, I just want it to do some editing, preferably in visual mode. I can > call it as ex or vi: > > # ex > : > > or > > # vi > > : > > and q will exit, yay, again! > > I have at least two problems: > 1. It's not going "full" screen, even with TERM=vt100 or TERM=ansi set > (not that I was surprised, but it'd be nice)... > What does /etc/termcap look like? > 2. If I type a for append and type something, there's no way to get back > to the : prompt (ESC doesn't seem to work). > 3. I'd like manpages (figure they might help with the above), but they're > on the tape as .u files? > > I'm hoping this triggers some, oh yeah I remember that, type responses. > > Thanks, > > Will > > > > --000000000000e3337b05d4cbc497 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Tue, Jan 4, 2022 at 5:33 PM Will S= enn <will.senn@gmail.com> = wrote:
=20 =20 =20
Well, hallelujah, after much travail (I've tried this every Christmas for at least 5 year= s now), I have succeeded in building vi on v7 from 2bsd. Had to patch the c compiler to enlarge the symbol table, tweak some stuff here and there, but it finally built and installed without any errors, yay.

Now, I just want it to do some editing, preferably in visual mode. I can call it as ex or vi:

# ex
:

or

# vi

:

and q will exit, yay, again!

I have at least two problems:
1. It's not going "full" screen, even with TERM=3Dvt100= or TERM=3Dansi set (not that I was surprised, but it'd be nice)...

What does /etc/termcap look like?
=
=C2=A0
2. If I type a for append and type something, there's no way to get back to the : prompt (ESC doesn't seem to work).
3. I'd like manpages (figure they might help with the above), but they're on the tape as .u files?

I'm hoping this triggers some, oh yeah I remember that, type responses.

Thanks,

Will



--000000000000e3337b05d4cbc497--