HDTenEightyP/NetNews huggingface dataset:
From: guenther@stolaf.edu (Philip A Guenther)
Subject: Re: Which unix for the Intel platform
Organization: Academic Computing Center, St. Olaf College
Date: 26 Sep 92 20:36:42

In article <1992Sep24.035705.27320@news.columbia.edu> cl45@cunixf.cc.columbia.edu (Ching-Tse Liu) writes:
>	   I have a SUN 4 (sparc) at work. I would like to set
>  up an Intel 486 running Unix at home. Which vendor's Unix
>  should I choose from so the maximum compatibility is insured
>  between the Sun and the home Unix in terms of development
>  effors (i.e. compiling the same source code on both platforms
>  and then expecting them to work the same way.)

  This, of course, is a trick question.  The trick answer is Sun, in
the form of Solaris 2 for 386.  Oh, you want to know what *current*
Unices for 386 feel like a Sun.  Well, they say Sun is BSD acting like
sysV.  Linux (a free Unix for the 386) is sysV acting like BSD.  Right
now, people from all over the net are doing everything from porting
TCP/IP (in beta) to hacking out both Xenix and MS-DOS emulators.
Xfree386 runs great and shared libs, demand paging, multiple swap
file, and (recently released) jump table lib entries make even a small
computer able to run it (several people has posted to comp.os.linux
about getting it up and running on their 386sx portables.)  And as it
comes with source, you can add what you miss!  A classmate of mine has
it on his box and finds that he can compile with -DPOSIX, SYSV or BSD
and have it work.  Possibly the one large thing missing (that I can
think of) is full sysV IPC (though several people are working on that
too).  Give it a try, it costs you nothing to get: ftp it from
tsx-11.mit.edu.

  Note that there is a noticable lack of documentation... though there
is a group (my roommate for one) currently developing both manpages
and 'other' stuff (i.e. kernel hackers guide).  If the
presence/absence of docs makes you shudder, well...sorry, can't help
you. :-(

You can learn more by either checking out comp.os.linux or finger
torvalds@kruuna.helsinki.fi (he wrote most the silly thing)

>					   ***********************
>  --cliu@merlin.appmath.columbia.edu	*   CLifton T. Liu    *
>  --cl45@cunixf.cc.columbia.edu		***********************

Philip Guenther

PS Linux version 1.0 is be prepared and will most likely be out in
roughly 1-1.5 months.  It will be latched down as a base for further
development and will feature a *very* stable setup.  (My roommate has
upgraded his kernel 4 times since last February and the only time it
crashed/hung, was on a program in GAP (a math package) which also hung
a Sun4!  Oh, CrashMe doesn't)
--
guenther@stolaf.edu (Philip Guenther)       | The ACC might agree with me,
Student Sys Prog, Academic Computing Center | but with that bunch, (and me)
St Olaf College, Northfield, MN 55057-1001  | you never know... :-) :-| :-(
"Life makes sense?  LIFE MAKES SENSE!!?  Where do people get these ideas?"-me
Newsgroups: comp.unix.questions
From: guenther@stolaf.edu (Philip A Guenther)
Subject: Re: global finger
Organization: Academic Computing Center, St. Olaf College
	<1ado4pINN5be@spool.mu.edu>
Date: 30 Sep 92 22:58:20

In article <1ado4pINN5be@spool.mu.edu> jason@studsys.mscs.mu.edu (Jason Hanson) writes:
   >> Is there a way of fingering everybody at a site?  (ie.
   >> finger*@spool.mu.edu)? 
   > Pretty close Jason, if the host is reachable you can do `finger
   > @spool.mu.edu' (using your example) to see everyone logged in.

   Yes, I know but I am looking for a list of all, logged in or not.
   Note that if I finger jhanson@helios.uwsp.edu, I get this:

   [helios.uwsp.edu] 
   Login name: jhanson   			In real life: Jason Hanson
   Directory: /usr2/other/jhanson      	Shell: /bin/sh
   Plan:  
   To get UWC-Fox Valley into the modem age...


   And, I can get this without jhanson being logged in.  Now, can I
   get the list of everybody's "finger" even if they aren't logged in?

Are you *sure* you want to do this?  At large sites you can get
several thousand people.  For instance, here at St Olaf we have some
4000 people.  This would a unreasonable amount of mostly useless data.
For this reason alone I believe that it is a good thing that you can't
do this (at least with any *standard* fingerd): the net load plus the
load to the poor machine that receives this request.  I wouldn't let
any site I have a voice at do this to itself.  (Any means of using up
large amounts of resources (cycles, net time) is a *large* security
hole.)

Philip Guenther
--
guenther@stolaf.edu (Philip Guenther)       | The ACC might agree with me,
Student Sys Prog, Academic Computing Center | but with that bunch, (and me)
St Olaf College, Northfield, MN 55057-1001  | you never know... :-) :-| :-(
"Life makes sense?  LIFE MAKES SENSE!!?  Where do people get these ideas?"-me
From: jason@studsys.mscs.mu.edu (Jason Hanson)
Newsgroups: comp.unix.questions
Subject: Re: Okay ... I have a question ...
Date: 29 Sep 1992 20:19:54 GMT
Organization: Marquette University - Department MSCS
Distribution: co
NNTP-Posting-Host: studsys.mscs.mu.edu

In article <1992Sep29.023056.23337@mnemosyne.cs.du.edu> rnewman@nyx.cs.du.edu (Rick Newman) writes:
>
>So, here's my question:  If I have access to a unix machine via
>direct link, and that machine has a 19200 baud modem on it that
>I want to take advantage of, "What is the unix command and 
>syntax that will allow me to use that modem from the shell?"
>To tell you the truth, I know VERY LITTLE about unix (as you all
>can no doubt tell), and would like to take advantage of the
>high speed modem if possible.

Do a 'man cu' and see if that will help...
Newsgroups: comp.unix.questions
From: asriniva@vela.acs.oakland.edu (MONK)
Subject: File_Creation_Time
Organization: Oakland University, Rochester MI.
Date: Mon, 5 Oct 1992 02:04:52 GMT


HI

I would like to sort files in a directory according to the file creation time.
Could some one help me on this. 

Please email responses to asriniva@vela.acs.oakland.edu

thanks
athi
-- 
_________________________________________________________________________
athi
_________________________________________________________________________
From: wayne@jahangir.UUCP (wayne)
Newsgroups: comp.unix.questions
Subject: Shell question
Keywords: ksh, csh et all.
Date: 1 Oct 92 23:45:02 GMT
Organization: MDC, NYC


     Is there a way to test a shell variable to tell if it's
an integer or a string?



    - Wayne
From: jls@lhdsy1.lahabra.chevron.com (Jim L. Schulmeyer)
Newsgroups: comp.unix.questions
Subject: Re: Centering of images in XV
Date: 28 Sep 92 18:10:02 GMT
Organization: Chevron Oil Field Research, La Habra, CA.

In article <1992Sep22.073029.12693@ulrik.uio.no> jawil@hpx14.aid.no (Jan Roger Wilkens) writes:
>
>Could anyone tell me the command-line-option in XV to display images centered
>on the root screen?
>
>
>-- 
>                               Jan Roger Wilkens
>                     Student at Agder Engeeniering School
>                               Computer Technics
>
>                           EMail: jawil@hpx11.aid.no


This is the command I use to display the green frog in my root window - Centered-.

xv -root -rmode 5 frog1&

                          0 titling
                          1 integer tiling
                          2 mirror tiling
                          3 integer mirror tiling
                          4 centered tiling
                          5 centered on solid background
                          6     "       warp  background
                          7     "       brick background.

Jim.
-- 
  Jim L. Schulmeyer
  CITC                                      Tel: (310) 694-7982
  P.O. Box 446, La Habra, CA 90633-0446     Fax: (310) 694-7709
From: mchinni@pica.army.mil (Michael J. Chinni, (SMCAR-CCS-W))
Newsgroups: comp.unix.questions
Subject: /usr/adm/wtmp trimming
Date: 6 Oct 92 16:15:38 GMT

All,

	According to references in our 'man' pages, /etc/ac can be used to 
summare the information from /usr/adm/wtmp. The 'man' page for 'ac' recommends
periodically getting a summary and then truncating the wtmp file.

	My question: truncate wtmp how ? Copy /dev/null to it ?

	All recommendations, opinions and suggestions will be appreciated.

	Thanks in advance.

+---------------------------------------------------------------------------
| Michael J. Chinni        US Army ARDEC, Picatinny Arsenal, New Jersey
| MIL: mchinni@pica.army.mil     UUCP: ...!uunet!pica.army.mil!mchinni
| -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
| User to skeleton at cobweb/dust covered terminal: "System been down long?"
+---------------------------------------------------------------------------
From: div@NAD.3Com.COM (Dinesh Venkatachalam x5498)
Newsgroups: comp.unix.questions
Subject: CRC Generation for doing remote file compares
Date: 1 Oct 92 16:01:45 GMT
Reply-To: div@NAD.3Com.COM
Organization: 3Com Corp


I want to compare 2 copies of the same file which are at 2 different
locations ( I cannot do rsh or uu commands ). Is there a CRC generation
program under unix so that I can compare the CRC numbers produced by
running the files through the program and see if they match to make sure
the files are the same.

Any other ideas.

...Dinesh
Organization: Pittsburgh Supercomputing Center, Carnegie Mellon, Pittsburgh, PA
Newsgroups: comp.unix.questions,comp.unix.programmer
Date: Mon,  5 Oct 1992 17:22:12 -0400 
From: Christopher Kalevi Nuuja <cn09+@andrew.cmu.edu>
Subject: Making Yacc output modular

   I'm involved in a project where we want to use yacc (and lex) to
do parsing.  We have the following problems with yacc:

   1.  The parser needs to be re-entrant.  I know Bison has a switch to
       make the output re-entrant, but we don't like the bison copyright
       (which says any code created by bison falls under the bison copyright).
       I've heard of yacc postprocessor called deyacc that is supposed to make
       yacc output re-entrant, but have been unable to find it.

   2.  The rest of the code will be in c++.  We'd like the yacc output to
       be as easily wrapped into c++ objects as possible.  (especially, no
       global variables).  The application could be using more than one yacc
         parser at a time (like an sgml parser and a cgm parser), and
         global variables will only conflict.

Does anyone know of any free tools like this supposed deyacc that could
help us solve these problems?  The solution would have to be free, as we
give our software away to our users.

Thanks

Chris Nuuja
Pittsburgh Supercomputing Center
nuuja@a.psc.edu,  cn09@andrew.cmu.edu
Newsgroups: comp.unix.questions
From: spitzer@sol.cs.wmich.edu (Dwight Spitzer)
Subject: Need help with VT100 cursor control codes
Summary: Cursor on, off, and change cursor from box to underline
Organization: Western Michigan Univ. Comp. Sci. Dept.
Date: Sat, 26 Sep 1992 14:43:23 GMT


  I'm working on a project where I need to hide, restore, and alter
a cursor on a VT100 terminal.  Would someone tell me what control/escape
codes will accomplish this?  Or give me a title/source of a book/manual
describing VT100 terminal control codes.

  E-mail please.  Thanks in advance.  :)
From: osoelgaultier+@CMU.EDU (Stefan Monnier)
Newsgroups: comp.unix.questions
Subject: Re: non-interactive shell by email
Date: 27 Sep 92 20:52:09 GMT
Article-I.D.: andrew.Ielcxtq00awBM1Im8I
Organization: Junior, Math/Computer Science, Carnegie Mellon, Pittsburgh, PA

Excerpts from netnews.comp.unix.questions: 28-Sep-92 non-interactive
shell by email Ayman I. Kayssi@eecs.umi (1143)

> I would appreciate any comments (positive or negative) on the following idea:

> 'User' has an account on a unix machine, but User no longer can login to that
> machine because no tcp/ip connection is possible. It would be nice if
> there is a program similar to ftpmail except that, instead of being
> restricted to a few commands for anonymous ftp, the program actually
> executes a  shell, so that User can email shell commands, etc.  and have a
> non-interactive login on the unix machine. The stdout and stderr of the
> shell are directed to a file, which at the end of the non-interactive session,
> will be mailed back to User. 
> The shell may be started by something similar to in.comsat, that is you send
> mail to special-shell@machine.domain with the contents of the mail message
> being something like:

> # non-interactive login 
> # who's logged in
> who
> # list home dir
> ls -al

> etc...

> Any comments? Has this been done before?

> Thanks.
> --
> Ayman I. Kayssi                               |    ayman@eecs.umich.edu
> EECS Department                               +------------------------
> University of Michigan                        |          (313) 764-8033


Well it seems technically feasible. BUT:

What about the login procedure and especially the password ?
I wouldn't dare sending my password by email !

	Stefan Monnier

-----------------------------------------------------
-- On the average, people seem to be acting normal --
-----------------------------------------------------
Newsgroups: comp.unix.questions
From: jdell@golda.mit.edu (John Ellithorpe)
Subject: Re: Help with UNIX and X
Organization: Massachusetts Institute of Technology
Date: Wed, 30 Sep 1992 16:41:32 GMT

On 30 Sep 92 05:20:15 GMT, clin@eng.umd.edu (Charles Lin) said:
> Originator: clin@analog.eng.umd.edu


>    Well, this is the third time I am trying this.  Let's hope my previous
> posts haven't shown up.

>    OK, I want to be able to send message to windows while I am in X.
> Here are my assumptions.

>    * When I type in xterm & in an available xterm (while in X), a window
>      pops up, and csh is running in my home directory.

>    * Umm, I guess that's it.

>    I assume that I have two windows that I wish to send messages to.
> Call it "a" and "b".  I want some function that will behave like
> the following imaginary function, which I will call "send".  send
> takes two arguments.  The first is the name of the window, and the
> second is either a literal string, or a file. 

Well, look, I think what you are talking about can be done on a minimal level.
If all you wanted to do is put the output of certain commands to a window
of choice, then you could use a script like:

	#!/bin/sh
	# send script:
	#  Usage: send [term device] [command]
	#  i.e. send /dev/ttyp0 ls -al
	term=$1
	shift
	cmd=$*
	$cmd > $term

However, if you actually wanted to cause things to happen in that csh process
then you might be in some trouble.  I'm not sure how to cause a process to
read input from somewhere else, if you hadn't already told it to before it
started.  My gut instinct is you need to write a program which reads inputs
from, say a socket, and another program which writes to the desired socket.

John
--

===============================================================================
John Ellithorpe                           | Internet: jdell@maggie.mit.edu
Dept. of Physics, Rm 26-349               | Phone   : (617) 253-3074  Office
Massachusetts Institute of Technology     |           (617) 253-3072  Lab
Cambridge, MA  02139                      |           (617) 236-4910  Home
===============================================================================
From: ghe@ruhets.rutgers.edu (Guangliang He)
Newsgroups: comp.unix.questions
Subject: Re: What does 'daemon' mean?
Date: 2 Oct 92 01:24:52 GMT
Organization: Rutgers Univ., New Brunswick, N.J.

In article <1992Oct1.153509.11305@ll.mit.edu>, yasu@ll.mit.edu (Alan Yasutovich) writes:
> 
> 	It's an evil spirit.

Quoted from Unix system adm. handbook by Nemeth ...:
	"daemons have no particular bias towards good or evel, but 
rather serve to help define a person's character or personality."

> 
> 
> -- 
> 	Alan Yasutovich
> 	"inquiring  (and nosey) minds WANT TO KNOW!!!"
> 	I can remember when "safe sex" meant having a padded headboard!!
> 	Tick Tock.....Tick Tock......Tick Tock .....Tick Tock......

Guangliang He
ghe@physics.rutgers.edu
From: root@tbucks.com (Timothy E. Buchanan)
Newsgroups: comp.unix.questions
Subject: script commands, order of exec
Date: 27 Sep 92 14:58:22 GMT
Organization: tbucks.com (private bitty-box)
X-Newsreader: Tin 1.1 PL4

In a Korn shell script, does each command finish before the next begins, or
is it necessary to use && to ensure this?
ex-

dosomething
doanother

Does doanother wait for dosomething to finish?
txia
--
Timothy.


      ------- Time is our only resource, humor our only defense. -------
Newsgroups: comp.unix.questions
From: aharris@alfred.carleton.ca (Andrew Harris)
Subject: computer crime
Keywords: computer crime
Organization: Carleton University
Date: Sun, 4 Oct 1992 23:34:23 GMT

I am looking for information on computer crime - not on how to do it
or the economic costs etc. -- but on who does it and why - If you have
recently come across anything of this nature I would very much
appreciate a reference or a suggestion of where to look or any other
news-groups where I should post this article.  Thank you 
      Andy
From: ttsai@crhc.uiuc.edu (Timothy Tsai)
Newsgroups: comp.unix.questions
Subject: curses problem: memory fault
Date: 2 Oct 1992 16:01:20 -0500
Organization: Center for Reliable and High-Performance Computing, University of Illinois at Urbana-Champaign
NNTP-Posting-Host: haydn.crhc.uiuc.edu

I'm trying to run the following on an IBM RS6000 with AIX 3.1:

========================
#include <curses.h>
#include <stdio.h>

main()
{
        initscr();
        cbreak();
        noecho();

        clear();
        move(1,1);
        printf("at (%d,%d) is (%c)\n",1,1,winch(stdscr));

        endwin();
}

=======================

I compile it with      cc -o test4 test4.c -lcurses     (it's called test4.c)
and it compiles without errors.  When I run it, I get 
"Memory fault (core dumped)".  Can anyone please tell me why I'm getting this
error, and what I can do to avoid it?

Thanks.
Timothy Tsai

Please email to ttsai@uiuc.edu
Newsgroups: comp.unix.questions
From: ckw@Cookie.secapl.com (Kirk Woerner)
Subject: Re: Trouble using kermit through a terminal server to a Sun system.
Date: Mon, 28 Sep 1992 21:46:45 GMT
Organization: Security APL, Inc.
Keywords: kermit

In article <Bv3844.6vu@naz.edu> crschuma@naz.edu (Chris Schumacher 252) writes:
>
>I have a problem using kermit, which I hope someone may have an answer
>to. I am running on a Sun Sparc Station using SunOS 4.1 and we have
>DEC terminal servers. We connect to the Sun from the terminal server
>using telnet. The problem is that I cannot get a file to transfer
>from my PC to the Sun using kermit. I have a feeling it has something to do
>with the telnet login, because when I login to our DEC machine using LAT,
>
You might want to try making sure the telnet session is in "binary mode" (on
a Netblazer this is "telnet -b")
Hope this helps
-- 
                          "It's INCONCEIVABLE !!!!"
          "I do not think that word means what you think it means."
                                          --- from "Princess Bride"
From: joslin_paul@ae.ge.com
Newsgroups: comp.unix.questions
Subject: Re: internet address name resolution
Date: 29 Sep 92 12:39:55 GMT
Reply-To: joslin_paul@ae.ge.com
Distribution: na
Organization: GE Aircraft Engines
Originator: news@c0228.ae.ge.com

tm8t+@andrew.cmu.edu (Tod McQuillin) writes:

>GEANEL@cn.laafb.af.mil writes:

>> Sometimes I need to ftp anonymously to a site whose symbolic name
>> (such as ftp.nisc.sri.com) is known but whose internet address (such
>> as 192.33.33.22) is not known.  Consequently whenever I attempt to ftp
>> to such a site, the operating system gives an "unknown host" error
>> message since my /etc/hosts file does not contain an entry which
>> provides address resolution of the symbolic name ("route add default
>> [gateway-internet-address]" does not solve this problem).  What can be
>> done in such situations?  Is there a name server somewhere on the
>> internet?

>Sure.  There's even one on your local net.  Make a file called
>/etc/resolv.conf and put this in it:

>nameserver 26.28.0.13

If you cannot write in /etc, and cannot convince your system
adminstrator to create the file, try this:

Look for the command "nslookup" using "man nslookup", or "which
nslookup". 

A typical usage would be:

nslookup unknown-host 26.28.0.13
or 
nslookup - 26.28.0.13 # to use interactively.

If you use it interactively, try "HELP" as your first command.
-- 
     Paul R. Joslin     |
joslin@c0223.ae.ge.com  | "Looks like we're going to need another Timmy!"
   +1 513 583 3537      |
Newsgroups: comp.unix.questions
From: dsevans@magnus.acs.ohio-state.edu (Daniel S Evans)
Subject: postscript printing and printcap entry -- HELP
Organization: The Ohio State University
Date: Fri, 2 Oct 1992 15:24:26 GMT


How do I send a file to postscript printer with lpr command?  In addition, 
what's the printcap entry ?

Thanks

Dan Evans
-- 
---------------------------------------------------------------------------
Dan Evans                         
Please send direct replies to:  devans@ecolan.sbs.ohio-state.edu  Thanks !
---------------------------------------------------------------------------
From: tmilner@hprpcd.rose.hp.com (Tom Milner)
Date: Thu, 24 Sep 1992 15:41:07 GMT
Subject: Re: numbering lines in a text file
Organization: Performance Technology Center, Roseville
Newsgroups: comp.unix.questions

In comp.unix.questions, goyle@tortie.me.uiuc.edu (Vipin Goyle) writes:

|    anyone got a program for line numbering a text file? i would like to 
|    input a text file and generate another file with the line numbers 
|    embedded in it (along with the text, of course!).
|
|    please mail it to me. thanks!
|
|    -vipin
|    goyle@tortie.me.uiuc.edu
|    --
|    ---------------------------------------------------------------
|     Vipin Goyle			Engg. Psych. Research Lab.     
|     305 N.Lincoln Ave, #S205	Dept. of Mech. & Indust. Engg. 
|     Urbana, IL 61801		U of Illinois at U-C	       
|     (217)367-1219			(217)333-5140 or (217)244-8300 
|     v-goyle@uiuc.edu		MC - 244		       
|    ---------------------------------------------------------------

How `bout:

	awk '{printf "%3d: %s\n", NR, $0}' filename

                                  _____________________________________
                                 /_______________  ___________________/
                                                / /
                                               / /
                                              / / Tom Milner (Tn: 785-5637)
                                             / /  HP Performance Tech Center
                                            / /   tom@hpptc16.rose.hp.com
                                           /_/    __________________________
                    
Newsgroups: comp.unix.questions
From: nbladt@autelca.ascom.ch (Norbert Bladt)
Subject: Re: file with leading -
Organization: Ascom Autelca AG, Guemligen, Switzerland
Date: Tue, 29 Sep 1992 09:33:14 GMT

zebee@sirius.ucs.adelaide.edu.au (Zebee Johnstone) writes:

>While frantically trying to find space in my root file system, I 
>came across a files called -I.
>  
>I can't examine it to find out what it is, because any command I use
>thinks the filename is an illegal switch.
>  
>Any idea how I can examine the file to find out what it is, and remove
>it if I don't want it?
This is a question everyone has stambled upon in his UNIX life, I guess
(me, of course, included).

There is a very easy solution to this.
Try the following:
	file ./-I
or
	less ./-I
or
	pg ./-I
and so on.
Now, I think, you see what I try to say. Just avoid the first "-" in
an argument and you are set. To avoid it, another notation of the file
called "-I" in the current directory, is "./-I".

>I'm running DG/UX 5.4 on an Aviion.
It doesn't matter which of the *nixes you are running. They are all the same
in this sense and even the shell you are using doesn't matter.

Norbert.
-- 
Norbert Bladt, Ascom Autelca AG, Worbstr. 201, CH-3073 Guemligen, Switzerland
Phone: +41 31 999 65 52			FAX: +41 31 999 65 44
Mail: nbladt@autelca.ascom.ch   UUCP: ..!uunet!mcsun!chsun!hslrswi!aut!nbladt
Xref: sparky comp.unix.questions:11795 news.newusers.questions:4345