HDTenEightyP/NetNews huggingface dataset:
From: tundra@eskimo.chi.il.us (Tundra Tim Daneliuk)
Newsgroups: comp.unix.questions
Subject: Source Code Wanted
Date: 10 Apr 92 22:38:24 GMT

Could somebody please point me to (ftpable) sources for the following:

'lc' - V7 style directory listings
'c' - V7 style column creation

Thanks much ...


------------------------------------------------------------------------------

        "Tundra" Tim Daneliuk
        PREFERRED: tundra@eskimo.chi.il.us
        OR (Yuk!): eskimo!tundra@clout.chi.il.us
        ALSO:      ...uunet!gargoyle.uchicago.edu!clout!eskimo!tundra
        US SNAIL:  4927 N. Rockwell, Chicago, IL  60625
        MA BELL:   (312) 989-1052

        How many feminists does it take to change a lightbulb?

        Two, one to change the bulb and one to complain bitterly
        about the plight of the socket."

------------------------------------------------------------------------------
Xref: sparky comp.unix.questions:6238 comp.unix.wizards:2224 comp.sys.intel:873
From: bengtl@maths.lth.se (Bengt Larsson)
Newsgroups: comp.unix.questions,comp.unix.wizards,comp.sys.intel
Subject: Re: How to copy to another machine's /dev
Date: 16 Apr 92 02:21:35 GMT
Organization: Lund Institute of Technology, Sweden

In article <id.6DVO.L_A@ferranti.com> peter@ferranti.com (Peter da Silva) writes:
>In article <1992Apr9.210356.28129@lth.se> bengtl@maths.lth.se (Bengt Larsson) writes:
>> But since VMS 4 (that is, a long time), VMS has "proxy logins". They are
>> about the same as UNIX .rhosts but assigned by the administrator. 
>
>But they need to be assigned by the administrator. If you're going to let
>people do casual copying anyway, it should be implemented using some sort
>of prompting like FTP or NET USE.

It would be nice with casual prompting too, but the assignment of
proxies by the administrator is sort of a feature. It means the admin
knows wherefrom people can connect to accounts on his machine without
passwords. Since proxies can't be listed from the account itself, they
can't be divulged even if your account should be broken into. The
admin can of course list proxies. 

Bengt Larsson
-- 
Bengt Larsson - bengtl@maths.lth.se
Newsgroups: comp.unix.questions,comp.unix.programmer,comp.unix.misc,comp.lang.c,gnu.emacs.help,comp.editors
From: potter@watson.ibm.com (David Potter)
Subject: Re: Language Sensitive Editor ?
Date: Thu, 16 Apr 1992 20:06:32 GMT
Disclaimer: This posting represents the poster's views, not necessarily those of IBM
Organization: IBM T.J. Watson Research Center
Keywords: parse editor

There is an editor due to Mike Cowlishaw that is called the Live 
Parsing Editor or lpex.  It uses all of the capabilities of the 
display to "show" the program contents.  For example, key words 
and variables would be in different colors and/or fonts. This
program is available as one of the editors for SDE/6000, a 
program product that was announced on Jan 21st.  In side of IBM
it is available on workstations for DOS, OS/2 and AIX. It is 
also on VM/CMS.  

Since the live parsing is done by code written for each particular 
language, it can be as clever as you want.  So for c, it can display
just the function definition lines at the touch of a key, or a mouse 
clicker. And then get back to all lines just as quickly.  It also 
checks for proper c syntax as you enter code, and does proper c 
formating for you. I saw this demostrated at the last Share meeting 
in Anaheim, CA.  So you should able to get more details from your IBM
rep.


-- 
*                tuktusiuriagatigitqingnapin'ngitkiptin'nga, David Potter
From: tundra@eskimo.chi.il.us (Tundra Tim Daneliuk)
Newsgroups: comp.unix.questions
Subject: Unattended ftp
Date: 10 Apr 92 22:38:24 GMT

Could someone please point me to a FAQ or other source of documentation which
contains an explanation and/or scripts for doing non-interactive FTP.  I want
to be able to load a file with the name of ftp sites and filenames and have
a cron job kick off the actual transfers when net load is low (i.e. - late
night).

Thanks,




------------------------------------------------------------------------------

        "Tundra" Tim Daneliuk
        PREFERRED: tundra@eskimo.chi.il.us
        OR (Yuk!): eskimo!tundra@clout.chi.il.us
        ALSO:      ...uunet!gargoyle.uchicago.edu!clout!eskimo!tundra
        US SNAIL:  4927 N. Rockwell, Chicago, IL  60625
        MA BELL:   (312) 989-1052

        How many feminists does it take to change a lightbulb?

        Two, one to change the bulb and one to complain bitterly
        about the plight of the socket."

------------------------------------------------------------------------------
From: jik@athena.mit.edu (Jonathan I. Kamens)
Newsgroups: comp.unix.questions
Subject: Re: Getting PID while in interrupt handler: How?
Date: 6 Apr 92 14:39:38 GMT
	<5APR199222113968@jane.uh.edu>
Organization: Massachusetts Institute of Technology

In article <5APR199222113968@jane.uh.edu> cosc143u@jane.uh.edu (91F9774) writes:

     I have several child tasks that are generating "SIGUSR1" signals.  
   I have one handler in the parent task that is handling these signals.
   Is there any way to find out the PID of the child that sent the signal
   to which the child is now responding?

No.  A signal does not piggyback any information, such as the process
that sent it; all you get when you get a signal is the signal.

The exception to this is SIGCHLD, since you can do a wait() when you
get a SIGCHLD in order to determine what child died, but SIGCHLD is
special in any case.

If you need to know what child generated your interrupt, then you're
going to have to use some other interrupt mechanism besides signals.
For example, you could open a pipe in the parent before forking the
children, and have the children write their PID's into the pipe when
they are sending a SIGUSR1 now.  The parent can enable asynchronous
I/O on the pipe, and install a SIGIO signal handler which will be
activated when there is input on it, and then read the PID's from the
pipe in order to determine what child is asking for attention.

   I was told on some systems that Select could find this informations but I
   am on ULTRIX and I was told that on ULTRIX the Select statement is used
   for i/o and cannot be used to find the PID. 

I don't know of any UNIX systems where select() does anything besides
I/O.

-- 
Jonathan Kamens						jik@MIT.Edu
MIT Information Systems/Athena		    Moderator, news.answers
    (Send correspondence related to the news.answers newsgroup
	{and ONLY correspondence related to the newsgroup}
		 to news-answers-request@MIT.Edu.)
From: root@devl3.UUCP (Super user)
Newsgroups: comp.unix.questions
Subject: Re: Yesterday's date
Summary: Any date in the past.
Date: 14 Apr 92 13:03:44 GMT
Followup-To: Request for past dates.
Distribution: world
Organization: McKee Foods Corporation, Collegedale, TN 37315

aldavi01@starbase.spd.louisville.edu (aldavi01@starbase.spd.louisville.edu) writes:
> I'd like to be able to determine Friday's date
> on a Monday.  The UNIX equivalent of
> "Gimme the date from 3 days ago."
>  
> Peter Sweeney
> ps9zrhmc@miamiu.acs.muohio.edu
>
Here is a script to return any date in the past.
I've tried it up to 365 days with no problem.

************* START SCRIPT ***********************
# daysago -	# Returns date of specified days ago.  If no parameter is
		# entered, defaults to yesterday.
if [ $1 ]
then	dy1=$1
else	dy1=1
fi
dy1=`expr $dy1 \* 24 + 5`	# For 5 substitute the number of your time
				# zone west of Greenwich.
TZ=EST${dy1}EDT
export TZ
date "+%m/%d/%y"
************* END SCRIPT ***********************

Hope this helps.

	->  Steven Foster					<-
	->  LAND MAIL: PO Box 2107; Collegedale, TN  37315	<-
	->  VOICE: 1-404-238-7111, ext 2695			<-
	->  UUNET: root@devl3.mckee.COM				<-
From: shah@fnsony.fnal.gov (Hemant Shah)
Newsgroups: comp.unix.questions
Subject: Who sells BudTool backup software ?
Keywords: backup
Date: 6 Apr 92 18:00:09 GMT
Reply-To: shah@fnalb.fnal.gov
Organization: Fermi National Accelerator Laboratory, Batavia, IL

Can anyone tell me, who sells BudTool, the backup software ?
How much does it cost ?

Thanx :-)

-- 
-------------------------------------------------------------------------------
Hemant Shah                            | All the opinions expressed are my own
Fermi National Accelerator Laboratory  | and does not necessarily reflect
Systems Integration Group              | those of Fermilab.
E-mail :shah@fnal.fnal.gov             |
 Voice : (708) 840-8071	               | I haven't lost my mind
   Fax : (708) 840-2783                | it's backed on tape somewhere.
-------------------------------------------------------------------------------
From: barmar@think.com (Barry Margolin)
Newsgroups: comp.unix.questions
Subject: Re: How to determine originating host in .cshrc
Date: 15 Apr 1992 22:36:50 GMT
Organization: Thinking Machines Corporation, Cambridge MA, USA
NNTP-Posting-Host: telecaster.think.com

In article <1992Apr15.130620.16238@ef2007.efhd.ford.com> Mike O'Connor <mjo@fmsrl7.srl.ford.com> writes:
>Under C, one could do a getpeername() or the like to determine the
>host information.

This has to be one of the most common misconceptions about how to solve
this particular problem.  Also, if the FAQ maintainer is reading, I think
the original question needs to be there.

You cannot use getpeername(), or any other socket call, to find out the
originating host in a telnet, rlogin, etc. session.  The user's process is
only connected to the socket indirectly.  Between the user's process and
the socket is a server process (telnetd, rlogind, etc.) and a pty.

A C program with access to /dev/kmem could trace all these things.  It
would have to find a process with the master side of the user's pty open,
then find the network socket that this process has open.

BTW, if someone were ever to replace the multiple rlogind and telnetd
processes with a single, multi-threaded, daemon process it would be much
harder to do this.
-- 
Barry Margolin
System Manager, Thinking Machines Corp.

barmar@think.com          {uunet,harvard}!think!barmar
Newsgroups: comp.unix.questions,comp.unix.wizards,comp.sys.intel
From: putsch@uicc.com (Jeff Putsch)
Subject: Re: How to copy to another machine's /dev
Keywords: n
Organization: Unitrode Integrated Circuits Corp., Merrimack, NH, USA
Date: Tue, 7 Apr 1992 12:49:52 GMT

I've picked up this thread too late to find what (file)system is being
discussed. It sounds like a VERY interesting one. Would some kind soul please
enlighten me.

Thanks

Jeff.
-- 
-----------------------------------------------------------------------------
Jeff Putsch                          |  Internet: putsch@uicc.com
Unitrode Integrated Circuits Corp.   |  UUCP    : uunet!chillon!putsch
Merrimack, NH  USA                   |  Voice   : (US) 603-429-8626 (daytime)
Newsgroups: comp.unix.questions
From: boyd@prl.dec.com (Boyd Roberts)
Subject: Re: How to copy to another machine's /dev
Organization: Digital Equipment Corporation - Paris Research Laboratory
Date: Thu, 9 Apr 92 12:27:02 GMT

In article <12347@auspex-gw.auspex.com>, guy@Auspex.COM (Guy Harris) writes:
> [...] Boyd might find it more interesting, as - given his employer
> - he's more likely to have a little-endian machine on his desk that I
> am....)

No, I'd be interested if it worked with real heterogeneity.


Boyd Roberts			boyd@prl.dec.com

``When the going gets wierd, the weird turn pro...''
From: ebido@bio.vu.nl (Etienne Bido)
Newsgroups: comp.unix.questions
Subject: read mail on other computer
Date: 9 Apr 92 20:26:38 GMT
Organization: VU Biology, Amsterdam, The Netherlands

I've got 2 E-mail boxes on different computers. But on one of them
I don't have a login-shell.Is it possible to read my mail using the 
other computer? mail -f doesn't work because it can't read files on
a different computer. Or can it? The only way now to read that
mail is to use a (Mac) program like Eudora.

-- 
Etienne Bido			|ebido@bio.vu.nl    
Vrye Universiteit		|bido@chem.vu.nl
Amsterdam
The Netherlands
From: boyter@bimbo.uucp (Maj Brian Boyter)
Newsgroups: comp.unix.questions
Subject: Re: Who sells BudTool backup software ?
Keywords: backup
Date: 10 Apr 92 01:38:49 GMT
Organization: Boyter Control

shah@fnsony.fnal.gov (Hemant Shah) writes:

>Can anyone tell me, who sells BudTool, the backup software ?

Try:
Cocco, Mike      Peripheral Devices  215-676-8821

Brian
-- 
---------------------------------------------------------------
   Maj. Brian A Boyter                               __
   off: (800)458-4814                              (    )
   home:(703)550-0667                             {      }
                                                   (    )
   uunet!pyrdc!bimbo!boyter                          ||
                                                     ||
   Just say glow......                       _______<  >_______
From: sb7c+@andrew.cmu.edu (Shikhar Bajaj)
Newsgroups: comp.unix.questions
Subject: Setting Process priority
Date: 7 Apr 92 14:09:55 GMT
Organization: Carnegie Mellon, Pittsburgh, PA

Is there any *simple* way of setting the kernel priority of a process?  I
know I can set the "nice" value which will influence the kernel priority
but not set it directly.  Thanks for any help.


Shikhar
Newsgroups: comp.unix.questions
From: jpc@avdms8.msfc.nasa.gov (J. Porter Clark)
Subject: Re: what happened to ftp.uu.net?
Organization: NASA/MSFC
Date:  9 Apr 92 18:26:29 GMT

peter@auad.acadiau.ca (Peter Steele) writes:

>>>Not completely germane to UNIX, but does anyone know what happened
>>>at ftp.uu.net?  I used to be able to anonymous ftp to this site.  Now,
>>>all I ever get is anonymous logon rejected.  Any ideas?

>>  It is high time you started using a nameserver, instead of relying on
>>an out-of-date /etc/hosts file.  The address has changed, and you haven't
>>kept your data up to date.

>I *do* use a nameserver and have also got this error.... ????

Have you tried waiting about 30 seconds or so (maybe longer) and trying
again?  I've had this happen many times when logging into ftp.uu.net,
princeton.edu, and others.  It seems that these sites sometimes time
out before the address-to-hostname mapping arrives from DNS.  Try a
little later, and it works.  I don't know of a way to fix this; our
domain name server is run by an organization I have little or no
control over, and it seems to be reasonably speedy otherwise.

At least one anonymous FTP site (can't think who) did in fact mention
this workaround in their initial FTP login banner at one time, but I
haven't seen this lately, possibly because there were too many users
complaining with, "I tried waiting a few seconds, but I tried it 10000
times today and it didn't work even once."
--
J. Porter Clark    jpc@avdms8.msfc.nasa.gov or jpc@eb23.msfc.nasa.gov
NASA/MSFC Communications Systems Branch
Newsgroups: comp.unix.questions
From: vsnyder@math.jpl.nasa.gov (Van Snyder)
Subject: Re: Internet access
Organization: Jet Propulsion Laboratory
Date: Wed, 8 Apr 1992 20:38:02 GMT

Not finding comp.net.questions or something similar I'm posting
here.

Are there commercial concerns that provide access to internet?
That is, are there folks who let you call their modem, and then
use rlogin or ftp or ... over the internet from their site?
If so, I'd like to know of somebody near Sacramento, CA or
Reno, NV.

Thanks in advance,
-- 
Van Snyder = vsnyder@math.jpl.nasa.gov
Newsgroups: comp.unix.questions
From: potter@watson.ibm.com (David Potter)
Newsgroups: comp.unix.questions
Subject: Re: Setting Process priority
Date: 7 Apr 92 15:21:56 GMT
Organization: IBM T.J. Watson Research Center
Disclaimer: This posting represents the poster's views, not necessarily those of IBM

Take look at man setpri. Setpri changes the kernel priority. 
N.B. After this is done (by root only), the normal nice adjustments
are no longer done.
David Potter potter@watson.ibm.com

-- 
*                tuktusiuriagatigitqingnapin'ngitkiptin'nga, David Potter
From: torek@horse.ee.lbl.gov (Chris Torek)
Newsgroups: comp.unix.questions
Subject: Re: Correct Trademark Citation for UNIX
Keywords: UNIX, trademark
Date: 6 Apr 92 22:06:12 GMT
Article-I.D.: dog.22533
Reply-To: torek@horse.ee.lbl.gov (Chris Torek)
Organization: Lawrence Berkeley Laboratory, Berkeley
NNTP-Posting-Host: 128.3.112.15

In article <6491@skye.ed.ac.uk> richard@aiai.ed.ac.uk (Richard Tobin) writes:
>Personally, I prefer "UNIX is a bell of AT&T Trademark Laboratories"
>which is I believe due to Chris Torek.

I got it from someone else (possibly Mike Urban), but I did help spread
it :-)
-- 
In-Real-Life: Chris Torek, Lawrence Berkeley Lab CSE/EE (+1 510 486 5427)
Berkeley, CA		Domain:	torek@ee.lbl.gov
Newsgroups: comp.unix.questions,comp.lang.perl
From: Tom Christiansen <tchrist@convex.COM>
Subject: Re: kill the shell script?!
Originator: tchrist@pixel.convex.com
Reply-To: tchrist@convex.COM (Tom Christiansen)
Organization: CONVEX Realtime Development, Colorado Springs, CO
Date: Thu, 16 Apr 1992 15:39:49 GMT
X-Disclaimer: This message was written by a user at CONVEX Computer
              Corp. The opinions expressed are those of the user and
              not necessarily those of CONVEX.

From the keyboard of max@spam.uchicago.edu (Max Ziff):
:#!/usr/local/bin/perl
:setpgrp(0,0) || die "setpgrp: $!";
:exec 'my-original-shell-script', @ARGV;
:
:Well that doesn't quite work.  It does achieve the goal of having the
:script be process leader to all its (well-behaved) kids, but when the
:parent kills that process leader, the signal doesn't propogate to the
:rest of the group.  I suppose this means that the parent wasn't
:killing the child with killpg(2) (or with that variant of kill(2)
:which amounts to the same thing).  I think I'm wandering into a sysV
:vs. BSD thing here?  By the way, it seems also that you can't depend
:on being able to send a kill signal to a process group from the shell;
:at least, the various shells are not at all uniform in this respect.

Passing a negative single, at least from perl, is guaranteed 
to invoke killpg, whether you're on a SysV or BSD system.

As for the real internal, these may vary.  From my kill(2) man 
page, off my BSD4.3ish system:

     If the process number is 0, the signal is sent to all other
     processes in the senders process group; this is a variant of
     killpg(2).

     If the process number is -1 and the user is the super-user,
     the signal is broadcast universally except to system
     processes and the process sending the signal.  If the pro-
     cess number is -1 and the user is not the super-user, the
     signal is broadcast universally to all processes with the
     same UID as the user except the process sending the signal.
     No error is returned if any process could be signaled.

     For compatibility with System V, if the process number is
     negative but not -1, the signal is sent to all processes
     whose process group ID is equal to the absolute value of the
     process number.  This is a variant of killpg(2).

--tom
From: dano@simpson (Dan Weinman)
Newsgroups: comp.unix.questions
Subject: Printcap entry for HP Paintjet printer
Date: 16 Apr 92 19:09:59 GMT

I'm trying to find a printcap entry for an HP Paintjet printer.
The printer is connected to a Sparc II running SunOs 4.1.1. If anyone
has one or knows where I can get one via ftp please respond via email
to dano@simpson.Prime.Com.

Thanks in advance.

Newsgroups: comp.unix.questions
From: egrap@auto.SanDiego.NCR.COM ()
Subject: TLI & NetBIOS
Keywords: TLI, NetBios 
Reply-To: egrap@auto.SanDiego.NCR.COM ()
Organization: NCR Corporation, Rancho Bernardo
Date: Tue, 14 Apr 1992 21:07:32 GMT

Howdy,
I'm attempting to establish a conversation between two processes on an
NCR 3445 running 5.4 and after that between the 3445 and an NCR Tower.
I am programming to TLI with actual transport layer being NetBIOS.

I am able to register each process with the name table and to then establish
a connection between them.  The problem occurs while the server waits
on his t_rcv call.  Although the client successfully returns from his t_snd
the server never receives a responce to his t_rcv.  Only when the client
finially finishes and severs the connection does the server come back from
t_rcv.

I've got a feeling that the problem lies in the t_accept because I'm not
setting any options, nor do I have any idea which should be set.

Thanks!

Xref: sparky comp.unix.questions:6095 comp.unix.ultrix:3796 comp.sys.dec:2524
From: wherry@alazif.cxn.dec.com (Colorado Cyberpunk)
Newsgroups: comp.unix.questions,comp.unix.ultrix,comp.sys.dec
Subject: Re: Disk Access Time under Ultrix on DEC 3100
Date: 10 Apr 92 00:18:14 GMT
Reply-To: wherry@alazif.cxn.dec.com
Followup-To: comp.unix.questions
Organization: Digital Equipment Corporation, Colorado Springs, Co


In article <1992Apr9.164829.9140@jarvis.csri.toronto.edu>, liu@white.toronto.edu (Dong Xu LIU) writes:
>	As Ultrix 3.1 uses a rotational optimization scheme to minimize 
>the rotational delay and places data of the same file closely on disk, 
>seek time and rotational delay should mostly be very small (much less
>than 20 msecs) when user reads blocks of a large file.
>
>	Does anyone know of the causes for such a high disk access duration
>(the causes other than disk seek time and rotational delay)?
>
>Thanks,
>		Dong
>

What kind of disk is this?  (use rzdisk -i (8) to get the info.)

What other operations (seeks) are happening on this disk?

--
  bradley g wherry    |    Multimedia Research
                      |    HOOTUS::wherry
                      |    wherry@hootus.cxn.dec.com

   Ex ignorantia ad sapientiam; e luce ad tenebras.
Newsgroups: comp.unix.questions
From: berry@socrates.umd.edu (Joseph Berry     )
Subject: Re: u386mon for Suns (or something better than xperfmon)
Keywords: performance monitoring
Organization: University of Maryland University College
Date: Thu, 16 Apr 1992 20:18:56 GMT

aab@cichlid.com (Andy Burgess) writes:

>A few years ago when I was using SCO Unix SVR3 I used a program
>that I believe was called u386mon. It displayed cpu usage
>(and lots of other things) on a PER-PROCESS basis so you could see
>exactly where your system resources were going (kind of like an
>animated /bin/ps).

>Is there such a beast available for SunOS (or generic BSD UNIX) ?

>Neither xperfmon nor xcpustate give per process info.

My company has an online performance monitor not only for the SunSparc
systems but also for SCO (and a number of others). It's a very full-
featured piece of software that even presents response time information
on all processes (plus the standard cpu, i/o, etc info). I'll send
you an e-mail brochure about the product.

Joe


+------------------------------------------------------------------------+
| Joe Berry                                                              |
| Strategic Software Group, Ltd., 3402 Shelburne Rd, Baltimore, MD 21208 |
| E-mail:  joe@ssgltd.com  or  uunet!ssgltd!joe                          |
| Phone:  410-764-5668;  Fax: 410-358-2106;  Pager: 410-796-6861         |
+------------------------------------------------------------------------+
From: COTRCSBK@sea04vm.navsea.navy.mil (Stephen B. Kutzer)
Newsgroups: comp.unix.questions
Subject: what happened to ftp.uu.net?
Date: 7 Apr 92 17:09:21 GMT


Not completely germane to UNIX, but does anyone know what happened
at ftp.uu.net?  I used to be able to anonymous ftp to this site.  Now,
all I ever get is anonymous logon rejected.  Any ideas?


Stephen B. Kutzer  703-769-2900
I-NET, Inc.        cotrcsbk@sea04vm.navsea.navy.mil
Newsgroups: comp.unix.questions,comp.unix.wizards,comp.sys.intel