[TUHS] TERM for v8
clemc at ccc.com
Sun Nov 5 15:44:06 AEST 2017
This is a feature of vi. If the baud rate is perceived to be at or less than a specific value (1200 IIRC) the screen is set to 8 lines at a time to keep repainting low.
This was useful on dialup lines.
Since you have a virtual serial port the baud rate has no bearing other than upper level applications trying to make inferences about the environment such as this.
If you set the baud rate to 19200 or 38400 (EXTA and EXTB in the virgin V7 code base) those were the fastest serial speeds in those days. So any SW should infer the ‘best’ behavior.
Sent from my PDP-7 Running UNIX V0 expect things to be almost but not quite.
> On Nov 4, 2017, at 9:34 PM, William Corcoran <wlc at jctaylor.com> wrote:
> I had a similar issue with BSD 2.11.
> So, I hope this helps.
> You can use vt100. However, make sure your baud rate is 9600.
> stty 9600
> (SIMH makes the virtual adjustment so you don’t need to worry about SIMH settings.)
> I am using BSD 2.11 on a Mac with SIMH. I noticed the console port would have a short window. But, logging into dz ports were fine. Setting the console baud rate to match the dz11 settings fixed the issue.
> So, I suspect either a setting in vi that changes the window size on slow devices or it’s hard coded somewhere. I will take a look.
> Bill Corcoran
> On Nov 5, 2017, at 12:03 AM, Will Senn <will.senn at gmail.com> wrote:
>> What should I set TERM to on V8 to get the best results on my Mac Terminal. If I set it to vt52, vt100, or vt132, only 8 lines appear at the bottom of the terminal window (of about 24 lines):
>> "passwd" 20 lines, 770 characters
>> The 8 line window works about like I'd expect - the arrow keys move up and down until the screen needs to scroll, then B's and A's show up. I'm used to that on BSD. Using the j and k keys work better and when I scroll down enough lines, the lines move up to fill the whole terminal window and the file can be edited in the full window. Is there a better TERM setting that will get 24 lines to show up on file open?
>> GPG Fingerprint: 68F4 B3BD 1730 555A 4462 7D45 3EAA 5B6D A982 BAAF
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the TUHS