HDTenEightyP/NetNews huggingface dataset:
From: herrera@athena.mit.edu (Ramon F Herrera)
Subject: How to restore from dump tapes on AIX
Keywords: dump backup AIX non-mksysb restore
Organization: Massachusetts Institute of Technology
Date: Fri, 11 Dec 1992 23:28:36 GMT


I have a serious compatibility problem caused by the
difference between DEC, Sun, etc. and the way IBM AIX
does things.

I have an AIX 3.2 system that had the information on
2 hards disks totally wiped out.  Having a Sun/DEC
background, my backup procedure is based on the
rdump/restore utilities.   This is what I used to do
in Suns when my system disk was damaged:

    (1) boot the miniroot.

    (2) use the format command that comes in the SunOS
        installation CD ROMS to repartition the (new) disk
        to the precise sizes that it had before the crash.
        (BTW: suppose I didn't write those down, how can I get
        that information from tape?).

    (3) use 'restore' to bring my data back.

    (4) if one of the restored partitions was the root partition,
        use 'installboot' to put the boot blocks needed for
        booting.
        
My problems is that the only step that maps to AIX
is (3).  I've been working with IBM support and they
don't seem to be familiar with steps (1-4).  All they
know is 'smit' and logical volumes and volume groups.
It is as if in the IBM view, rdump and restore are not
supposed to be used on an entire disk, but only for
individual files.

My question is:  Given that I have my backup tapes,
how can I find out what were the partitions of
the hard disk (the precise sizes) before the crash?

Does AIX have something functionally equivalent to
Sun 'format' or 'dkinfo'?

thanks,

-Ramon Herrera
From: gnaa38@udcf.gla.ac.uk (Paul Porcelli)
Newsgroups: comp.unix.questions
Subject: Mtools
Date: 16 Dec 1992 03:45:26 -0600
Organization: UTexas Mail-to-News Gateway
NNTP-Posting-Host: cs.utexas.edu


Does anyone out there know much about some public-domain software called
Mtools.
I need to read from a Dos formatted optical disk onto a SPARCstation10
and have been told this should do the trick. Can anyone confirm this?
Thanks a lot 
Paul Porcelli
Dept of Aerospace Engineering
Glasgow University
Newsgroups: comp.unix.questions,comp.unix.sysv386
From: gemini@geminix.in-berlin.de (Uwe Doering)
Subject: Re: Where Can I Find FAS 2.10?
Organization: Private UNIX Site
Date: Fri, 18 Dec 1992 09:34:07 GMT

Frank.Tarczynski@launchpad.unc.edu (Frank Tarczynski) writes:

>Can anyone point me in the direction of FAS 2.10?

FAS 2.10 is available from ftp.fu-berlin.de (130.133.4.50)
as `pub/unix/driver/fas/fas-2.10.tar.Z'.

     Uwe
-- 
Uwe Doering  |  INET : gemini@geminix.in-berlin.de
Berlin       |----------------------------------------------------------------
Germany      |  UUCP : ...!unido!fub!geminix.in-berlin.de!gemini
Newsgroups: comp.unix.questions
From: simtc@hp_mgs1.mentorg.com (Sim Thiam Chye)
Subject: Re: how do you center a line in vi/ex ???
Date: Mon, 14 Dec 1992 05:49:11 GMT
Reply-To: thiam-chye_sim@mentorg.com
Organization: Mentor Graphics Corporation
Keywords: 
Followup-To: 

In article <1992Dec11.040216.14337@umbc3.umbc.edu>, rouben@math9.math.umbc.edu (Rouben Rostamian) writes:
|> This is exactly a question I posed to this newsgroup a couple of years
|> ago.  I received a very clever solution from someone whose name I
|> unfortunately do not recall.  Here is his solution, extracted from
|> my .exrc file:
|> 
|> map v :s/^[ 	]*//^M:s/[ 	]*$//^M$ma81a 81^V|D`alxd0:s/  / /g^M$p
|> Rouben Rostamian

I added the statement to my .exrc file, but it does not do its job.
There was a message flash across the screen when I invoke, how can I view
that message. Is it log somewhere or how can I get the screen to freeze?

-- 
*************************************************************************
*    _/_/_/_/  _/_/_/_/_/  _/_/_/_/    Sim Thiam Chye                   *
*   _/            _/      _/           Mentor Graphics (S) Pte Ltd      *
*  _/_/_/_/      _/      _/            Phone: 8709-265                  *
*       _/      _/      _/             Email: simtc@em-sp01.mentorg.com *
*_/_/_/_/      _/      _/_/_/_/                                         *
*************************************************************************
From: rich@astro.umd.edu (Rich Puchalsky)
Newsgroups: comp.unix.questions
Subject: IBM mainframe to unix i386 conversions
Keywords: ebcdic binary ascii
Date: 15 Dec 92 19:46:36 GMT
Organization: U. of Maryland @ College Park, Astronomy

This is my first posting, so plz excuse convention violations.
Have ebcdic mainframe tape full of binary integers, etc. and need
to convert to ascii for sco unix. dd conv=ebcidic wont handle the
numbers.  whats the best way to do the conversion?

which newsgroup deals with such problems (other than this one)?

In case the header gets eaten, my Email is rich@astro.umd.edu

Newsgroups: comp.unix.questions
From: dfox@quack.sac.ca.us (David Fox)
Subject: Re: counterpart of 'cat' ?
Keywords: cat
Organization: The Duck Pond public unix: +1 408 249 9630, log in as 'guest'.
Date: 14 Dec 1992 04:55:59 UTC

In article <1fvo7jINN27p@iraul1.ira.uka.de> voss@i43s6.ira.uka.de (Stefan Voss) writes:
>Hi folks,
>
>I'm not sure if this is a FAQ though I read the FAQ-index. I haven't
>found it there, so I ask
>
>What is the Unix counterpart of 'cat' ?
>
>I want to cut a large file into several pieces, put these pieces on
>several disks and finally append them (using 'cat') to get the original
>file (probably on a hard disk).

Depends how large the file is.  There is a command called 'split' that
will output a file into pieces and you can control either the size of
each split in terms of bytes or lines.  That's useful for smaller files,
that are (usually) in ascii form, such as when you want to mail a 
uuencoded binary to someone.

If you have a large file - large in the sense that it won't fit on
a single floppy - then IMHO the appropriate command to use is 'dd'.
dd has a 'skip' parameter, and you can fairly easily take a large
file and split it across a series of floppies by incrementing the
skip parameter by the size of the floppy.  In fact I did this not
too long ago when I wanted a huge tar.Z archive (8 megs) from
another system put on a series of floppies.

Use something like:

dd if=file.thats.really.big of=/dev/floppy bs=1440K  (first)
dd if=file.thats.really.big of=/dev/floppy bs=1440K skip=1440K (rest)
 
Increment 'skip' by 1440K (so the third would be 2880K, etc.) for
each subsequent floppy.

(This assumes the output is a 1.44 meg floppy, and substitute
/dev/floppy with the proper device entry for your system.)

>Hope this question is not too stupid.

There is no such thing as a stupid question - except for the one
that remains unasked. :)


>Stefan Voss
>voss@ira.uka.de
--
David Fox
dfox@quack.sac.ca.us



Newsgroups: comp.unix.questions,alt.sources,rec.humor,alt.suicide.holidays
From: prs9k@brain.med.virginia.edu (Phil Scarr)
Subject: Re: Unix, Holidays, Humor and you...
Organization: Neuroclinical Trials Center, University of Virginia
Date: Thu, 17 Dec 1992 21:10:23 GMT

Very cute!

	-Phil
-- 
PHIL SCARR        \      We are Microsoft...     /          (o) 804.243.0229
 University of    /     OS/2 is irrelevant.      \          (f) 804.243.0290
 Virginia,        \     UNIX is irrelevant.      /        prs9k@Virginia.EDU
 Neurosurgery     /     Openness is futile.      \     prs9k@Virginia.BITNET
 HP-UX is my life!\ Prepare to be assimilated... /   ...uunet!virginia!prs9k
From: barmar@think.com (Barry Margolin)
Newsgroups: comp.unix.questions
Subject: Re: <defunct> Zombies
Date: 17 Dec 1992 20:24:38 GMT
Organization: Thinking Machines Corporation, Cambridge MA, USA
NNTP-Posting-Host: telecaster.think.com

In article <29678@castle.ed.ac.uk> ajmy@festival.ed.ac.uk (A Myles) writes:
>I've seen machines with week old zombies and no sign
>of any living parent (i.e. a process matching PPID). 

If there are zombies whose parents are gone, then your system has a serious
bug.  Any time a parent process dies, its children are supposed to be
inherited by init (pid 1).  Init always calls wait() for any children it
inherits, so a zombie should go away when its parent dies.

>						      I don't think
>its possible for a zombie to cling onto it's parent's parent is it,
>while the "intermediate" process exits?

It's not supposed to.

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

If there's a parent, the purpose of the process table entry is to hold the
information that the parent can still access, such as the process's exit
status (which is returned by the wait() call) and resource usage.
-- 
Barry Margolin
System Manager, Thinking Machines Corp.

barmar@think.com          {uunet,harvard}!think!barmar
Xref: sparky comp.unix.questions:14598 alt.binaries.pictures.utilities:2064 alt.binaries.pictures.d:5814
From: lukeh@gnumath.rutgers.edu (Luke Higgins)
Newsgroups: comp.unix.questions,alt.binaries.pictures.utilities,alt.binaries.pictures.d
Subject: PS to Gif?
Date: 11 Dec 92 18:52:38 GMT
Followup-To: comp.unix.questions
Organization: Rutgers Univ., New Brunswick, N.J.


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
Newsgroups: comp.unix.questions
From: th@hawkmoon.mn.org (Tim Heimerl)
Subject: current price of Esix unix sys V rel 4
Keywords: Unix
Organization: Demi-Public System (One of the Eternal Champions); Eagan, MN, 55123-2507, USA
Distribution: comp
Date: Wed, 16 Dec 1992 02:06:08 GMT

I would like some help with the current price of Esix Unix.  I am looking for a 2 user package with all the goodies.  I would like networking, xwin and all that good stuff.  Any help would be greatly appreciated.
Newsgroups: comp.unix.questions
From: 881451m@dragon.acadiau.ca (Donald MacLeod)
Subject: Re: benchmark for unix?
Organization: Acadia University
Date: Sat, 12 Dec 1992 01:52:22 GMT

jmolinari@hamp.hampshire.edu writes:

>	Is there a sort of "benchmark" program for unix?  Smoething that will
>tell me how fast X computer is compared to some Y computer?  More specifically,
>I'm interested in this for a group of sun workstations.

I think you can get Dhyrstone and a few other benchmarks from
research.att.com.

Donald.

-- 
Donald MacLeod   don.macleod@acadiau.ca JCOCS Acadia Univ. Wlfvl N.S. Can
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Newsgroups: comp.unix.questions
From: dman@netcom.com (Dallman Ross)
Subject: Re: Performing simple math on a numeric file from csh
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
X-Newsreader: TIN [version 1.1 PL7]
Date: Thu, 17 Dec 1992 09:35:46 GMT

I, Dallman Ross (dman@netcom.com), wrote:
: I am trying to understand awk, but the man pages are driving me nuts. 
: Anyway, I have a couple of simple files with numerics in them that I
: want to do some math with.  This doesn't have to be via awk, but I've
: been told that's the ticket.  Anyway, I use csh.
:  
: Here's what one of the files looks like:
:  
: > login:  Dec 15 21:40:01
: > logout: Dec 15 21:40:18
: > 
: > login:  Dec 15 21:41:11
: > logout: Dec 15 21:41:48
: > 
: > login:  Dec 15 22:20:08
: > logout: Dec 15 22:31:44
: > 
:  
: (No >'s in the file, of course.)  So, I want to subtract the
: penultimate time figure from the last figure, and come up with
: "00:11:36" as the answer for time logged in.  I only need to do the
: math on the last pair.  The rest is just a running log.
:  
: Thanks for any advice.

Still hoping for some help on this.  One person did email me, but I
haven't seen any tips on command lines yet.

--
 __D_a l_l m a_n  _ R o_s s _ |dman@netcom.com  /or/  |"You sound like a man|
 l  \\ l\\   /l  /\\  l\\   l |dross@well.sf.ca.us    |with a rubber nose." |
 l   >)l \\ /ll /  \\ l \\  l |vox/fax: 1.510.645.1883| -- One-Lung Bill    |
 l  // l  \X ll/--- \\l  \\ l |350 Perkins St., #108  |     Remmer (deceased)
_l//______________________\\l_|Oakland,_CA__94610-3422|_____________________|_
Newsgroups: comp.unix.questions
From: sgccncr@citec.oz.au (Nick Russell)
Subject: Postscript Filter
Organization: CITEC
Date: Tue, 15 Dec 1992 00:02:02 GMT

We are looking for a filter which takes raw Postscript output and strips it
back to ASCII text (preferably with page breaks). Does anybody know if 
such a thing exists, and if it does, how we can procure the source ?
Newsgroups: comp.unix.questions
From: brent@uwovax.uwo.ca (Brent Sterner)
Subject: Re: Really stupid questions
Organization: University of Western Ont, London
Date: Fri, 18 Dec 1992 15:45:14 GMT

In article <NS14.92Dec18024423@crux3.crux2.cit.cornell.edu>, ns14@crux3.crux2.cit.cornell.edu (Nathan Otto Siemers) writes:
>>>>>> On 18 Dec 1992 03:48:38 GMT, 2760carpente@vms.csd.mu.edu
>  MET> (METALLICA) said: NNTP-Posting-Host: vmsa.csd.mu.edu
> 
>  MET> I have a few really stupid questions.  Feel free to laugh at me,
> 
> 	2. Elm Elm Elm Elm  will do it all for you

   I've never used Elm.  But I understand that the mailer I have just
   ported is based on it.  Called Pine.  It is *very* slick with a *lot*
   of easy-to-use menu-driven functionaliy.  It also comes with a very
   easy to learn editor called PICO, which has commands reasonably similar
   to emacs.  Pine/Pico have been ported to many platforms; pending for
   others.

   This s/w is pd.  The distribution is available via ftp in the file
   mail/pine3.05.tar.Z. at ftp.cac.washington.edu.  b.
--
Brent Sterner                       Manager, Academic Technical Support
Fast:       <BRENT@uwovax.uwo.ca>   <129.100.2.13>
Telephone:  (519)661-2151 x 6036    Fax:   (519)661-3486
Slow:  Computing & Communications Services, Natural Sciences Building
       The University of Western Ontario, London, Ontario, Canada  N6A 5B7
Newsgroups: comp.unix.questions
From: spp@buoy.cis.ufl.edu (Stephen P. Potter)
Subject: Re: man pages
Organization: Univ. of Florida CIS Dept.
Date: Wed, 16 Dec 92 12:48:15 GMT

In article <JDELL.92Dec15142118@maggie.mit.edu> jdell@maggie.mit.edu (John Ellithorpe) writes:
>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, if you mean you have your own software that you got from FTP or something
and compiled yourself, then you should create your own man directory and add
it to your manpath, something along the lines of:
setenv MANPATH "/usr/man:/local/man:$HOME/myman"
Then, you can follow the steps above.

Steve
-- 
    cccc    i   ssss   University of Florida  Computer and Information Sciences
  c           s        Unix Consulting Staff   (904) 392-1183  E309A 
 c        i   ssss     Email: spp@ufl.edu, spp@cis.ufl.edu, 
c        i       s      u4930any@elm.circa.ufl.edu, PRISONER@MAPLE.circa.ufl.edu cccc   i    ssss       PRISONER@ufcc.ufl.edu, Bitnet: PRISONER@ufcc
Newsgroups: comp.unix.questions
From: sscrivan@nyx.cs.du.edu (steve scrivano)
Subject: Re: I really don't know what UNIX is!!!!!
X-Disclaimer: Nyx is a public access Unix system run by the University
	of Denver for the Denver community.  The University has neither
	control over nor responsibility for the opinions of users.
Organization: Nyx, Public Access Unix at U. of Denver Math/CS dept.
Date: Mon, 14 Dec 92 17:52:09 GMT

In article <1992Dec2.195450.1288@Virginia.EDU> rkw2g@Virginia.EDU (Robert Kenneth Wright, III) writes:
>I am a Computer Science major (2nd year) at UVA.  My only
>programming experience is with BASIC, Pascal, and DOS.  I feel
>I am SOOOOOOOO behind with the new technology!  Please help an
>information-hungry, ready-to-learn, EXTREMELY novice hacker
>understand just what UNIX is.
>
Remember as a child when you used tinker toys, legos, erector sets, etc., or
think about how a plumber uses a set of fittings, well Unix is a collection of
tools that each have their own purpose but when fitted together create entire
different functions.  Thus, total flexibility to perform any function.

Simply put, the Unix of today with it's 100's of utilities can solve just about
any problem without even having to delve into any of the languages.  The
software is already written in kind of a modular way where each piece can fit
together to become an entirely different function.

Steve Scrivano
sscrivan@nyx.cs.du.edu

Xref: sparky comp.unix.questions:14604 comp.unix.programmer:5657
From: barmar@think.com (Barry Margolin)
Newsgroups: comp.unix.questions,comp.unix.programmer
Subject: Re: Determining the state of a process on another host
Date: 11 Dec 1992 20:36:52 GMT
Organization: Thinking Machines Corporation, Cambridge MA, USA
NNTP-Posting-Host: telecaster.think.com
Keywords: TCP IP sockets host process kill

In article <1992Dec10.154438.13881@dd.dk> wes@dd.dk (Mads Westermann) writes:
>I'm currently writing a client-server application that uses BSD
>sockets to communicate. At certain stages in the processing I
>want to be able to determine whether the client process is
>running/alive. 

If you're using a stream socket, you can try to write something to it.
When the client process died, the remote system should have closed the
connection.  If you try to write to a closed connection you should get an
error (EPIPE, I think).

>		If the client is running on the same machine I
>can just do a kill(..,0), but if the client is running on another
>machine - what do I do then ?? I have the hostname, the remote pid,
>the username and the remote tty-name available on the server. Is 
>there any way of doing a remote kill(...,0) ??

You could implement a process_status daemon server that runs on the client
machine.  You send it a pid, it performs the kill(pid,0), and sends the
result back to you.  Should be trivial to write using RPC utilities, or
even using straight UDP.

-- 
Barry Margolin
System Manager, Thinking Machines Corp.

barmar@think.com          {uunet,harvard}!think!barmar
Newsgroups: comp.unix.questions
From: etxmesa@eos.ericsson.se (Michael Salmon)
Subject: Re: RCS symbolic name & recalling
Reply-To: etxmesa@eos.ericsson.se (Michael Salmon)
Organization: Ericsson Telecom AB
Date: Wed, 16 Dec 1992 08:58:10 GMT

In article <15DEC199220042792@cnsvax>
tannerrj@cnsvax (ROOT OF INSIGHT-- A 486 RUNNING LINUX V0.99) writes:
|> I understand the symbolic names using rcs -n command to tie
|> common files together. My question is how do I check-out (co)
|> all the files that I have rcs -n together? Thanks.

I think that you don't understand the function of -n. It assigns a
symbolic name to a branch, not to a group of files. The use of groups
is basically not needed if you use make, otherwise you can do something
like:

co `co -p groupname`

and then maintain the file groupname to be a list of filenames.

-- 

Michael Salmon

#include	<standard.disclaimer>
#include	<witty.saying>
#include	<fancy.pseudo.graphics>

Ericsson Telecom AB
Stockholm
Xref: sparky comp.unix.questions:14713 comp.unix.misc:4591
Newsgroups: comp.unix.questions,comp.unix.misc
From: ghali@dgp.toronto.edu (Sherif Ghali)
Subject: How to save paper
Followup-To: comp.laser-printers
Organization: CSRI, University of Toronto
Date: 15 Dec 92 22:08:25 GMT

.. by printing four pages in one? I am considering man pages, but ideas
for doing this with postscript are welcome.

Thanks,
Sherif Ghali
From: 873clifton@gw.wmich.edu
Newsgroups: comp.unix.questions
Subject: Re: reading .lzh files
Date: 12 Dec 92 22:59:36 EST
Distribution: na
Organization: Western Michigan University

In article <92Dec12.001240est.48007@neat.cs.toronto.edu>, veatch@cs.toronto.edu (Tim Veatch) writes:
> I just got a .lzh file via ftp and don't know what it is.
> I'm guessing it is a compressed file from an Amiga.
> What tool do I need to uncompress it under unix?`
> I tried "uncompress" with no luck.

.lzh files are archives similar in nature to .zip and .zoo files. Compress only
works for individual files while zip/zoo/lzh work with multiple files. The 
creator/extractor program is out of japan and in the public domain. There are
many versions floating around, usually called lha or lharc. Search archie, you
may have to recompile from source for an executable that works at your site.

/D 
Newsgroups: comp.unix.questions
From: holger@is.morgan.com (Holger Veith)
Subject: PERL PARSING
Organization: Morgan Stanley - IS
Date: Tue, 15 Dec 1992 22:20:48 GMT

What is the best way to parse a string within PERL where I would like it
to behave sort of like ksh.

I have used the split command by splitting on white space, but I would
like everything enclosed in quotes to be one string.

ie.

$x='please "help me split" this line';

->  $a[1]='please'
    $a[2]='help me split'
    $a[3]='this'
    $a[4]='line'


Thank you,

Holger.
Xref: sparky comp.unix.questions:14736 comp.unix.shell:5088
From: davidsen@ariel.crd.GE.COM (william E Davidsen)
Newsgroups: comp.unix.questions,comp.unix.shell
Subject: Re: Redirection of the Echo command to other tty's
Keywords: unix echo shell
Date: 16 Dec 92 16:41:13 GMT
Article-I.D.: crd.1992Dec16.164113.17110
Reply-To: davidsen@crd.ge.com (bill davidsen)
Organization: GE Corporate R&D Center, Schenectady NY

In article <1992Dec14.222553.22768@sactoh0.sac.ca.us>, dwj@sactoh0.sac.ca.us (Daniel W. James) writes:

| Do I need to use echo "Line One\n\rLine Two" during redirection???  Or is
| there some easier way (independent of redirection) to make sure the both
| the CR/LF sequence is output?

  If the redirected device has the stty option onlcr set, a newline will
imply a return. If not you need to set the option or provide the return.
I might suggest that providing the return won't hurt if the option is
set.

-- 
bill davidsen, GE Corp. R&D Center; Box 8; Schenectady NY 12345
    Keyboard controller has been disabled, press F1 to continue.
From: nrp@csug3.cs.reading.ac.uk ("Galactic subservient raisin pennies" Neilski)
Newsgroups: comp.unix.questions
Subject: Re: What do *you* use to format mail?
Date: 16 Dec 92 11:55:49 GMT
Reply-To: nrp@csug.cs.reading.ac.uk
Organization: University of Reading

osiris@halcyon.com (David Ruggiero) writes:

>Now that I've finally learned how to send what I'm editing with vi
>through a filter, I'd like to automate my most tedious emailing task...
>The idea here is to find (and give credit to) the lone hacker out there
>with the most fiendishly elegant sed/awk/nawk/perl/shell routine to format
>their mail messages. By this, I mean at the least taking a block of
>random text and:

>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.

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

-- neilski

-- 
 RADIO CRACKER - 103.6 FM  \--------------------------------------------------
----------------------------\ You come here to my daughter's wedding,
but you show me no respect.  You ask me to listen to ... Radio Cracker.