From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 8 Apr 1997 06:12:34 +1000 From: David Hogan dhog@lore.plan9.cs.su.oz.au Subject: Plan 9 on Sun IPC + cgthree? Topicbox-Message-UUID: 5622648e-eac8-11e9-9e20-41e7f4b1d025 Message-ID: <19970407201234.F8cgg3jMPpWY4uF0syGYw3KkDanjFcuQdYB1PziLSNg@z> 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 */