HDTenEightyP/NetNews huggingface dataset:
From: gryphon@openage.openage.com (The Golden Gryphon)
Subject: Re: Need help with uudecode/uuencode
Organization: Open Age, Inc.
Distribution: usa
Date: Tue, 15 Dec 1992 18:29:11 GMT

mathieu@ncrcis.stpaul.ncr.com (Tom Mathieu [7143]) writes:

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

It's not a bug it's a feature.  Suppose I'm in my $HOME, and I want to uuencode
a file in a hideously long path, I could do this:

uuencode /usr/spool/uucppublic/archives/bar/hideously_long/file file > file.uu

Then when I uudecode it, it comes out as just "file".

-- 
The Golden Gryphon 				gryphon@openage.COM
"Mad Scientists seeks mindless brawny assistants, good pay, quiet location."
"They're not ghosts,  they're metaphysically challenged." - Me
Openage - The Premier SCO UNIX integrator in the Washington D.C. area
Newsgroups: acns.general,comp.unix.questions
From: jlacour@casbah.acns.nwu.edu (John Lacour)
Subject: easy question (for someone)
Followup-To: poster 
Organization: Northwestern University, Evanston Illinois.
Distribution: usa
Date: Fri, 11 Dec 1992 20:01:04 GMT

I need to add LFs to a Unix text files.  Can someone please mail me
an awk, sed, shell script which will do the trick.

/$/s//\n\r/ doesnt seem to work right for sed.  Also, I need this to be able
to run on as many Unix-type of systems as possible.

Thanks in advance,
John

Newsgroups: comp.unix.questions
From: a1001032@cdf.toronto.edu (Fiona Wong)
Subject: Re: Looking for 386BSD FAQ
Keywords: FAQ BSD
Organization: University of Toronto Computing Disciplines Facility
Date: Mon, 14 Dec 1992 04:50:57 GMT

In article <92121398@erato.iowa-city.ia.us> jdb@erato.iowa-city.ia.us (John D. Boggs) writes:
>I'm looking for a FAQ for 386BSD (or BSD386, whichever it is. .  .   .    )
>
>Could someone point me to it, or mail it to me?  Thanks.
>
>-John D. Boggs     jdb@erato.iowa-city.ia.us

me too! Thanx!


-- 
|       ____                    | You know you've been spending too much time |
|      /    . __   __   __      | on the computer when your friend misdatess  |
|     /--- / /  ) /  ) ___)     | a check, and you suggest adding a "++" to   |
|____/    / (__/ /  / (__(______|_fix it._____________________________________|
From: fischer@iesd.auc.dk (Lars Peter Fischer)
Newsgroups: comp.unix.questions
Subject: Re: Book for programming under unix
Date: 11 Dec 92 21:47:55 GMT
Organization: Mathematics and Computer Science, Aalborg University


Phil> Marc Rochkind's _Advanced UNIX Programming_ is an execllent as
Phil> far as talking about the calls is a very "UNIXy" manner.  The
Phil> version I have addresses all versions of UNIX.  I expect there
Phil> may be an updated version that addresses SVR4.

Well, now as far as I'm concerned, the Steven's book is the "new"
Rochkind and replaces it nicely.

/Lars
--
Lars Fischer, fischer@iesd.auc.dk | It takes an uncommon mind to think of
CS Dept., Aalborg Univ., DENMARK. | these things.  -- Calvin
Newsgroups: comp.unix.questions
From: andy@research.canon.oz.au (Andy Newman)
Subject: Re: Command to parse text...
Organization: Canon Information Systems Research Australia
Date: Tue, 15 Dec 1992 01:05:15 GMT

lux@sol.UVic.CA (Michael O'Henly) writes:
>    I need a command that will take a line of input that looks like
>this...
>
>        /is/gd/.int_res/.text/.lib/.docs/filename
>
>    ...and return the string "filename". In other words, it's got to
>return all the text between the last "/" and the end of the input
>line.

basename /is/gd/.int_res/.text/.lib/.docs/filename
-- 
Andy Newman (andy@research.canon.oz.au)
Newsgroups: comp.unix.questions
From: root@trebor.uucp (Bob Stockler)
Subject: Re: Performing simple math on a numeric file from csh
Organization: Bob Stockler
Date: Fri, 18 Dec 1992 04:31:03 GMT

dman@netcom.com (Dallman Ross) writes:

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

The problem is that you're trying to do "date" math with the math facilities
"awk" has (which are just plain math stuff).

I have a program that does what you want to do, but instead I'll assign
you the task using these guidelines:

	1) "awk" sees the last field in a line as $NF

	2) the "split" function can separate a field using ":"

        3) you need to convert each value to seconds, total them, and
           then do math on that

        4) then convert the value back using modular arithmetic

This isn't the ultimate answer, since "login-logout" lines might span
midnight, so you have to consider that.

Let me know what you come up with.
-- 
Bob Stockler                  bob@trebor.uucp                  CIS: 72726,452
From: lpeters@postmaster@hq.af.mil (Leslie D Peters)
Newsgroups: comp.unix.questions
Subject: Re: Simple Korn shell question
Date: 18 Dec 92 15:01:47 GMT
Reply-To: lpeters@marge.hq.af.mil
Organization: 7th Communications Group

In article <Bz9wnp.IHz@cs.uiuc.edu>, schwager@mike.cs.uiuc.edu (Mike Schwager) writes:
|> 
|> Hi,
|> 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.
|> -Mike

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.
-- 
/============================================================================\
|                                            |                               |
|                    ___                     |                               |
|       ___....-----'---`-----....___        |   I haven't lost my mind --   |
| =========================================  |                               |
|        ___`---..._______...---'___         |    it's backed up on          |
|       (___)      _|_|_|_      (___)        |           tape somewhere.     |
|         \\____.-'_.---._`-.____//          |                               |
|           ~~~~`.__`---'__.'~~~~            |   lpeters@marge.hq.af.mil     |
|                   `~~~'                    |                               |
|                                            |     Les Peters                |
\============================================================================/
Newsgroups: comp.unix.questions
From: dstrombe@ux4.cso.uiuc.edu (Daniel S Stromberg)
Subject: UNIX dialup
Organization: University of Illinois at Urbana
Date: Mon, 14 Dec 1992 01:26:00 GMT

Does anyone know where I can find a comprehensive list of UNIX dialup sites?
I am especially interested in the Herndon, Virginia, and Commack, New York
areas, but I would appreciate as much info as possible.

Thanks.

Dan Stromberg
dstrombe@ux4.cso.uiuc.edu
From: imtst@teaser.lis.pitt.edu (I-Ming Tsai)
Newsgroups: comp.unix.questions
Subject: Re: man pages
Date: 16 Dec 92 03:00:40 GMT
Organization: University of Pittsburgh

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

-- Ming
-- 
===============================================================================
 imtst+@pitt.edu             |  /* You are not expected to understand this. */ 
 imtst@icarus.lis.pitt.edu   |                 --- UNIX, Version 6, line 2238
 Telecommunication,   University of Pittsburgh,   Pittsburgh,   Pennsylvania.
From: mikey@ontek.com (euphausia superba)
Newsgroups: comp.unix.questions
Subject: Re: man pages
Keywords: boring
Date: 16 Dec 92 22:00:05 GMT
Organization: Ontek Corporation -- Laguna Hills, California

In comp.unix.questions, lukeh@gnumath.rutgers.edu (Luke Higgins) writes:
| 
| 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?
| 
| Thanks!!
| Luke
| lukeh@gnumath.rutgers.edu

I use this script to print man pages which aren't in the
usual place.  Plop it somewhere in your $PATH and invoke
it with the name of the file the man page is in.

#! /bin/sh
echo -n "Reformatting page.  Wait..."
tbl $* | nroff -man > /tmp/mman.$$
page /tmp/mman.$$
rm /tmp/mman.$$
From: terry@marstons.prime.com (Terry Jeffrey - SSG)
Newsgroups: comp.unix.questions
Subject: Solaris 2.1 v 2.0
Date: 9 Dec 92 11:12:10 GMT

Hi everyone,

I've not seen any info regarding the differences between Solaris 2.1 and 2.0

Could someone summerize the more important points/new features.

Thanks in advance

Terry Jeffery
Computervision (UK)
From: gil@cse.ucsc.edu (Elmer Fudd)
Newsgroups: comp.unix.questions
Subject: failure by negation
Date: 12 Dec 92 21:56:41 GMT
Organization: University of California, Santa Cruz (CE/CIS Boards)
NNTP-Posting-Host: arapaho.ucsc.edu



hello net,
the following c shell program does the opposite of what i want,
it checks to see that a file "alive.n.well" exists, then it stops
execution, i want it to do the same if the file doesn't exists!
how do i do it?  and where do i get more info about c shell programming
on line?
thanks
-gil

here's the program....

#! /bin/csh -f
echo "hello 1"
# how do i negate this?
test -f alive.n.well && exit
echo "hello 2"
#
#
#  do lots of stuff here
#
#
echo "end of program"
Newsgroups: comp.unix.questions,comp.unix.sysv386
From: Frank.Tarczynski@launchpad.unc.edu (Frank Tarczynski)
Subject: Where Can I Find FAS 2.10?
Organization: University of North Carolina Extended Bulletin Board Service
Distribution: na
Date: Thu, 17 Dec 1992 21:16:12 GMT

Can anyone point me in the direction of FAS 2.10?

Frank
--
   The opinions expressed are not necessarily those of the University of
     North Carolina at Chapel Hill, the Campus Office for Information
        Technology, or the Experimental Bulletin Board Service.
           internet:  laUNChpad.unc.edu or 152.2.22.80
Newsgroups: comp.unix.questions
From: root@candle.uucp (Bruce Momjian)
Subject: Re: select function
Organization: a consultant's basement
Date: Sat, 12 Dec 1992 03:05:46 GMT
X-Newsreader: TIN [version 1.1 PL6]

Jeff Bowyer (jbowyer%ovc.vutbr.cs@csbrmu11.bitnet) wrote:
: I am trying to compile a program under Interactive UNIX (on some
: machine that I seldom use).  However, the program includes a call to
: the select() function, which is not present in our Interactive UNIX
: installation.  What should I use instead of the select() function?

If you are not adverse to adding this capability to your existing OS,
try pol, posted to comp.sources.misc last month.  It is a device driver
that functions as select() or a SVr4 poll().
-- 
Bruce Momjian                          |  830 Blythe Avenue
root%candle.uucp@bts.com               |  Drexel Hill, Pennsylvania 19026 
  +  If your life is a hard drive,     |  (215) 353-9879(w) 
  +  Christ can be your backup.        |  (215) 853-3000(h)
Xref: sparky comp.unix.questions:14743 comp.unix.shell:5091
From: pd@x.co.uk (Paul Davey)
Newsgroups: comp.unix.questions,comp.unix.shell
Subject: Re: How do I invoke a login shell.
Date: 16 Dec 92 15:15:07 GMT
Organization: Not a lot
X-Disclaimer: This is not the view of IXI Ltd unless explicitly stated.
X-Copyright: The author asserts the right of paternity in this message.


Posted in comp.unix.wizards: 

>>>>> On 14 Dec 92 14:34:09 GMT, 92700217@vax1.dcu.ie (Ciaran Treanor) said:

Ciaran> Hi Wizards, I know this is probably not the right place to ask
Ciaran> this question but I need an answer in a hurry.

Which begs the question why are you asking in the wrong place?

Let's hope you are checking the right place.

Ciaran> I want to "exec" /bin/csh as a login shell from a script file.
	 ...
Ciaran>         How do you invoke /bin/csh with a name that starts
Ciaran> with a '-'?  Do you mess around with argv[0], if so how do you
Ciaran> do that in a shell script?  Is there any other of invoking a
Ciaran> login /bin/csh?

From (C) shell	(dirty trick)

	% set path = ( $path ~ )
	% ln -s /bin/csh ~/-csh
	% exec -csh

Under the X Window System,
	% exec xterm -ls 

From C
    path = "/bin/csh";
    argv[0] = "-csh";
    argv[1] = (char *) 0;
    printf ("execve failed \n", execve (path, argv, NULL));

--
    Regards,			IXI            Internet: pd@x.co.uk
	Paul Davey		Vision Park    UUCP:     pd@ixi.uucp
				Cambridge      Bang:     ...!uunet!ixi!pd
 "These are interesting times"	CB4 4ZR, UK    Tel:      +44 223 236 555
Newsgroups: comp.unix.questions
From: navarra@casbah.acns.nwu.edu (John Navarra)
Subject: Re: Performing simple math on a numeric file from csh
Organization: Northwestern University, Evanston Illinois.
Date: Sat, 19 Dec 1992 01:48:33 GMT

In article <1992Dec18.120921.21292@netcom.com> dman@netcom.com (Dallman Ross) writes:
>
>2) awk can be learned in no time using just the man pages.  I know, that's
>: how I learned it. I never heard of awk six months ago.
>
>I do envy you your sagacity.  I posted after spending about 1.5 hours
>poring over the man pages and 6 enigmatic pages in a Unix book I have.
>Couldn't make hide nor hare of those man pages -- at least insofar as
>doing math.
	
	Just a suggestion -- try the 'gawk manual' which is freely
available via anonmyous ftp. It is 150+ pages of pure excitement! Not
only will you learn awk, but you will also learn gawk (which is also 
freely available and better than awk). In addition, there are are a few
books out on awk itself. Awk, in my opinion, is something that should be 
learned on a rudimentary basis by every serious UNIX user. For more 
powerful scripting however, learn Perl. There is no reason that I can 
think of to know both extradinarily well. So far, awk's only advantage
is that it is available on just about every version of UNIX.

-tms

  
-- 
You can get further with a kind word | You can get further with a kind word
and a gun than a kind word alone.    | and a phaser than a kind word and a gun.
          --al capone                |           -- John Navarra
=======From the Lab of the MaD ScIenTIst....navarra@casbah.acns.nwu.edu========
Xref: sparky comp.unix.questions:14799 comp.unix.ultrix:8950
From: furukawa@apricot.kek.jp (Kazuro Furukawa)
Newsgroups: comp.unix.questions,comp.unix.ultrix
Subject: Re: unix version of VMS EDT??
Date: 18 Dec 92 04:47:27 GMT
Distribution: comp
Organization: National Laboratory for High Energy Physics (KEK)

Hello,

I use tpu-edt.el for emacs.  It emulates EDT very well.  

Recently there was an announcement of JED editor, which can also emulate
EDT.  It works well.  Here is excerpt from the announcement.

---

From: davis@pacific.mps.ohio-state.edu ("John E. Davis")
Newsgroups: comp.archives
Subject: [comp.editors] JED/EMACS/EDT 0.70 available (binaries too)

...

What is JED: First of all, contrary to some rumors, JED is not Joe. JED is an
EMACS inspired editor which was originally written for use on a PC but was
developed under Ultrix.  In addition to providing some of the
functionality/look/feel of EMACS, it also has an EDT emulation mode for the
small keypad as well as the application keypad.  I have had several people
describe the EDT mode as ``excellent''.  Please note--- although the EDT mode
will work on a pc, you have to map the keys yourself since I cannot find the
`Application keypad' on my PC.  However, if you use MSKermit as a terminal
emulator, and you are used to the way it maps the EDT keypad, let me know and
I will duplicate that for you.

Jed also has a builtin C mode for edting C files.  I have written Fortran
and DCL modes for programming support in these languages as well.  Of
course, JED also supports most of the features of other editors.  These
include:

...

Jed may be obtained via anonymous ftp from amy.tch.harvard.edu in the
pub/jed directory.  Jed is distributed in three forms:

1.  jed060.tar.Z      unix distribution
2.  jed060.zip        MSDOS distribution with jed.exe
3.  jed060.*_of_18    18 part VMS share

I also have the binaries for VMS (compiled under 5.4), Sun4, and ultrix.
The are named:  vms-jed.exe, sun4-jed.Z, ultrix-jed.Z.  The compressed ones
need uncompress and a possible `chmod +x'.

Any questions/ comments/ bug reports should be sent to me at the address:
davis@amy.tch.harvard.edu.

-- 
Kazuro Furukawa
National Laboratory for High Energy Physics (KEK), Japan
furukawa@kek.jp   furukawa@jpnkekvx.bitnet   kekvax::furukawa (hepnet)
Newsgroups: comp.unix.questions
From: naam@cecer.army.mil (Ramez Naam)
Subject: Re: failure by negation
Organization: US Army Corps of Engineers Construction Engineering Research Labs
Date: Sat, 12 Dec 1992 22:12:05 GMT

gil@cse.ucsc.edu (Elmer Fudd) writes:



>hello net,
>the following c shell program does the opposite of what i want,
>it checks to see that a file "alive.n.well" exists, then it stops
>execution, i want it to do the same if the file doesn't exists!
>how do i do it?  and where do i get more info about c shell programming
>on line?
>thanks
>-gil

>test -f alive.n.well && exit

test -f [ ! alive.n.well ] && exit
--
Ramez Naam
naam@terra.cecer.army.mil
Newsgroups: comp.unix.questions
From: glover@credit.erin.utoronto.ca (Mike Glover)
Subject: Re: How can I send 'animated' mail?
Keywords: mail,animation,dotplan,animated
Organization: University of Toronto, Erindale Campus
Date: Sun, 20 Dec 1992 16:06:13 GMT

In article <1h1ae0INNlp4@MINERVA.CIS.YALE.EDU> shin-jungshik@yale.edu (Jungshik Shin) writes:
>   I cannot find this question in FAQ. 
>I heard that a friend of mine received 'animated' e-mail. By 'animated', I
>mean 'blinking','scrolling' and other effects as obtained by 'dotplan'
>program for '.plan' file. Actually, I tried to make an animated letter by
>'dotplan' program. ( $ dotplan d "Marry Christmas!!" |mail my_address ).
>But, it didn't work the way I expected.(the way it worked for 'finger
>demon')  
>
>  Would you please let me know how I can make animated letter and how it
>works. Also, I would like to know how .plan file made up of control
>sequences for animation effect gives 'animated finger result' to a person at
>remote site.   
>
>  Please reply to me at jshin@minerva.cis.yale.edu. and I will summarize
>them.  
>
I beleive the reason for this is the pager set for your mail reader.  The
animated messages you are talking about (I beleive) are vt100 escape codes
which when 'cat'ed do 'run' the animation.  Actually every year I send a 
merry christmas animation to all those at UofT Computer Services here. (Its
my yearly Christmas Card :) )  But if the have their PAGER var set (like less)
then there is a chance that the pager will not interpret the vt100 sequences.
For example,  I have less set as my PAGER var,  and I can not read animated
mail.  What I do is give them instructions at the top of the message on how
to view the mail.   (you know:  Save the mail to a file.  Chop off evrything
until CUT HERE,  then cat the file)

Hope I helped.   :)

ttfn,
	Mike
-- 
_______________________________________________________________________________
 ___                    "Mickey Mouse wears a timex watch."_ ???
 U|     		glover@credit.erin.utoronto.ca  (Mike Glover)
 C|S			University of Toronto Computing Services
Newsgroups: comp.unix.questions
From: root@trebor.uucp (Bob Stockler)
Subject: Re: a sort question
Organization: Bob Stockler
Date: Fri, 11 Dec 1992 22:55:22 GMT

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

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.

-- 
Bob Stockler                   bob@trebor.uucp                   CIS: 72726,452
From: dik@cwi.nl (Dik T. Winter)
Newsgroups: comp.unix.questions
Subject: Re: untaring .tar-z files
Date: 13 Dec 92 16:32:52 GMT
Organization: CWI, Amsterdam

In article <28074@optima.cs.arizona.edu> dsiegel@optima.UUCP (Dave Siegel) writes:
 > From article <20009@ucdavis.ucdavis.edu>, by ez006159@chip.ucdavis.edu (Logjam):
 > > 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)
 > > 
 > $ mv filename.tar-z filename.tar.Z
 > $ uncompress filename.tar
 > $ tar -xvf filename.tar
 > 
zcat <filename.tar-z | tar -xvf -
 or
pcat <filename.tar-z | tar -xvf -

Depending on whether compress or pack has been used.
-- 
dik t. winter, cwi, kruislaan 413, 1098 sj  amsterdam, nederland
home: bovenover 215, 1025 jn  amsterdam, nederland; e-mail: dik@cwi.nl
From: a.0013@vcc3.vcc.bc.ca (Jim Chivas Vancouver Community College)
Newsgroups: comp.unix.questions
Subject: GNU Emacs and some .emacs questions
Date: 17 Dec 92 03:05:39 GMT

This may not be the correct place to ask this questions but .......
I am looking for a mail list to join so that I can ask some questions
about GNU Emacs. I have a need to create a .emacs file to remap some
gnu emacs functions to my televideo function keys. It seem what ever I try
enters the function key value into my emacs buffer  and does not interpret
what I want to do as an emacs command. Are there any FTP sites that
store .emacs init files for examples?

Comments?
Thanks Jim
Newsgroups: comp.unix.questions
From: jpr@jpradley.jpr.com (Jean-Pierre Radley)
Subject: Re: A 'cu' type utility that can run zmodem protocol
Organization: Unix in NYC
Date: Sun, 13 Dec 1992 17:30:33 GMT

In article <1992Dec11.194706.20290@cbnewsm.cb.att.com> saqib@cbnewsm.cb.att.com (saqib.karim) writes:
>Greetings:
>
>I am quite sure that I saw an article in this news group about a utility
>that will allow a Unix system to dial a remote machine through the modem 
>and then run zmodem to download files. I can not find that article any more.
>Could a kind soul please send me that information. Pointers to any other 
>utilities that will allow me to log into a bulletin board and download files
>using zmodem would be equally helpful.
>
>Thanks All.
>PS: I am running a UNIX System V 3.2.2 on an ATT 6386/25 WGS machine.

While some newer verions of 'cu' can attach another program to the modem,
most can't.

'Xc' can do this. However the latest versions of rzsz need considerable
hacking, but using an older release of rzsz, I use it with 'xc' quite
regularly.

Write back if you want XC source.
-- 
Jean-Pierre Radley   Unix in NYC   jpr@jpr.com   jpradley!jpr   CIS: 72160.1341
Newsgroups: comp.unix.questions