HDTenEightyP/NetNews huggingface dataset:
From: hm@fwi.uva.nl (Hans Mulder)
Subject: Re: How do I increase number of screen rows?
Keywords: rows stty
Organization: FWI, University of Amsterdam
Date: Thu, 19 Nov 1992 00:47:12 GMT

In <lux.721768908@sol.UVic.CA> lux@sol.UVic.CA (Michael O'Henly) writes:

>    I want to increase the number of rows displayed by things like
>emacs and nn from 24 to 35.

>    When I dial into my machine, the terminal window is defined as
>24x80 and I can't quite figure out how to change it. I suspect it
>involves the stty command, but 'stty rows 35' doesn't seem to tell
>"full screen" emacs whatever it needs to know in order to address the
>extra rows.

You need to say "stty rows 35 columns 80" (or whatever).

--
HansM
From: sinan@bcsaic.boeing.com (Sinan Karasu)
Newsgroups: comp.unix.questions
Subject: swapcontext getcontext etc......
Date: 19 Nov 92 04:38:31 GMT
Distribution: comp.unix.questions,comp.unix.programmer,comp.unix.misc,comp.unix.sys5.r4,comp.unix.internals
Organization: Boeing Computer Services AI Center, Seattle

Here is a small program. What it is suppossed to do is

metsun% rtt1
 Calling 1 
 HELLO THERE 1 
 Calling 2 
 HELLO THERE 2 
 Calling 3 
 HELLO THERE 3 
^Cmetsun% 

which it does except it gets hung up in the end. 
I can not get it to terminate ... I.e it never does
a return to the OS ( which Sun Solaris 2 with SunPRO
c compiler.... What am I doing wrong ??
All and any remarks will be appreciated...

(Note: I have written an assembly language version of this 
       but I do not know how to handle the register windows.
 I save the registers in a "leaf procedure" but it hit me that
 the windows will be in an indeterminate position when I return
 from a procedure. If you think you can help me, give me an e-mail
 and I'll send you the code.... Thanx.....)

Sinan Karasu
sinan@mtesol.boeing.com

-------------------------cut here---------------------------------------------
#include <ucontext.h>
ucontext_t test_cp,exec_cp;
void rtt_exec(mode,func)
int mode;
void func();
{
   switch (mode) {
	case 1: /* Remember the address of  */
                getcontext(&test_cp);
                makecontext(&test_cp,func,0);
                return;

 	case 2: /* Execute the TEST routine */
		swapcontext(&exec_cp,&test_cp);
		return;
   }
 }


void rtt_return()
{ 
        swapcontext(&test_cp,&exec_cp);
	return;  
}

void TEST()

{	printf(" HELLO THERE 1 \n");
 	rtt_return();
 	printf(" HELLO THERE 2 \n");
 	rtt_return();
 	printf(" HELLO THERE 3 \n");
 	return;
}

main()
{ 

	rtt_exec(1,TEST);
	printf(" Calling 1 \n");
	rtt_exec(2);
	printf(" Calling 2 \n");
	rtt_exec(2);
	printf(" Calling 3 \n");
	rtt_exec(2);
}
From: mbarkah@slate.mines.colorado.edu (Ade Barkah)
Newsgroups: comp.unix.questions
Subject: Re: Any terminfo compilers available?
Date: 19 Nov 92 00:40:20 GMT
Distribution: na
Organization: Colorado School of Mines

bhays@teal.csn.org (Boyd Hays) writes:
:     I need to write a program that parses terminfo source files. There was
:     something available about 5 years ago, a small lex scanner, but I can't
:     find it anywhere.

I'm not sure about where to find it, but since most Unices come with 
the 'tic(1)' command, I'd say look at the free Unix directories
(like linux or 386bsd) for the sources to tic.

I think GNU has a terminfo package, too... so you may want to
grab it from your local ftp site and canniballize the source
code (unless you're going to use it commercially, that is.)

Other than that, maybe you can play around with tic and achieve
whatever you're trying to achieve...

-Ade.
-- 
Internet  : mbarkah@slate.mines.colorado.edu    (NeXT Mailable)
CompuServe: 74160,3404
Newsgroups: comp.unix.questions
From: andylee@oahu.cs.ucla.edu (Andy Lee)
Subject: Shell Major Mode for Emacs?
Organization: UCLA, Computer Science Department
Date: Fri, 20 Nov 92 00:28:49 GMT

Hello,

Is there a Shell major mode in emacs for editing shell scripts?

+----------------------------------------------------------------------------+
| Andy A. Lee         | UCLA MS Graduate Student, AI Neural Networks         |
| andylee@cs.ucla.edu | Down-to-Earth Idealist & Independent NeXT Developer  |
| (310)824-7131       | "If you don't watch your figure, who will?" - TV Ad. |
| (310)208-0200       | "Trust is earned, not given away." - Star Trek: TNG  |
+----------------------------------------------------------------------------+

-- 
+----------------------------------------------------------------------------+
| Andy A. Lee         | UCLA MS Graduate Student, AI Neural Networks         |
| andylee@cs.ucla.edu | Down-to-Earth Idealist & Independent NeXT Developer  |
| (310)824-7131       | "If you don't watch your figure, who will?" - TV Ad. |
Newsgroups: comp.unix.questions
From: asriniva@vela.acs.oakland.edu (MONK)
Subject: lockf in SV is there anything in 4.3BSD
Organization: Oakland University, Rochester MI.
Date: Mon, 16 Nov 1992 02:51:36 GMT

hi gurus

I am trying to write a server which would provide record locking mechanism for
the clients. We have lockf in SV but we have only flock and funlock in 4.3BSD.
I would like to know how can record locking be implemented.

Thanks
athi
-- 
_________________________________________________________________________
athi			
_________________________________________________________________________
From: Karl.Glazebrook@durham.ac.uk (Karl Glazebrook)
Newsgroups: comp.unix.questions
Subject: Re: tcsh-like subroutine
Date: 18 Nov 92 09:45:28 GMT
Reply-To: Karl.Glazebrook@durham.ac.uk
Organization: Department of Physics, University of Durham

Well apparently the answer is the GNU readlines package available from
any good ftp site, e.g. prep.ai.mit.edu.

I built it and it works a treat!

Many thanks to all those who replied.

Karl.
---
------------------------------------------------------------------------------
| Karl Glazebrook,      | INTERNET:   Karl.Glazebrook@durham.ac.uk           |
| Dept. of Physics,     |    JANET:   KARL.GLAZEBROOK@UK.AC.DURHAM           |
| Univ. of Durham,      |     SPAN:   19463::DUVAD::KGB                      |
| United Kingdom.       |      FAX:   091-374-3749                           |
------------------------------------------------------------------------------
From: mwh@csd.cri.dk (Michael Wraa-Hansen)
Newsgroups: comp.unix.questions
Subject: Library maintenance with SunOS 4.1.1 make (bug report?)
Date: 16 Nov 92 13:16:56 GMT
Organization: Computer Resources International A/S

I have been trying to use the make utility with object file library
maintenance and I think that I have spotted a bug. I am aware that bug
report 1010592 reports something similar, but don't think it applies here.

Consider the following makefile and defaults file (I cannot use a
solution without a defaults file):

##### Makefile
OBJECTS=foo.o bar.o
LIBRARY=A

all: libA.a libB.a

include default.mk
##### end Makefile

##### default.mk
lib$(LIBRARY).a: lib$(LIBRARY).a($(OBJECTS))
	ar rv $@ $?
	ranlib $@

lib$(LIBRARY).a(%.o): %.o
	@true

libB.a: libB.a($(OBJECTS))
	ar rv $@ $?
	ranlib $@

libB.a(%.o): %.o
	@true
##### end default.mk

If I display (make -p) the specific dependencies for this I get the
following (omitting irrelevant rules):

##### make output
all: libA.a libB.a
lib.a(%.o):	%.o
	@true
libB.a(%.o):	%.o
	@true
libA.a(%.o):	%.o
	@true
libB.a(%.o):	%.o
	@true
lib.a: lib.a()
	ar rv $@ $?
	ranlib $@
libB.a: libB.a() libB.a(foo.o) libB.a(bar.o)
	ar rv $@ $?
	ranlib $@
libA.a: libA.a(foo.o) libA.a(bar.o)
	ar rv $@ $?
	ranlib $@
##### end make output

Whether using the indirect version (libA.a) or direct version (libB.a)
make is generating wrong rules - and in the latter case this prohibits
make from finishing it's job.

Any solutions or oppinions?

-Michael
+--------------------------------------+--------------------------------------+
| Michael Wraa-Hansen                  | email       mwh@csd.cri.dk           |
| Computer Resources International A/S | phone       +45 45 82 21 00 ext. 3224|
| Bregnerodvej 144                     | direct dial +45 45 82 22 66 + 3224   |
| DK-3460 Birkerod, Denmark            | fax         +45 45 82 01 22          |
+--------------------------------------+--------------------------------------+
From: ppg@oasis.icl.co.uk (Philippe Goujard)
Newsgroups: comp.unix.questions
Subject: Re: IS UNIX DEAD?
Date: 19 Nov 92 13:22:29 GMT
Organization: ICL, Bracknell, Berkshire, RG12 4SN, UK

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

>>>Because that often saves (a lot of) money.
>>
>>I doubt it. If you insist to install the OS yourself then you better
>>start learning how manage it.

>No, no, no, no, no....OS/2, Windows, DOS etc. have PROVED that you don't
>have to be a system administrator to install an OS.  Why do you insist on
>this dogma "if you aren't computer literate enough to install Unix, you
>should pay someone to do it."  Why not make unix easy enough to install
>that you don't have to do either?  Why force the problem onto the user 
>instead of just FIXING it?  Why defend a flaw?  

As long as your are installing a unix with multi-user capacities you have
to know at least a little bit more than when installing single user
operating systems.

Of course if you are speaking of a unix for a single user this is a
completly different ball game. But so far I've never seen such a beasty.
Maybe SVR4.2 will be.

For the moment (as long as we don't have a single user unix (or unix-lite
if you prefer to call it that way)) you should really compare unix with a
network software.
For example Novell is not really difficult to install but it is not exactly
what joe user does every morning to have fun.


>I won't defend Dos, or windows' or OS/2s' flaws.  I will highlight their
>strong points.  Highlight unixes' strong points, but FIX IT'S FLAWS.

>Overly complex installation is a flaw.

Yes but what is complex? Something complex for you might not be for me or
the other way around. I suppose what we really need to address if we want
unix on the low-end workstation market to be competitive is to design a
unix-lite that will be easy to install, easy to administrate and easy to
use for people who don't have any specific knowledge.
This may imply to remove some functionalities (such as multi-user) or hide
some of them (such as network management) and probably bundle user-friendly
and consistent software.

Of course some of you might say that a single unix already exists and it is
called os/2... 

PS : I installed windows 3.1 recently and I LIKED the installation
procedure, specially those messages saying "This is a good time for filling
you registration..." It makes you feel you're not loosing your time waiting
for one floppy to finish and to feed it the next one.
However, programs under windows tend to be really large now (how many
floppies for Corel draw?) and I wish you could get a tape distribution.
(Allright, you MAY get a cd-rom distribution for some of them but except
for installing software a cd-rom seems pretty useless when a tape can also
be used for backups  (yet another problem under dos machines)).
--
-----------------------------------------------------------------------------
Philippe GOUJARD                              Email : ppg@oasis.icl.co.uk
Newsgroups: comp.unix.questions
From: nmiller@starbase.trincoll.edu (norman miller)
Subject: Is that all that the GREP family can do?
Organization: Trinity College, Hartford, CT.
Date: Sat, 21 Nov 1992 20:10:16 GMT

I'm just moving to Unix after many years with VMS/VAX
and I miss some of the VMS nifties.  Such as the SEARCH
command with the /Windows option that enables one to specify
as many lines above and below the target string as one wishes.

Is there nothing like this on Unix?  I can't believe that it's
so, but I haven't found it.

Norman Miller
Newsgroups: comp.unix.questions
From: davisonj@en.ecn.purdue.edu (John M Davison)
Subject: Behavior of tmpfile() in Unix
Followup-To: poster
Summary: how does it work with fork(), exec*(), and other weird things?
Keywords: C fork exec process tmpfile Unix
Organization: Purdue University Engineering Computer Network
Date: Sun, 22 Nov 92 05:08:20 GMT


        As defined in C, the tmpfile() function returns a (FILE *) back to the
caller, pointing to a temporary file that is destroyed upon the termination of
the program.  What happens to this temporary file when a fork() or exec*() is
called?

        I'll post a summary if someone asks me to.


-- 
John Davison
davisonj@ecn.purdue.edu
Tsongas in '96
From: bultman@dgw.rws.nl (G.W.Bultman)
Newsgroups: comp.unix.questions
Subject: UNSUBSCRIBE ME (normal methods don't work)
Date: 23 Nov 92 08:49:52 GMT

Please UNSUBSCRIBE me from this list - Normal methods for unsubscribing
don't work, or so it seems.

--

    o                                                                o   
  / | \    Gert Bultman <bultman@dgw.rws.nl>   Koningskade 4       / | \  
 o--o--o   Tidal Waters Division               2596 AA The Hague  o--o--o 
  \ | /    Rijkswaterstaat                     The Netherlands     \ | /  
    o                                                                o    

Newsgroups: comp.unix.questions
From: twpierce@unix.amherst.edu (Tim Pierce)
Subject: Re: IS UNIX DEAD? (long)
Keywords: n
Organization: Elitist Usenet Administrators, Stuff & Nonsense Division
Date: Wed, 18 Nov 1992 03:57:30 GMT

In article <Bxw1Lp.CwH@undergrad.math.waterloo.edu> papresco@undergrad.math.waterloo.edu (Paul Prescod) writes:

>>I take that back, i just thought of Wylbur/MVSX, and VM/CMS.  I believe
>>help does something on those systems.  
>
>Add in OS/2 and (I believe) AmigaDOS.  Plus many, many, many, command 
>line oriented programs that are not operating systems like symbolic
>math packages and graphing packages.  Plus every text mode adventure
>game.	

Which, as we all know, collectively constitute the zenith of software
development.  It is doubtful that any modern operating system could
succeed that was not modeled after a text adventure.  I can see it now
...

amhux3% hello sailor

-- 
____ Tim Pierce                / 
\  / twpierce@unix.amherst.edu /               Rocks say goodbye.
 \/ (BITnet: TWPIERCE@AMHERST) / 
Newsgroups: comp.unix.questions
From: axi0349@ultb.isc.rit.edu (A.X. Ivasyuk)
Subject: Re: IS UNIX DEAD?
Originator: axi0349@ultb
Organization: Rochester Institute of Technology
Distribution: isc
Date: Sat, 21 Nov 1992 22:08:04 GMT

In various articles, Paul Prescod wrote:
>Give me a break.  Try Unix Framemaker (about $3000) and Windows 
>Aldus pagemaker + Aldus illustrator + (something else) for $900.00 
>If you want free Emacs & TeX, there are free versions for the PC too.
>Or you can "roll your own" postscript.  Or you can use the free wordprocessor
>(with graphics, fonts etc.) that comes free with Windows.  Let's see you 
>draw a picture in Emacs and paste it in.
>
>>Excel:  well.... $500?
>>Perl:              $0
>
>Perl?  Give me a break...If you want free spreadsheets, OS/2 has one built
>in too.  And there is also perl for OS/2 (and DOS).

Yeah, but you paid for Windows and OS/2.  I have a rather nice X spreadsheet
and WYSIWYG word processor on my Linux system, and all free.  No complaints
here.

[next article...]
>>As long as your are installing a unix with multi-user capacities you have
>>to know at least a little bit more than when installing single user
>>operating systems.
>
>Can't unix be a multiuser operating system that defaults to single user
>mode unless you specify otherwise?

Single user mode under *nix implies root access.  This is not, IMHO, a
very good default.  I don't log in as root on my own Linux system unless
necessary.  If you do, don't complain when you accidentally blow away
the /bin directory or something.

But *nix admins are not perfect, and I've blown away a directory or two
in my day.  Actually, I have a large file of *nix administration horror
stories that I will be editing and posting to the net in the next few
days.  Just in case you want to pick on *nix some more... ;-)

-Anatoly
-- 
  Anatoly Ivasyuk @ Computer Science House @ Rochester Institute of Technology
   anatoly@nick.csh.rit.edu || axi0349@ultb.rit.edu || axi0349@ritvax.rit.edu

                  You say you haven't heard of CSH?  You will...
Newsgroups: comp.unix.questions
From: leb@edgar.Jpl.Nasa.Gov (Larry Bright)
Subject: C Source Code for Pattern Matching
Summary: Need Source Code for Simple Text Pattern Matching
Keywords: text pattern matching source
Organization: Jet Propulsion Laboratory
Date: Mon, 16 Nov 1992 17:34:05 GMT

Could anyone tell me where I could find C source code for some
simple text pattern matching s/w, preferably with a syntax and
semantics based on "regular expressions" as in grep, awk, sed, etc.
Anything that implements a non-trivial subset of these functions
would be useful.

Thanks,

Larry Bright (lbright@mazurka.jpl.nasa.gov)
From: harley@engrhub.ucsb.edu (Harley Hahn)
Newsgroups: comp.unix.questions
Subject: IS UNIX DEAD? (16)
Date: 23 Nov 92 20:04:11 GMT

This is number 16 in a series of 22 responses to the question:
 
What do you think about the Byte magazine cover that asked:
IS UNIX DEAD?
 
(moderated by Harley Hahn)
 
----------
From: gator.rn.com!bluemoon!cmcurtin@homebase.vistachrome.com C. 
Matthew Curtin, President, Goffer Development, Columbus, OH
 
The headline "Is Unix dead?", while having its intended effect - 
to sell magazines - was, IMHO, a bit irresponsible on the part of 
a computer magazine. I also found the article to be very slighted 
against Unix, its predictions for market share and such are 
absurd.
 
Consider the following: Unix (in some form) runs on practically 
every computer from my Apple IIGS to Amdahl mainframes, 
supporting almost seamless source-level (and, in some cases, 
binary) compatibility among its versions.
 
There are 15 commercial versions of Unix for the 80x86-based PC 
alone. Unix is "tried and true," having existed as we know it 
since 1973. The trend in the computer industry is, without a 
doubt, toward "open systems," which we all know, is really a 
euphemism for "Unix;" few companies are really interested in 
placing their heavy computer investments in the hands of a single 
vendor in the form of [closed, proprietary, 
insert-favorite-word-here] machines.
 
Even IBM, which has been advocating its closed boxes (System 
30x0, System/3x, AS/400) for years, is running Unix now (AIX, 
RS/6000) as a way to keep up with what the industry really wants.
 
Byte magazine is heavily biased in favor of MS-DOS (or OS/2 or 
Windows)- based PCs over other architectures. The majority of my 
colleagues who are not brainwashed into the standard PC mentality 
do not place high stock in the opinions of Byte magazine, opting 
instead, for publications like UnixWorld, that more objectively 
cover "Open Systems."
 
==========
 
Newsgroups: comp.unix.questions,sci.math,sci.math.num-analysis,sci.math.stat,sci.math.symbolic,misc.forsale.wanted
From: sjs6@quads.uchicago.edu (s jonathan silverman)
Subject: Re: Looking for Time Series Analysis software
Reply-To: sjs6@midway.uchicago.edu
Organization: University of Chicago Computing Organizations
Date: Tue, 17 Nov 1992 05:16:27 GMT


The leading program for time series analysis is probably RATS, which runs
under DOS, the Macintosh, Unix and perhaps some other operating systems
as well.

The company that writes this is located in Evanston, IL.  Their name used
to be VAR econometrics, but they might well have changed it about a year ago
(perhaps to "Estima", but I could have them confused with another company).

RATS stands for something like "regression analysis for time series" and 
contains a broad array of time series analysis functions including specral
analysis.

If you cant track this down yourself, contact me by email and I will send
you the phone number.

-- 
Jonathan Silverman

sjs6@quads.uchicago.edu
jonat@cicero.spc.uchicago.edu
Newsgroups: comp.unix.questions
From: krisk@ux1.cso.uiuc.edu (Kris Klindworth)
Subject: Re: How do I get a particualr line of a file?
Organization: University of Illinois at Urbana
Date: Mon, 23 Nov 1992 22:14:08 GMT

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.


Sounds like a job of sed:

ux1> sed -n '210p'  filename

You can also look at a range of lines in the middle of the file
like this:

ux1> sed -n '210,215p'  filename



------------------------------------------------------------------------------
Kris Klindworth                    Internet: krisk@ux1.cso.uiuc.edu
Database Programmer                Phone   : (217)244-7120
Illinois State Water Survey        US Mail : 2204 Griffith Dr
                                             Champaign, IL 61820
From: cudcv@csv.warwick.ac.uk (Rob McMahon)
Newsgroups: comp.unix.questions
Subject: Re: IS UNIX DEAD? (long)
Date: 20 Nov 1992 16:28:20 -0000
Organization: Computing Services, University of Warwick, UK
NNTP-Posting-Host: sprocket.csv.warwick.ac.uk

In article <1992Nov20.003831.969@global.hacktic.nl> peter@global.hacktic.nl
(Peter Busser) writes: 
>>FrameMaker:  about $3000 (if I convert the swiss price to US$, might be
>>                          less in the US, however)
>
>>You get almost the same under UNIX from
>>Emacs & TeX:       $0 (maybe you'll have to add media cost)
>
>That's rediculous! emTeX for DOS or OS/2 costs as much and offers as much. But
>it isn't Framemaker. So what you say here has nothing to do with what were
>talking about: the difference in numbers and prices of applications.

Comparing emacs & TeX with FrameMaker is indeed ridiculous (although I confess
I prefer working that way), but FrameMaker cost us <\pounds 200 one-off,
including printed documentation, ~\pounds 100 each for more than 5 floating
licences, running on Sun workstations.  Interleaf came in at something like
\pounds 30-40 a licence, but FrameMaker seemed to be worth the extra money.
That't not so ridiculous.

Rob
-- 
UUCP:   ...!mcsun!uknet!warwick!cudcv	PHONE:  +44 203 523037
JANET:  cudcv@uk.ac.warwick             INET:   cudcv@warwick.ac.uk
Rob McMahon, Computing Services, Warwick University, Coventry CV4 7AL, England
From: peter@global.hacktic.nl (Peter Busser)
Newsgroups: comp.unix.questions
Subject: Re: IS UNIX DEAD?
Date: Wed, 18 Nov 1992 01:26:59 GMT
Organization: Global Village 1

rahardj@ccu.umanitoba.ca (Budi Rahardjo) writes:

>You want phone # or mail addres for linux ? Here's an example (taken from 
>comp.os.linux today ):

Look, it's very nice of you to let me read comp.os.linux twice ;-) but the
messages only say something about getting the disks, nothing else. That is,
I didn't see the word ``support'' anywhere, did you?

Besides, I'm not living in Germany.

Greetings,
Peter Busser
From: gucme@gdunix.gd.chalmers.se (Matz Engstrom)
Newsgroups: comp.unix.questions
Subject: Tool for email, and snail mail addresses
Date: 17 Nov 92 19:11:00 GMT
Organization: Gothenburg Universities Computing Centre, Sweden

I am interested in a UNIX tool for keeping my
addressbook, both electronic and snailmail. I
store them as VM NAMES files today, which also
gives me the possibility to store phone numbers,
and free text notes about the addressee.

Do you know of any UNIX tools for that, including
a fullscreen interface to maintain the files,
and some extracting tools to make the email
addresses available to my mail tools?
-- 
H{lsningar (Sincerely) /
          Matz Engstrom, Gothenburg Universities' Computing Centre;
          Address Box 19070; Kapellg}ngen 5; S-400 12 Gothenburg; Sweden
          Phone +46 31 818 338; Fax +46 31 185 006;
From: cl820@cleveland.Freenet.Edu (Wei Jin Mai)
Newsgroups: comp.unix.questions
Subject: how to change bk color?
Date: 15 Nov 1992 20:26:52 GMT
Organization: Case Western Reserve University, Cleveland, Ohio (USA)
NNTP-Posting-Host: hela.ins.cwru.edu


   How do I change the background color? (not in a window enviroment)

please reply by email if you can, thank you.
-- 
Weijin Mai