[mod.computers.sun] SUN-Spots Digest, v4n3

Sun-Spots-Request@RICE.EDU (Scott Alexander) (01/27/86)

SUN-SPOTS DIGEST             Mondya, 27 Jan 1986            Volume 4 : Issue 3

Today's Topics:
			  Re: How to ring a Sun. (2)
	     Anti-glare screens for SUN monitor (Looking for one)
			  Public Domain GKS for Sun
			    Spreadsheets for Suns
			slight over or under scanning
			Caps Lock/Shift Lock on Sun-2?
				  OCR & Suns
		      inverse windows under suntools 2.0
			     escape sequence bug
			      Register Variables
	   "Trouble with UUCP on SUN-100; uuxqt won't run anything"
------------------------------------------------------------------------
From: trwrb!trwspp!spp1!ritter@ucbvax.berkeley.edu (Phillip A. Ritter)
Date: 24 Jan 1986 0927-PST (Friday)
Subject: Re: How to ring a Sun.

The third SCC port on a Sun-2 (and 3, I believe) is connected to the keyboard.
If a control-B is written to the keyboard the the bell is turned on.  If a
control-C is written to the keyboard then the bell is turned off.  This is why
creating a device driver for zs's minor device #3 and running the submitted
program will ring the bell.

This code is, of course, specific to the Sun-2 keyboard and does not work for
the ``vt100'' style Sun-1 keyboards or the (really old) ``klunker'' keyboards.
Nor will Sun support this method of ringing the bell (as if that really
matters).

Phil Ritter

ps For the curious: Writing a control-A resets the keyboard, control-D/E turns
on/off ``LED 1'', Control-F/G turns on/off ``LED 2'' (there are, of course, no
LED's anywhere on [or in] a Sun-2 keyboard, so what does it mean to turn them
on and off?).

-----------------------------

Date: Sun, 26 Jan 86 18:57:06 EST
From: Chris Torek <chris@mimsy.umd.edu>
Subject: Re:  how to beep a sun

Suntools should beep on Suns with feepers.  Yes, I understand the
argument about discerning just which window beeped; the problem is
that flashing instead of beeping is contrary to the very purpose
of the beep: to be noticed.  If you are not looking at the screen,
you will miss the flash; but you will not miss a beep.

The proper solution, I think, is to have the Sun do both.  The beep
will get your attention, and the flash will direct you to the
appropriate window.  This does not solve the problem of finding
which window beeped if you were on the other side of an office
partition, but it is better than what we have now.
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 1415)
UUCP:	seismo!umcp-cs!chris
CSNet:	chris@umcp-cs		ARPA:	chris@mimsy.umd.edu

-----------------------------

Date: Tue, 21 Jan 86 17:33:25 pst
From: entropy!dataio!weil@uw-june.arpa (Steve Weil)
Subject: Anti-glare screens for SUN monitor (Looking for one)

Has anyone out there found a source of anti-glare (or anti-radation)
screens which fit SUN monitors?

Steve Weil		Data I/O
entropy!dataio!weil

-----------------------------

Date: Thu, 23 Jan 86 15:50:38 EST
From: Ken Lebowitz <kjl@bbn-clxx.arpa>
Subject: Public Domain GKS for Sun

Hi,

Is anyone aware of a public domain GKS available for the Sun?

Ken Lebowitz

ARPA:	kjl@bbn-clxx.arpa or kjl@clxx.bbn.com
UUCP:	...!{decvax,ihnp4}!bbncca!kjl
CSNET:	kjl%bbn-clxx.arpa@csnet-relay

-----------------------------

Date: Fri, 24 Jan 86 11:24:40 est
From: mark@markssun.cs.umd.edu (Mark Weiser)
Subject: Spreadsheets for Suns

Anyone want to recommend a spreadsheet that well uses sunwindows? I just
got a pamphlet on the UltraCalc spreadsheet with a package of UniOps 
literature, and it looks impressive.  Price for Suns is $695 (less 25% 
educational discount),  pretty reasonable if it does what it claims.  Any Sun 
users of this or other spreadsheets out there?
	-mark

(For those of you who use the Maryland 'vc' spreadsheet as modified by me,
I have a version which knows about SIGWINCH.  But vc is of pretty limited
power by modern spreadsheet standards (no multiple windows, no linking
of sheets, no sorting, no graphing, no macros,...), and I've started feeling
the need for something better.)

-----------------------------

Date: Sun, 26 Jan 86 23:47:00 est
From: mark@markssun.cs.umd.edu (Mark Weiser)
Subject: slight over or under scanning

I have a Sun/50 monitor which slightly overscans at the top and bottom,
and slightly underscans at the sides.  The slightness is not enough to
make the thing useless, but is bad enough that I cannot put a window at the
top and read its tool stripe.

Calling sun just gets me the message that I should send the monitor back
(we have that kind of maintenance).  Yet this is such a minor problem
it would sure be convenient to solve it here.  Suggestions?

When our hard manager goes to Sun maintenance school is this one of the
things they will teach him?
-mark

-----------------------------

Date: Thu, 23 Jan 86 17:16:14 pst
From: well!rlw@lll-crg.ARPA (Bob Weissman)
Subject: Caps Lock/Shift Lock on Sun-2?
Keywords: Question Keyboard Help

Can anyone tell me how to create a Caps Lock and/or Shift Lock
key on the Sun-2 keyboard?  Given that (a) the keys don't physically
exist and (b) sun tools require identifiers like PANEL_VALUE_DISPLAY_LENGTH,
'twould be a boon indeed to have the lock keys in software.

Thanks,
	Bob Weissman
	!well!rlw
	G.Weissman@SU-SCORE.ARPA

-----------------------------

Date: Wed, 22 Jan 86 12:56:26 pst
From: Ed Bryant <ed%sfulccr.cdn%ubc.csnet@CSNET-RELAY.ARPA>
Subject: OCR & Suns

I am interested in hearing from any Sun user who has hooked up an OCR machine
(Kurzweil, ...) to a Sun-2 (or -3). I would like to know about interfaces
(serial, parallel, or bus), performance, etc. We have a group here who
might use a Sun for a large database project.

Ed Bryant
Laboratory for Computer and Communications Research
Simon Fraser University
ed%sfulccr.cdn@ubc.csnet

-----------------------------

Date: Fri, 24 Jan 86 11:46:46 MST
From: reading@utah-cs.ARPA (Dan L. Reading)
Subject: inverse windows under suntools 2.0

The following pertains to a monochrome display:

I would like to know if it is possible to start a shelltool up with
the window inverted. I know about starting suntools with the -i option,
but that inverts the all the windows. I would like to have some windows
white on black and other windows black on white.

Using the -Wb and -Wf flags the best I can do is invert the border of
a window but not the inside.

-----------------------------

From: Richard Tobin <richard%aiva.edinburgh.ac.uk@cs.ucl.ac.uk>
Date: Mon, 20 Jan 86 19:50:26 GMT
Subject: escape sequence bug

First, thanks to those who replied to my questions on ringing the bell
and using ttysw_input.

Second, can anyone help me with this problem: if a terminal subwindow
changes size while an escape sequence is being processed, all the characters
in the window get inserted in the sequence.

The following illustrates the problem: (nb use the Bourne shell; ^[ is escape)

$ clear

$ echo some text
some text
$ echo -n '^[]labc'; sleep 5; echo 'def^[\'

This should produce a window heading abcdef, and indeed it does normally,
*but* if you change the window size during the 'sleep 5', the heading looks
like this:

abc$ echo some textsome text$ echo -n '^[]labc'; sleep 5; echo 'def^[\'def

Presumably what's happening is that ttysw->ttysw_stringop routine gets called
for each character when the screen is redrawn, without waiting for any
existing escape sequence to finish.

Richard Tobin,                      JANET: R.Tobin@uk.ac.edinburgh             
AI Applications Institute,          ARPA:  R.Tobin@uk.ac.edinburgh@ucl-cs.arpa 
Edinburgh University.               UUCP:  ...!ukc!edinburgh.ac.uk!R.Tobin

-----------------------------

Date: 27-Jan-86 08:17:39-PST
From: gerolima@FORD-WDL1
Subject: Register Variables

About a few months ago, a program of mine mysteriously crapped out
(I can hear the theremins (sp?) going, already!)...there appeared to
be no reason for this. 

Just for fun, I changed some REGISTER variables to the generic kind.


			POOF!

My program worked. 

Now, I thought it merely a coincedence, and forgot about it.
However, it happened to someone else, yesterday...

Is it my imagination, or do REGISTER variables act flakey?



	

"Eeez next...		Mark Gerolimatos
SOFTVARE!....		ARPA:gerolima@ford-wdl1.arpa
verrrry niiice..."	UUCP: {sun,fortune}!wdl1!gerolima

-----------------------------

Date: Mon, 20 Jan 86 14:15:33 est
From: brad%gcc-milo.UUCP@harvard.HARVARD.EDU (Brad Parker)
Subject: "Trouble with UUCP on SUN-100; uuxqt won't run anything"

I've sent this request out before, but with no good responces. This time I'll
include everything I've tried - please don't suggest the obvious (such as
checking L.cmds)

I have a sun-100 running V1.3 software. I can uucp files back and forth with
our BSD4.2 (Mt. Xinu) VAX with no problem, but rmail and rnews refuse to
work on the sun. I've tried playing with L.cmds, I've set all the ownerships
and permissions correct (I hope) and still nothing. Here is what I can get on
the console:

in LOGFILE: "root gcc-mil (1/19-22:36-133) brad XQT DENIED (rmail brad)"

To test I send 10 pieces of mail from the VAX to the sun, run uucp manually on
the sun, and kill the uuxqt just as it starts up automagically. After a bit of
clean up, I run uuxqt as root, with -x9 (i.e. cd /usr/lib/uccp; uuxqt -x9)

The console dumps out the contents of L.cmds (which contains rmail) and
the interesting lines are:

<dump of L.cmds>
...
F <some uucp file name>
I <some uucp file name>
C rmail brad
fin - /usr/spool/uucp/D.gcc-milB0pp2, fout - /dev/null, sysout -
gcc-sun, user - brad
cmd - rmail brad
bad command
...
<more of the same, for each X. file>

The interesting part is that in the source reads ("bad command %s", pre)
or similar. I only had time for a quick peek on a friend's system; I couldn't
spend the time to really figure out the possible failure modes to cause this.
(strings confirms this on my system)

Any idea what is causing this? Please don't suggest source code changes,
we're a binary only licence. If this is a code bug, I'll send hate mail
to sun ;-) (they've actually have been very nice!)

Thanks for any help.

brad parker
general computer
harvard!gcc-milo!brad

-----------------------------

End of SUN-Spots Digest
***********************