HDTenEightyP/NetNews huggingface dataset:
From: dfilip@colornet.com
Newsgroups: comp.os.coherent
Subject: Re: Terminal question
Keywords: terminal type
Date: 24 Jan 93 14:31:16 GMT
Distribution: world
Summary: Determining your terminal type
Organization: ColorNet Information Systems

Mike Tarrant writes :
>  My question is, at a system level, how does Coherent "know" that the
>terminal at the end of /dev/com4pl is a vt100, or a wyse50, or tvi925?
>I know there is the TERM environmental variable in my .profile file,
>but if I make that the terminal type, it'll be wrong when I log-on at
>the console (ansipc).
>  As far I have been able to determine, terminal type is tied to the
>user, and I think it should be known only by the system.  What am I
>missing?

You are not missing anything. Unfortunatly, I have not seen anything in the
Unix world that querries terminals type as is found in VAX/VMS (where you
can do SET TERM/INQUIRE which will send some escape sequences out, look at
what comes back, and try to determine what type of terminal you have).

In the Xenix (and I believe BSD) world, there is the cryptic tset command,
which uses the file /etc/ttytype to do some mapping of lines to terminals,
and also prompts for terminals on 'dial-up' lines. Here is what I have put in
my /etc/profile to sort of emulate that :

===========================================================================
defterm=vt100

# determine terminal type

device=`tty`
termtype=`grep $device /etc/ttytype | awk '{print $1}'`
if [ -z "$termtype" -o "$termtype" = "dialup" -a "$USER" != "nuucp" ]
then
        echo -n "Terminal type [$defterm] : "
        read termtype
        if [ -z "$termtype" ]
        then
                export TERM=$defterm
        else
                export TERM=$termtype
        fi
else
        export TERM=$termtype
fi
===========================================================================

And my /etc/ttytype looks like this :

ansipc /dev/color0
ansipc /dev/color1
ansipc /dev/color2
ansipc /dev/color3
dialup /dev/com1fr
vt100  /dev/com2l
dialup /dev/com3l
dialup /dev/com4l

This maps terminals to lines, which is closer than terminals to users. However,
for network and/or dial-in lines, it will prompt the user, and the user must
know what the designation is in your /etc/termcap.

Regards,

Dave.

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
=   David E. Filip                UUCP   : dfilip@colornet.com              =
=   ColorNet Information Systems  CIS    : 76430,3111                       =
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
=    If David Cutler had been a heavy drug user in the 60's, he probably    =
=                    would have written Unix instead ...                    =
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
From: mooreb@kuhub.cc.ukans.edu
Newsgroups: comp.os.coherent
Subject: Graphica (information)
Date: 28 Jan 93 02:19:55 GMT
Organization: University of Kansas Academic Computing Services

The following uuencoded programs are for GRAPHICA v.2.1 for Coherent.
GRAPHICA is an interactive plotting program that does a lot of neat
stuff.  Just extract the files in order (21 through 27 and the readme
first file) and uudecode the resulting concatedated file. I am posting
for Tony Montes.  His name and address are in the readme. file.  Send
him comments!!! Thanks!

-- 
: c/o Brian Moore		:
: Academic Computing Resources	:
: University of Kansas		:     
: MOOREB@KUHUB.CC.UKANS.EDU 	:

 -----------------------------------------------------------------------
			 O_/    \    /    \_O
			 |\  \          /  /|
			/ \                / \
 -----------------------------------------------------------------------
      "Juggling is more important than knowledge." - A. Einstein
From: ray@RGM.COM (Ray Mendonsa)
Newsgroups: comp.os.coherent
Subject: Elm 2.4PL20
Date: 28 Jan 93 10:09:05 GMT
Reply-To: "Coherent operating system" <COHERENT@INDYCMS.bitnet>

Has anyone got Elm v2.4PL20 up under Coherent?  I get it to compile,
but immediately upon execution I get a core dump (memory fault).  Being
a dunce at debuging compiled code with anything other than Turbo Whatever
under DOS, I'm at a loss. . .

I got it to come right up under Sun OS v4.1 on netcom.
--
/-Ray Mendonsa--ray@rgm.com--Administrator, rgm.com--Sacramento, CA---->
| 916/923-5013 8n1,HST ; login: new ; Public access Usenet
| PGP v2.1 public key avail by request or finger rgm@netcom.com
| Coherent is cool.
From: ben@bailey.UUCP (Ben Bailey)
Subject: Can't open com2r
Newsgroups: comp.os.coherent
Date: 24 Jan 93 00:54:35 GMT
Distribution: world
Organization: Ben Bailey's Home..Tampa Fl.

I can't seem to open a communications path to com2r (uucp/uucico work
fine off of here).  What's the problem with the following code?  It
just hangs at the open for the communications port.


========================


#include <sys/fcntl.h>
#include <sgtty.h>
#include <stdio.h>
#include <stdlib.h>
#include <termio.h>
#include <ascii.h>

#define DEFLINE "/dev/com2r"
#define DEFSPEED 9600

usage();

main(argc, argv)
int argc;
char **argv;
{
	char *ttyline;
	int  ttyfd;
	struct sgttyb ttymode;
	char buff[80];
	int debug=0;
	char option;

	if(argc >1)
	{
		strcpy(buff,argv[1]);
		if(isupper(buff[0]))
			option=tolower(buff[0]);
		else
			option=buff[0];
		switch(option)
		{
			case 'd': debug=1;break;
			default: printf("Not a valid option.\n");
				exit(1);
		}
	}
			
	ttyline = DEFLINE;


	/* open the communication line */
	if(debug) 
	{
		fprintf(stderr,"Opening communications line\n");
		fflush(stderr);
	}

	ttyfd = open(ttyline,O_RDWR);  /* HANGS HERE; tried RDONLY, WRONLY too */
	if(ttyfd < 0)
	{
		fprintf(stderr,"Could not open %s.\n", ttyline);
		exit(1);
	}

	/* set exclusive use */
	if(debug) 
	{
		fprintf(stderr,"Setting exclusive use\n");
		fflush(stderr);
	}

	if(ioctl(ttyfd,TIOCEXCL,NULL) < 0) 
	{
		fprintf(stderr, "Could not lock %s.\n", ttyline);
		exit(1);
	}

	if(debug) 
	{
		fprintf(stderr,"Getting terminal attributes.\n");
		fflush(stderr);
	}
	gtty(ttyfd,&ttymode);	 /* get terminal attributes */
	ttymode.sg_flags |= (RAW|TANDEM);
	ttymode.sg_flags &= ~(ECHO|CRMOD);
	ttymode.sg_ispeed = B9600;
	ttymode.sg_ospeed = B9600;

	/* put into raw mode */
	if(debug) 
	{
		fprintf(stderr,"Putting into raw mode.\n");
		fflush(stderr);
	}
	stty(ttyfd,&ttymode);

	if(debug) 
	{
		fprintf(stderr,"Writting to port %s\n",ttyline);
		fflush(stderr);
	}
	write(ttyfd,"ATDT6775021\n",11);

	scanf("%s\n",buff);
	if(debug) 
	{
		fprintf(stderr,"You typed %s\n",buff);
		fflush(stderr);
	}
	close(ttyfd);
}

	

--
Ben Bailey                 ben@bailey.uucp -- bailey!ben@uunet.uu.net
12210 Shady Forest Dr.     ben@bailey.tscs.com
Riverview, Fl. 33569       -- The main thing is to keep the main
813-677-5021                  thing the main thing.  Mainly.
From: wbdst+@pitt.edu (William B Dwinnell)
Newsgroups: comp.os.coherent
Subject: Coherent recommendations
Date: 27 Jan 93 23:54:06 GMT
Organization: University of Pittsburgh


P
Okay, I have gotten about 10 responses to my query regarding whether people
would recommend Coherent as an OS or not.  I haven't kept strict numbers,
although I can say for certain that 3 people gave negative responses,
while the rest were positive (approx. 2 to 1 for). The biggest 
criticisms were against technical support and problems with the software
(bad installs, and a harddrive performance, especially). Ironically,
some of the biggest praise was for technical support! Also mentioned
as pros were ease of installation (one person didn't even use the
manual), stability, even relative to other OSs, Unix or otherwise,
and documentation quality.

As for myself, I had specific concerns, so I called Mark Williams, with
the following questions, and MWC's responses:
Q. Do you support HardCard II's? 
A. Yes.

Q. Any problems with DTK BIOS?
A. No.

Q. Future Domain SCSI cards alright?
A. Yes.

Q. SyQuest reomxxx removable media okay?
A. Yes, although you'll have to mount and dismount to change
   cartridges.

Q. DOS and Coherent can coexist?
A. Yes: they must have their own partitions, and how you boot up can
be configured a number of ways.

The above are not verbatim, but accurately reflect the information I
was given over 2 calls to MWC.

Information was not available on release dates for the next release
(although I was told it would be this year.), nor pricing on the
new release/upgrade.

If anyone has any information to the contrary of any of this, please
post it?
From: mfaurot@phzzzt.uucp (Michael Faurot)
Newsgroups: comp.os.coherent
Subject: Re: scsi disk throughput
Date: 26 Jan 93 11:07:33 GMT
Organization: A.T.W.W.
X-Newsreader: Tin 1.1 PL4

ksh@hobbes.ds.boeing.com (K. Scott Hunziker) writes:
: Scot Silverstein MD (silver@news.ycc.yale.edu) wrote:
: : I'm thinking of investing in a SCSI hard drive to
: : replace my IDE.  Has anyone run iozone or similar program
: : under COHERENT 4.0.1 using a SCSI drive?  What kind of
: : results do you get?
: 
: You won't like the results.  I get 80kB/sec at best.

Is the 80Kb figure a result of using mkfs on your filesystem(s)
without tuning the "m" and "n" parameters (ie, taking the default mkfs
gives you)?  Or did you attempt to tune these parameters to your
drive's geometry?
-- 
+--------------------+-------------------------------------------------------+
|   Michael Faurot   | Domain: mfaurot@phzzzt.UUCP		             |
|   ------- ------   | UUCP: ...!{irscscm|mimsy}!bogart!phzzzt!mfaurot       |
+--------------------+--------------------+----------------------------------+
| Fleischman:  Ed, are you hallucinating? |    I wanna go home with the      |
|         Ed:  Oh yeah, but not right now.|  Armadillo . . . --Gary P Nunn   |
+-----------------------------------------+----------------------------------+
From: fredex@fcshome.UUCP (fred smith)
Newsgroups: comp.os.coherent
Subject: using coherent's stime() function
Keywords: time stime coherent system root
Date: 24 Jan 93 03:02:20 GMT
Organization: What?!? Absolutely none!

I'm trying to use stime() to set the system time. Whenever I call
it it does NOT change the time, and I get a -1 return, indicating
an error. 

Here is the program:

	#include <stdio.h>
	#include <time.h>

	main (argc, argv)
		int argc;
		char ** argv;
		{
		extern int errno;
		time_t	now;

	/* get current time & print it */
		time (&now);
		printf ("%s", ctime (&now));

	/* increment time by specified amount */
		now += atoi (argv[1]);
		printf ("%s", ctime (&now));

	/* attempt to set system clock */
		errno = 0;
		printf ("stime returns %d\n", stime (&now));

	/* print errno, and new time */
		printf ("errno = %d\n", errno);
		time (&now);
		printf ("%s", ctime (&now));
		}

When run (as root) thusly:

	testprog 10

the following output ensues:

	Sat Jan 23 16:26:52 1993
	Sat Jan 23 16:27:02 1993
	stime returns -1
	errno = 14
	Sat Jan 23 16:26:52 1993

Note that after the call to stime that errno == 14. Looking in
/usr/include/errno.h reveals:

	#define	EFAULT	14		/* Bad system call argument address */

Am I doing something wrong here, or is stime() broken in the 4.0.1
distribution??

All (reasonable) advice is welcome. 

Fred

-------------------------------------------------------------------------------
 .----   Fred Smith    /                Office: 508-663-2524|Home: 617-438-5471
( /__  ,__.   __   __ /  __   : /                  fredex%fcshome@merk.merk.com
 /    /  /   /__) /  /  /__) .+'                   or uunet!merk!fcshome!fredex
/    /  (__ (___ (__(_ (___ / :__   BIX: fredex    or    primerd!fcshome!fredex  
-------------------------------------------------------------------------------
From: kenji@reseau.rd.macrofield.or.jp (Kenji Rikitake)
Newsgroups: comp.os.coherent
Subject: Re: Processing texinfo files (how?)
Date: 21 Jan 93 01:02:04 GMT
Reply-To: kenji@rd.macrofield.or.jp (Kenji Rikitake)
Organization: Macrofield Corporation, Toyonaka-City, Osaka, Japan
X-Newsreader: TIN [version 1.1 PL6]

Volker Gaede (gaede@faw.uni-ulm.de) wrote:
: Come on. Your anwers are contraproductive (this one and the one before).
: Have you got a TeX runnung under Coherent? I would state not.

Well, if you're running Coherent on an IBM PC (what else?), you can
use emTeX or other MS-DOS-ported TeX/LaTeX programs.
And Coherent can get access to MS-DOS file systems.

I don't think my answer is counter-productive. :)
--
Kenji Rikitake, Operations Director, Macrofield Corporation
office: <kenji@rcac.astem.or.jp> / home: <kenji@rd.macrofield.or.jp> 
"There is little excuse to continue propagating bang paths or mixed formats."
       -- Stuart Lynne <sl@wimsey.com>, Message-ID: <COLw2o.H82@wimsey.bc.ca>
From: doug@ve6bc.ampr.ab.ca (Douglas R. MacKintosh)
Newsgroups: comp.os.coherent
Subject: problem with uustat
Date: 27 Jan 93 20:29:02 GMT
Organization: Amateur Radio VE6BC - Edmonton, Alberta, Canada

Does anyone in here use 'uustat'? Have you noticed a problem with it? Have
you found a solution? Please tell me about any strange behaviour you have
noticed when using it.

thanks...
Doug
-- 
in real life:	Doug MacKintosh	|	email:	doug@ve6bc.ampr.ab.ca
on the air:	VE6BC		|	packet:	ve6bc@ve6mc.#edm.ab.can.na
From: mooreb@KUHUB.CC.UKANS.EDU
Newsgroups: comp.os.coherent
Subject: graphica(0/7)
Date: 28 Jan 93 02:29:38 GMT
Reply-To: "Coherent operating system" <COHERENT@INDYCMS.bitnet>

The program GRPHCA21.ZIP is an archive.  After extracting all
files with PKUNZIP or an equivalent program , the following
files should appear as part of the GRAPHICA package:

GRAPHICA.UUE     uuencoded coherent v4.0 (executable)
GRAPHICA.HLP     help file (ascii format-may be printed)
README.1ST       quick instructions (this file)
GRAPHICA.DOC     documentation
REGISTER.DOC     contribution information
HISTORY.DOC      log of latest changes
EXAMPLES.ZIP     another archive containing example

   *.PLT         script files
   *.DAT         data files

To use the program, simply copy the unzipped contents of this
archive (all the files above) from the DOS side to the Coherent
partition of your computer.  Run uudecode on graphica.uue and
you have a Coherent executable of GRAPHICA v2.1 called graphica.

At this point in time, there are no graphics-I haven't gotten
those COHWARE libraries for VGA yet!  But you can get hpgl or
postscript output and send them to a plotter or printer.

Remember you can copy all the files with the DOSCP command.
Also, make sure that graphica.hlp as well as all the example
script and data files are copied with CRLF to LF translation
(DOS to UNIX).

For a quick demonstration of GRAPHICA's main capabilities, run
GRAPHICA and then load some of the sample script files (*.PLT).
For example,

      $ graphica (press return)
      graphica>load 'demo.plt' (press return)

Alternatively, command-line arguments may be names of files
containing GRAPHICA commands.  Then, for example,

      $ graphica demo.plt (press return)

is another way of running the demo above.

You may contact me for questions, bugs, suggestions, or
contributions at the following addresses:

      Antonio Montes
      Mailbox 13
      Leiderdorp 2350 AA
      The Netherlands

      CompuServe: 71031,1162
      internet: 71031.1162@compuserve.com
From: ben@bailey.UUCP (Ben Bailey)
Subject: xcomm33 man pages?
Newsgroups: comp.os.coherent
Date: 24 Jan 93 16:43:20 GMT
Distribution: world
Organization: Ben Bailey's Home..Tampa Fl.

I just downloaded the xcomm33 files from mwcbbs, and the README file
shows using 'tbl xc.nro | nroff ....'.  I don't have 'tbl' on my
system, and bypassing it to 'nroff' doesn't produce the man pages.

Where are the coh man  pages, or how do I create them?

Ben
--
Ben Bailey                 ben@bailey.uucp -- bailey!ben@uunet.uu.net
12210 Shady Forest Dr.     ben@bailey.tscs.com
Riverview, Fl. 33569       -- The main thing is to keep the main
813-677-5021                  thing the main thing.  Mainly.
From: jdb@erato.iowa-city.ia.us (John D. Boggs)
Newsgroups: comp.os.coherent
Distribution: world
Subject: Re: Coherent: would you recommend it?
Date: Sun, 24 Jan 93 23:56:46 +0100

From article <1993Jan24.083718.29656@netcom.com>, by messina@netcom.com (Tony Porczyk):

> I've been running it now for about 3 weeks without a shutdown and
> didn't have a crash.  As to the technical support, that should be a
> source of encouragement for you, not worry.  All I can say so far about
> MWC Tech Support is that they are *excellent*.  

I also find it to be a very stable platform (the only real problem I've
had was when I restored my entire filesystem from backups and shut it
down without syncing -- OOPS!  I had to re-restore, but it was entirely
my own foolishness that caused it).  I leave it on for weeks at a time
and never have any problems.  I'm running 3.2.1, so I can't speak for
4.x.

Tech support, too, is very good.

John D. Boggs             | Though the morn on blizzard borders  | Robert
jdb@erato.iowa-city.ia.us | I chuckle in me guts and say,        | W.
or    ...!uunet!erato!jdb | It's just the day the doctor orders. | Service
From: mcb@PRESTO.IG.COM ("Michael C. Berch")
Newsgroups: comp.os.coherent
Subject: Test message (ignore)
Date: 27 Jan 93 23:56:34 GMT
Reply-To: "Coherent operating system" <COHERENT@INDYCMS.bitnet>

This is a test of the COHERENT -> comp.os.coherent gateway.
No need to reply.

--
Michael C. Berch
Gateway admin
mcb@presto.ig.com
Newsgroups: comp.os.coherent
From: mconners@magnus.acs.ohio-state.edu (Michael R Conners)
Subject: Mail server on a '286
Organization: The Ohio State University
Date: Wed, 27 Jan 1993 21:03:06 GMT

     I've got a '286 with 1meg of memory and 2 20meg disks. Will Coherent run
O.K. as a mail server only? Any potential problems or landmines?
-- 
:  Michael R. Conners              : "Fighting for truth, justice, and the   :
:  THE Ohio State University       :  American Way." - what that guy says    :
:  College of Business             :  on "Superman"                          :
Newsgroups: comp.os.coherent
From: silver@lasagne.med.yale.edu  (Scot Silverstein MD)
Subject: Disk I/O speed "problem" ... NOT?
Nntp-Software: PC/TCP NNTP
Keywords: hard disk
Reply-To: silver@lasagne.med.yale.edu
Organization: Yale University
Date: Mon, 25 Jan 1993 09:29:46

I've done some experimentation.  It seems the "slow" disk I/O
on my 386sx/16 toy home machine with Seagate ST1102 89 meg IDE drive 
is not so "slow" after all under Coherent 4.0.1.

After setting the m and n values to 234, 9 and running iozone
at a 2-meg test size, I get I/O speeds of about 79k/sec for both
reading and writing, in multiuser mode.  Yet, under MSDOS with
CORETEST.EXE, it says about 1000k/sec.  The discrepancy was puzzling.

Until I realized CORETEST uses a 64K "transfer block size" as a default
and iozone uses 0.5k (512 byte block size) which is 'native' to the OS.

When I run CORETEST using a 1K "transfer block size" (the minimum), lo 
and behold, it says the throughput is about 40k/sec or something like that!
In fact, I get the "best" results from CORETEST when the "block size" 
is 37k or so on my machine.

QAplus diagnostics on the hard drive say about 40K/sec also, using 
a 1k bloxk size also, I believe.  The machine is at home and I didn't
write that figure down so it may be incorrect, but it's in the ballpark.

MSDOS accesses the disk in bigger chunks, apparently.  That's why 
a 300,000 byte .exe file loads in a second or so.  So, COHERENT
is making efficient use of the hardware considering the nature of its
interaction with Mr. Hard Drive.

Hopefully there is no big error in facts or logic in the above.

Comments?
From: mauritz_c@spcvxb.spc.edu
Newsgroups: comp.os.coherent
Subject: Tin11 pl8 available at Raven
Date: 27 Jan 93 04:35:46 GMT
Organization: SPC Community Access System

I have just uploaded Udo Munk's port of Tin 11 pl8 to Raven.  You
can find it at:

/pub/coherent/incoming/tin118.tar.F

It is "freezed" so if you haven't done so already, grab a copy of
freeze in /pub/coherent/sources32 and link it to melt and fcat.
Then you can melt frozen archives.

Cheers,

Chris
Newsgroups: comp.os.coherent
From: messina@netcom.com (Tony Porczyk)
Subject: Re: gnu make on 4.0.1r68
Organization: Messina Software
Date: Sun, 24 Jan 1993 01:58:49 GMT

Rick Kelly (rmk@rmkhome.UUCP) wrote:

>: GNU make works with the r70 beta kernel.

I just installed /rdb over Coh71.  If anyone is going to attempt it
(very straightforward) - do not use GNU make, use make that comes
with Coh.  You will spare yourself considerable hassle with figuring
out what went wrong (some files are not extracted, among other problems)
when you run the tests and get gadzillion errors.

t.
From: silver@news.ycc.yale.edu  (Scot Silverstein MD)
Subject: Terminfo bug(s)
Nntp-Software: PC/TCP NNTP
Keywords: terminfo
Reply-To: silver@lasagne.med.yale.edu
Organization: Yale University
Date: Mon, 25 Jan 1993 09:30:24

Could someone please enlighten me as to the current status of
terminfo?

I downloaded the new terminfo entries from raven.  When I installed
the new ansipc .ti, cls.c no longer works properly.  It clears the
screen but puts the prompt at the _bottom_ of the screen, not the top.

Also, a "corrected" vt52 entry I am using that "works around" a bug in
terminfo does not work properly, putting the prompt at the bottom also,
and generally not clearing the screen properly, like in minicom.  (This is
an improvement over the original .ti, though, which just produced garbage
on my TRS80 model 4 vt52 emulator.

I'm using the "stock" 4.0.1 kernel.  Do I need a new kernel?

-- SS
From: bob@DALEK.MWC.COM (Bob Hemedinger)
Newsgroups: comp.os.coherent
Subject: Re: Coherent recommendations
Date: 28 Jan 93 14:05:46 GMT
Reply-To: "Coherent operating system" <COHERENT@INDYCMS.bitnet>

> As for myself, I had specific concerns, so I called Mark Williams, with
> the following questions, and MWC's responses:
>
> Q. Future Domain SCSI cards alright?
> A. Yes.
>
> Q. SyQuest reomxxx removable media okay?
> A. Yes, although you'll have to mount and dismount to change
>    cartridges.

I would hasten to clarify that only the 8 bit Future Domain cards
are supported at this time. Also, while SyQuest removeable media
is supported, if a root filesystem is booted from a cartridge, it
can not be removed when someone wants to read another Coherent
filesystem on another cartridge. If you are booting from another
drive and need to change cartridges in the SyQuest drive to mount
another COHERENT filesystem, this is okay.

--
MWC Technical Suppt.        ____________           You may leave your weapons
                   (============================)  or leave the station. It's
bob@mwc.com                 ------------           your choice, please make it
support@mwc.com       (===)   \\ || //   (===)     now.
                        |      \\||//      |  Who are you?
NCC-1701-D              |____((((  ))))____|  I'm the one giving you the choice.