HDTenEightyP/NetNews huggingface dataset:
From: meisl@forwiss.uni-passau.de (Wolfgang Meisl)
Subject: Unix spreadsheets???
Organization: University of Passau, Germany
Date: Fri, 20 Nov 1992 21:13:12 GMT

Hi folks,
does anyone know spreadsheets available under UNIX. 
PD-programs (prefered) or commerical versions?

I use X-Windows on Sun Sparcstations.

Any hints welcome

Thanx in advance

Wolfgang                            meisl@forwiss.uni-passau.de
---------------------------------------------------------------
From: aaron@coombs.anu.edu.au (Aaron Duncan)
Newsgroups: comp.unix.questions
Subject: awk info
Date: 19 Nov 92 01:46:53 GMT
Organization: Australian National University
NNTP-Posting-Host: 150.203.76.2

I was wondering if anyone could tell me of any awk tutorials
available on anonymous-ftp or any other useful source on the language.

Please mail me as I don't normally follow this group.

Thanks in advance,

Aaron Duncan
aaron@coombs.anu.edu.au

Newsgroups: comp.unix.questions
From: jfritz@ptolemy1.rdrc.rpi.edu (Joe Fritz)
Subject: Re: IS UNIX DEAD? (long)
Organization: Rensselaer Polytechnic Institute, Troy, NY
Date: Sun, 22 Nov 1992 00:02:29 GMT

In article <1992Nov11.223818.323@global.hacktic.nl> peter@global.hacktic.nl (Peter Busser) writes:
>
>Because the application programmer made his choice, which, alas, is probably
>not my choice. Have you ever worked with X? If I for instance don't like the
>Motif window manager and I switch to the OPEN LOOK window manager. That makes
>that makes several things look different on the screen. But everything the
>application displays remains exactly the same. In fact, the only things to
>change would be the background, the system menus and the window borders. Sure
>choice has it's advantages, but it sure also has it's disadvantages.



IMHO freedom never is a disadvantage, and users should have the
freedom to choose their UI.  Ideally, there should be a generic UI
library, which is used by all applications, and is customizable by the
user.  This would contain the code to handle all the widgets that are
commopnly used.  An application would ship any the code for any
non-standard widgets it needs, but the user could should still be able
to modify them.

However, being more realistic.  It seems to me that standard UI's are
a bad idea, since they lock both users and application programmers
into a particular paradrim.  Instead, the application programmers
should have the freedom to provide whatever UI they wish, and the
users will use the product that they, and not some standards committee
like best.
-- 

-joe      (jfritz@rdrc.rpi.edu)
From: f254@cs.utexas.edu (Fall Class Account)
Newsgroups: comp.unix.questions
Subject: Help!  Can't run a file under tcsh!
Date: 21 Nov 1992 00:51:06 -0600
Organization: U Texas Dept of Computer Sciences, Austin TX
Distribution: world
NNTP-Posting-Host: priddy.cs.utexas.edu

I am experiencing an inconsistent error trying to run a file (executable
or shell script) under tcsh.  The files do have the attribute -rwxr-xr-x.
Typing  
	./testing
*sometimes* works but *sometimes* comes back with the
	./testing: Command not found.
message.  What's more, even when I encounter this message, I am still able to
run some other executable file in the same directory.
Could someone tell me what could be the problem?  
Thank you very much.
Newsgroups: comp.unix.questions
Subject: Help! Can't execute a File under tcsh!
Summary: 
Followup-To: 
Distribution: world
Organization: U Texas Dept of Computer Sciences, Austin TX
Keywords: 

I am having an inconsistent error in trying to run a file under tcsh.
(either shell script or executable file).
When I type
	./testing
*sometimes* everything goes perfect.  However, sometimes, it comes back with
the
	./testing: Command not found.
message.  What is more, even when I encounter this message, I am still able to
run some other file in the directory.
The files I am trying to run do have x attribute (-rwxr-xr-x).
I am not having this problem with any specific file.  It can happen to any of
my +x files.
When I try to ksh, for example, these files run perfectly without an exception.
        
Could someone tell me what could be the problem?

Thank you very much.
Newsgroups: comp.unix.questions
From: elsen@imec.be (Marc  Elsen)
Subject: Segmentation fault in a pipe sequence 
Reply-To: elsen@imec.be (Marc  Elsen)
Organization: Imec 
Date: Thu, 19 Nov 1992 16:49:32 GMT


    

  Hi ,


  Suppose I get :


  % ps aux | head -20 | grep -v foo
  Segmentation fault



  Is there any way to see which process in the pipe caused
  the segmentation fault (the example  is not so important , it
  can be any sequence of commands),

                                   Thanks ,

--
    Marc (elsen@imec.be)
    'Waterdust is fine but even hydrogen would have lead
     to a never ending story...'
Newsgroups: comp.unix.questions,comp.unix.wizards
From: ft@cbnewsi.cb.att.com (frederick.d.true)
Subject: Re: Unlocking named pipes (solved + question)
Organization: AT&T
Date: Wed, 18 Nov 1992 00:06:43 GMT
Followup-To: comp.unix.questions
Keywords: named pipe FIFO


Well, after receiving very few responses to my problem, I did a little 
poking around in the SunOS kernel config files to try and find an
answer.

Basically, my problem was this: I was using several named pipes to
receive the output of several 'zcat file...' commands, and was then
using 'sort <ops> -m pipe1 pipe2...' to merge the named pipes
together. The result was that I could merge several large compressed
sorted files, without having to decompress them to disk.

The problem was that after running for a while, the process would
freeze and all processes would go into IW. I thought it was strange
that this would happen all by itself, and indeed it didn't. At the
same time, I was testing this process on several smaller files, using
named pipes (different pipes, of course). 

I then noticed in the kernel configuration file, the option "options
FIFOCNT=10' was being set. Sure enough, in the "Sun System and Network
Administration" manual, I stumbled across the following, under "Tuning
IPC System Parameters":

	FIFOCNT determines the makimum number of FIFOs that may be in
	use in the system an any given time. Attempts to write more
	than FIFOCNT simultaneous FIFOs will block until some FIFOs
	are closed, releasing system resources. In the current 
	implementation, FIFO buffers are allocated in non-paging
	memory, and can lead to system lockup if indiscriminantly
	allocated. This restriction make be removed in a future
	release.

Well, that was the problem. The job would run fine as long as I was
using <= 10 pipes. When I fiddled around while the job was running, I
caused several of the pipes to block, and sort would stop, and all
other processes would eventually stop since none of the pipes would
clear until sort was done.

I've rebuilt the kernel with FIFOCNT=16 to help me out temporarily,
but my question is this: is it really true that only this many named
pipes can be used at once *in the entire system*? What if 2 users try
to do this at the same time? Or 2 jobs for that matter?

It seems very unfriendly, for such a nice feature.

--
Fred True
AT&T
From: partl@hp01.boku.ac.at (Hubert Partl)
Newsgroups: comp.unix.questions
Subject: Re: test for mail
Date: 23 Nov 92 08:49:57 GMT

Reply to
> From: Anibal Jodorcovsky <anibal@ee470.ee.mcgill.ca>
> Subject: checking for mail from shell
> Date: 14 Sep 92 13:41:58 GMT
> 
> I am trying to check from .login if I have mail.
> BUT, it's not just mail what I want to do, since
> I want to specify an if...then sort of thing
> IN CASE I have mail.

in .login (C-Shell):
     mail -e
     if ( $STATUS ) then
     ...
     endif

in .profile (Bourne-Shell):
     if mail -e
     then ...
     fi

---
Dr. Hubert Partl                              Mail:  partl@mail.boku.ac.at
EDV-Zentrum, Universitaet fuer Bodenkultur    Phone: (+43 1) 36 92 924 - 233
Nussdorfer Laende 11                          Fax:   (+43 1) 36 92 924 - 200
A-1190 Wien, Austria                          (-:  Make laugh, not war!  :-)
From: peter@global.hacktic.nl (Peter Busser)
Newsgroups: comp.unix.questions
Subject: Re: IS UNIX DEAD? (very long)
Date: Fri, 20 Nov 1992 00:45:06 GMT
Organization: Global Village 1

papresco@undergrad.math.waterloo.edu (Paul Prescod) writes:

>Non standard QWERTY-incompliant keyboards are certainly not my problem.
>99.9% of qwerty keyboards (and every one I have seen) has a semicolon beside
>the l.  The other .1% are so nonstandard that perhaps their hjkl aren't
>in a row either.

_American_ keyboards you mean...

>Thus the beauty of the (till now) unused F1 key.  Besides, one would
>assume that VI would be configurable enough that you could change the
>key mappings of the keys!  Or at least turn off help if you wanted to.

:map

Newsgroups: comp.unix.questions
From: etxmesa@eos.ericsson.se (Michael Salmon)
Subject: Re: Tomorrow's date? (Utility?)
Keywords: date utility
Reply-To: etxmesa@eos.ericsson.se (Michael Salmon)
Organization: Ericsson Telecom AB
Distribution: comp.unix.shell
Date: Mon, 23 Nov 1992 09:14:46 GMT

In article <1992Nov16.231545.10656@cheshire.oxy.edu>, legend@cheshire.oxy.edu (Linda A. Malcor) writes:
|> I'm looking for a (standard) unix utility that can tell me what tommorow's
|> date is (as well as the date 15hrs in the future/past, etc.). Any ideas?
|> Date math is so common, I'd just like to avoid reinventing the wheel.

perl isn't yet a standard utility but it is available for most if not
all Unix system as well as some others.

     localtime EXPR
             Converts a time as returned by the time function  to
             a  9-element  array  with  the time analyzed for the
             local timezone.  Typically used as follows:

             ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
                                           localtime(time);

             All array elements are numeric,  and  come  straight
             out  of  a struct tm.  In particular this means that
             $mon has the range 0..11 and  $wday  has  the  range
             0..6.  If EXPR is omitted, does localtime(time).

Here is an example of how you can get a simple printout of the time in
24 hours:

 eos6c02 tmp 83 > cat tomorrowtest 
#!/usr/gnu/bin/perl
#
($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
    localtime(time + 86400);
printf "%02d%02d%02d %02d:%02d:%02d\n",
$year+1900,
$mon + 1,
$mday,
$hour,
$min,
$sec;
 eos6c02 tmp 84 > date
Mon Nov 23 10:06:08 MET 1992
 eos6c02 tmp 85 > ./tomorrowtest 
19921124 10:06:11

More date like output is possible using string arrays. Date arrithmetic
is also possible just by changing the value added to time above, 86400
is the number of seconds in 1 day. Rather than a constant you could use
an expression, you could even read the expression from the command line
or input.

N.B. the setting of TZ is a not a portable way to affect date:

 eos6c02 tmp 90 > date
Mon Nov 23 10:12:11 MET 1992
 eos6c02 tmp 91 > ( setenv TZ MET-1MET ; date )
Mon Nov 23 10:12:20 MET 1992
 eos6c02 tmp 92 > ( setenv TZ MET-25MET ; date )
Mon Nov 23 09:12:25 MET 1992

-- 

Michael Salmon

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

Ericsson Telecom AB
Stockholm
Newsgroups: comp.unix.questions
From: kbibb@maui.qualcomm.com (Ken Bibb)
Subject: Re: Unix spreadsheets???
Organization: Qualcomm, Inc., San Diego, CA
Date: Sat, 21 Nov 1992 21:50:45 GMT

There is a program called sc which is publically available via anon ftp
which is a spreadsheet.  I think it uses curses, so it should work on
your system.  Ask archie for the site that carries it.
--
-- 
Ken                     	"You're right about the moon
jester@crash.cts.com    	 but wrong about the stars"--J. Browne
kbibb@qualcomm.com

Newsgroups: comp.unix.questions
From: jawil@hpx13.aid.no (Jan Roger Wilkens)
Subject: SIGS in SoftMail
Organization: University of Oslo
Date: Wed, 18 Nov 1992 16:54:29 GMT

I've just started to use SoftMail (part of HP's SoftBench package), the package
looks great, but I can't figure out how to make it automaticall include sigs
in my mail messages. I can't find anything about in the manual either...
Can anybody help?

-- 
                               Jan Roger Wilkens
                     Student at Agder Engeeniering School
                               Computer Technics

                           EMail: jawil@hpx11.aid.no
Newsgroups: comp.unix.questions
From: papresco@napier.uwaterloo.ca (Paul Prescod)
Subject: Re: IS UNIX DEAD? (long)
Organization: University of Waterloo
Date: Fri, 20 Nov 1992 18:56:27 GMT

>>I agree with that, compare it for instance with OS/2's E.EXE or Windows'
>>NOTEPAD.EXE. They're very limited, but very easy to use.
>
>That's not fair either. Compare it with "textedit" (or crisp) under Openwindows.
>
That's exactly the point we are trying to make.  Unix CAN be as easy to use
as OS/2 or Windows, but you have to assemble the ease-of-use yourself!!!!
When TextEdit and Crisp come free with MOST unixes already compiled, without
internet access, then I will compare them.  Until then, I compare OS/2s
EPM or E with vi.  After all, EPM comes free with OS/2, and vi comes with
most unixes.

>I thought F1 is supposed to be a standard HELP key for Dos/Windows programs :-)

Terminal emulators are the exception (if you specify so).  In Windows terminal,
you can specify whether to send through F1, or use it locally.  This is
probably best.  Every DOS/Windows term program I have ever used also prints
on the bottom line...

ALT-H for HELP  

If VI did this, I wouldn't care if it used F1 or not. 


Newsgroups: comp.unix.questions
From: vlad@dkbfpny.com (Vladimir Stavitsky)
Subject: cnews help
Organization: DKB Financial Products, Inc.
Date: Wed, 18 Nov 92 23:30:20 GMT

Hi, netters.
This question has to do with cnews software, so may be
it is more appropriate to post it to some other newsgroup,
but i am not sure which one, so here it is:

i have just installed cnews on the server which is our mailhost -
and everything works fine. Unfortunately, i had to reinstall it
on some other machine; it works ok so far - i was able to post
articles to the test group; i used rsh to execute uux on the
mailhost (changed sys file under /usr/lib/news);

my problem is: what happens when uunet sends batches to my mailhost?
as far as i understand, rnews still must be available there, right?
another words, i can not clean up my mailhost in terms of cnews
software, can i?

Thanks in advance for any suggestions.
Vlad
From: esr@snark.thyrsus.com (Eric S. Raymond)
Newsgroups: comp.unix.questions,comp.unix.sysv386
Subject: Re: How does a mortal become a UNIX WIZARD ?
Date: 23 Nov 92 04:37:30 GMT

In <By4xCo.CxK@unix.amherst.edu> Tim Pierce wrote:
> Aka ftp.uu.net:/archive/systems/gnu/jargon299.ascii.Z.

Gak.  They're out of date...I released 2.9.10 five months ago!
-- 
					Eric S. Raymond <esr@snark.thyrsus.com>
Newsgroups: comp.unix.questions
From: jhgreen@cs.sandia.gov (Jethro H. Greene)
Subject: What is the best way to get info. about named pipes?
Followup-To: poster
Originator: jhgreen@cs.sandia.gov
Organization: Sandia National Laboratories, Albuquerque, NM
Date: Sun, 22 Nov 92 20:12:12 GMT
From: schmidt@liege.ics.uci.edu (Douglas C. Schmidt)
Newsgroups: comp.unix.questions
Subject: Dynamic linking on Sun OS 4.1
Date: 17 Nov 92 01:14:07 GMT
Reply-To: schmidt@ics.uci.edu (Douglas C. Schmidt)
Distribution: inet
Organization: University of California at Irvine: ICS Dept.

Hi,

	I've been experiementing with dynamic linking via Sun OS 4.1.2.
However, I'm having the following problem when I try to use the
dlopen(), dlsym() library:

% ./a.out ~/tmp/x1.o _foo
ld.so: mmap data error (22) for /i0/da/ud/schmidt/tmp/x1.o

The main program looks like this:

----------------------------------------
#include <stdio.h>
#include <dlfcn.h>

int
main (argc, argv)
     int argc;
     char *argv[];
{
  char *path = argv[1];
  char *symbol = argv[2];
  void *handle;
  int (*f)(void);

  if ((handle = dlopen (path, 1)) == 0)
    dlerror ("dlopen failed");

  fprintf (stderr, "handle = %d\n", handle);

  if ((f = (int (*)(void)) dlsym (handle, symbol)) == (int (*)(void)) 0)
    dlerror ("dlsym failed");

  fprintf (stderr, "f = %d\n", f);

  if (f != 0)
    (*f)();
  else
    fprintf (stderr, "symbol %s not found\n", symbol);
  dlclose (handle);
}
----------------------------------------

The x1.c file looks like this:

----------------------------------------
#include <stdio.h>

void
init ()
{
  fprintf (stderr, "starting x1\n");
}

int
foo ()
{
  fprintf (stderr, "goodbye world\n");
}
----------------------------------------

	I'm compiling them both with /bin/cc and using the -ldl option
to /bin/ld.  Does anyone know what I am doing wrong and what
the cryptic error message:

ld.so: mmap data error (22) for /i0/da/ud/schmidt/tmp/x1.o

means?!

	Thanks,

		Doug
--
His life was gentle, and the elements so            | Douglas C. Schmidt
Mixed in him that nature might stand up             | schmidt@ics.uci.edu
And say to all the world: "This was a man."         | ucivax!schmidt
   -- In loving memory of Terry Williams (1971-1991)| (714) 856-4101
Newsgroups: comp.unix.questions
From: papresco@napier.uwaterloo.ca (Paul Prescod)
Subject: Re: IS UNIX DEAD?
Organization: University of Waterloo
Date: Fri, 20 Nov 1992 19:18:14 GMT

>Then tell them how to set up their .profile or .cshrc or whatever so
>they can get nice warm fuzzy prompts. :)

>Tell that to MicroSoft. After all, the first thing you see there on a
>new install is far from the 
>
>PROMPT $P$G
>
>we all would rather see. 

Actually, most new installations come up to a nice friendly graphical dos
shell.


Xref: sparky comp.unix.questions:13530 sci.math:15131 sci.math.num-analysis:3332 sci.math.stat:2367 sci.math.symbolic:3005 misc.forsale.wanted:475
From: farrar@adaclabs.com (Stephen Daedalus)
Newsgroups: comp.unix.questions,sci.math,sci.math.num-analysis,sci.math.stat,sci.math.symbolic,misc.forsale.wanted
Subject: Re: Looking for Time Series Analysis software
Date: 17 Nov 92 16:56:04 GMT
Organization: The Eye of the Pyramid, Inc.

You might take a look at TSP, which runs on mainframes to PC's.  We used the
student version in one of my econometrics classes and, although limited, did
a very good job on the project, and kept me out of the comp. lab. 
---
Richard Farrar		These views are my own, not my company's or country's.
ADAC Laboratories	"A man without hand is not a man."
farrar@adaclabs.com		- George Costanza, Seinfeld
		Spam is a registered trademark of Hormel
Newsgroups: comp.unix.questions
From: etxmesa@eos.ericsson.se (Michael Salmon)
Subject: Re: How do I get a particualr line of a file?
Reply-To: etxmesa@eos.ericsson.se (Michael Salmon)
Organization: Ericsson Telecom AB
Date: Mon, 23 Nov 1992 09:42:27 GMT

In article <pec2.722467852@Isis.MsState.Edu>, 
pec2@ra.msstate.edu (Paul E. Carroll) writes:
|> This seems extremely simple, but I've run into the problem several times
|> and gotten stumped each time.  So how do I view a particualr line of a 
|> file?  Head looks at the top, tail the end, cat - echo - more - or less-
|> look at the whole thing... but what if I want to see just line 30?
|> or JUST line 210?  I'm stumped.

This works for me:

 eos6c02 tmp 98 > cat -n /usr/etc/termcap | tail +210l | head -1
   210          :md=\E[1m:mr=\E[7m:mb=\E[5m:me=\E[m:\

The cat -n is just to insert line numbers of course.

-- 

Michael Salmon

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

Ericsson Telecom AB
Stockholm
Newsgroups: comp.unix.questions,comp.unix.sysv386
From: gary@sci34hub.sci.com (Gary Heston)
Subject: Re: How does a mortal become a UNIX WIZARD ?
Reply-To: gary@sci34hub.sci.com (Gary Heston)
Organization: SCI Systems, Inc., Huntsville, Al.
Date: Mon, 23 Nov 1992 17:02:07 GMT

In article <By3EK1.9uE@undergrad.math.waterloo.edu> gjschmid@undergrad.math.waterloo.edu (Greg Schmidt) writes:
>In article <sherman.722312029@foster> sherman@unx.sas.com (Chris Sherman) writes:
>>In <1992Nov19.001512.72408@slate.mines.colorado.edu> mbarkah@slate.mines.colorado.edu (Ade Barkah) writes:

>>>What does it take for a man, er, person, to become a Unix Wizard ?

>>Delete random files and/or directories from the system (like /bin, /usr/bin,
>>/etc, /dev) and try to recover.  You will learn a lot about Unix then.

You're a Unix Wizard when you can correct either Kernighan or Ritchie on
a kernel matter, and be right.

Until then, forget it....

-- 
Gary Heston    SCI Systems, Inc.  gary@sci34hub.sci.com   site admin
The Chairman of the Board and the CFO speak for SCI. I'm neither.
"Data sheet: HSN-3000 Nuclear Event Detector. The [NED] senses the gamma
radiation pulse [from a] nuclear weapon." As if we wouldn't notice...
Newsgroups: comp.unix.questions
From: rankin@ms.uky.edu (David W. Rankin Jr.)
Subject: Re: sudo with hidden password?
Date: Fri, 20 Nov 1992 07:07:23 GMT
Organization: University Of Kentucky, Dept. of Math Sciences

In article <Bxz50B.IIB@news.cso.uiuc.edu> rolf@geoserv.isgs.uiuc.edu writes:
>I have been using the "sudo" command from the Unix System
>Administration Handbook by Nemeth/Snyder/Seebass and like it
>very much. However, I would like to find if someone has a
>modified version of it that would hide your password instead
>of displaying it for all to see.
>                                     Thank you.

Just after glancing through the code, I'd say that what you could do is
(assuming your system echos characters back rather than relying on local
echo) place a system("stty -echo");, or the equivalent, and see if that
helps anything. Place that call before the input for the password, then
system("stty echo"); after it. I don't know if it works myself, since I
don't have a UNIX system to run sudo on yet [yet :)], but my guess would
bne that that would work.

Hope this helps,

-- 
"You know, I don't think Apple could damage the Mac more if the tried."
  -me, on the new pricing schemes on System 7.1, MacTCP 1.1.1, and MacX
--"When UK pays me money for my opinions, it can have them. Not before."--
David W. Rankin, Jr.,  Mac Archiver for f.ms.uky.edu   Packrat on IRC
Main address: rankin@ms.uky.edu  rankin@ukma.BITNET ...!gatech!ukma!rankin
         Alternates: rankin@mik.uky.edu  djrank00@aix3090b.uky.edu
From: root@shiptile.chi.il.us (Superuser)
Newsgroups: comp.unix.questions
Subject: Time sync problem....
Keywords: UNIX time dx2 sco
Date: 22 Nov 92 23:09:45 GMT
Followup-To: donl@shiptile.chi.il.us
Distribution: usa
Organization: WorldBridge BBS -- Joliet, IL

Hi all.  I have a perplexing problem, that I'm sure has an easy solution.
I have a machine that runs on an Intel 486DX2 at 50MHz.  Now, my problem is,
SCO UNIX 3.2.2 (I'm pretty sure that's the version of ODT 1.1).  It seems that
the clock that UNIX keeps track of is running at about 50% of real time.
Does this have anything to do with the "clock speed doubling" that the
DX2 does?  The even stranger thing is that the CMOS clock is correct, and when
I cat /dev/cmos, no problem..it's right, too.  Hmmmm...

Any help or suggestion would be GREATLY appreciated.  Please email me at
'donl@shiptile.chi.il.us' and if the response should warrant it, I'll post it.

Thanks in advance.

Donald P. Leaman
donl@shiptile.chi.il.us