HDTenEightyP/NetNews huggingface dataset:
From: lupe@ukw.uucp (Lupe Christoph)
Newsgroups: comp.sys.sun.misc
Subject: Re: Can you substitute a tablet for the mouse in OpenWindows?
Keywords: sunos, mouse, tablet, openwindows, x11, streams
Date: 17 Apr 92 09:47:38 GMT
Organization: cic

schroder@BBN.COM (Ken Schroder) writes:


>Under SunOS 4.1.1 running OpenWindows or X11, is there a way to substitute
>a data tablet for the mouse?  I believe I can write a streams module that
>filters tty characters from the table and generates virtual user interface
>events.

This is exactly what the standard "ms" module does, except it does not
support your tablet. And it generates relative locator events.

>The problem I see, from looking at the X11R4 sources, is that it only handles
>relative location events from the mouse device.  Our tablet is mounted on a
>projection screen TV so we need absolute positions to keep the position
>from drifting if some data are dropped.

Open Windows does handle absolute events.

>Has anyone already done part or all of this and have device or code to offer?

Talk to Sun Consulting. They have a modified mouse STREAMS module that supports
a Summagraphics tablet (CONSULT-SUMMA). You get the source code for this.
It is relatively straightforward to change the decoding part for the
incoming data bytes to anything your tablet might provide.

I've recently done a touchscreen for Sun Germany on a subcontract.
-- 
| ...!unido!ukw!lupe  (German EUNet, "bang")     |  Disclaimer:            |
| lupe@ukw.UUCP       (German EUNet, domain)     |  As I am self-employed, |
| suninfo!alanya!lupe (Sun Germany)              |  this *is* the opinion  |
| Res non sunt complicanda praeter necessitatem. |  of my employer.        |
From: jh@cadre.com (Joe Hartley)
Newsgroups: comp.sys.sun.misc
Subject: Re: No bootlegging hurts Unix
Date: 13 Apr 92 13:16:13 GMT
Article-I.D.: fripp.1992Apr13.131613.26079
Reply-To: jh@cadre.com
Organization: Cadre Technologies Inc.

In article ULJ@ferranti.com, peter@ferranti.com (Peter da Silva) writes:
>In article <1992Apr8.141903.3507@sci34hub.sci.com> gary@sci34hub.sci.com (Gary Heston) writes:
>> Agreed. I think most software is overpriced, though, so if I can't
>> afford it, I don't have it. I can't justify $500 for a C compiler
>> to play with at home.
>
>So use a cheaper one at home. I don't know about your PC, but for the Amiga
>you have the choice of PDC, DICE, GCC, and Lattice 3.3.
>
>The problem with UNIX is these cheaper products don't seem to exist.
>-- 

Don't forget gcc, the GNU C compiler, which is available for UNIX, the Amiga 
and Intel 386 and up boxes.  It's free, and it works!


===============================================================================
Joe Hartley          | jh@cadre.com  -  Whenever you find that you are on the
Cadre Technologies   | side of the majority, it is time to reform. - M. Twain
222 Richmond St.     | --------------------------------------------------------
Providence, RI 02903 | Overman 1st Class - the Kilgore Trout Memorial Clench
(401) 351-5950 x266  |            of the Church of the SubGenius  
===============================================================================
Newsgroups: comp.sys.sun.misc
From: jim@ferkel.ucsb.edu (Jim Lick)
Subject: Re: I/O bottlenecks (was Re: New viking sparc processor?)
Organization: University of California, Santa Barbara
Date: Sun, 12 Apr 1992 03:37:14 GMT

In <kucm7tINNj38@neuro.usc.edu> merlin@neuro.usc.edu (merlin) writes:
>No one is offering inexpensive 1152 x 900 pixels for PC's

Wrong.  Many SVGA boards with 1 meg of RAM can do 1152x900 with the
free X386 server.  I've seen such boards for as low as $105.  Mine
cost $135 a year ago.  The monitor is the big cost though.  (X386
allows a virtual root window of 1152x900 all of which is stored on
the video board (so panning is fast) if your monitor can't do high
resolutions.)

>Try getting a decent ethernet card (i.e. wd8003ebt / wd8013ebt) with
...

>Something (probably ethernet hardware and video card choice -- maybe 
>some tuning parameters [i.e. for the wd8003e you must set wsize=4096 
>and rsize=4096 on NFS mount requests or the more common 8192 byte NFS 
>packets will overrun the low end WD8xxx card's buffer]) went wrong

I have a wd8013 card and had to set the NFS rsize and wsize down to
2048 bytes before I got decent performance.  Still was quite slow
compared with Sun standards.

                            Jim Lick		       
Work: University of California	| Play: 6657 El Colegio #24
      Santa Barbara		|       Isla Vista, CA 93117-4280
      Dept. of Mechanical Engr. |	(805) 968-0189 voice/msg
      2311 Engr II Building     | "when you gonna make up your mind?
      (805) 893-4113            |  when you gonna love you as much
      jim@ferkel.ucsb.edu	|  as i do?" -Tori Amos
From: wisner@steller.ims.alaska.edu (Bill Wisner)
Newsgroups: comp.sys.sun.misc
Subject: Re: /etc/resolv.conf can't work for non-YP machines
Date: 11 Apr 92 21:37:37 GMT
Article-I.D.: raven.1992Apr11.213737.12501
Organization: Trailing Edge Technologies, Fairbanks AK

skhuang@csie.nctu.edu.tw (Shih-Kun Huang) writes:

>I can setup our SUNs to know DNS by setting the YP 
>master server with "-B" option. And as I know, you
>can just edit /etc/resolv.conf to add your domain name
>server and obtain DNS. It works for RS-6000 and IRIS, but
>not for SUNs. Does anyone know the reason ?

Sun is brain dead.

Apparently, Sun prefers to pretend that the Internet doesn't exist,
and that all of its customers use Sun machines in a small local-area
network environment.  There are several things about the way SunOS is
shipped that makes it unsuitable for use on the Internet, and this is
one of them.

The only official, supported way to get DNS support on a Sun is to run
NIS and use the -b flag to makedbm on the NIS server.  This means that
Internet sites that don't wish to run NIS are essentially screwed.

The unofficial, unsupported, and in my way superior way to get DNS
support on a Sun is to incorporate the DNS resolver routines into the
systemwide shared C library.  See recent articles in
comp.sys.sun.admin for more on this.

Bill Wisner <wisner@ims.alaska.edu> Gryphon Gang Fairbanks AK 99775
From: demuth@hugo.informatik.uni-dortmund.de (Thomas Demuth)
Newsgroups: comp.sys.sun.misc
Subject: Adress Traces
Date: 13 Apr 92 08:40:39 GMT
Organization: University of Dortmund, Germany
NNTP-Posting-Host: hugo

Hello !

Is there anybody who has experiences with trace driven simulation
on a sparcstation ?
For my studies i need adress-sequences of any processes (compiler-
runs, etc).
I want to test alternative memory systems for a sparc processor and so
i want to get adress traces of programs.

Who can help me ?

Thanks in advance !


Thomas Demuth
University of Dortmund
Germany
From: robeson@bach.udel.edu (Scott M Robeson)
Newsgroups: comp.sys.sun.misc
Subject: Re: What printer for a Sparcstation?
Date: 10 Apr 92 14:09:06 GMT
Organization: University of Delaware

In article <152@ftms.UUCP> brown@ftms.UUCP (Vidiot) writes:
...
>While all of the above printers can be connected to the IPX, the IPX is
>pretty dumb when it comes to printing plain text on PostScript printers,
>like it can't.  In order to do that, you need an ASCII to PostScript filter
>of some sort.  The HPLJII will except plain text and print it, since HPPCL
>does that just fine.
>

How about connecting other UNIX workstations and/or PC's to this
printer?  I would imagine that the SPARCprinter might have problems
with that while the HP LJIII would do ok.  So how does one go
about connecting both a SUN and a PC to the same printer (a 
HP LJIII) for instance?


-- 
Scott Robeson            |   Internet:  robeson@brahms.udel.edu
Department of Geography  |   Bitnet:     geo24674@udelvm.bitnet
University of Delaware   |   Phone:                302-831-8678
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
From: barmar@think.com (Barry Margolin)
Newsgroups: comp.sys.sun.misc
Subject: Re: kvm routine and architecture
Date: 14 Apr 1992 22:22:41 GMT
Organization: Thinking Machines Corporation, Cambridge MA, USA
NNTP-Posting-Host: telecaster.think.com
Keywords: kvm architecture

In article <1992Apr14.172028.15499@rdg.dec.com> navarro@azur.enet.dec.com (Jean Navarro) writes:
>I am developping a prog on a SPARC station IPX 4.1.1-IP 4 ,this prog
>is retrieving process information by reading the kernel with kvm routines
>kvm_getproc, kvm_nextproc, kvm_setproc (3K) .
>
>due to the use of these routines ,can someone explain if the resultant BINARY 
>exec will run on systems having :
>	-The same application architecture (sun4)
>	-The same KERNEL architecture only (sun4c)

It depends on the parts of the structure that you reference.  Sun and
Solbourne appear to put all the architecture-dependent stuff at the end of
the proc structure, so if you only reference the parts that are common to
all the architectures then your binary should work on all SunOS systems.

You can create dependencies, though, if you do anything that references the
size of the proc structure, such as declaring an array of them or using
"sizeof (proc)" in a malloc() call.  There are members that are included in
certain architectures using #ifdef, and if you compile on a different
architecture you'll get a different size (what's needed is a
kvm_proc_size() call, to return the size of the proc structure on the
current system).

>How can i check this in the installtion scripts ? (uname ..arch ...)

There are two ways to deal with programs that differ among architectures.
The best way is probably to mimic Sun's /usr/kvm approach, using an
architecture-specific symbolic link or mount point named /usr/local/kvm.

We don't have our /usr/local set up that way, and it seemed like a lot of
work for the one local program we have that's sensitive to the architecture
(top).  I modified the Makefile to install the binary as
top.`uname -m`.`uname -r`.  Top itself is a shell script that invokes the
architecuture-specific binary.
-- 
Barry Margolin
System Manager, Thinking Machines Corp.

barmar@think.com          {uunet,harvard}!think!barmar
From: calufrax@fezzik.UUCP (Ty Sarna)
Newsgroups: comp.sys.sun.misc
Subject: Re: can your 486 do this? (New viking sparc pro
Date: 15 Apr 92 18:43:13 GMT
Reply-To: calufrax@fezzik.UUCP
Organization: Private node, San Antonio, TX

In article 11573@exu.ericsson.se, exudnw@exu.ericsson.se (Dave Williams) writes:
>Y.A.D.P. (Yet Another Data Point):
>
>Sun 4/690MP 4cpu light load, 8 Seagate Elite IPI`s on 2 IPI controllers.
>
>bigun# time dd bs=10240k count=1 if=/dev/id001d of=/dev/null
>1+0 records in
>1+0 records out
>0.0u 4.0s 0:04 95% 0+4488k 185+2io 184pf+0w
>bigun# uptime
>  8:05pm  up 6 days,  5:20,  0 user,  load average: 0.10, 0.02, 0.00
>bigun# 

Just For the heck of it:

Sun 3/60, SunOS 4.1, medium load, CDC 94171-344 drive

fezzik# time dd bs=1024K count=1 if=/dev/sd0g of=/dev/null
1+0 records in
1+0 records out
0.0u 5.8s 0:19 0+2416k 281+1io 282pf+0w
fezzik# uptime
  1:25pm  up 20:21,  4 users,  load average: 0.41, 0.23, 0.03
From: may@Apple.COM (Patrick May)
Newsgroups: comp.sys.sun.misc
Subject: Xt programming, moving code from 3/60 to 4/x
Date: 10 Apr 92 21:53:45 GMT
Distribution: usa
Organization: Apple Computer Inc., Cupertino, CA

Hi,

     I have a potential client who wants me to write an Xt program that
can be run from a shelltool window.  First off, should this be a problem?

     Being a frugal, not-currently-cash-flush, independent, I'd like to
do this development on the least expensive Sun machine possible.  Is there
any problem with doing the development on a 3/60 (with, I guess, SunOS
4.0.3) and then moving the code to a 4/330 (I think)?  Can X11.R5 run
under SunOS 4.0.3?  Am I asking the wrong questions?  Am I asking for
trouble?

Thanks,

Patrick May
------------------------------------------------------------------------
                              "A contract programmer is always intense."
may@apple.com
From: naiming@eng.umd.edu (Naiming Shen)
Newsgroups: comp.sys.sun.misc
Subject: How come my 'lpstat -t' caused "Segmentation Error"?
Date: 7 Apr 92 15:47:19 GMT
Organization: Electrical Engineering, University of Maryland


My local sparcprinter sometime does not print. When I use 'lpq' to
look at the queue, it says "waiting lp to be available, and a list
of jobs submitted". If I use "lpstat -t", it prints something then
says "Segmentation Error", and dumped the core. Can someone tell me
how the  'lpstat -t' can cause this kind of problem? thanks in
advance.

Naiming,
Newsgroups: comp.sys.sun.misc
From: chrisr@qdpii.comp.qdpi.oz.au (Chris Ryan)
Subject: Lisp Stat
Organization: Qld Dept Primary Industries
Date: Wed, 15 Apr 1992 06:23:48 GMT

I've got some people at my site here looking for something called 
Lisp Stat.  Now from the little information I've extracted from them
I've found that it's some form of statistical package, and that the
University of Minnesota is supposed to have written it.

Can anyone out there give me any clues on this, and possibly where to
find it, if this exists?

Also I'm after any info on statistical and graphing packages available
for the Sun under OW3 that have some form of host language interface,
preferably 'C' routines.

As I am having a holiday for the next few days, could anyone with info
send it to me via email?

Thanks

-- 

Chris Ryan (chrisr@qdpii.comp.qdpi.oz) | I Don't Remember, I Don't Recall,
Brisbane Qld Oz                        | I Ain't Got No Memory of Anything 
(Fidonet: 3:640/297.5)                 | at all...
From: barmar@think.com (Barry Margolin)
Newsgroups: comp.sys.sun.misc
Subject: Re: Soft/background NFS mounts
Date: 7 Apr 1992 19:57:03 GMT
Organization: Thinking Machines Corporation, Cambridge MA, USA
NNTP-Posting-Host: telecaster.think.com
Keywords: nfs mount

In article <rbg.702575354@solar> rbg@solar.nova.edu (Bob Goldfarb) writes:
>I think I am misunderstanding the concept of soft and background NFS
>mounts in SunOS 4.1.1. The manual seems quite terse on the matter.

Get the book "Managing NFS and NIS", by Hal Stern, published by O'Reilly &
Associates, ISBN 0-937175-75-7.

>Here's what I am trying to do: have an NFS mount sun-to-sun.  If the
>server is down while the client is attempting to mount, the client's
>mount request is placed in background and the system continues on with
>its business (this is especially nice during boot). Perhaps after a
>period of time, mount would give up and syslogd would log the error,
>and maybe a mail message would be sent to root.

Except for the "give up" part, this is what a background mount does.  As
you said, it's especially nice during boot.  A related option is "noauto",
which indicates that "mount -a" shouldn't try to mount that file system,
but the options specified on the fstab line will be used when you do "mount
/path" manually.

For more details, see p.98 of the aforementioned book.

>If a server goes down while the client is mounted and a client user
>tries to access the mount point, he/she would get some time of error
>message and would be allowed to continue as if the referenced
>file/directory did not exist. And like above, syslogd would log the
>error, and maybe a mail message would be sent to root.

This is what soft mounts do.  When a file system is mounted hard, the
system will keep trying a request until it succeeds (if the file system is
mounted with the "intr" option then a Control-C will usually interrupt it,
though); this is when you get the message "nfs server <name> not
responding, still trying".  If it's mounted soft, then it gives up at that
time, and the system call returns an error code.

One problem with this is that not all programs check for error codes being
returned by all system calls, so the error indication is often ignored.

Also, most programs that do check for errors just print a message and exit
when they happen.  They don't generally continue as if the file didn't
exist.
-- 
Barry Margolin
System Manager, Thinking Machines Corp.

barmar@think.com          {uunet,harvard}!think!barmar
From: wadswort@babss.UUCP (John H. Wadsworth)
Newsgroups: comp.sys.sun.misc
Subject: Sparc printer woes
Date: 10 Apr 92 15:26:48 GMT
Reply-To: wadswort@babss.UUCP ()
Followup-To: comp.sys.sun.misc
Distribution: world
Organization: Bell Atlantic Business Systems Service Branford, Ct.
Keywords: Sparc printer fonts crashing

A netless friend asked me to post this problem and see if anyone
else has heard of this....

It seems that the have a sparc printer that works fine if they
only load one font. If they try to load more than one font then
the system will hang or crash. They've been told they need a new
driver but it isn't available yet. The problem occurs on a 4/90
and 6/90. Has anyone else heard of this?

John H. Wadsworth      wadswort@babss%yale.edu
Xref: sparky comp.sys.sun.misc:1908 comp.unix.sysv386:8625
From: davidsen@yeti.crd.GE.COM (william E Davidsen)
Newsgroups: comp.sys.sun.misc,comp.unix.sysv386
Subject: Re: New viking sparc processor? (PC DISK I/O Speed)
Date: 14 Apr 92 13:29:08 GMT
Reply-To: davidsen@crd.ge.com (bill davidsen)
Distribution: usa
Organization: GE Corporate R&D Center, Schenectady NY

In article <1992Apr12.065414.7855@ttank.ttank.com>, karl@ttank.ttank.com (Karl Bunch) writes:

|  No kidding.  On my Dell System VR4 (Ver 2.1) on a 386/33 using the
|  UltraStore 12F ESDI controller (ST4767E 767mb ESDI Drive).
|  I get the following:
|  
|  # time dd if=/dev/rdsk/0s1 of=/dev/null bs=10240k count=1
	...|  
|  real	0m14.21s
|  user	0m0.00s
|  sys	0m5.67s
|  # time dd if=/dev/rdsk/0s1 of=/dev/null bs=10240k count=1
	...
|  real	0m10.43s
|  user	0m0.01s
|  sys	0m6.39s
|  # time dd if=/dev/rdsk/0s1 of=/dev/null bs=1024k count=10
	...
|  real	0m9.13s
|  user	0m0.00s
|  sys	0m5.58s

  Over the weekend I was testing a new disk, ST41766N and Adaptek 1542B,
and I measured a "real read" speed of out 750-780 kbs. That's reading
from a file in the filesystem, not from a raw device, so I'm sure my
figures could be higer with a raw device and/or a fancy caching
controller. I created the 10MB file and tested by:

	dd count=1000 bs=10k if=/dev/zero of=/tmp/big.mother
	time dd bs=10k if=/tmp/big.mother of=/dev/null

  Sorry I didn't keep the exact figures, I just wanted to be sure it
worked before buying a new drive.
-- 
	- bill davidsen (davidsen@crd.ge.com)
	GE Corp. R&D Center; Box 8; Schenectady NY 12345
By analysis of usenet source, the hardest part of C to use is the comment
From: wolfgang@netcom.com (Wolfgang Henke)
Newsgroups: comp.sys.sun.misc
Subject: Re: SunOS  4.1.1_U1 (Sun3/60) and performance
Date: 12 Apr 92 16:19:54 GMT
Article-I.D.: netcom.x0vj9b+.wolfgang
Organization: Netcom

thad@public.BTR.COM (Thaddeus P. Floryan) writes:
: The reason I mention Fry's (and why I'm astonished) is that they are usually
: a Mac/DOS-type of store.  I suppose they'll soon be selling Suns, too!  :-)

I hope so. The current retail channel through Computerland stinks. They were
as surprised as I was that they are supposed to sell Suns. 



-- 
_______________________________________________________________________________
Wolfgang Henke          wolfgang@henke.sf-bay.org           wolfgang@netcom.com
Xref: sparky comp.sys.sun.misc:1882 comp.unix.sysv386:8535
Newsgroups: comp.sys.sun.misc,comp.unix.sysv386
Subject: Re: New viking sparc processor? (PC DISK I/O Speed)
From: karl@ttank.ttank.com (Karl Bunch)
Date: Sun, 12 Apr 1992 06:54:14 GMT
Reply-To: karl@ttank.com
 <404@idtg.UUCP> <1901@ra.nrl.navy.mil> <1992Apr6.234647.3669@raid.dell.com> 
 <1992Apr7.211331.1526@wsrcc.com> <jim.702844156@ferkel> <1992Apr10.130243.10529@virtech.uucp>
Distribution: usa
Organization: Think Tank Software, Norwalk, CA

In <1992Apr10.130243.10529@virtech.uucp> cpcahil@virtech.uucp (Conor P. Cahill) writes:

>jim@ferkel.ucsb.edu (Jim Lick) writes:

>>In <1992Apr7.211331.1526@wsrcc.com> wolfgang@wsrcc.com (Wolfgang S. Rupprecht) writes:
>>>All the tests I've seen show the PC's I/O running at a significantly
>>>slower I/O rate.  How many KB/sec to/from the disk does your PC do?

>>>    # time dd if=/dev/rsd0b of=/dev/null bs=10240k count=1
>>>    1+0 records in
>>>    1+0 records out
>>>	   10.5 real         0.0 user         2.2 sys  

>on a 486/33 EISA system with light load:

>	   12.0 real         0.0 user         0.6 sys


>So it doesn't look like there is that much of a difference when EISA
>comes into the picture (and it's still at a much lower cost than what
>one pays for the Sun stuff).

No kidding.  On my Dell System VR4 (Ver 2.1) on a 386/33 using the
UltraStore 12F ESDI controller (ST4767E 767mb ESDI Drive).
I get the following:

# time dd if=/dev/rdsk/0s1 of=/dev/null bs=10240k count=1
1+0 records in
1+0 records out

real	0m14.21s
user	0m0.00s
sys	0m5.67s
# time dd if=/dev/rdsk/0s1 of=/dev/null bs=10240k count=1
1+0 records in
1+0 records out

real	0m10.43s
user	0m0.01s
sys	0m6.39s
# time dd if=/dev/rdsk/0s1 of=/dev/null bs=1024k count=10
10+0 records in
10+0 records out

real	0m9.13s
user	0m0.00s
sys	0m5.58s


Notice the second run was faster!  Because the first had to swap out a
few Mb of stuff to get a 10Mb buffer.  I don't know if the 486 that got
52 secs had 16Mb or not.  If not it may have been swapping like mad! :-)

The last run was with a 1Mb buffer and 10 count.  I noticed the drive
light didn't seem to stay as steady with this command.  But, I still
got a better over all time! :-?

All I know is I love Dell UNIX.  I know everyone gets tired of hearing
Larry bragg.  But, I had SCO Xenix with the same set-up and often
got no more than 100Kb/sec!  Not to mention the guys at Dell support
are very capable and nice to work with!  Not like some other vendors I've
delt with.

Karl
-- 
% ----------------------------------------------------------------------------
% Karl Bunch                        ||| UUCP: ..!uunet!cerritos.edu!ttank!karl
% Think Tank Software               ||| INTERNET: karl@ttank.com
% 42.5% of all quoted statistics are made up, of those 23.185% are right. :-)
From: barmar@think.com (Barry Margolin)
Newsgroups: comp.sys.sun.misc
Subject: Re: SunOS internals question
Date: 14 Apr 1992 19:35:02 GMT
Organization: Thinking Machines Corporation, Cambridge MA, USA
NNTP-Posting-Host: telecaster.think.com

In article <1992Apr14.161328.4519@ringer.cs.utsa.edu> rrybacki@ringer.cs.utsa.edu (Richard M. Rybacki) writes:
>I have noticed that if I have a program running, and the program is IO blocked,
>and I recompile/relink the executable, the program will crash as soon as the
>process unblocks and reaquires the CPU.  

If you delete or rename the executable first you should be OK.  If it's
coming from an NFS file system, make sure you delete it from the same
client as you're executing it so that normal Unix deletion semantics will
be approximated.

>It would appear that SunOS (4.1.1) does not copy the executable into swap
>space at startup time, otherwise why would it make a difference if the 
>executable is replaced?

That's correct.  SunOS maps the text segment of the executable and any
shared libraries directly into virtual memory, and doesn't waste swap space
for it.
-- 
Barry Margolin
System Manager, Thinking Machines Corp.

barmar@think.com          {uunet,harvard}!think!barmar