HDTenEightyP/NetNews huggingface dataset:
From: chris@ctmnix.UUCP (Chris Matthews)
Newsgroups: comp.unix.questions
Subject: Re: System Locks Up Daily (RS/6000 560)
Summary: system freeze could come from...
Date: 13 Dec 92 23:34:44 GMT
Reply-To: chris@ctmnix.UUCP (Chris Matthews)
Distribution: na
Organization: Underground Nixbox Creations

In article <1804@hsvaic.boeing.com>, marineg@hsvaic.boeing.com (Gary Marine) writes:
> 
> Problem Description:
> 
>     The system locks-up 1 or more times each day.  The only fix is
>     a hard reboot.
> 
 { Majority of text has been deleted }

Being a hardware tech, I would say that this problem could be coming from one 
of the controller cards inside.   I have seen systems not work at with a net
card that is defective. 

Try removing the two ethernet cards for the time and see if the problem goes
away.   If problem still exist, try the other cards [ if you happen to have
some in-house ].

Disregard this message if you've tried the above.

chris
From: ajmy@festival.ed.ac.uk (A Myles)
Newsgroups: comp.unix.questions
Subject: Re: <defunct> Zombies
Date: 17 Dec 92 13:16:51 GMT

Funnily enough, I was wondering about this last night...

If a process can be identified as defunct, why is it not removed from
the process table? I've seen machines with week old zombies and no sign
of any living parent (i.e. a process matching PPID). I don't think
its possible for a zombie to cling onto it's parent's parent is it,
while the "intermediate" process exits?

Is there some accounting purpose fulfilled by leaving zombies in
the table, or such like? (with and without parent)


Yours in ignorant curiousity...

Andy.
--
This is not the IYFUCO supported .signature file and so has been hopelessly
brain-damaged to discourage user popularity. Warm-n-fuzzy-front-ended pop-up
X11 .signatures will be available shortly. The additional disk resource
required will be provided by removing the accounts of real users who suicide.
Newsgroups: comp.unix.questions
From: jpr@jpradley.jpr.com (Jean-Pierre Radley)
Subject: Re: untaring .tar-z files
Organization: Unix in NYC
Date: Sun, 13 Dec 1992 07:09:17 GMT

In article <20009@ucdavis.ucdavis.edu> ez006159@chip.ucdavis.edu (Logjam) writes:
>
>No, he means .tar-z  I just got some files from wuarchive.wustl.edu, and 
>they are all done with tar-z.  Now what can I do with them?  They don't
>respond to unpack, uncompress, or tar (or whatever)
>
>So, what do you do?
>

What's the magic number on these files?

That would be the first two bytes seen when you do
	hd file.tar-z | sed 1q
-- 
Jean-Pierre Radley   Unix in NYC   jpr@jpr.com   jpradley!jpr   CIS: 72160.1341
Xref: sparky comp.unix.questions:14672 alt.binaries.pictures.utilities:2105 alt.binaries.pictures.d:5852
From: ralf@ubka.uni-karlsruhe.de (Ralf Grohmann)
Newsgroups: comp.unix.questions,alt.binaries.pictures.utilities,alt.binaries.pictures.d
Subject: Re: PS to Gif?
Date: 14 Dec 1992 15:03:41 GMT
Organization: University of Karlsruhe, Germany
Distribution: world
NNTP-Posting-Host: ubkadec1.ubka.uni-karlsruhe.de

In article <exuptr.360.724105063@exu.ericsson.se>, exuptr@exu.ericsson.se (Patrick Taylor) writes:
|> In article <Dec.11.13.52.38.1992.3497@gnumath.rutgers.edu> lukeh@gnumath.rutgers.edu (Luke Higgins) writes:
|> >Is there any way to convert from a PS file to a gif format. I have some
|> >pictures that are in PS and I want to edit them and the only editor
|> >that I have is one that edits gif files. I know very little about
|> >PostScript and am really a computer novice when it comes to a lot of
|> >things.
|> There's a program out there called Image Alchemy that converts from almost
|> anything to almost anything, but I don't know if it does PS or not.

Sorry, alchemy can convert only to PS, not from PS, because it would need a
full-featured ps-interpreter to do that.
But use GhostScript, the GNU Postscript Interpreter. It has an output-mode
'gif8' which makes gif-files from PS-Input. It is at least available
 for Unix, OS/2 and DOS (in the usual places).

Ralf

-- 
Dipl.-Inform. Ralf Grohmann
Universit"atsbibliothek Karlsruhe, Germany
ralf@ubka.uni-karlsruhe.de
   This function is occasionally useful as an argument to other functions
   which require functions as arguments.-- Guy Steele Jr. CLTL
From: barmar@think.com (Barry Margolin)
Newsgroups: comp.unix.questions
Subject: Re: cat a > a , getting it straight
Date: 17 Dec 1992 20:18:23 GMT
Organization: Thinking Machines Corporation, Cambridge MA, USA
NNTP-Posting-Host: telecaster.think.com

In article <1992Dec17.074018.3226@news.acns.nwu.edu> navarra@casbah.acns.nwu.edu (John Navarra) writes:
>[riemann:62] ~/tmp -> cat a | cat > a
>[riemann:63] ~/tmp -> cat a
>file a
>
>But, this output is not predictable. Sometimes, a was clobbered several
>times in a row. Sometimes, a was preserved several times in a row. Once,
>I even got this:

The shell runs both parts of a pipeline concurrently.  Sometimes the "cat
a" manages to run to completion before "cat > a" gets started, so it can
read the file before it gets clobbered.  Other times the "cat > a" starts
first, so "cat a" sees an empty input file.

>[casbah:58] ~/tmp -> cat a | cat > a
>cat: write error: Bad address

In this case, "cat > a" started in the middle of "cat a".  On Suns, the cat
command works by mmap()ing the input file if it's an ordinary file, and
then using that memory as the output buffer in a write() call.  What
happened here is that the file was truncated between the mmap() and the
write(), so the write() tried to access memory that was no longer
allocated.

>Somebody is not doing their job right. I couldn't reproduce this on non-Sun
>machines though.

Depends on what you consider "right".  You're not supposed to be able to do
this, so anything that happens is right.
-- 
Barry Margolin
System Manager, Thinking Machines Corp.

barmar@think.com          {uunet,harvard}!think!barmar
From: mathieu@ncrcis.stpaul.ncr.com (Tom Mathieu [7143])
Newsgroups: comp.unix.questions
Subject: Need help with uudecode/uuencode
Date: 14 Dec 92 15:11:02 GMT
Article-I.D.: NCRTimes.1992Dec14.151102.15205
Distribution: usa
Organization: NCR NPD Division

Here's what I enter:

uuencode source.zip > source.uue

Nothing happens (the server just sits there).

It seems to me that our uuencode has changed, because the man
page used to tell you that you could include the "extracted" name
on the command line like this:

uuencode source.zip newname.zip > source.uue

Then when the file was uudecoded, it would have a new name.

Is anyone else having this problem?  How do you fix it?

Thanks

--
     _ _ /|
     \'o O'  mathieu@ncrcis.stpaul.ncr.com
     =(_._)=
        U
Newsgroups: comp.unix.questions
From: lwall@netlabs.com (Larry Wall)
Subject: Re: How to chop up an archive.tar.Z file like in the X distributions?
Organization: NetLabs, Inc.
Date: Thu, 17 Dec 1992 23:58:37 GMT

In article <MERLYN.92Dec16113051@romulus.reed.edu> merlyn@ora.com (Randal L. Schwartz) writes:
: In article <1992Dec15.142232.1@cc.utah.edu> eyring@cc.utah.edu writes:
:    How to chop up an archive.tar.Z file like in the X distributions?
: 
: I use my "binsplit" program, like so:
: 
: #!/usr/bin/perl
: 
: $size = 65536;
: $size = shift if $ARGV[0] =~ /^-\d+$/;

That would set the size to a negative number.  How 'bout:

    $size = -shift if $ARGV[0] =~ /^-\d+$/;

Larry Wall
lwall@netlabs.com
Newsgroups: comp.unix.questions
From: ray@Celestial.COM (Ray Jones)
Subject: Re: What do *you* use to format mail?
Organization: Celestial Software, Mercer Island, WA
Date: Thu, 17 Dec 1992 22:28:37 GMT

In <1992Dec16.170902.21889@nwnexus.WA.COM> David Ruggiero <osiris@halcyon.com> writes:

>nrp@csug3.cs.reading.ac.uk ("Galactic subservient raisin pennies" Neilski) writes:

>>osiris@halcyon.com (David Ruggiero) writes:
>>>1) Evenly formatting the lines to a preset (or specified) length, 
>>>   performing concatenations and wrapping as necessary.

>>If you mean right-justifying the text, PLEASE PLEASE PLEASE don't!  Fully
>>justified fixed-width text is much harder to read than non-justified.

>No, I mean (1) evening out line length to some average (concatenating
>short lines and limiting longer ones). Then, pre-pending some variable
>string (like "JB> " to indicate Joe Blow's text).

>>If you mean just limiting line length, look at fmt(1).

>If fmt(1) could do all that I wanted, I wouldn't have posted (see the original
>for a statement of the problem). Besides, on my system [Ultrix], fmt(1) is so
>brain dead that it doesn't even accept a line-length option, so it's useless
>for the task I have laid out. What I want to do, I expect, takes a short
>perl or awk script, and I figure *someone* out there must have one.

>Other suggestions are still most welcome.

I don't have fmt on my system, so I built the following shell filter that
does the same thing.  I have it set for 6.5inche line length, but you can
change it to anything you like.

NOTE: this script uses 'nroff', so you do have to have that.

#! /bin/sh
# This is a shell archive.  Remove anything before this line, then unpack
# it by saving it into a file and typing "sh file".  To overwrite existing
# files, type "sh file -c".  You can also feed this as standard input via
# unshar, or by typing "sh <file", e.g..  If this archive is complete, you
# will see the following message at the end:
#		"End of shell archive."
# Contents:  fmt
# Wrapped by ray@camco1 on Thu Dec 17 14:28:17 1992
PATH=/bin:/usr/bin:/usr/ucb ; export PATH
if test -f 'fmt' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'fmt'\"
else
echo shar: Extracting \"'fmt'\" \(176 characters\)
sed "s/^X//" >'fmt' <<'END_OF_FILE'
X
X# Copyright 1990, Onager Systems, Ray A. Jones
Xecho "" >/tmp/.xy
Xecho ".na
X.ll 6.5i" >/tmp/xx
Xcat - >>/tmp/xx
Xnroff /tmp/xx|sed -e "/^$/d" |cat - /tmp/.xy
Xrm /tmp/xx /tmp/.xy
END_OF_FILE
if test 176 -ne `wc -c <'fmt'`; then
    echo shar: \"'fmt'\" unpacked with wrong size!
fi
chmod +x 'fmt'
# end of 'fmt'
fi
echo shar: End of shell archive.
exit 0
-- 
INTERNET:  ray@Celestial.COM   Ray A. Jones; Celestial Software
UUCP:   ...!thebes!camco!ray   6641 East Mercer Way
             uunet!camco!ray   Mercer Island, WA 98040; (206) 947-5591
The probability of one or more spelling errors in this missive approaches
Newsgroups: comp.unix.questions
From: fnord@panix.com (Cliff Heller)
Subject: Re: Simple Korn shell question
Date: Fri, 18 Dec 1992 20:00:47 GMT
Organization: Right Bleedin' Church of Libertine Obfuscatology

In <15208@hq.hq.af.mil> lpeters@postmaster@hq.af.mil (Leslie D Peters) writes:

>In article <Bz9wnp.IHz@cs.uiuc.edu>, schwager@mike.cs.uiuc.edu (Mike Schwager) writes:
>|> Got a quick one.  If I have an alias like this:
>|> 
>|> alias wow='echo $@ hello there'
>|> 
>|> or even,
>|> 
>|> alias wow="echo $@ hello there"
>|> 
>|> Then why do I get the following when I run the alias?  To wit,
>|> 
>|> $ wt WOW
>|> hello there WOW
>|> $ 
>|> 
>|> The argument(s) should be first!  Why not?  The same thing happens with the
>|> print command.


>My experience is that alias uses the parameters it's given at the
>end.  For those actions where *I* need something else, my $HOME/bin 
>directory grows a little bit larger.

The actual fact is that ksh aliases do not accept parameters.

The $@ expands to the parameters that were passed to the shell. (Isn't it
$* anyway?)

The difference between double and single quoting is when the $@ gets
expanded, but in both cases it gets expanded to the same thing.  The WOW,
that you stick on the command line just gets added to the command line
after alias expansion.

If you want to use paramters, you have to define it as a function.

-- 
    / \      Reverend fnord                 | "King Kong died for your sins!"
   /   \     fnord@panix.com                | 
  / <0> \                                   | "Don't just eat a hamburger, 
 /_______\   Church of Obfuscatology, Inc.  |  eat the HELL out of it!"
Xref: sparky comp.unix.questions:14602 alt.binaries.pictures.utilities:2066 alt.binaries.pictures.d:5817
From: exuptr@exu.ericsson.se (Patrick Taylor)
Newsgroups: comp.unix.questions,alt.binaries.pictures.utilities,alt.binaries.pictures.d
Subject: Re: PS to Gif?
Date: 11 Dec 92 20:17:43 GMT
Organization: Ericsson Network Systems, Inc.
X-Disclaimer: This article was posted by a user at Ericsson.
              Any opinions expressed are strictly those of the
              user and not necessarily those of Ericsson.

In article <Dec.11.13.52.38.1992.3497@gnumath.rutgers.edu> lukeh@gnumath.rutgers.edu (Luke Higgins) writes:
>From: lukeh@gnumath.rutgers.edu (Luke Higgins)
>Subject: PS to Gif?
>Date: 11 Dec 92 18:52:38 GMT


>Is there any way to convert from a PS file to a gif format. I have some
>pictures that are in PS and I want to edit them and the only editor
>that I have is one that edits gif files. I know very little about
>PostScript and am really a computer novice when it comes to a lot of
>things.

>Luke Higgins

There's a program out there called Image Alchemy that converts from almost
anything to almost anything, but I don't know if it does PS or not.
 ----------------------------------------------------------------------------
                    !!! H A P P Y   H O L I D A Y S !!!

  - Patrick Taylor, Ericsson Network Systems
    exuptr@exu.ericsson.se                    "Don't let the .se fool you"
    exuptr@ZGNews.Lonestar.Org  <SLOW!>
Newsgroups: comp.unix.questions
From: richardf@teal.csn.org (Richard Forbin)
Subject: CMS Tape Drives
Organization: Colorado SuperNet, Inc.
X-Newsreader: Tin 1.1 PL4
Date: Fri, 11 Dec 1992 19:14:37 GMT


Has anyone here ever used a Colorado Memory Systems drive under UNIX?
Been thinking about getting one, they're cheap enough, but I figured I'd better
check here first...  Anyone use one?? Any input would be helpfull.
Thanks in advance!


Newsgroups: comp.unix.questions
From: jdell@maggie.mit.edu (John Ellithorpe)
Subject: Re: man pages
Organization: Massachusetts Institute of Technology
Date: Tue, 15 Dec 1992 19:21:18 GMT

On 15 Dec 92 13:59:36 GMT, lukeh@gnumath.rutgers.edu (Luke Higgins) said:


> What is the format for man page and how can I read them so that they
> make more sense (or print them out.) Any and all information would be
> appreciated. Example: I have a file called preps which is a
> pretty postscript processor and it has a man page, how do I read it
> so that it looks nice?

I'm not sure what the question is asking but I'll give a go at it.  If you 
type: % man <command> you should be getting a plain text output which may or
may not be formatted already.  The files themselves are in troff/nroff format
which have man pages macro extensions.

If you want to print them out, I would suggest something like:

% man <command> | lpr

or something like that.

Hope that was some help.

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: tbrann@black.ox.ac.uk (Tony Brannigan)
Newsgroups: comp.unix.questions
Subject: Re: .exrc file for vi customization
Date: 11 Dec 92 23:17:26 GMT
Organization: Oxford University Engineering Dept.
Originator: tbrann@black

fyl@ssc.com (Phil Hughes) writes:
|>I have one thing to add.  Much like Stephen's example I find that I need
|>different vi setups based on what I am working on.  To automate this
|>process I put the like
|>    so .viset
|>in my .exrc file.  Whenever vi is started it looks for the file .viset in
|>the current directory.  If found, it reads it in much the same as it reads
|>.exrc.  If it doesn't find it an error message that that effect quickly
|>blinks on the status line and things continue.
|>
|>This makes it possible to have special vi setups for various directories.
|>Thus, when I am working on documentation I put a .viset in the
|>documentation directory that binds function keys to troff font changes and
|>sets a wrap margin.

In any implementation of vi I have used, it checks the current directory
for a file called ".exrc".  It first checks your home directory for a
.exrc, and if it finds it sources it, then checks the current directory
for a .exrc and, if it finds it, sources it.

This assumes you have not set the EXINIT environment variable.

Tony
-- 
"And soon all of us will sleep under the earth, | tbrann@ox.ac.uk
  we who never let each other sleep above it."  | u90afb@ecs.ox.ac.uk
   Marina Tsvetayeva 1915                       | oupafb@ox.ac.uk
Xref: sparky comp.unix.questions:14696 comp.unix.shell:5070
From: kkress@phent.UUCP (Kenneth R. Kress)
Newsgroups: comp.unix.questions,comp.unix.shell
Distribution: world
Subject: Re: Substituting with sed, ...
Keywords: sed m4 substitutions quoting strings
Organization: That's Entertainment BBS
Date: Mon, 14 Dec 92 23:58:10 EST

I wrote:
> Howdy neighbor,
> 	That is one cruel and inhuman torturous problem. I like to solve
> things first, no matter how crude the solution, and then tidy up, but this
> was so ugly, I'll offer it in the hopes that someone else will show both of
> us a "nice" solution using sed.   Here goes.
> 
> test.sed data2 produces:
> 
> 	acaY csacacYcascsc  
> 	"cscaXcacsXcs"  csaYc "X" caY
> 	Yaca Ycaca  ca "caXcas"  ccaY cacs
> 
> cat test.sed produces:
> sed 's/X/ X /g' 	|
> sed 's/\"/`/'		|
> sed 's/\"/~/'		|
> sed 's/\"/`/'		|
> sed 's/\"/~/'		|
> sed 's/\"/`/'		|
> sed 's/\"/~/'		|
> sed 's/\"/`/'		|
> sed 's/\"/~/'		|
> sed	's/`/``/g
> 	s/~/~~/g'	|
> tr "~" "'" > $$tmp
> m4 test.m4 $$tmp	> $$tmpa
> sed	's/ X /X/g
> 	s/ Y /Y/g
> 	s/`/\"/g' $$tmpa |
> sed "s/\'/\"/g"
> # clean exit
> rm $$tm*
> exit 0

	Oops! I forgot to define test.m4

cat test.m4 produces:
define(`X', `Y')

> 
> Let it's hideousness inspire others to respond.
> 
> 				Ken.
> 
===================================================================
Ken Kress, Glenside, PA * dsinc!phent!kkress 
	Daring ideas are like chessmen moved forward;
	they may be beaten, but they may start a winning game.
					Johann Wolfgang von Goethe
-------------------------------------------------------------------
Newsgroups: comp.unix.questions,comp.lang.c
From: fjh@munta.cs.mu.OZ.AU (Fergus James HENDERSON)
Subject: Re: #include "from/somewhere/else"
Organization: Computer Science, University of Melbourne, Australia
Date: Sat, 12 Dec 1992 12:42:36 GMT

aet@mullian.ee.mu.OZ.AU (bert thompson) writes:

>does anyone know how to redefine the default directory from
>which C takes its #include "files"?

From our man page for cc:

     -Idir   `#include'	files whose names do not begin with `/'	are always
	     sought first in the directory of the file argument, then in
	     directories specified in -I options, and finally in the standard
	     directory (/usr/include).

Really Bert, I don't think it would have been to hard for you to find this
out for yourself.

-- 
Fergus Henderson             fjh@munta.cs.mu.OZ.AU      
This .signature virus is a self-referential statement that is true - but 
you will only be able to consistently believe it if you copy it to your own
.signature file!
Newsgroups: comp.unix.questions
From: jpr@jpradley.jpr.com (Jean-Pierre Radley)
Subject: Re: a sort question
Organization: Unix in NYC
Date: Mon, 14 Dec 1992 03:49:54 GMT

In article <1992Dec11.225522.23590@trebor.uucp> root@trebor.uucp (Bob Stockler) writes:
>yedidya@bimacs.BITNET (Yedidya Israel) writes:
>
>>I want to sort a file according to two keys i.e. lines that equal
>>first key are compared upon their second key (sort +3-3.10 +3.12-3.14
>>in my case). My question concerns lines that equals in both keys how
>>do I guarantee that their order will be kept as in input file ???

The manual says that if all the keys furnished have compared equal, lines
are then ordered with every byte significant, so you do have to take
additional measures to preserve the input order in Y. Israel's case.

>One way (I think) to _guarantee_ it would be to pipe the input through "nl"
>and use the input line numbers appropriately as an additional sort key.

I'm surprised you didn't furnish an awk script to reverse the effects of
nl (though sed would be more straightforward in this case).
-- 
Jean-Pierre Radley   Unix in NYC   jpr@jpr.com   jpradley!jpr   CIS: 72160.1341
Newsgroups: comp.unix.questions
From: mla@enea.se (Mats L|fstr|m)
Subject: Tandem CM1300, SVR4 and stability.
Uucp-Path: mcvax!kth!sunic!enea.se!mla
Reply-To: mla@enea.se (Mats L|fstr|m)
Organization: Enea Data AB, Sweden
Date: Fri, 18 Dec 1992 23:29:15 GMT


A customer of mine is planing on moving from Tandem S300 (SVR3) to
Tandem CM1300 (SVR4). The application, however, has extremly high
demands on availability.

Since the time schedule is VERY tight, we haven't the time to test
Tandems version of SVR4 fully. I would therefor like to get as much
info as possible from peoples actualy using CM1300/SVR4.

If you have any experience at all, concerning CM1300/SVR4 and
stability, either good or bad, please let me know! And let me know
NOW!

I would also like to get in touch with people running this
configuration for more detailed discussions mid January. I'm going to
USA, and have some to time spend talking to anyone who has vital info
to give me (I'm going to the west coast, but I'm able to stop almost
anywhere on the US mainland).

	Thanx in advance!

	mla

Mats Lofstrom, ENEA Data AB, Box 232, S-183 23 TABY, SWEDEN, +46-8792 2500
mla@enea.se
Newsgroups: comp.unix.questions
From: bvaughan@sheps.Princeton.EDU (Barbara Vaughan)
Subject: Re: man pages
Originator: news@nimaster
Organization: Princeton University
Date: Wed, 16 Dec 1992 14:26:51 GMT

In article <803@blue.cis.pitt.edu> imtst@teaser.lis.pitt.edu (I-Ming Tsai) writes:
>In article <Dec.15.08.59.36.1992.22495@gnumath.rutgers.edu> lukeh@gnumath.rutgers.edu (Luke Higgins) writes:
>>
>....
>>appreciated. Example: I have a file called preps which is a
>>pretty postscript processor and it has a man page, how do I read it
>>so that it looks nice?
>....
>>Luke
>>lukeh@gnumath.rutgers.edu
>
>Try:
>
>% nroff -man <file_name> | more
>
And to print it, try:

% troff -man <file_name>

Barbara Vaughan
Newsgroups: comp.unix.questions
From: jhgreen@cs.sandia.gov (Jethro H. Greene)
Subject: How do you know if you receive a talk invitation?
Followup-To: poster
Originator: jhgreen@cs.sandia.gov
Organization: Sandia National Laboratories, Albuquerque, NM
Date: Fri, 18 Dec 92 02:47:22 GMT

Aside from the message from the Talk Daemon that flashes across the screen,
is there a way to find out if you are being fingered.  For example, is there
a file somewhere that has the information in it?  Is there a new /dev file
being created?  I would like to know because I am trying to have a shell
scripte respond to talk requests.

Thanks in advance,
Jethro H. Greene, Sandia National Laboratories, Albuquerque, NM