HDTenEightyP/NetNews huggingface dataset:
From: cmpsg03@nt.com (Phillip Godwin)
Newsgroups: comp.unix.questions
Subject: source management packages???
Date: 11 Sep 92 20:39:26 GMT
Organization: Northern Telecom
X-Useragent: Nuntius v1.1

Does anyone out there have experience with a source management package
running
under HP-UX?  Be it commercial or shareware, I'm interested in your
impressions.

Please e-mail your responses (cmpsg03@nt.com). I would like to heare
pros,cons,
and approximate cost.

thanks in advance,

...Phil
-----------------------------------------------------------------------
------
   Phillip Godwin        |   Northern Telecom     |   Any opinions
expressed
                         |   Product Verification |   herein are my own -
uh -  
   cmpsg03@nt.com        |   RTP, NC              |   coming dear!....
-----------------------------------------------------------------------
------
From: rob@jdsny.com (Rob Yampolsky)
Newsgroups: comp.unix.questions
Subject: Init: process table full?  What do you tune to fix this?
Date: 3 Sep 92 15:49:07 GMT
Organization: Jefferson Data Services

I have been attaching terminals to an Interactive 3.0 system using Digiboard
concentrators.  After adding the 7th group of 16 async ports, I started getting
"Init: process table full" (not an exact quote) errors.  At this point, I could
not shut the system down cleanly.  Changing the getty lines in /etc/inittab
to "off" for the last 16 terminals clears up the error condition, but of course
I can't use the terminals.

Is there a tuneable parameter "init" uses to size it's process table?  I don't
think it's NPROC because the remaining terminals can run lots of processes 
with no problem.
-- 
================================================================
=     Mail replies appreciated if possible (who has time to    =
=     read this stuff?)               Thanks, rob@jdsny.com    =
================================================================
Newsgroups: comp.unix.questions
Subject: how to connect a modem to a Sun SPARCstation?
From: marcello@deis21.cineca.it (Marcello Dalpasso)
Date: 14 Sep 92 23:36:33 +0100
Distribution: world
Organization: Dept. of Electronics, Computer Science & Systems, Univ. of Bologna, Italy


Hi netters,

I'm wondering about connecting a modem to my Sun SPARCstation 1+ (SunOS 4.1.1)
via its serial port.

In particular, I would get the following situation:

1) At home, call the Sun from my PC via kermit and my modem.
2) The modem connected to the Sun replies (it has the auto-answer facility)
3) The Sun offers the login prompt
4) I login into my Sun account
5) I start a program (or a shell-script) such that:
 a) I can hang up at home
 b) In a few seconds, the Sun dials my home phone number
 c) My PC replies to the incoming call and gets a login prompt by the Sun.

Is this procedure possible?
I think so, but I cannot figure out which setup to perform on my Sun and which
software (Public Domain...) I must use.

Any solution is welcome, even partial.
Please reply by e-mail, and I will post a summary.

Thanks in advance.

-- 
	Marcello Dalpasso (e-mail: marcello@deis16.cineca.it)
	D.E.I.S. - Department of Electronics, Computer Science and Systems
	Viale Risorgimento 2, I-40136 Bologna, Italy			
	Phone: +39-51-644-3015 (fax: +39-51-644-3073)
Newsgroups: comp.unix.questions
From: lappala@unlinfo.unl.edu (Kris Lappala)
Subject: ex editor silence option
Keywords: ex editor silence option
Organization: University of Nebraska - Lincoln
Distribution: g
Date: Wed, 9 Sep 1992 15:20:37 GMT

I am using the ex editor in a shell program and wish to suppress the 
interactive feedback to the user.  the man page tells me the - | -s
option will do the trick, however I am not having any luck getting it 
to work.  Here is a copy of my shell script:

/******************************/

string="`grep $1 ${CSHRC}`"

if [ -z "$string" ]
then
echo "setenv $1 $2" >> ${CSHRC}

else
ex - | -s  ${CSHRC} <<-end_of_edit
/setenv *$1
d
i
setenv $1 $2
.
w
q
end_of_edit

fi


/******************************/

If anyone can be of any help please write to: lappala@cse.unl.edu
thanks

Newsgroups: comp.unix.questions
From: twpierce@unix.amherst.edu (Tim Pierce)
Subject: Re: user command to recover deleted file ?
Organization: Amherst College, Amherst MA
Date: Tue, 15 Sep 1992 04:49:49 GMT

In article <1992Sep15.024607.12743@news.acns.nwu.edu> navarra@casbah.acns.nwu.edu (John Navarra) writes:
>In article <BuLEvr.LGI@unix.amherst.edu> twpierce@unix.amherst.edu (Tim Pierce) writes:
>
>>all of your pampering is for nought when they "rm
>>final-draft-thesis".
>
>I say being a bit pampered is a HELL of a lot better
>than losing a file!
>...
>	I agree that many new users shouldn't be given altered commands
>but once you know enough to ask about a command, you should have the
>opportunity to change how it works.

You're saying two different things.  One is that new users shouldn't
be given altered commands, and the second is that it's all right to
pamper people.  It was pretty clear that I was talking about whether
or not rm should be aliased for new users, which was what I took your
position to be.  By all means, if I give you a gun, you're free to
shoot yourself in the foot if you know how it operates. :-)

>The philosophy you suggest, when
>extrapolated, would call for use of only those utilities available on
>EVERY UNIX PLATFORM.

Wouldn't.  It would call for non-over-reliance on utilities which are
not available on a majority of Unix platforms, and whose sudden
disappearance can be disastrous for the unexpecting user.

-- 
____ Tim Pierce                / "I don't know how much support NAMBLA
\  / twpierce@unix.amherst.edu /  has in the gay community."
 \/ (BITnet: TWPIERCE@AMHERST) /   -- Clayton Cramer, August 1992
From: yared@typhon.enst.fr (Nadim Yared)
Newsgroups: comp.unix.questions
Subject: No .. entry in a directory
Date: 8 Sep 92 14:26:24 GMT
Organization: Telecom Paris, France

All my excuses if this is a FAQ .

I just mounted a disk to a subdirectory called /home (on a sun sparc). The
problem with /home is that it does not recognize its parent directory, which
should be /   . 

  An ls -al, issued from the directory /home, gives the error :

	.. entry not found.

  The indirect problem I get is that all functions and programs that rely
on getwd do not work, simply because getwd() look for the complete working
directory by issuing a series of chdir("..") . (examples of such programs is
tar).
 
  Is there any way to solve this problem, and does anybody know how this 
could have happened ? 

  Thanks for e-mail'ing me your advices, i'll post a summary later.

  Nadim YARED.
  e-mail: yared@enst.enst.fr  
Xref: sparky comp.unix.questions:10789 comp.unix.wizards:3821
From: rdorich@jade.tufts.edu (Rob)
Newsgroups: comp.unix.questions
Subject: Re: Want to know if fingered
Date: 15 Sep 92 00:47:57 GMT
Organization: Tufts University - Medford, MA

This is actually mentioned somewhere in a FAQ to some extent.  What
you have to do is to make your .plan file into a socket file try man
mknod for this (and use mknod file p).

Then all you have to do is have another file trying to write to this
socket, followed by anything you'd like to do... this could be an
example:

#.plan is a socket
echo a >> .plan
echo Yout were paged at `date` by `w | grep $user | awk '{print $1}' |
grep -v $user` >> $home/log

   Oh, this method is not fully portable, it varies between systems...
I have experienced the following experiences:

   mknod is out of my reach;
   finger will only read .plan if it's a text file.


Good luck


--

-------------------------------------------------------------------------------
Roberto Dorich           |           /~~  \ /  ~~/~~ /~~/  /~~  /|  /    /~~
                         |    SKI   /--    X    /   /__/  /--  / |/ |   /--
rdorich@jade.tufts.edu   |         /__    / \  /   /\    /__  /     |  /__
-------------------------------------------------------------------------------
From: joslin_paul@ae.ge.com
Newsgroups: comp.unix.questions
Subject: Re: Doing FTP in background ...
Date: 11 Sep 92 12:05:51 GMT
Reply-To: joslin_paul@ae.ge.com
Distribution: na
Organization: GE Aircraft Engines
Originator: news@c0228.ae.ge.com

shubu@cs.wisc.edu (Shubhendu Mukherjee) writes:

>>>>>> In article <32515@adm.brl.mil>, hjbortol@impa.br (Humberto Jose Bortolossi) writes:

>HJB> Is it possible to do ftp as an process running in background? I tried
>HJB> to do this using a script file but I didn't get sucess. How do I supress  the
>HJB> transaction ftp messages? I tried the following:

>HJB> nohup ftp xxx.xxx.xxx < ftp.commands > dev/null &

>HJB> where ftp.commands is a file with ftp commands.

>Create a .netrc file containing the following:

>machine <machine-name> login <login-name> password <password> 

>Check the man page of netrc(5) for details.

>Then you can do 

>ftp <machine-name> < ftp.commands > /dev/null &

It's not a good idea to have a plaintext password stored anywhere on a
system.  While permissions on .netrc should be 600, and you may trust
root, if root is compromised, the cracker now has another account on
another machine to work from.  A better solution is to use "ftpget" or
"xtp".  Use archie to find a source; xtp is in the ImageMagick
distribution.  I prefer ftpget.  If you find a version later than Jun
1991, please send email. 
-- 
     Paul R. Joslin     |Dan Quayle's Top 10 TV complaints:
joslin@c0223.ae.ge.com  | 10. Nobody ever "beams up" William Shatner on
   +1 513 583 3537      |    Rescue 911.
From: bultman@dgw.rws.nl (G.W.Bultman)
Newsgroups: comp.unix.questions
Subject: Re: elm save file
Date: 3 Sep 92 05:59:51 GMT

> When I set the following variables in elmrc
> 
>      savemail = $HOME/axe    # for example
>      savename = ON
> 
> then enter the 's' command, elm displays the login name of the
> current mail message, not the savemail directory, as I had hoped.
> 
> ==========================================================================
>  Jeff Bowyer                         EMail:

Hi, 

This is correct behaviour; the savemail variable is meant to indicate 
where you want copies of your OUTBOUND mail saved. 
Mine is set to $HOME/Mail/Correspondence/Outgoing.Mail, where Outgoing.Mail
is a filename.
If a want to look up what I sent to someone weeks ago, I just do 
   cd $HOME/Mail/Correspondence; elm -f Outgoing.Mail

Bye, 
Gert.


--

    o                                                                o   
  / | \    Gert Bultman <bultman@dgw.rws.nl>   Koningskade 4       / | \  
 o--o--o   Tidal Waters Division               2596 AA The Hague  o--o--o 
  \ | /    Rijkswaterstaat                     The Netherlands     \ | /  
    o                                                                o    
Newsgroups: comp.unix.questions
From: pchan@mdd.comm.mot.com (Pat Chan)
Subject: TCP/IP on top of X.25?
Organization: Motorola - Mobile Data Division; Richmond, BC
Date: Tue, 15 Sep 1992 22:17:54 GMT

I want to know how can TCP/IP run on top of X.25?

Actaully what I want is: two workstations are connected
through a piece of X25 cloud, as follows:

                    _____
              X25  / X25 \  X25
  workstation ----| cloud | ----  workstation
    A              \_____/          B


The process in A wants to talk to another process in B
using socket. How?? ie. from both processes point of
view, they're usiny TCP/IP; and know nothing about X25.

Thanx in advance.


Pat Chan                          Internet: pchan@mdd.comm.mot.com 
Motorola Mobile Data Division     Voice: (604) 241-6032
11411 Number Five Road            Fax: (604) 241-6042
Richmond, BC Canada V7A 4Z3

-- 
Pat Chan                          Internet: pchan@mdd.comm.mot.com 
Motorola Mobile Data Division     Voice: (604) 241-6032
11411 Number Five Road            Fax: (604) 241-6042
Richmond, BC Canada V7A 4Z3
Newsgroups: comp.unix.questions
From: hunt@dg-rtp.rtp.dg.com (Greg Hunt)
Subject: Re: Awk: Beginner needs help!
Date: Sun, 6 Sep 92 19:41:39 GMT
Distribution: comp.unix.questions
Reply-To: hunt@dg-rtp.rtp.dg.com
Organization: Data General Corp., Research Triangle Park, NC
Keywords: awk unix

In article <5608@ucsbcsl.ucsb.edu>, 6500scv1@ucsbuxa.ucsb.edu (Steven C. Velasco) writes:
> 
> HI,
> I am new to unix, and really new to awk, so hopefully somebody can
> answer this question real easily.  I have hundreds of SAS program
> files written for MVS, that we now need to run on UNIX.  
> The files from MVS look like this :
> 
> COMMAND? list unnumbered
> //MVS JCL statements
> //MVS JCL statements
> //MVS JCL statements
> DATA _NULL_ ;
>    SET SASLIB.DATASET ;
> MORE SAS STATEMENTS
> RUN ;
> 
> I can get awk to print out the lines that don't contain the string  "//"
> or "COMMAND?" in $1, but I would like to have
> something that replaces the entire line  "COMMAND? list unnumbered"
> (this is always the first line, and occurs just once) 
> with the string: "libname saslib /usr2/username/datasets"  or, to 
> somehow put the "libname" string in the first line of each file.
> So the resulting file would look like this:
> 
> libname saslib '/usr2/username/datasets' ;
> DATA _NULL_ ;
>    SET SASLIB.DATASET ;
> MORE SAS STATEMENTS ;
> RUN ;
> 
> below is my feeble attempt to do this.  When I run this program, I
> get a message saying something like 'awk: cant set $0 at record 1':
> 
> $1 !~ /\/\// { if ( $0 ~ /COMMAND? list unnumbered/ ) 
> $0 = "libname saslib /usr2/username/datasets ;" 
> print >FILENAME }  
> 
> What am I doing wrong?  I would appreciate any help or suggestions.

I think this awk script might be easier:

    BEGIN {
        getline;
        print "libname saslib '/usr2/username/datasets' ;";
          }
    {if (substr ($1,1,2) != "//") print $0}

Then run it like this for each mvs file you have:

    awk -f awk_script mvs_file > unix_file

The BEGIN pattern runs once when the awk script is started.  It does
a getline to read the next line of the input file, thus ignoring the
first line of the file (the COMMAND? line).  Then it prints the line
that you want instead.

The next pattern runs for each line of the input file.  It looks at
first two bytes of the first field, and if they aren't "//", it prints
the whole line.  This will ignore the JCL statements.

Enjoy!

-- 
Greg Hunt                            email: hunt@dg-rtp.rtp.dg.com
DG/UX Core Development
Data General Corporation
Research Triangle Park, NC, USA      These opinions are mine, not DG's.
From: varney@sage.cc.purdue.edu (The Grand Master)
Newsgroups: comp.unix.questions
Subject: entering into cbreak mode with stty()
Date: 8 Sep 92 19:58:41 GMT
Organization: Purdue University Computing Center


	I am trying to write a program that will allow you to input a 
value without having to hit return. I have tried the following, but it
does not work correctly. It will not respond (no matter how many keys
you hit) until you hit linefeed (return does nothing as well). At that
point, the character is null, and my screen is then set to no echo, and
no nl-cr translation.
	Could someone tell me what the problem is?
			Bruce

--begin program--
#include <stdio.h>
#include <fcntl.h>
#include <signal.h>
#include <sgtty.h>
main ()
{
register int fd, sig, n;
char h;
struct sgttyb sav_tty, chg_tty;
if ((fd = open("/dev/tty", O_RDONLY))== -1)
    exit(1);
if (gtty(0, &sav_tty))
    exit(2);
chg_tty = sav_tty;
chg_tty.sg_flags &= CBREAK;
if (stty(0, &chg_tty))
    exit(3);
printf("Hey, input a character : ");
getchar(h);
printf("\nThe character you input was %c.\n",h);
chg_tty.sg_flags &= ~CBREAK;
if (stty(0, &chg_tty))
    exit(3);
close(fd);
}
--end program--
Newsgroups: comp.unix.questions
From: twpierce@unix.amherst.edu (Tim Pierce)
Subject: Re: user command to recover deleted file ?
Organization: Amherst College, Amherst MA
Date: Tue, 15 Sep 1992 00:04:38 GMT

In article <1992Sep14.211851.6952@news.acns.nwu.edu> navarra@casbah.acns.nwu.edu (John Navarra) writes:

>	Finally, without arguing the merits of various file preserving
>methods (where have you been Kamens!? ;-) one very simple thing to do
>it alias the rm command to mv all files to a 'wastebasket' or 'tmp'
>directory and then later clean that directory out manually or with
>a cron job.

As it was pointed out to me when I brought this up, globally aliasing
rm to something clever in order to "protect" the user is an extremely
bad idea.  It sets them up to expect rm to act a certain way, and if
they are dropped into a shell without aliasing (e.g. the Bourne
shell), or into another Unix system which is not administered in the
same way, all of your pampering is for nought when they "rm
final-draft-thesis".

Aliasing another command, such as "del", to this safe delete, is much
more advisable.

-- 
____ Tim Pierce                / "I don't know how much support NAMBLA
\  / twpierce@unix.amherst.edu /  has in the gay community."
 \/ (BITnet: TWPIERCE@AMHERST) /   -- Clayton Cramer, August 1992
From: styrrell@daisy.ee.und.ac.za (Simon Tyrrell)
Newsgroups: comp.unix.questions
Subject: DRS/NX documentation anomaly
Date: 7 Sep 92 09:01:07 GMT
Organization: Univ. Natal, Durban, S. Africa
NNTP-Posting-Host: daisy.ee.und.ac.za

We've recently acquired a DRS3000 running DRS/NX and I'm trying to 
implement mail as per the instructions in Appendix E of the System
Administrator's Guide.  Quoting from page E-8 (no, that's not a smiley)

>    2.  The list of machines that will accept SMTP mail is specified
>        by the netdird service.  See netdird(1M) in the System
>        Administrator's Reference Manual to see how to add services
>        to this database.

There is no such netdird man page in my SAR manual :-(  Have other
DRS/NX users noticed this problem?  We want to send mail over the
Internet via TCP/IP.  Unless I've missed something, the SAR manual
seems to have failed me, and I'm now stuck.  

How does one get over this step?  Any help will be greatly appreciated.

Simon Tyrrell
-------------
Academic Computer Services
University of Durban-Westville
From: smr@hitkw14.pki-nbg.philips.de (S.Riehm)
Newsgroups: comp.unix.questions
Subject: Re: .netrc entry for default ftp connects
Keywords: ftp netrc
Date: 14 Sep 92 11:54:39 GMT

guru@camelot.bradley.edu (Jerry Whelan) writes:

>In article <1992Sep12.184012.2519@lambda.msfc.nasa.gov> thigpen@lambda.msfc.nasa.gov (Keith Thigpen) writes:
>-} .netrc works fine if I specify the machine that I want to contact. Often, tho,
>-} I want to jump out on the net and use anonymous ftp.

>Well, then use this script (suitably modified for your situation) in
>place of ftp:

[script deleted]

eek! that script adds a line to the end of your .netrc file every time
you ftp somewhere... why don't you just read the man page to get the
answer...

---
netrc(4)

    default             This is the same as 'machine name' except that
			default matches any name.  There can be only
			one default token, and it must be after all
			machine tokens.  This is normally used for
			ftp as follows:

			default login anonymous password user@site

			This provides automatic anonymous FTP login
			to machines not specified in .netrc.  This
			can be overridden in ftp by using the -n flag
			to disable auto-login.
---

need I say more?

catchya

-----------------------------------------------------------------
Stephen Riehm		Configuration Management	   _-_|\ 
smr@pki-nbg.philips.de	Philips Kommunikations Industrie  /     \
Work: +49 911 526 2975	N|rnberg, Germany		  \_.-.*/
Fax:  +49 911 526 2095	"I was there, now I am here!"	       v 
"My company speaks another language, I CAN'T speak on it's behalf"
From: doug@star2.cm.utexas.edu (Christopher Marshall)
Newsgroups: comp.unix.questions
Subject: corrupted compressed tar tape
Date: 11 Sep 92 22:39:06 GMT
Organization: University of Texas at Austin, USA.


Hi,
	i am trying to read a tar tape that was created w/ the
compress option, but one of the blocks is corrupt.  When i try to
extract the tape the corrupt input causes compress to barf and the tar
extraction stops.
	i have determined at which block the corruption occurs by
using "dd" and "uncompress".  Is there anyway i can remove the bad
block and splice the file together?
	Any suggestions will be greatly appreciated.  i'm sort of
desperate.

	Thanks,
       doug

	doug@star2.cm.utexas.edu
	cmft557@hermes.chpc.utexas.edu
--
  	 Doug Clendening
	 Univ. of Tx. at Austin
	 Tel. number: 512 471-4892

	 doug@star2.cm.utexas.edu
	 cmft557@emx.utexas.edu
From: hjbortol@impa.br (Humberto Jose Bortolossi)
Newsgroups: comp.unix.questions
Subject: Doing FTP in background ...
Date: 10 Sep 92 15:52:12 GMT

Greetings.

	Is it possible to do ftp as an process running in background? I tried
to do this using a script file but I didn't get sucess. How do I supress  the
transaction ftp messages? I tried the following:

nohup ftp xxx.xxx.xxx < ftp.commands > dev/null &

where ftp.commands is a file with ftp commands.

	Any help will be welcome.

	Humberto.

-- 
+------------------------------------------+----------------------------------+
! Humberto Jose' Bortolossi                ! bitnet:   hjbortol@brlncc.bitnet !
! Instituto de Matematica Pura e Aplicada  ! internet: hjbortol@gauss.impa.br !
! Estrada Dona Castorina, 110              +----------------------------------+
! Jardim Botanico                          ! voice:    55-021-294-9032 (185)  !
! CEP 22460 - Rio de Janeiro - RJ - Brazil ! fax:      55-021-512-4115        !
+------------------------------------------+----------------------------------+
Xref: sparky comp.unix.questions:10777 comp.unix.wizards:3813 comp.unix.sysv386:14108 comp.unix.admin:4901 comp.unix.xenix.sco:2841
From: philipg@bronco.cna.tek.com (Philip Guenther)
Newsgroups: comp.unix.questions,comp.unix.wizards,comp.unix.sysv386,comp.unix.admin,comp.unix.xenix.sco
Subject: Re: Problem with "umount" on SCO-ODT (UNIX v. 5.3.2)
Date: 6 Sep 92 07:23:21 GMT
	<JOCHEN.92Sep4193447@busybit.mrz.sub.org>
Followup-To: comp.unix.questions
Organization: The Network, Information and Research Division
In-reply-to: jochen@busybit.mrz.sub.org's message of 4 Sep 92 17:34:47 GMT

In article <JOCHEN.92Sep4193447@busybit.mrz.sub.org> jochen@busybit.mrz.sub.org (Jochen Fahrner) writes:

   In article <1992Sep2.202716.9600@cse.iitb.ernet.in> raj@cse.iitb.ernet.in (Gokhale Rajendra V ) writes:

      We have an 80486 machine running SCO-ODT (UNIX v.5.3.2).  We have two
      hard discs, one containing the root partition while the other (designated
      as /dev/user) is mounted as /usr2.  The problem is that we are unable to
      unmount the latter.  umount complains "/dev/user busy" although the
      file system is not really busy.  This behaviour is observed with
      unfailing regularity.
      As a result, we can never  do a normal shutdown of the machine.
      Can anyone help?

   Wonderfull!
   We have this problem since we use SCO Unix (about 2 years), and we
   colud not solve the problem with our german distributors.
   We have several file systems, some are exported with NFS.
   And only one filesystem (/u) is *always* busy when we do a shutdown.
   The only difference is, that this filesystem is mounted from some
   DOS-PCs with Sun PC-NFS 3.0.1. The other filesystems are only mounted
   by unix-Workstations.
   -- 
   Jochen Fahrner, D-8068 Pfaffenhofen, jochen@busybit.mrz.sub.org

  Have you considered the possibility that the command umount is
either on the busy filesystem or uses libs on the busy filesystem?  I
believe that this will make the filesystem appear busy.  If this is
your problem, you can either check for a stand-alone version somewhere
(I know that Sun has /sbin for programs that can be used in
single-user mode with nothing else mounted) or roll your own.  Heck,
you could even hardcode the parameters to umount(2) into the program
and call it umountuser.  Just remember to statically link it. :-)

Best of luck!

Philip Guenther

guenther@stolaf.edu  or  philipg@bronco.cna.tek.com
Student System Programmer, ACC, St Olaf College, Northfield, MN
These are all my opinions!  All mine!  Mine, mine, mine, mine, mine!!!
"Life makes sense!?!  LIFE MAKES SENSE!?!  Where do people get these ideas?"