The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: tih@hamartun.priv.no (Tom Ivar Helbekkmo)
Subject: [TUHS] Pre-v6 images and 2.11BSD patches
Date: Thu, 17 Dec 2015 16:40:39 +0100	[thread overview]
Message-ID: <m2fuz1w0aw.fsf@athene.hamartun.priv.no> (raw)
In-Reply-To: <566C040C.6040705@update.uu.se> (Johnny Billquist's message of "Sat, 12 Dec 2015 12:25:00 +0100")

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1767 bytes --]

Johnny Billquist <bqt at update.uu.se> writes:

> Yes, I did 448. Various bits and pieces that were fixed there, but
> unfortunately I haven't managed to reach Steve to get it officially
> sanctioned.

I've tried to reach him from time to time, as well.  Hope he's OK.

> . Made console 8-bit clean

I did that somewhat differently, when I started running 2.11BSD with a
console terminal that got multiplexed between different systems.  Here's
my version, which allows you to change parity on the console:

*** usr/src/sys/pdp/cons.c.ORIG	Sun May 11 11:21:01 1997
--- usr/src/sys/pdp/cons.c	Tue Dec  2 17:59:27 2014
***************
*** 62,68 ****
  	if ((tp->t_state&TS_ISOPEN) == 0) {
  		ttychars(tp);
  		tp->t_state = TS_ISOPEN|TS_CARR_ON;
! 		tp->t_flags = EVENP|ECHO|XTABS|CRMOD;
  	}
  	if (tp->t_state&TS_XCLUDE && u.u_uid != 0)
  		return (EBUSY);
--- 62,68 ----
  	if ((tp->t_state&TS_ISOPEN) == 0) {
  		ttychars(tp);
  		tp->t_state = TS_ISOPEN|TS_CARR_ON;
! 		tp->t_flags = ANYP|ECHO|XTABS|CRMOD;
  	}
  	if (tp->t_state&TS_XCLUDE && u.u_uid != 0)
  		return (EBUSY);
***************
*** 163,170 ****
  	c = getc(&tp->t_outq);
  	if (tp->t_flags & (RAW|LITOUT))
  		addr->dlxbuf = c&0xff;
! 	else
  		addr->dlxbuf = c | (partab[c] & 0200);
  	tp->t_state |= TS_BUSY;
  out:
  	splx(s);
--- 163,174 ----
  	c = getc(&tp->t_outq);
  	if (tp->t_flags & (RAW|LITOUT))
  		addr->dlxbuf = c&0xff;
! 	else if ((tp->t_flags & (EVENP | ODDP)) == EVENP)
  		addr->dlxbuf = c | (partab[c] & 0200);
+ 	else if ((tp->t_flags & (EVENP | ODDP)) == ODDP)
+ 		addr->dlxbuf = c | ((partab[c] & 0200) ^ 0200);
+ 	else
+ 		addr->dlxbuf = c;
  	tp->t_state |= TS_BUSY;
  out:
  	splx(s);


-tih
-- 
Elections cannot be allowed to change anything.  --Dr. Wolfgang Schäuble



  reply	other threads:[~2015-12-17 15:40 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.17.1449898266.27456.tuhs@minnie.tuhs.org>
2015-12-12 11:25 ` Johnny Billquist
2015-12-17 15:40   ` Tom Ivar Helbekkmo [this message]
     [not found] <mailman.1.1449901013.3292.tuhs@minnie.tuhs.org>
2015-12-12 11:31 ` Johnny Billquist
2015-12-12  4:54 Peter Jeremy
2015-12-12  5:30 ` Warren Toomey
2015-12-12  6:25   ` Random832
2015-12-12  6:33     ` Warren Toomey
2015-12-12  8:28       ` Random832
2015-12-12  7:26   ` Peter Jeremy
2015-12-12  8:20     ` Warren Toomey
2015-12-12  5:33 ` Warren Toomey
2015-12-12  6:01   ` William Pechter
2015-12-12  6:16     ` Random832
2015-12-12  6:17     ` Random832
2015-12-12  6:38     ` Warren Toomey
2015-12-12  7:11       ` Jacob Ritorto
2015-12-12  5:44 ` John Cowan
2015-12-16 21:56   ` Tom Ivar Helbekkmo

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=m2fuz1w0aw.fsf@athene.hamartun.priv.no \
    --to=tih@hamartun.priv.no \
    /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).