HDTenEightyP/NetNews huggingface dataset:
From: jdell@maggie.mit.edu (John Ellithorpe)
Newsgroups: comp.unix.questions
Subject: Re: How do I send hayes commands (AT commands) to my modem?
Date: 27 Sep 92 20:06:55 GMT
Organization: Massachusetts Institute of Technology

On 26 Sep 92 22:57:12 GMT, ejh@khonshu.colorado.edu (Edward J. Hartnett) said:
> Nntp-Posting-Host: khonshu.colorado.edu

> I'm sitting here at my Sun IPC trying to think of how I connect to my
> modem (which is on ttyb). I'd like to check the settings (specifically
> the number of rings it waits before autoanswering), and there's this
> nifty table of commands on the back of the modem which I can use, but
> how do I send commands to the modem and get the answers back? In the
> PC world I'd be able to do it through my communications package, but I
> have no idea what to do on UNIX. Any help?
> 			Thanks
> --
> Edward Hartnett			ejh@khonshu.colorado.edu

Just like on a PC, you could use kermit.  I forget where on the net the UNIX
version is.  It's just like a PC.  Just connect the the port and away you 
go.  Mind you, I haven't done this myself, but I don't see any reason why this
shouldn't work.

John
--

===============================================================================
John Ellithorpe                           | Internet: jdell@maggie.mit.edu
Dept. of Physics, Rm 26-349               | Phone   : (617) 253-3074  Office
Massachusetts Institute of Technology     |           (617) 253-3072  Lab
Cambridge, MA  02139                      |           (617) 236-4910  Home
===============================================================================
Newsgroups: comp.unix.questions
From: dsb@godzilla.pi.macsch.com (Deepak Brar)
Subject: Asynchronous I/O
Followup-To: comp.unix.questions
Keywords: async,sun,unix
Organization: The MacNeal-Schwendler Corp.
Date: Mon, 28 Sep 92 17:25:56 GMT

I have a problem using SunOS' asynchronous I/O facilities on my
Sparc 2. If anyone knows what the problem is, please e-mail me
at dsb@macsch.com. Thanks in advance.

The following code fragment does not work; the aiowrite call
always fails with an "Invalid parameter" message number. The
code itself is lifted directly from Sun's Sun Interface Programming
coursebook, so I am at a loss to understand what the problem
is. The code follows:

#include <sys/asynch.h>
#include <fcntl.h>
#define BUFSIZE 256

main()
{
int fd, error;
char buffer[BUFSIZE];
aio_result_t	result;

if ((fd = open("textfile", O_RDWR+O_CREAT, 0666)) < 0) {
    perror("open");
    exit(1);
}

error = aiowrite(fd,buffer,BUFSIZE,0,1,(aio_result_t *) &result);
printf("aiowrite returned %d\n", error);
perror("aiowrite");

}
From: vinny@astro.ocis.temple.edu (Vinit Karandikar)
Newsgroups: comp.unix.questions
Subject: Re: Help: How to FORWORD messages in Unix mail?
Date: 1 Oct 92 00:32:07 GMT
Organization: Temple University
X-Newsreader: Tin 1.1 PL5

Zhaohui Yang (y1@wilbur.psu.edu) wrote:
: Hi, netters,
: 
: I just switch e-mail communication from VAX/VMS to UNIX, and since I am novice
: to UNIX sys. I am wondering how to do the following things on UNIX mail:
: 
: 1) forward the current-reading message to a third party person.
: 2) invoke an editor when send/reply e-mail.
: 3) include a signature in mail. ( I have a .signature file but that only
: works in 'rn', not in the mail)

Try using elm 
its very user friendly and its man should answer all your questions if
the menu doesn't.

--==(Vinit Karandikar)==--
Newsgroups: comp.unix.questions,comp.unix.programmer
From: digdon@ug.cs.dal.ca (Mike Digdon)
Subject: Re: Making Yacc output modular
Organization: Math, Stats & CS, Dalhousie University, Halifax, NS, Canada
Date: Tue, 6 Oct 1992 13:39:47 GMT

In article <oeo=84q00WB_AmH3Q4@andrew.cmu.edu> Christopher Kalevi Nuuja <cn09+@andrew.cmu.edu> writes:
>   I'm involved in a project where we want to use yacc (and lex) to
>do parsing.  We have the following problems with yacc:
>
>   1.  The parser needs to be re-entrant.  I know Bison has a switch to
>       make the output re-entrant, but we don't like the bison copyright
>       (which says any code created by bison falls under the bison copyright).
>       I've heard of yacc postprocessor called deyacc that is supposed to make
>       yacc output re-entrant, but have been unable to find it.
>
>   2.  The rest of the code will be in c++.  We'd like the yacc output to
>       be as easily wrapped into c++ objects as possible.  (especially, no
>       global variables).  The application could be using more than one yacc
>         parser at a time (like an sgml parser and a cgm parser), and
>         global variables will only conflict.
>
>Does anyone know of any free tools like this supposed deyacc that could
>help us solve these problems?  The solution would have to be free, as we
>give our software away to our users.
>
>Thanks
>
>Chris Nuuja
>Pittsburgh Supercomputing Center
>nuuja@a.psc.edu,  cn09@andrew.cmu.edu


I don't know if this helps much, but there is something called yacc++ which
will create a c++ source file instead of an ordinary c file..
-- 
	     Mike Digdon - Vice Prez DSCSS - Dalhousie University
		     digdon@ug.cs.dal.ca  -- Halifax, NS
		 - Real programmers never work nine to five -
From: arensb@kong.gsfc.nasa.gov (Andrew Arensburger - RMS)
Newsgroups: comp.unix.questions
Subject: Re: What does 'daemon' mean?
Keywords: daemon
Date: 28 Sep 92 20:24:08 GMT
Organization: Goddard Space Flight Center

twp@rand.mel.cocam.oz.au (Tony Payne CSD) writes:
>I have been working with UNIX for several years now, and it suddenly occurred
>to me the other day that I have no idea what the word 'daemon' stands for.

	Unfortunately, my Bulfinch's is at home, so I can't give you a
better reference, but my American Heritage Dictionary says:

daemon. Variant of _demon_.

demon: n. [...]
	3. _Greek_Mythology_. An inferior divinity, such as a deified hero.
	4. An attendant spirit; a genius.
	5. One who is is extremely zealous, skillful, or engrossed in a
	   given activity.

I guess that would correspond to biff, inetd and sendmail, respectively :-)

--
Andrew Arensburger            | See, Buzz? It's really fun to be psychotic!
arensb@kong.gsfc.nasa.gov     |                     -- MST3K
...!uunet!dftsrv!kong!arensb  | 
Newsgroups: comp.unix.questions
From: tparker@music.scd.ucar.edu (Tom Parker)
Subject: Re: Mail to compuserve?
Organization: Scientific Computing Divison/NCAR Boulder, CO
Date: Fri, 2 Oct 1992 20:16:33 GMT

In article <1992Oct2.175758.15459@aio.jsc.nasa.gov> walker@superboy.jsc.nasa.gov writes:
>I know this is a FAQ but I looked and couldn't find it.
>
>I have a friend on compuserve.  I know his id number.
>
>if I type 
>
>   mail 12344,232@compuserve.com
>
>then the rest of the message it just bounces.
>
>what am I doing wrong?  I am sure that the sun does not like the comma,
>but enclosing the whole thing in quotes doesn't help either.
 
I think the trick is to change the comma to a period.  I.e.:

    mail 12344.232@compuserve.com
              ^
--
+--------------------------------------------------------------------+
| Tom Parker             |  National Center for Atmospheric Research |
| tparker@ncar.ucar.edu  |  (303) 497-1227                           |
+--------------------------------------------------------------------+
Newsgroups: comp.unix.questions
From: jdell@nefertiti.mit.edu (John Ellithorpe)
Subject: Re: HELP! postscript file problem...
Organization: Massachusetts Institute of Technology
Date: Sat, 3 Oct 1992 21:38:26 GMT

On 2 Oct 92 02:16:50 GMT, kit@vax1.mankato.msus.edu said:

> Hello,
>    Does anybody know how to convert postscript file into ordinary text
> file (ascii format)?   Welcome any reply.
> Thank you for your help.

I guess I don't quite know your question.  PostScript is written in ascii,
therefore, you don't need to do anything to get it into ascii.  If you are
asking how to get a PostScript file which is just formatted a bunch of text,
you can look in the files.  The text in PostScript is surrounded by ()'s.
However lots of times, text is processed in postscript as graphics, therefore,
you really just have to print it or display it with a previewer.

John
--

===============================================================================
John Ellithorpe                           | Internet: jdell@maggie.mit.edu
Dept. of Physics, Rm 26-349               | Phone   : (617) 253-3074  Office
Massachusetts Institute of Technology     |           (617) 253-3072  Lab
Cambridge, MA  02139                      |           (617) 236-4910  Home
===============================================================================
From: GEANEL@cn.laafb.af.mil
Newsgroups: comp.unix.questions
Subject: crontab
Date: 30 Sep 92 20:27:36 GMT

Hi there,
    
Currently I am trying to  have "cron"  run a C-shell script do daily 
backups.  For some reason, neither the "setenv" nor the "source 
.cshrc" commands can be run inside my script file whenever this script 
file is invoked by the cron daemon.  In addition I noticed that whenever cron 
runs this script file, the user id changes to my user id, but the 
PATH variable changes to something different from what is 
specified in my .cshrc file.    

I would appreciate if any of you can provide some insight to this matter.  
My hardware platform is a Sun Sparc2 workstation running Sun OS4.1.2.

Thanks.
From: jerry@ora.com (Jerry Peek)
Newsgroups: comp.unix.questions
Subject: Re: NutShell Book Titles
Keywords: books unix NutShell
Date: 4 Oct 92 11:56:17 GMT
Organization: O'Reilly & Associates, Inc.

> >	You can call O'Reilly & Associates, Inc. at
> >	(800) 338-6887 US/Canada
...
> 	Huh? Use a phone! Certainly not! You can ftp to ora.com and
> get the catalog in /pub/book.catalog.Z

Sorry to jump in late.  Everyone's right.  A couple of nit-picky corrections:
    - our 800 number is now (800)998-9938
    - Please use ftp.ora.com, not ora.com

If you want announcements of new books by e-mail, you can get on our
book-info mailing list by sending mail to book-info-request@ora.com.  We're
also working on other on-line services, like a gopher-based catalog and
browser.  If you have suggestions or questions, send me mail.  Thanks.
-- 
Jerry Peek, O'Reilly & Associates, jerry@ora.com, (617)354-5800
Newsgroups: comp.unix.questions
From: sinan@milton.u.washington.edu (Sinan Karasu)
Subject: Re: how to connect a modem to a Sun SPARCstation?
Organization: University of Washington, Seattle
Date: Fri, 2 Oct 1992 04:55:12 GMT

In article <FISCHER.92Sep22221427@steiner.iesd.auc.dk> fischer@iesd.auc.dk (Lars Peter Fischer) writes:
>
>>>>>> "Marcello" == Marcello Dalpasso (marcello@deis21.cineca.it)
>
>Marcello> I'm wondering about connecting a modem to my Sun
>Marcello> SPARCstation 1+ (SunOS 4.1.1) via its serial port.
>
>A good start would be to read section 11.4 in the "System and Network
>Administration" manual. It's called "Adding a modem to your system"
>and explains such things as cables, dial-in, dial-out, configurations,
>speed, etc.
>
>It's all quite simple and the manual is pretty clear.
>
>
>/Lars "If all else fails, read the manual"
>--
>Lars Fischer, fischer@iesd.auc.dk | It takes an uncommon mind to think of
>CS Dept., Aalborg Univ., DENMARK. | these things.  -- Calvin

 Well it is not so simple. We have a Sportster (US Robotics) and It works as long as
you use it as a set baud rate modem. Still have not been able to connect it
to talk 19.2Kbaud on serial and variable on the other side. It does connect
and then I can not talk to the other side (no response). Any pointers ?
Please respond to sinan@mtesol.boeing.com
Thanx
From: kmcclare@ncrclm.ClemsonSC.NCR.COM (Ken McClaren)
Newsgroups: comp.unix.questions
Subject: Suggestions for good Unix5.4 tutorial.
Date: 6 Oct 92 16:35:26 GMT
Reply-To: kmcclare@ncrclm.ClemsonSC.NCR.COM (Ken McClaren)
Distribution: usa
Organization: NCR E&M CLEMSON Liberty, SC

I'm looking for a good UNIX 5.4 tutorial. Does anyone have any suggestions?
My background is in DOS.

        thanks in advance.
                ken.
P.S. please respond to my email address.

--
From: michael.livsey@canrem.com (michael livsey)
Newsgroups: comp.unix.questions
Subject: uupc or equivalent
Date: 3 Oct 92 15:35:41 GMT
Reply-To: "michael livsey" <michael.livsey@canrem.com>
Distribution: comp
Organization: Canada Remote Systems

GK>A few years back I saw a demo of a product called UUPC which allowed you
GK>to hook a PC to the UUCP network to receive email and Usenet feeds.  I
GK>can't find the literature I had on UUPC.  Does anyone know if UUPC is
GK>still on the market, and if so, can you send me an address for the vendor?
GK>Alternatively, are there other/better products on the market today that
GK>provide this same functionality?

I'm currently running UUPC 1.11Q, though I think that version 1.11T is the
most recent. The program is FREEWARE, and full source code is provided. It
works fine with my 2400Bps modem, but I think I have to play with the source
code to get it to work with my Worldblazer. I don't know of any other
FREEWARE/SHAREWARE products that compete with UUPC.

Hope this helps.

          michael.livsey@canrem.com
---
 ~ DeLuxe}/386 1.25 #9068 ~ /Earth is 98% full. Please delete anyone you can.
--
Canada Remote Systems  - Toronto, Ontario
World's Largest PCBOARD System - 416-629-7000/629-7044
Newsgroups: comp.unix.questions
From: schubert@avalon.physik.unizh.ch (Alex Schubert)
Subject: Re: logon detection
Organization: University of Zurich, Department of Computer Science
X-Newsreader: Tin 1.1 PL4
Date: Fri, 2 Oct 1992 16:35:50 GMT


There is another possiblity to "spy" on people logged in etc., besides
tcsh watch and other scripts and c-programs.
Is it possible that nobody heard about gnufusers? (GNU finger users)
Here is a part of the man pages.

     18 February 1992                                          GNUFUSERS(1)
 
     NAME
          gnufusers - watch people login and out
 
     SYNOPSIS
          gnufusers [ -g -i seconds -I
 
     DESCRIPTION
          Gnufusers is a screen based utility that displays gnu-finger(1)
          information using the curses(3) package.
 
          Each column displays, in order, the user name, the host and the
          tty the user currently logged in, the user's login time, and the
          idle time (if any) in minutes. "Active users", users with idle
          time less than a user specified time ( -I option ) or 3 minutes
          by default, a or every 20 seconds by default using finger(1).  It also
          checks your mail box for n sers file, users specified in a file given on the com-
          mand line with the -f option or a list of users optionally speci-
          fied on the command line itself.  If the -g option is specified
          along with the list of user names on the command line, then
          gnufusers assumes that the person is on a machine running gnu-
          finger(1).  If the -g option isnot included, thrs nng


Go, get it and enjoy it!

Alex

--
When the doors of perception are cleansed, man will see how things truely are...
--------------------------------------------------------------------------------
schubert@avalon.physik.unizh.ch             
schubert@ifi.unizh.ch
From: leisner@wrc.xerox.com ( Marty Leisner)
Newsgroups: comp.unix.questions
Subject: Which unix doesn't have sym links?
Date: 30 Sep 92 20:25:24 GMT
Reply-To: leisner.henr801c@xerox.com
Organization: Xerox
X-Newsreader: TIN [version 1.1 PL6]

Many years ago some unixes didn't have sym links...

Are there any that don't have it now?

--
marty
leisner.henr801c@xerox.com  
Member of the League for Programming Freedom
From: dansmith@Autodesk.COM (Daniel Smith)
Newsgroups: comp.unix.questions
Subject: Re: AWK or PERL: which is better?
Date: 28 Sep 92 19:00:31 GMT
Organization: Autodesk Inc., Sausalito CA, USA

In <1992Sep28.085557.6092@cfa160.harvard.edu> bruce@head-cfa.harvard.edu (Bruce Sams) writes:
> I am now at the cross roads: which one of these languages is "better", and

	Perl is :-)

	Oh?  You want me to back it up?  oh, ok...just a little though.

	Consider reading and writing to processes in awk.  Ok, now
consider opening dbm files.  Ok, now think about making sockets.
Is there a comp.lang.awk, and if so, does it have the enthusiasm
and helplfulness that you'd find in comp.lang.perl?

	Well anyways, I guess I've been going to The Church of Perl :-)

			Daniel
-- 
     Daniel Smith, Autodesk, Sausalito, California, (415) 332-2344 x 2580
	      Disclaimer: written by a highly caffeinated mammal
	    dansmith@autodesk.com            dansmith@well.sf.ca.us

Newsgroups: comp.unix.questions
From: ayman@eecs.umich.edu (Ayman I. Kayssi)
Subject: non-interactive shell by email
Organization: ACAL, EECS, University of Michigan, Ann Arbor
X-Newsreader: TIN [version 1.1 PL6]
Date: Mon, 28 Sep 1992 03:29:10 GMT

I would appreciate any comments (positive or negative) on the following idea:

'User' has an account on a unix machine, but User no longer can login to that
machine because no tcp/ip connection is possible. It would be nice if
there is a program similar to ftpmail except that, instead of being
restricted to a few commands for anonymous ftp, the program actually
executes a  shell, so that User can email shell commands, etc.  and have a
non-interactive login on the unix machine. The stdout and stderr of the
shell are directed to a file, which at the end of the non-interactive session,
will be mailed back to User. 
The shell may be started by something similar to in.comsat, that is you send
mail to special-shell@machine.domain with the contents of the mail message
being something like:

# non-interactive login 
# who's logged in
who
# list home dir
ls -al

etc...

Any comments? Has this been done before?

Thanks.
--
Ayman I. Kayssi                               |    ayman@eecs.umich.edu
EECS Department                               +------------------------
University of Michigan                        |          (313) 764-8033
From: GEANEL@cn.laafb.af.mil
Newsgroups: comp.unix.questions
Subject: internet address name resolution
Date: 28 Sep 92 18:57:15 GMT

Sometimes I need to  ftp anonymously to a site whose symbolic name (such as 
ftp.nisc.sri.com) is known but whose internet address (such as 192.33.33.22) 
is not known.  Consequently whenever I attempt to ftp to such a site, the 
operating system gives an "unknown host" error message since my /etc/hosts 
file does not contain an entry which provides address resolution of the 
symbolic name ("route add default [gateway-internet-address]"  does not solve 
this problem).  What can be done in such situations?  Is there a name server 
somewhere on the internet?
From: jmc@hopi.eel.ufl.edu (Jim Callahan)
Newsgroups: comp.unix.questions
Subject: "remsh" Hangs my Program!
Date: 28 Sep 92 17:52:39 GMT
Organization: University of Florida


I am trying to execute a process on a remote machine from inside a C program.  I am using a the "fork - exec - wait" C functions to execute the equivalent of:

remsh machine_name -n command arg1 arg2 ... argN &

This seems to hang the MAIN PROGRAM as well as the WORK PROGRAM which makes the "exec" call and I get a "suspended tty input" error message.  Can someone explain what is going on here?  I temporarily replaced the fork/exec pairs with a "system" function call and it works fine.  The diagram below might help explain the relationship of processes and calls.


MAIN PROGRAM
 fork() ------------------>  exec "WORK PROGRAM"                           
 event_loop()...           WORK PROGRAM
                           fork() 1 -------------------> exec() "remsh 1 ... " 
                           fork() 2 -------------------> exec() "remsh 2 ... " 
                           fork() 3 -------------------> exec() "remsh 3 ... " 
                           fork() N -------------------> exec() "remsh N ... " 
                           wait() 1
                           wait() 2
                           wait() 3
                           wait() N
                           
	 	           final actions ...

                           exit()

						

Please e-mail your reply or Post to this group.	
Thanks for the help....

						-Jim
Newsgroups: comp.unix.questions
From: ender@boole.att.com (Ender Ayanoglu)
Subject: Re: How to tar x a file with an absolute filename?
Originator: news@cbnewsf.cb.att.com
Organization: AT&T Bell Labs, Holmdel, NJ
Date: Sun, 27 Sep 1992 01:09:15 GMT

I am told GNU tar automatically does this, tried, and it works.
Thanks to all those who responded.

Ender Ayanoglu



Newsgroups: comp.unix.questions
From: cariapa@angelo.amd.com (Sandeep Cariapa)
Subject: Re: Please help me to boot my diskless SUN 3/60 from the network
Organization: Advanced Micro Devices, Santa Clara, CA
Date: Wed, 30 Sep 1992 01:36:08 GMT

In article <1445@rand.mel.cocam.oz.au> twp@rand.mel.cocam.oz.au (Tony Payne CSD) writes:
>Anyway, we have a stack of SLC's, IPC,s Sparcstation 1, 2 & 10's on our
>network, and I have recently aquired a diskless SUN 3/60, which I would like
>to boot remotely from one of these.
>
>We have set up our RARP server for this machine and it hapilly goes off and
>gets it's IP from it. 
>
>A while back, played around with remote booting an SLC and got to the point
>of loading the Kernel, and crashing when we try access filesystems. I wasn't
>involved in this step, so could someone please tell me the correct procedure 
>for setting up a heterogeneous boot server for this machine ?.
>
>What do I need to do next? I don't have an operating system for this machine,
>but would be happy to just get it going as an X-Terminal. Is this possible?
>Do I need any other software?

	I'm not really sure I understand the question. If you're
asking how you will have to set up the machine, you should read the
SUNOS Installation and Configuration manual and the SUNOS System
Administrator's manual.

	If you have already attempted to boot the machine and it has
failed, keep in mind that there are basically three programs that must
be running on the server. Obviously their corresponding files must be
uptodate as well. The 3 programs are: rarpd, tftpd, and bootparamd. 

	Hope this helps. 

--
Sandeep Cariapa, Systems Engineer, CTS/DSN.
cariapa@amd.com, 408-987-9043
Eagles may soar, but weasels don't get sucked into jet engines.
Newsgroups: comp.unix.questions
From: cavers@menudo.uh.edu (Chris M. Cavers)
Subject: comminicating with devices
Organization: University of Houston
Date: Sun, 4 Oct 1992 05:58:49 GMT

I would like to get some hints on what is the best way to
communicate with a device driver.

Specifically, I have written a disk device driver.
I would like to have a user level process communicate with
the device and the device with the user level process.
I would like to use message queues but am unsure of the effects
of crossing the kernel/user boundary.  The main concern is 
that the device should wake up whenever a message arrives and the message
handling should not interfere with the normal device operations of
the disk device driver...

thanks in advance
chris

Newsgroups: comp.unix.questions
From: kgermann@zeos.com (Ken Germann)
Subject: Re: Mail to compuserve?
Organization: Zeos International, Ltd
Date: Mon, 05 Oct 1992 04:44:30 GMT

In article <1992Oct2.175758.15459@aio.jsc.nasa.gov> walker@superboy.jsc.nasa.gov writes:
>I know this is a FAQ but I looked and couldn't find it.
>
>I have a friend on compuserve.  I know his id number.
>
>if I type 
>
>   mail 12344,232@compuserve.com

    mail 12344.232@compuserve.com will work to E-mail from the 'net to 
CIS.

INTERNET: foo.bar@mickey.mouse.org works from CIS to the 'net.



-- 
Ken Germann              ZZZZ EEEE  OO   SSS    ZEOS International, Ltd.  
support@zeos.com   INET     Z E    O  O S       Technical Support Dept.
uunet!zeos!support UUCP    Z  EE   O  O  SS     530 5th Ave N.W.
800-228-5390      VOICE   Z   E    O  O    S    St. Paul, MN 55112
612-633-7337             ZZZZ EEEE  OO  SSS     FAX         612-633-4607
Newsgroups: comp.unix.questions