From: lambda@sbcs.sunysb.edu (Del Lamb)
Subject: Questions on Unix System V
Organization: State University of New York at Stony Brook
Date: Tue, 8 Sep 1992 02:33:42 GMT

[]

Hello, I'm a newcomer to this group and System V Unix, so forgive any
unintention violations of netiquette.  I am a Ph.D student, almost done,
at SUNY-Stony Brook.  For financial reasons, I have to finish my research
and dissertation away from the University and I am in the process of 
setting up a PC with Unix and the software I need to do my work.

System:  i486DX-33, 256K cache, 8Mb
         Maxtor 200Mb 15ms HD, Teac 1.2Mb,1.44Mb Floppies
         Diamond Speedstar w/1Mb - 1024x768,NI S-VGA Monitor
         Colorado 250Mb Tape Backup w/Unix software
         Zoom 14.4K V32bis,V42bis S/R Fax/Modem
         HP Laserjet IIP+ Printer

Unix:    System V/386 Release 4.0, Version 3.0
         Consensys V4, Release 1.3

I'm trying to be complete because I'm not sure what is important to
the questions I want to ask.  Before someone brings it up, the system
is borrowed so the choice of hardware was already determined.  Hence,
I can't help that Diamond was just mentioned here as poor choice for
some software.  Also, I'm limited in changes I can make to the system
and space for additional software (200Mb is barely adequate)

I hoping that those of you more experienced than myself can help with
some problems I haven't been able to lick.  I'm finding the knowledge
gap between Unix user and Unix administrator bigger than I thought.  It
may be that these are trivial things that I just haven't hit the right
manual page for, so any assistance will be gratefully accepted.

1. Printing of Documents

Obviously, printing my dissertation is essential.  The current files are
troff format with tables, equations, references, and figures made in a
application called 'ped' (probably local).  I have the printer configured
and ascii files print fine.  However, the troff output does not.

On the school system (Sun - BSD 4.2), I have used these two commands:

1> cat <file> ... | (various filters) | ditroff -Ti10 -ms | lpr -n -P<dest>
2> cat <file> ... | (various filters) | eroff -ms -d<dest>

The first produced output on imagen printers, the second on postscript.
However, the System V only has 'troff'.  I assume I'll do something like:

3> cat <file> ... | (various filters) | troff -T<?> -ms | lpr -t -P<dest>

This fails as the '-t' filter from the print command doesn't seem to be
present.  Likewise, '-n' is also missing should I find a copy of 'ditroff'
for the machine.  This leads to a number of questions:

Do I need to get a copy of 'ditroff'?  If so, where can I download it
from?  (It's no longer present here, which is why I switched to 'eroff')
I'd like 'ditroff' as I know it works with the figures and I have a
'ditroff' viewer in Xwindows.  Either way, how do I get the '-[n|t]'
filters to work in 'lpr'?  I tried the system admin commands to add a
filter, but apparently some file or program is needed and I can't find
if I have the filters but just not installed, or if they need to be
obtained from somewhere also.  Also possible, some printer setting may
have to made - if so, what?

2. Modem Configuration/Usage

I need to be able to dial-up the school and transfer file, handle mail
and all.  So far, all attempts at configuring the modem have been
unsuccessful.  This may be due to the fact that the closest modem I
can find in the config in a Hayes SmartModem 2400.  Doesn't bode well.
I hope to make use of the school's high speed dial-up lines.

I tried to configure it through the system admin, I added the device
and the system I was trying to dial, but all I get is 'Can't access
device'.  Annoying.  Any hints here would be appreciated.

Also, the 'cu' command appears to less than desirable (though I can't
say for sure since it doesn't work yet).  Is there other software I
should download and use instead.  I think Kermit is available here.
Also, the ability to receive (and send) faxes would be very helpful
but I have no clue where to begin on this.  I assume I'll have to have
some Unix fax software to make it happen.  Any recommendations on good
packages, and where to get them would be nice.

3. Xwindows Compilation

Not nearly as critical, but while I have your attention.  I have some
Xwindows (Xt toolkit) applications I use in my research and I can't 
get them to compile on the PC.  In the final link, a library called
-Xinput is not found and six functions are left undefined.  They are
(near as I can recall) - socket, connect, gethostname, gethostbyname,
inet_addr and I can't remember the last.  Nearly all are in the manual
under <sys/socket.h> (I think), but adding this library doesn't solve
the problem.  I also can't find a library that replaces the -Xinput
(used in X11, BSD 4.2 on Suns) in System V.  The man pages on libraries
used in X windows compiles have been singularly hard to find.

Anyways, I hoping to solve these problems over the next week so that
my trip to Wisconsin won't be delayed yet again.  I apologize if this
is an incorrect request for this group.  I'd appreciate replies by 
E-mail to keep any discussion from impeding the group - I can post
the summaries if there is enough interest.  Thanks in advance!


   /\-|-/\            Del Lamb :  lambda@sbcs.sunysb.edu          /\+|+/\
  //\\|//\\                                                      //\\|//\\
 //__\X/  \\"Should we try using our intelligence?" - The Doctor//  \X/  \\
/----/A\   \\"Well... if you think that's a good idea." - Leela//   /X\   \\
============================================================================
Newsgroups: comp.unix.sysv386