The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: Phil Budne <phil@ultimate.com>
To: will.senn@gmail.com
Cc: tuhs@minnie.tuhs.org
Subject: Re: [TUHS] vi on v7
Date: Wed, 05 Jan 2022 12:34:52 -0500	[thread overview]
Message-ID: <202201051734.205HYqeq042817@ultimate.com> (raw)
In-Reply-To: <102db625-b2a0-935b-7424-a183ae64fb65@gmail.com>

Will Senn wrote:
> so then I tryed vt50 and vt52 modes...

xterm should have VT52 emulation, at least the man page on my system says:
>        o   VT52 emulation is complete.

But looking at CTRL+{LEFT,MIDDLE,RIGHT}_CLICK menus didn't show a toggle.

The VT100 sequence to enter VT52 mode seems to be <ESC>[?2l
you should be able to send it with echo.

Then <ESC>H<ESC>J should clear the screen.

NOTE! The ANSI command prefix <ESC>[ will put a real VT52 into "hold
screen" mode where you need to press some (scroll?) button to allow
new lines to be added at the bottom of the screen.  Ask me how I know!

phil

  parent reply	other threads:[~2022-01-05 17:35 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-05  0:32 Will Senn
2022-01-05  1:35 ` Warner Losh
2022-01-05  1:36   ` Warner Losh
2022-01-05 22:48     ` Will Senn
2022-01-05 15:26   ` Will Senn
2022-01-05 15:44     ` Clem Cole
2022-01-05 15:50       ` Clem Cole
2022-01-05 17:12         ` Grant Taylor via TUHS
2022-01-05 17:28           ` Clem Cole
2022-01-05 17:34     ` Phil Budne [this message]
2022-01-05 18:22       ` Will Senn
2022-01-05 19:02         ` Warner Losh
2022-01-05 20:13           ` Will Senn
2022-01-06  1:20       ` Humm
2022-01-05  1:40 ` Clem Cole
2022-01-06  2:18 ` Jeremy C. Reed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202201051734.205HYqeq042817@ultimate.com \
    --to=phil@ultimate.com \
    --cc=tuhs@minnie.tuhs.org \
    --cc=will.senn@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).