9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: David Hogan dhog@lore.plan9.cs.su.oz.au
Subject: Plan 9 on Sun IPC + cgthree?
Date: Tue,  8 Apr 1997 06:12:34 +1000	[thread overview]
Message-ID: <19970407201234.F8cgg3jMPpWY4uF0syGYw3KkDanjFcuQdYB1PziLSNg@z> (raw)

Speaking of hacks to the ss confinit(), here is a patch to enable
the use of a serial console on a sparcstation which has a monitor.
The comment explains what you have to do to take advantage of it.
You probably also need to say ``setenv input-device ttya'' and
``setenv output-device ttya'' to make the boot monitor use the
serial console...

diff /sys/src/9/ss/main.c ...
321a322
> 	int montype;
332a334
> 	montype = ((uchar*)va)[0x1f];
340,343c342,345
< 	 * If we find a frame buffer, we always use it as a console
< 	 * rather than the attached terminal, if any.  This means
< 	 * if you have a frame buffer you'd better have a builtin
< 	 * keyboard, too.
---
> 	 * If we find a frame buffer, we use it as a console
> 	 * rather than the attached terminal (if any), except if
> 	 * the console is set to ttya in the nv-ram.  Type ``10 1f eeprom!''
> 	 * in new command mode to set this...
344a347
> 	if (montype != 0x10)		/* ttya */




             reply	other threads:[~1997-04-07 20:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-04-07 20:12 David [this message]
  -- strict thread matches above, loose matches on Subject: below --
1997-04-14 14:20 Andrew
1997-04-07 13:24 Brian
1997-04-07  9:45 Andrew
1997-04-07  5:03 forsyth

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=19970407201234.F8cgg3jMPpWY4uF0syGYw3KkDanjFcuQdYB1PziLSNg@z \
    --to=9fans@9fans.net \
    /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).