Mail Delivery Problem
SMTP MAILER
postmaster at sandia.gov
Sun Aug 19 03:48:43 AEST 1990
----Reason for mail failure follows----
Sending mail to <math!ckaul at cs.sandia.gov> :
Could not be delivered for three days.
----Transcript of message follows----
Date: 15 Aug 90 06:39:00 MDT
From: info-unix at BRL.MIL
Subject: INFO-UNIX Digest V10#117
To: "math!ckaul" <math!ckaul at cs.sandia.gov>
Return-Path: <incoming-info-unix-request at sandia.gov>
Received: from SEM.BRL.MIL by sandia.gov with SMTP ;
Wed, 15 Aug 90 06:08:38 MDT
Received: from SEM.BRL.MIL by SEM.BRL.MIL id ad10635; 15 Aug 90 5:56 EDT
Received: from sem.brl.mil by SEM.BRL.MIL id aa10626; 15 Aug 90 5:46 EDT
Date: Wed, 15 Aug 90 05:45:41 EST
From: The Moderator (Mike Muuss) <Info-Unix-Request at BRL.MIL>
To: INFO-UNIX at BRL.MIL
Reply-To: INFO-UNIX at BRL.MIL
Subject: INFO-UNIX Digest V10#117
Message-ID: <9008150546.aa10626 at SEM.BRL.MIL>
INFO-UNIX Digest Wed, 15 Aug 1990 V10#117
Today's Topics:
Re: How to tell if a process exists
Re: System VR4/i386 - when ?
Re: "make" file question
Re: OK, so who runs SVR4 ??
Re: AWK Language Question
Re: reliable reads from pipes
Cross-compatibility of QIC tarfiles
Re: <None>
awk errors
System-dependent manifest constants (i.e., 'i386', 'mips', 'vax')
Re: -F option for awk
Restricting a user
Re: What's wrong with this Bourne shell script?
Having a conference instead of 'talk'?
Re: link (ln) with *one* name?
readdir and such
My post didn't work?
Re: My post didn't work?
Way over my head!
Recursion without -R
Re: Recursion without -R
Re: make SUFFIXES question.....
Korn-shell info needed
Re: uucico hanging. LBOLT???
SCO Mailing List
non-interactine telnet session
make(1) question
Re: Checkpoints for large jobs
Re: help sought - securing a terminal/line
RE: 'foo bar' <- What's the meaning of?
rogue df processes snarfing cpu
How to issue a C SHELL command within a C program
Re: How to issue a C SHELL command with
need help with FATAL error in unix 3.2u
CVS Questions
BSD references
directory reading
VMS compress utility
ELF object formats for i386 (V.4)
A non-shell outable editor
-----------------------------------------------------------------
From: Bob Fisher <nts0302 at dsacg3.dsac.dla.mil>
Subject: Re: How to tell if a process exists
Date: 13 Aug 90 11:51:34 GMT
To: info-unix at sem.brl.mil
>From article <13534 at smoke.BRL.MIL>, by gwyn at smoke.BRL.MIL (Doug Gwyn):
} In article <7733 at amelia.nas.nasa.gov> samlb at pioneer.arc.nasa.gov.UUCP (Sam Bassett RCS) writes:
} -In article <1823 at necisa.ho.necisa.oz> boyd at necisa.ho.necisa.oz (Boyd Roberts) writes:
} ->Wrong. RTFM -- kill(pid, 0)
} - Hmmm -- must be running Reverse Polish Unix down under, 'cause my
} -manual sez: " kill [-sig] processid... ", and I've been doing it that way
} -for a looooooooong time.
}
} Doing what, incorrectly reading your manual?
They're both right. They're just reading different sections of the manual.
--
Bob Fisher
US Defense Logistics Agency Systems Automation Center
DSAC-TSX, Box 1605, Columbus, OH 43216-5002 614-238-9071 (AV 850-9071)
bfisher at dsac.dla.mil osu-cis!dsacg1!bfisher
-----------------------------
From: Rchard Ducoty <rduc at uport.uucp>
Subject: Re: System VR4/i386 - when ?
Keywords: V4
Date: 13 Aug 90 15:22:32 GMT
To: info-unix at sem.brl.mil
In article <1990Aug11.123519.21964 at kth.se> perand at admin.kth.se (Per Andersson) writes:
>
>WHEN WILL I BE ABLE TO BUY SYSTEM V rel 4 FOR THE i386 ?
=============
Now ! Yesterday !
Call Microport @ 1-408-438-8649
Richard
-----------------------------
From: "D'Arcy J.M. Cain" <darcy at druid.uucp>
Subject: Re: "make" file question
Date: 13 Aug 90 15:23:59 GMT
To: info-unix at sem.brl.mil
In article <8427 at ccncsu.ColoState.EDU> flatau at handel.UUCP (flatau) writes:
>I have the following "makefile" file
>
>PAT=/ub/path/
>FILES=a.f b.f
>NEW=$(PAT)$(FILES)
>all:
> echo $(NEW)
>
>===========================
>The output from this "make" is
> /ub/path/a.f b.f
>
>but I would like to have
>/ub/path/a.f /ub/path/b.f
>
>Well, the question is: How to append prefix (/ub/path/) to
>a list of files using "make".
>
I use GNU make and I do this with the following:
NEW=$(foreach i, $(FILES), $(PAT)$i)
--
D'Arcy J.M. Cain (darcy at druid) |
D'Arcy Cain Consulting | MS-DOS: The Andrew Dice Clay
West Hill, Ontario, Canada | of operating systems.
+ 416 281 6094 |
-----------------------------
From: Rchard Ducoty <rduc at uport.uucp>
Subject: Re: OK, so who runs SVR4 ??
Keywords: V4
Date: 13 Aug 90 15:41:02 GMT
To: info-unix at sem.brl.mil
In article <1990Aug6.121634.176 at aim1.uucp> deon at aim1.uucp (Deon Botha) writes:
>From article <736 at pcsbst.pcs.com>, by mike at cochise.pcs.com (Mike Schroeder):
>>
>> the subject line really says all: what system vendors/software vendors
>> are supplying SVR4 for _real live_ systems today?
>> If any: who for what system?
==============
Microport is also shipping V4 for 386/486 machines (ISA)
Richard Ducoty
Microport
Scotts Valley, CA
408 438-8649
-----------------------------
From: Norman Joseph <norm at oglvee.uucp>
Subject: Re: AWK Language Question
Date: 13 Aug 90 16:39:31 GMT
To: info-unix at sem.brl.mil
In <972 at richsun.cpg.trs.reuter.com>, boi at richsun.cpg.trs.reuter.com
(Ken Boi) writes:
>According to the book "The AWK Programming Language", there
>are built-in string functions. One of them is 'gsub'. I have
>tried using it with the following comand line statement which
>is very close to the example in the book:
> [...]
>I get the error messages:
> awk: syntax error near line 1
> awk: illegal statement near line 1
>Anybody know why?
The awk you are running on your system (you don't tell us what you have)
is an earlier version of the one described in _The_AWK_Programming_Language_,
which is a (relatively) recent update. If your system is like some, you
may have the new version of awk listed under the name "nawk" (new awk).
--
Norm Joseph cgh!amanue!oglvee!norm at dsi.com
Oglevee Computer Systems, Inc. {pitt,cgh}!amanue!oglvee!norm
"Shucking Usenet oysters in pursuit of a pearl." -- Bill Kennedy
-----------------------------
From: Guy Harris <guy at auspex.auspex.com>
Subject: Re: AWK Language Question
Date: 14 Aug 90 18:13:30 GMT
To: info-unix at sem.brl.mil
>Otherwise, you can obtain the new flavor of awk from the AT&T UNIX
>System ToolChest, or from UNIX System V Release 3.2 or later,
It first appeared in S5R3.1.
-----------------------------
From: "stephen.a.rago" <sar0 at cbnewsl.att.com>
Subject: Re: reliable reads from pipes
Date: 13 Aug 90 17:12:23 GMT
To: info-unix at sem.brl.mil
In article <1827 at necisa.ho.necisa.oz>, boyd at necisa.ho.necisa.oz (Boyd Roberts) writes:
> In article <11155 at alice.UUCP> andrew at alice.UUCP (Andrew Hume) writes:
> >
> > lest anyone start relying on reads returning whatever is in the pipe,
> >9th edition and later unices preserved the size of the writes which can
> >now also exceed the size of the pipe buffer (i think).
>
> Not to mention the 1 byte write nasty that will take out all your
> stream message buffers. The stream pipe fills when the write
> side high water mark is hit; which is tunable.
SVR4 won't let someone "take all the stream message buffers" unless
they are running as root. And it's not message buffers, its general
memory out of the kernel memory pool.
>
> Those M_DELIM's are neat...
>
M_DELIM's are old. In V10 it's a flag in the message header (except for
the message line discipline). SVR4 also has delimiters, if you want to
use them.
Steve Rago
sar at attunix.att.com
-----------------------------
From: "Gary M. Lin" <skidrow at ceres.ucsc.edu>
Subject: Cross-compatibility of QIC tarfiles
Keywords: QIC tar compatibility
Date: 13 Aug 90 17:34:38 GMT
Sender: usenet at darkstar.ucsc.edu
To: info-unix at sem.brl.mil
I'm interested in moving up to QIC backups, instead of the standard
9-track reels I have. I have access to QIC units on an IBM RS/6000
and a Sun workstation. My question is can I read-in tarfiles
written on another UNIX system, if they are both set on the same
length, density and formatting specs?
The RS/6000 supports DC-300XLP, and I believe the Sun also. I would
like comments from anyone who does this regularly.
Thanks in advance,
- Gary M. Lin
skidrow at ceres.ucsc.edu
-----------------------------
From: "Roger B.A. Klorese" <rogerk at mips.com>
Subject: Re: <None>
Keywords: Fortran
Date: 13 Aug 90 20:17:10 GMT
Sender: news at mips.com
To: info-unix at sem.brl.mil
In article <1990Aug5.192922.20989 at ux1.cso.uiuc.edu> mcdonald at aries.scs.uiuc.edu (Doug McDonald) writes:
>The $ is not a standard F77 feature. Yet it IS documented to do what
>I want in the Mips Fortran manual. It doesn't work: I have to type
>two carriage returns to get input, which comes in wrong.
>
>How does one do this in Mips Fortran, or in general on common Unix Fortrans.
This is a bug in Mips Fortran releases 1.31 and 2.0. Upgrade to release
2.10 (if you are running pre-4.50 RISC/os) or 2.11 (for 4.50).
--
ROGER B.A. KLORESE MIPS Computer Systems, Inc. phone: +1 408 720-2939
MS 4-02 950 DeGuigne Dr. Sunnyvale, CA 94086 voicemail: +1 408 524-7421
rogerk at mips.COM {ames,decwrl,pyramid}!mips!rogerk "I'm the NLA"
"If the world were a logical place, men would ride sidesaddle." -Rita Mae Brown
-----------------------------
From: "William (Bill" <mayne at vsserv.scri.fsu.edu>
MMDF-Warning: Parse error in original version of preceding line at BRL.MIL
Subject: awk errors
Keywords: QIC tar compatibility
Date: 13 Aug 90 20:34:00 GMT
Sender: news at sun13.scri.fsu.edu
To: info-unix at sem.brl.mil
In my earlier post on this question all but the last paragraph got lost
somehow. The part which showed up on the net wouldn't make much sense,
so I'll summarize again. My apologies for the confusion.
Using awk on a Sun 3 run SunOS 4.0 I sometimes get either bus
errors or segmentation faults in the awk interpreter. Although I
sometimes find errors in the awk program which I was trying to
interpret (no thanks to the graceful error handling) I regard this
as a bug. An interpreter or compiler shouldn't fail like that no
matter what the input is. But I know I have to learn to live with
it the way it is. If anyone out there has learned some techniques
to help locate the error in a case like this, or has discovered what
patterns of source code errors cause this interpreter [mis]behavior
please enlighten me. Email responses preferred. I will summarize if
others show interest.
-----------------------------
From: Warren Tucker <wht at n4hgf.mt-park.ga.us>
Subject: System-dependent manifest constants (i.e., 'i386', 'mips', 'vax')
Keywords: i386 M_SYS5 sequent m68k vax etc....
Date: 13 Aug 90 21:27:59 GMT
Followup-To: poster
To: info-unix at sem.brl.mil
I would like to compile a list of pre-defined manifest constants
supplied by various C compilers. I have:
M_I186 M_I286 M_I386 M_I8086 M_I86 M_INTERNAT M_SYS5 M_UNIX
M_XENIX i386 i486 m68k mips pdp11 pyr sequent sun sun2 sun3
sun4 vax
If your compiler supplies predefined constants separately for the OS,
compiler or hardware type, please differentiate among them.
Please e-mail and I will summarize if there is any interest. Thanks.
-----------------------------------------------------------------------
Warren Tucker, TuckerWare gatech!n4hgf!wht or wht at n4hgf.Mt-Park.GA.US
"Tell the moon; don't tell the March Hare: He is here. Do look around."
-----------------------------
From: Roger Rohrbach <roger at yuba.wrs.com>
Subject: Re: -F option for awk
Keywords: awk field-separator
Date: 13 Aug 90 21:41:03 GMT
Sender: news at wrs.wrs.com
To: info-unix at sem.brl.mil
rjshaw at ramius.ocf.llnl.gov (Robert Shaw) writes:
>When awk'ing something like a passwd file, where the reasonable choice
>of field separator is something other than whitespace, how do you
>let a line simply fall through and be printed unchanged?
>print; or print $0; don't do the right thing because the lines come
>out with spaces as the field separators instead of the character given
>to the -F option.
I don't know what version of awk you are using; both the old and GNU versions
of awk print the input line unchanged unless you explicitly reset the OFS
(output field separator) variable. I.e,
awk -F: '{ print }' /etc/passwd
prints /etc/passwd unchanged. As a matter of fact, if you want the behavior
you claim to be experiencing, you not only have to set OFS, but you have to
mess with one of the fields in order to get awk to recompute $0, i.e.,
awk -F: '
BEGIN {
OFS = " "
}
{
$1 = $1 # recompute $0
print
}' /etc/passwd
produces the behavior you describe. Perhaps "new awk" behaves differently;
in that case, try setting OFS to FS and use this trick.
Roger Rohrbach sun!wrs!roger roger at wrs.com
- Eddie sez: ----------------------------------------------- (c) 1986, 1990 -.
| {o >o |
| \ -) I'm lurching between the aesthetic sublime and the quotidian grime. |
-----------------------------
From: George Turczynski <george at hls0.hls.oz>
Subject: Re: -F option for awk
Keywords: awk field-separator
Date: 14 Aug 90 00:03:36 GMT
To: info-unix at sem.brl.mil
In article <491 at llnl.LLNL.GOV>, rjshaw at ramius.ocf.llnl.gov (Robert Shaw) writes:
> When awk'ing something like a passwd file, where the reasonable choice
> of field separator is something other than whitespace, how do you
> let a line simply fall through and be printed unchanged?
>
I must have misunderstood your question. This works fine:
tmp: awk -F: '{ if( $1 == "nobody" ) print }' /etc/passwd
nobody:*:-2:-2::/:
This is under SunOS 4.0.3, and works for both sh & csh. I don't know
what you're running, but it might have been useful to know >:-}
--
| George P. J. Turczynski. |----------------------------------------------------
| Computer Systems Engineer. | ACSnet: george at highland.oz | I can't speak for the |
| Highland Logic Pty. Ltd. | Phone: +61 48 683490 | company, I can barely |
| Suite 1, 348-354 Argyle St | Fax: +61 48 683474 | speak for myself... |
| Moss Vale. NSW. Australia. 2577 |----------------------------------------------------
-----------------------------
From: "John R. Schutz" <john at csrnxt1.ae.utexas.edu>
Subject: Restricting a user
Keywords: Restrict, No access
Date: 13 Aug 90 22:34:06 GMT
Sender: news at ut-emx.uucp
To: info-unix at sem.brl.mil
Howdy y'all. I have what (should be) a quick question. I want to restrict a
certain users access to just reading news. No more than that. I use the nn
news reader. I have tried defining his login shell to the nn binary,
but the problem comes with terminal emulations. I need to be able to
setenv TERM vt100 (or the equivalent) before he can use nn...then when
he quits nn, it should log him off...any suggestions?
john
--
| John R. Schutz | Internet&NeXTmail: john at csrnxt1.ae.utexas.edu |
| Center for Space Research | Standard Disclaimer | "I'm mentally |
| Programmer (NeXT) | unstable, cracked, and clinically insane. |
| Etc. | Besides that, I'm perfectly normal." -me |
-----------------------------
From: "Frank P. Bresz" <fpb at ittc.wec.com>
Subject: Re: What's wrong with this Bourne shell script?
Date: 13 Aug 90 23:11:08 GMT
Sender: fpb at ittc.wec.com
To: info-unix at sem.brl.mil
In article <1474 at chinacat.Unicom.COM> chip at chinacat.Unicom.COM (Chip Rosenthal) writes:
>If you snarfed the "stat" program I posted to alt.sources recently,
>I'd suggest:
> echo 0`stat -s * | sed -e 's/.*:/+/'` | bc
>or if you have Jon's addcol, even simpler:
> stat -s * | addcol -2
Where is Jon's addcol. I tried to write one a while back and kept
screwing it up. I would like to see a working version.
--
Frank P. Bresz }*{
ITTC Network Administrator
+--------------------+
|fbresz at ittc.wec.com | My opinions are my own, I'm not paid
|uunet!ittc!fbresz | enough to make an official statement
|(412)733-6749 | +-----------------------------------+
|Fax: (412)733-6444 | | THIS SPACE FOR SALE!!! |
+--------------------+ +-----------------------------------+
-----------------------------
From: Randal Schwartz <merlyn at iwarp.intel.com>
Subject: Re: What's wrong with this Bourne shell script?
Date: 14 Aug 90 17:10:56 GMT
Sender: news at iwarp.intel.com
To: info-unix at sem.brl.mil
In article <FPB.90Aug13191108 at ittc.ittc.wec.com>, fpb at ittc (Frank P. Bresz) writes:
| >or if you have Jon's addcol, even simpler:
|
| > stat -s * | addcol -2
|
| Where is Jon's addcol. I tried to write one a while back and kept
| screwing it up. I would like to see a working version.
for addcol -1, try:
perl -ane '$s += $F[0]; print "$s\n" if eof;'
for addcol -2:
perl -ane '$s += $F[1]; print "$s\n" if eof;'
Others may be derived by noticing the pattern. :-)
Just another Perl hacker,
--
/=Randal L. Schwartz, Stonehenge Consulting Services (503)777-0095 ==========\
| on contract to Intel's iWarp project, Beaverton, Oregon, USA, Sol III |
| merlyn at iwarp.intel.com ...!any-MX-mailer-like-uunet!iwarp.intel.com!merlyn |
\=Cute Quote: "Welcome to Portland, Oregon, home of the California Raisins!"=/
-----------------------------
From: Hla Tun "Tim" Thein <thein at boole.seas.ucla.edu>
Subject: Having a conference instead of 'talk'?
Keywords: talk
Date: 14 Aug 90 00:18:25 GMT
Sender: news at seas.ucla.edu
To: info-unix at sem.brl.mil
I would like to be able to talk to one or more people at the same time
on the computer at the same time. Could anyone please tell me where I
could find a program similar to 'talk' where two or more people could
have a conference through computers on the internet? Please reply to
the address below since I do not frequently read this newsgroup.
Hla Tun "Tim" Thein ......__ __ _____ _____
(thein at boole.seas.ucla.edu) ////// /_/ //_ _//_ _/
Computer Science & Engineering ///// __ / / / / /
University of California, Los Angeles ////_/ /_/o /_/o /_/o
--
Hla Tun "Tim" Thein ......__ __ _____ _____
(thein at boole.seas.ucla.edu) ////// /_/ //_ _//_ _/
Computer Science & Engineering ///// __ / / / / /
University of California, Los Angeles ////_/ /_/o /_/o /_/o
-----------------------------
From: "Roger B.A. Klorese" <rogerk at mips.com>
Subject: Re: link (ln) with *one* name?
Date: 14 Aug 90 01:30:10 GMT
Sender: news at mips.com
To: info-unix at sem.brl.mil
In article <5698 at uwm.edu> jgd at csd4.csd.uwm.edu (John G Dobnick) writes:
>Stupid question time (I haven't asked one of these for a while, so
>I'm due. :-) ]
>
>
>Re: 4.3 "ln". The manpage says ln(1) can be called with only one name.
> What purpose does this serve? Given that ln(1) is
> supposed to create "links", I would think you need a
> minimum of *two* filenames, no? What am I missing
> here?
ln -s /some/other/dir/foo
creates a link called "foo" in the current directory.
--
ROGER B.A. KLORESE MIPS Computer Systems, Inc. phone: +1 408 720-2939
MS 4-02 950 DeGuigne Dr. Sunnyvale, CA 94086 voicemail: +1 408 524-7421
rogerk at mips.COM {ames,decwrl,pyramid}!mips!rogerk "I'm the NLA"
"If the world were a logical place, men would ride sidesaddle." -Rita Mae Brown
-----------------------------
From: Sameer Parekh <zane at ddsw1.mcs.com>
Subject: readdir and such
Date: 14 Aug 90 03:43:30 GMT
To: info-unix at sem.brl.mil
--
**************************************************************************
* *
* Sameer Parekh *
* C Programmer in Training *
-----------------------------
From: Sameer Parekh <zane at ddsw1.mcs.com>
Subject: My post didn't work?
Date: 14 Aug 90 03:46:54 GMT
To: info-unix at sem.brl.mil
That last post was dissolved by my .signature, (Can I delete a just posted and
saved post with rn?)
How do I use readdir and the functions to read the directories of a unix in C?
--
**************************************************************************
* *
* Sameer Parekh *
* C Programmer in Training *
-----------------------------
From: Doug Gwyn <gwyn at smoke.brl.mil>
Subject: Re: My post didn't work?
Date: 14 Aug 90 17:01:29 GMT
To: info-unix at sem.brl.mil
In article <1990Aug14.034654.12584 at ddsw1.MCS.COM> zane at ddsw1.MCS.COM (Sameer Parekh) writes:
>How do I use readdir and the functions to read the directories of a unix in C?
That's like asking "How do I program in C?"
For what it's worth, here's the test program that I include with my
public-domain distribution of POSIX directory access routines; maybe
it will answer whatever your real question is.
/*
testdir -- basic test for C library directory access routines
last edit: 25-Apr-1987 D A Gwyn
*/
#include <sys/types.h>
#include <stdio.h>
#include <dirent.h>
extern void exit();
extern int strcmp();
main( argc, argv )
int argc;
register char **argv;
{
register DIR *dirp;
register struct dirent *dp;
int nerrs = 0; /* total not found */
if ( (dirp = opendir( "." )) == NULL )
{
(void)fprintf( stderr, "Cannot open \".\" directory\n" );
exit( 1 );
}
while ( --argc > 0 )
{
++argv;
while ( (dp = readdir( dirp )) != NULL )
if ( strcmp( dp->d_name, *argv ) == 0 )
{
(void)printf( "\"%s\" found.\n", *argv );
break;
}
if ( dp == NULL )
{
(void)printf( "\"%s\" not found.\n", *argv );
++nerrs;
}
rewinddir( dirp );
}
(void)closedir( dirp );
exit( nerrs );
}
-----------------------------
From: "J. Michael Diehl" <mdiehl at hydra.unm.edu>
Subject: Way over my head!
Date: 14 Aug 90 08:32:06 GMT
Sender: USENET News System <usenet at ariel.unm.edu>
To: info-unix at sem.brl.mil
Like the subject says, I think I may be out of my league as a beginning C
programmer, but here it goes!
I am trying to write a program that will start an ftp process in the background,
write commands to the ftp's stdin and read the results from the ftp's stdout.
Circular pipes? I'm hoping to do it entirely in C so as to avoid any shell
programming. I'd like to have only *one* file that does it all. Now for
my questions:
Will a process terminate if it gets an EOF in it's stdin? Or do I have to make
sure that my background ftp process always has something to read in?
I am trying to fork a process. (one to do the controlling, one to do the ftp)
I feel sure that the fork is working, but when I try to start ftp...well...
it never starts. I'm lost. What follows is the code segment in question,
followed by the out put it generates.
#include <stdio.h>
#include <ctype.h>
#define LINE_LEN 180
#define FTP_OUT "Auto_ftp_out"
#define FTP_IN "Auto_ftp_in"
char cmd[LINE_LEN]; /* current command */
start_ftp()
{
int tmp;
sprintf(cmd,"ftp < %s > %s", FTP_IN, FTP_OUT);
puts(cmd);
if ((tmp = fork()) == -1) {
puts("Fork could not start ftp.\n");
exit(-1); }
printf("%d\n",tmp);
if (tmp != 0) { /* child process */
puts("Starting ftp.\n");
if (-1 == execve(cmd,cmd,"\0")) { /* magic number from manual */
puts("Execve could not start ftp.\n");
exit(-1); }
}
}
.......and now for the output....
ftp < Auto_ftp_in > Auto_ftp_out
25024
0
Starting ftp.
Execve could not start ftp.
As you can see, I do get the fork to work.....but execve() returns an error.
Any ideas?
Note that I'm a new C programmer, and that if you've read this far, I'd like
to hear any constructive comments you might have. Helping my with this problem
would be nice, too! ;^]
Thanx in advance.
+-------------------------+----------------------------------------------------+
| J. Michael Diehl ;-] | I thought I was wrong once. But, I was mistaken. |
| +----------------------------------------------------+
| mdiehl at hydra.unm.edu | "I think marriage should be a lifelong commitment."|
| Thunder at forum | the man said to his new wife as he placed a pistol|
| Thunder at Tiny* | on the mantle. |
| (505) 272-HaHa | |
+-------------------------+----------------------------------------------------+
-----------------------------
From: Robert Shaw <rjshaw at ramius.ocf.llnl.gov>
Subject: Recursion without -R
Keywords: recursion
Date: 14 Aug 90 10:02:41 GMT
Sender: usenet at llnl.llnl.gov
To: info-unix at sem.brl.mil
Hi.
What are some quick tricks for getting programs like chmod and chown to
descend into all subdirectories? Programs without a -R option, that is.
====
My earlier "awk -F" was refering to a Pyramid running OSx. Thanx to those
who called OFS to my attention, and my apologies to those of who noted
that awk -F on a sun works differently that I claimed in posting.
====
I'm also looking for Korn shell info...
===============================================================================
rjshaw at ramius.llnl.gov
_____ ____ ____ ______
R o b / / / / / / / / / / /
-------- / --/ / / / / / / / / / ---------------------------
/-- / / / / / / / / S h a w
/____/ /_/_/ /_/_/ /_____/
The Cosby's are precisely what's wrong with television today...
===============================================================================
-----------------------------
From: Shu-Wie F Chen <swfc at ulysses.att.com>
Subject: Re: Recursion without -R
Keywords: recursion
Date: 14 Aug 90 20:31:40 GMT
Sender: netnews at ulysses.att.com
To: info-unix at sem.brl.mil
In article <494 at llnl.LLNL.GOV>, rjshaw at ramius.ocf.llnl.gov (Robert Shaw)
writes:
|>Hi.
|>
|>What are some quick tricks for getting programs like chmod and chown to
|>descend into all subdirectories? Programs without a -R option, that is.
|>
find . -print | xargs chown foo
Of course, this only works if you have xargs, which is from System V and
is also available on SunOS in their System V software installation option.
*swfc
-----------------------------
From: Tom Christiansen <tchrist at convex.com>
Subject: Re: Recursion without -R
Keywords: recursion
Date: 14 Aug 90 20:33:55 GMT
Sender: news at convex.com
Followup-To: comp.unix.questions
To: info-unix at sem.brl.mil
In article <494 at llnl.LLNL.GOV> rjshaw at ramius.llnl.gov writes:
>What are some quick tricks for getting programs like chmod and chown to
>descend into all subdirectories? Programs without a -R option, that is.
Well, here's a quick way to change all files from a set of old uids and
gids to new ones. In this example, I want to change group uucp to be
1789, group staff to be 666, user kirk to be 1000, and user bill to be
7777. This code traverses the file system making those changes, omitting
NFS decents.
This is just a fragment of a larger program that does a lot of other
sanity checks and configuration stuff not included here.
#!/usr/bin/perl
$start = '/'; # do whole tree
%nuid = ( 'kirk', 1000,
'bill', 7777 );
%ngid = ( 'staff', 666,
'uucp', 1789 );
open(FIND, "find $start \\( -fstype nfs -prune \\) -o -ls |");
while (<FIND>) {
split;
$uid = $gid = -1;
($file, $user, $group) = ($_[11], $_[5], $_[6]);
if (defined $nuid{$user}) { $uid = $nuid{$user}; }
if (defined $ngid{$group}) { $gid = $ngid{$group}; }
if (($uid != -1 || $gid != -1) && !chown($uid, $gid, $file))
{ warn "$0: couldn't change $file to $uid.$gid: $!\n"; }
}
--tom
--
Tom Christiansen {uunet,uiucdcs,sun}!convex!tchrist
Convex Computer Corporation tchrist at convex.COM
"EMACS belongs in <sys/errno.h>: Editor too big!"
-----------------------------
From: andre <andre at targon.uucp>
Subject: Re: make SUFFIXES question.....
Date: 14 Aug 90 10:57:04 GMT
To: info-unix at sem.brl.mil
In article <8212 at ncar.ucar.edu> morreale at bierstadt.scd.ucar.edu (Peter Morreale) writes:
>Consider the following makefile:
>
>.pp.o:
> cp $*.pp $*.f
>
>.SUFFIXES: $(SUFFIXES) .pp
>FILES= f1.o
>
>compile: $(FILES)
> @echo "Why isn't .f.o applied?"
>
>clean:
> -rm -f $(FILES) *.f
>You'll notice that the ".pp.o" rule is executed, and then the
>compile rule. The question is: Why isn't the default ".f.o" rule
>executed before the "compile" target? (If you type make again, the
>".f.o" rule is executed and all is well....)
This is because you told make how to make a .o file from a .pp file.
after the commands involved are executed, make goes on because it just
did what you told it to do to get an object out of an .pp file.
But! you created an .f file and no .o file. this means that you should
tell make that you make a .f file or make the .o file:
.pp.o:
cp $< $*.f
$(FCOMP) -o $*.o $*.f
^-- whatever you need to go from .f to .o (fortran?)
OR
.pp.f:
cp $< $*.f
In the second case make should add up both the .pp.f and .f.o rules
to make your .o out of .pp.
--
The mail| AAA DDDD It's not the kill, but the thrill of the chase.
demon...| AA AAvv vvDD DD Ketchup is a vegetable.
hits!.@&| AAAAAAAvv vvDD DD {nixbur|nixtor}!adalen.via
--more--| AAA AAAvvvDDDDDD Andre van Dalen, uunet!hp4nl!targon!andre
-----------------------------
From: Christopher R Volpe <volpe at underdog.crd.ge.com>
Subject: Re: make SUFFIXES question.....
Date: 14 Aug 90 22:12:45 GMT
Sender: news at crdgw1.crd.ge.com
To: info-unix at sem.brl.mil
In article <1446 at targon.UUCP>, andre at targon.UUCP (andre) writes:
|>In article <8212 at ncar.ucar.edu> morreale at bierstadt.scd.ucar.edu (Peter
Morreale) writes:
|> >Consider the following makefile:
|> >
|> >.pp.o:
|> > cp $*.pp $*.f
|> >
|> >.SUFFIXES: $(SUFFIXES) .pp
|> >FILES= f1.o
|> >
|> >compile: $(FILES)
|> > @echo "Why isn't .f.o applied?"
|> >
|> >clean:
|> > -rm -f $(FILES) *.f
|>
|> >You'll notice that the ".pp.o" rule is executed, and then the
|> >compile rule. The question is: Why isn't the default ".f.o" rule
|> >executed before the "compile" target? (If you type make again, the
|> >".f.o" rule is executed and all is well....)
|>
|>This is because you told make how to make a .o file from a .pp file.
|>after the commands involved are executed, make goes on because it just
|>did what you told it to do to get an object out of an .pp file.
|>But! you created an .f file and no .o file. this means that you should
|>tell make that you make a .f file or make the .o file:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
not good enough!!!
|>
|>.pp.o:
|> cp $< $*.f
|> $(FCOMP) -o $*.o $*.f
|> ^-- whatever you need to go from .f to .o (fortran?)
|>OR
|>
|>.pp.f:
|> cp $< $*.f
|>
|>In the second case make should add up both the .pp.f and .f.o rules
|>to make your .o out of .pp.
No, it won't. At least not on a Sun. From the Make User's Guide:
There is no transitive closure for suffix rules. If you had
a suffix rule for building, say, a .Y file from a .X file, and
another for building a .Z file from a .Y file, make would not
combine the rules to build a .Z file from a .X file. You must
specify the intermediate steps as targets, although their entries
may have null rules:
trans.Z:
trans.Y:
If all you have is a .pp.f rule and a .f.o rule, and you say "make f1.o",
one of the following must be true:
a) there exists a f1.f file, or
b) f1.f is EXPLICITLY listed as a target *AND* file f1.pp exists
Chris Volpe
G.E. Corporate R&D
volpecr at crd.ge.com
-----------------------------
From: "Dik T. Winter" <dik at cwi.nl>
Subject: Re: make SUFFIXES question.....
Date: 14 Aug 90 23:20:08 GMT
Sender: news at cwi.nl
To: info-unix at sem.brl.mil
In article <1446 at targon.UUCP> andre at targon.UUCP (andre) writes:
> $(FCOMP) -o $*.o $*.f
> ^-- whatever you need to go from .f to .o (fortran?)
Please, use $(FC) which is predefined on most systems, and evaluates to the
fortran compiler (which can be named f77, fort, fc, fortran, ...).
--
dik t. winter, cwi, amsterdam, nederland
dik at cwi.nl
-----------------------------
From: arcan01 at cai.com
Subject: Korn-shell info needed
Date: 14 Aug 90 11:10:59 GMT
To: info-unix at sem.brl.mil
I am in need of information on how to use the Korn-shell.
Any assistance would be appreciated.
Thanks.
arcan01 at cai.com
-----------------------------
From: Richard Tobin <richard at aiai.ed.ac.uk>
Subject: Re: uucico hanging. LBOLT???
Keywords: Sun 2/170, SunOS 4.0 w/yapt 5.5
Date: 14 Aug 90 11:24:36 GMT
To: info-unix at sem.brl.mil
In article <25998 at mimsy.umd.edu> chris at mimsy.umd.edu (Chris Torek) writes:
>`lbolt' is the `lightning bolt' interrupt (shazam! :-) ), which occurs
>once per second (in V6 it may have been once every 4 seconds
Yes: if((time[1]&03) == 0) { ... wakeup(&lbolt); }
-- Richard
--
Richard Tobin, JANET: R.Tobin at uk.ac.ed
AI Applications Institute, ARPA: R.Tobin%uk.ac.ed at nsfnet-relay.ac.uk
Edinburgh University. UUCP: ...!ukc!ed.ac.uk!R.Tobin
-----------------------------
From: Dave Armbrust <dma at pcssc.uucp>
Subject: SCO Mailing List
Date: 14 Aug 90 12:48:30 GMT
Followup-To: poster
To: info-unix at sem.brl.mil
The Santa Cruz Operation mailing list
Charter: For exchange of information and discussions regarding
all products from Santa Cruz operations.
This group will be beneficial to any one interested or currently using
SCO products. This mailing list is a single area that discussions and
information can be exchanged regarding ALL SCO products. This mailing
is independent of any existing news groups.
If you are currently using SCO products, interested in products from SCO
or work for Santa Cruz Operations I encourage you to join the SCO mailing
list.
The SCO mailing list is located on the uunet host. (Thanks uunet)
Send all articles or discussions to the address: uunet!sco-list or
sco-list at uunet.uu.net
Please send change requests to uunet!sco-list-request or
sco-list-request at uunet.uu.net.
If you wish to be added to this list please follow these instructions.
It is important that these instructions are followed as the process is
automated.
1) Mail your add request to sco-list-request at uunet. Do not send
your request to uunet!sco-list as this is the address to post all
articles to.
2) Include the address you wish to received the mailing at in the body
of the mail message. Example to add the address dma at pcssc.com include
in the body of the message the following:
Add: dma at pcssc.com
Note the word add starts with a capital `A` and is the first word on the
line. It is also followed by a colon ':', a single blank space, an address
and then a new line. Be sure to include the `:` and the blank. Do not
follow the address with any comments.
Bang paths are also accepted, but needs to be the the path from uunet.
(i.e. pcssc!dma instead of uunet!pcssc!dma) Example:
Add: pcssc!dma
Do not include both forms of address as you will then get two copies of
every mailing. Just do one or the other (i.e. dma at pcssc.com or pcssc!dma)
Do not put the add request in the subject line as this will be ignored.
3) Once our system receives your request you will receive an acknowledgment.
You will then start to get all articles posted to uunet!sco-list.
4) If you do not receive the acknowledgment and postings right away do not
send a alternate address path. You may end up getting two copies of all
posting using both paths. Instead mail myself at dma at pcssc.com and ask if I
got the original request.
-----------------------------------------------------------------------------
Dave Armbrust | uunet!pcssc!dma
PC Software Systems | dma at pcssc.com or
2121 Cornell Street | owner-sco-list at uunet.uu.net
Sarasota, FL 34237 | Phone: (813)365-1162
-----------------------------
From: "Joseph T. Healey" <healey at xn.ll.mit.edu>
Subject: non-interactine telnet session
Keywords: non-interactive telnet session
Date: 14 Aug 90 13:04:51 GMT
To: info-unix at sem.brl.mil
Is there any way to invoke a non-interactive telnet session
via a script (preferably csh or sh) ?
We would like the script to:
log into the target machine
run an arbitrary number of commands listed in the script
log out of the target machine
Thanks in advance.
-----------------------------
From: Oliver Laumann <net at tub.uucp>
Subject: make(1) question
Date: 14 Aug 90 13:19:26 GMT
To: info-unix at sem.brl.mil
What is /bin/make supposed to do with the following Makefile (provided
that foo.c exists)?
% cat Makefile
.DEFAULT:
echo Ouch.
all: foo.o
foo.o: foo.c
cc -c foo.c
%
Note that the rule for "all" doesn't have commands.
Under all versions of UNIX where I have tested it (lots!), it only
compiles foo.c. GNU make, on the other hand, compiles foo.c and then
executes the command under the .DEFAULT rule.
The 4.3BSD manual for make(1) says that if a target must be created and
there are neither any explicit commands nor a relevant built-in rule,
then the commands under the .DEFAULT are executed. So GNU make seems
to be correct. Is this true?
If so, how can I modify the above Makefile to suppress execution of the
.DEFAULT commands (provided the .DEFAULT rule must be there for other
reasons)? Add a "dummy" echo command to the "all" rule? Or an empty
command, i.e. just a tab character? (We don't have GNU make here.)
Thanks,
--
Oliver Laumann net at TUB.BITNET net at tub.cs.tu-berlin.de net at tub.UUCP
-----------------------------
From: Mike Litzkow <mike at cream.cs.wisc.edu>
Subject: Re: Checkpoints for large jobs
Keywords: checkpoint interrupt signal
Date: 14 Aug 90 15:47:18 GMT
Sender: news at spool.cs.wisc.edu
To: info-unix at sem.brl.mil
Yes, checkpointing is one part of the Condor system, (previously called RU).
Condor uses cycles on idle workstations by migrating processes to them. When
the workstations subsequently come under use by their normal users, the condor
jobs are checkpointed, and later moved to another idle workstation to continue
execution.
The checkpointing is accomplished by causing the process to dump core, then
combining parts of the core file with parts of the original executable. The
software keeps track of what file have been opened and re-opens them after
return from a checkpoint. This is accomplished by linking the user program
with special versions of "crt0.o" and "libc.a".
Condor is available without charge by anonymous ftp from "shorty.cs.wisc.edu"
(128.105.2.8). Just log in as "ftp" and give your user name for a password.
Then "cd" to the condor directory and take a look at the Readme file. You will
be instructed to fetch a compressed binary file, remember to have your ftp
set to "binary" mode for that.
The checkpointing is set up so you can use it without process migration or
remote execution if that is desired. It is able to run and compile on a
Sequent Symmetry.
-- mike
-----------------------------
From: Leslie Mikesell <les at chinet.chi.il.us>
Subject: Re: help sought - securing a terminal/line
Date: 14 Aug 90 16:18:16 GMT
To: info-unix at sem.brl.mil
In article <3868 at auspex.auspex.com> guy at auspex.auspex.com (Guy Harris) writes:
[ttymon]
>And also gives you a few additional bells and whistles, such as
>autobauding (not the bit where you hit BREAK to get it to cycle through
>speeds, although "ttymon" does support that, but the bit where you type
>a character and, based on what the character looked like, "ttymon"
>guesses the speed of the line; same sort of thing as the 4.[23]BSD "getty"
>supports).
Does anything support the now-ubiquituous devices that announce the connection
speed in ASCII before bringing up CD or does everyone still have to
write their own code for this if they don't want the users to have to
send something before getting the login prompt?
Les Mikesell
les at chinet.chi.il.us
-----------------------------
From: Dave Holcomb <dave at hera.scs.com>
Subject: RE: 'foo bar' <- What's the meaning of?
Date: 14 Aug 90 16:33:51 GMT
Sender: Unknown at caeco.uucp
To: info-unix at sem.brl.mil
In addition to the military reference to an items state of repair, my
VAX HARDWARE HANDBOOK (1982-1983), on page 293, discusses the Failed
UNIBUS Address Registers (FUBAR): (I quote)
The FUBAR contains the upper 16 bits of the UNIBUS address translated
from an SBI address during a previous software-initiated data transfer.
The occurrence of either of two errors indicated in the status register
will lock the FUBAR: UNIBUS Select Time Out (UBSTO) and UNIBUS Slave
Sync Time OUT (UBSSYNTO). When the error bit is cleared the register
will be unlocked.
Obviously, the original purveyors of "foo bar" (i.e. the original BSD
UNIX crew) saw the reference in the VAX manual; saw that the DEC VAX
designers had had a "field-day" when they designed the hardware [and
laughed even harder when the DEC censors blindly accepted the register
"designation"], and "ran" with the joke.
--
Dave Holcomb, Mentor Graphics, Silicon Design Division (formerly SCS/CAECO)
5295 South 300 West Suite 300
Murray, UT 84107-4763 USA
(801)265-8007
caeco!dave at cs.utah.edu
-----------------------------
From: Peter Scott <pjs at aristotle.jpl.nasa.gov>
Subject: rogue df processes snarfing cpu
Date: 14 Aug 90 18:08:58 GMT
Sender: Usenet <news at elroy.jpl.nasa.gov>
Followup-To: comp.unix.questions
Nntp-Posting-Host: aristotle.jpl.nasa.gov
To: info-unix at sem.brl.mil
One of our machines has been down with a disk problem for a few
days, and therefore the partitions that were NFS-mounted on that
machine are unavailable to the other machines using the same NFS
filesystem. I have typed "df" a few times to look at the filesystem
usage and while it gives me the prompt back at the end of the output,
it later responds that the other machines's NFS server is dead, and
keeps trying.
We now have several "df" processes running and raising the load
average quite obnoxiously, and I don't know how to get rid of them.
Kill or kill -9 doesn't work. Suggestions?
SunOS 4.0.3, Sun 3/160.
--
This is news. This is your | Peter Scott, NASA/JPL/Caltech
brain on news. Any questions? | (pjs at aristotle.jpl.nasa.gov)
-----------------------------
From: jian at kuhub.cc.ukans.edu
Subject: How to issue a C SHELL command within a C program
Date: 14 Aug 90 18:31:33 GMT
To: info-unix at sem.brl.mil
How can I issue a statment that executes a C SHELL command within a C program?
I would appreciate any helps.
Jian Q. Li
jian at kuhub.cc.ukans.edu
-----------------------------
From: kahlers at ux1.cso.uiuc.edu
Subject: Re: How to issue a C SHELL command with
Date: 14 Aug 90 21:42:00 GMT
Nf-ID: #R:<25279:26:ux1.cso.uiuc.edu:22000008:000:429
Nf-From: ux1.cso.uiuc.edu!kahlers Aug 14 16:42:00 1990
To: info-unix at sem.brl.mil
> How can I issue a statment that executes a C SHELL command within a C program?
> I would appreciate any helps.
You can use the "system" call. Use "man system" for more info.
=============================================================================\n\
Kem Ahlers kahlers.ux1.cso.uiuc.edu (Internet) \n\
Caterpillar, Inc. u36009 at ncsagate (Bitnet) \n\
Peoria, IL USA "
-----------------------------
From: BURNS <gt0178a at prism.gatech.edu>
Subject: Re: How to issue a C SHELL command with
Date: 15 Aug 90 07:04:54 GMT
To: info-unix at sem.brl.mil
in article <22000008 at ux1.cso.uiuc.edu>, kahlers at ux1.cso.uiuc.edu says:
Nf-ID: #R:<25279:26:ux1.cso.uiuc.edu:22000008:000:429
Nf-From: ux1.cso.uiuc.edu!kahlers Aug 14 16:42:00 1990
>> How can I issue a statment that executes a C SHELL command within a C program?
>> I would appreciate any helps.
>
> You can use the "system" call. Use "man system" for more info.
The system call uses bourne sh, so this won't work unless the command you
pass to system is 'csh mycommand', which would be inefficient (sh calls
csh calls mycommand). Probably a skeleton like the following is needed:
#include <stdio.h>
#include <sys/wait.h>
char mycommand[] = "history";
main() {
union wait status;
int pid,some_status=1,some_other_status=2;
/* char mycommand[10] = "history";*/
fflush(0); /* optional - check syntax on your system */
switch (fork()) {
case -1: perror();
exit(some_status); /* fork failed */
break;
case 0: /* child proc */
execlp("/bin/csh","csh","-c",mycommand,(char *) 0);
/* the -c is used when mycommand is a builtin */
exit(some_other_status); /* exec failed */
break;
default: /* parent */
pid=wait(status);
break;
}
}
--
BURNS,JIM
Georgia Institute of Technology, Box 30178, Atlanta Georgia, 30332
uucp: ...!{decvax,hplabs,ncar,purdue,rutgers}!gatech!prism!gt0178a
Internet: gt0178a at prism.gatech.edu
-----------------------------
From: rohan kelley <rk at bigbroth.uucp>
Subject: need help with FATAL error in unix 3.2u
Keywords: parity error, NMI, floppy access, gateway2000
Date: 14 Aug 90 18:54:47 GMT
To: info-unix at sem.brl.mil
Problems with unix 3.2u BellTech (Interactive) installation in
Gateway2000-25 cache system.
Error message:
FATAL:Parity error on the motherboard
PANIC:Parity error address unknown
Trying to dump 1024 pages (etc)
The kernal debugger automatically loads. The message is different each
time the sytem crashes. The following is an example of one message:
NMI debugger entered from df_dstack +300048f7
EAX EBX ECK EDX ESI EDI EBP ESP
00000060 0000033a 00000130 000084ff 00000000 0000e83d 0000e7f6 e0000e68
CS SS DS ES FS GS EPI EFL
000002bc 000202bc e0000000 00000000 00000000 00000000 000048f7 00020246
(Unfortunately, I don't know enough to use the debugger to go in and
examine the kmem file to see what actually happened.)
During other crashes, the debugger typically enters from a much lower stack
number, for example, 00000006, although the number is not consistent
from crash to crash.
HELP:
I'm stumped and the tech at Gateway2000 is stumped, although they claim
to have unix running on 3 of their boxes in house, presumably running
their network.
I'm trying to send 2 kids off to college with these systems up and
running. If I can't solve this problem pretty fast I'll have to regurn
the systems to Gateway (and pay the freight) and my 30 day return
window is fast closing.
Any help would be sincerely appreciated. Please Email or call collect
if you have any solutions.
Comment:
The system software is version 3.2u BellTech (now intel) which is a
vanilla interactive port. The "u" upgrade among other things repaired
the ESDI driver so it now works consistently.
This same software is running happily on my intel 302 25mh cached Phoenix
bios machine with a large ESDI drive and on a noname motherboard with an AMI
bios, cached, and an MFM small drive. Locus merge 386 is also installed on
all machines.
Inducing condition:
Crash occurs when accessing the floppy drive (either 0 or 1) but only
at intermittent times. Commands current have been cpio and format. If
the command begins to function normally, it will terminate
normally. For example, using the "installpkg" command on the C
development set of 4 disks, ran normally, but immediately after, trying
to format a high density floppy failed.
Hardware configuration:
Micronics motherboard with intel 80306DX-25 and 80385 cache controller
64K cache on motherboard
4Mb memory in 4 1-MB simms on motherboard
Phoenix Bios
Microscience 5100 110 Mb ESDI drive with Ultra 12(F) cached controller.
(for 2 floppy and 1 hard disk)
ATI SVGA video board with CrystalScan monitor
absent 80387
no network or LAN installed. Currently running as stand-alone.
System configuration:
Disk formatted, partition 1 27 Mb dos, partition 2 (balance) unix.
(dos partition empty - no system or files loaded)
Disk controller jumpered to set Bios address at C800:0
System board switch set NOT to relocate video bios into ram
System board switch set NOT to relocate system bios into ram
(Unsuccessful) attempts to correct problem:
1. Disable, alternatively, and then collectively, the disk controller
cache and the motherboard cache.
2. Load up an identically configured system (I ordered 2) to determine
if there is a hardware malfunction. No change in the problem.
3. Jumper the motherboard to reset the floppy I/O port to its secondary
address (370-377) from primary at (3f0-3f7). Bios advised of
incorrect setup on boot.
I note in my intel 302 manual, at secton 3.7.9, it reads:
"3.7.9 UNIX MODE
Difference between a UNIX operating system and a non-UNIX operating
sytem require a corresponding change in extended mmemory mapping.
Non-UNIX operating systems such as DOS or OS/2, require the BIOS to be
mapped to the upper part of the 16M address spaece. Even if the sytem
memory exceeds 16M, the memory addresses from 15.5M to 16M will be
reserved for the BIOS.
A UNIX operating sytem has no such requirement and so all extended
memory is available. As shown on Table 3-13, jumper pins E37 through
E39 determine which operating system is enabled."
Any help or suggestions would be sincerely appreciated
Thanx much
=======================================================================
Rohan Kelley -- UNIleX Systems, Inc. (Systems and software for lawyers)
UUCP: ...{gatech!uflorida,ucf-cs}!novavax!bigbroth!rk (office)
novavax!mdlbrotr!rk (home)
ATTmail: attmail!bigbroth!rk
3365 Galt Ocean Drive, Ft. Lauderdale, FL 33308 Phone: (305) 563-1504
"Go first class or your heirs will" -somebodyelse
=======================================================================
-----------------------------
From: Brian Glendenning <bglenden at mandrill.cv.nrao.edu>
Subject: CVS Questions
Date: 14 Aug 90 19:56:46 GMT
Sender: news at murdoch.acc.virginia.edu
To: info-unix at sem.brl.mil
I have a question and a request about CVS:
1) Could someone send me or point me to an archive source for the
postscript file of the USENIX article on CVS (man pages would be great
too!). (We can't do troff here).
2) What are the major ways (if any) in which CVS has been extended
from the system described in that article.
3) What are user experiences of this package (especially if you can
compare it to NSE from sun). We have a ~500k line, multi-architecture
package of mostly Fortran with some low level C. Any comments about
the appropriateness of CVS would be appreciated (currently we have a
homebrew system that runs under VMS).
Thanks. If possible, please email and I will summarize if there is any
interest.
--
Brian Glendenning - National Radio Astronomy Observatory
bglenden at nrao.edu bglenden at nrao.bitnet (804) 296-0286
-----------------------------
From: P Sember SNR <psember at shiva.trl.oz>
Subject: BSD references
Keywords: Unix BSD references
Date: 14 Aug 90 20:48:02 GMT
Sender: root at trlluna.trl.oz
To: info-unix at sem.brl.mil
Recently I have been trying to create a bibliography on BSD.
However, most references are to System V. I would appreciate some
references (Introductory, Intermediate and Advanced) and remarks
on books about BSD.
Thanks in Advance!
--------------
Peter Sember Telecom Research Labs
P.O. Box 249
Clayton, Victoria 3168 Australia
Tel. +61-(0)3-5416127 Internet: p.sember at trl.oz.au
-----------------------------
From: Brian Glendenning <bglenden at mandrill.cv.nrao.edu>
Subject: directory reading
Date: 15 Aug 90 00:21:50 GMT
Sender: news at murdoch.acc.virginia.edu
To: info-unix at sem.brl.mil
I'm converting some old directory reading code to get it to work on
the latest version of Convex OS (8.1). The old code contained:
struct direct *dp;
[...]
if (dp->d_ino == 0)
continue;
Presumably because the reading routines could return non-null pointers
that contained invalid (deleted or whatever) directory entries. It
looks like modern readdir(3)'s only return pointers to valid entries,
and NULL at the end, so a test of this type is no longer required.
True?
Thanks!
Brian
--
Brian Glendenning - National Radio Astronomy Observatory
bglenden at nrao.edu bglenden at nrao.bitnet (804) 296-0286
-----------------------------
From: phd_ivo at gsbvxb.uchicago.edu
Subject: VMS compress utility
Date: 15 Aug 90 01:02:32 GMT
Sender: News Administrator <news at midway.uchicago.edu>
To: info-unix at sem.brl.mil
Is there a VAX/VMS compression/decompression utility that is compatible
with the standard Unix compress utility?
Information appreciated.
/ivo welch ivo at next.agsm.ucla.edu [128/97/74/50]
-----------------------------
From: Bill Masek <bill at frog.uucp>
Subject: ELF object formats for i386 (V.4)
Keywords: debugger
Date: 15 Aug 90 01:19:00 GMT
To: info-unix at sem.brl.mil
We are using a third party debugger and we want to debug ELF files.
I am looking for some documentation about understanding the symbol
table and line numbers. I have looked in the programmer's reference
manual, programmer's user guide, general ABI interface and several
processor specific abi supplements with no success. Where is it
described in enough detail to use?
Thank you for your help
--
bill masek charles river data associates
(617) 491-5320 (h) (508) 626-1122 (w)
-----------------------------
From: "John R. Schutz" <john at csrnxt1.ae.utexas.edu>
Subject: A non-shell outable editor
Keywords: editor, no-shell, security
Date: 15 Aug 90 02:02:30 GMT
Sender: news at ut-emx.uucp
Posted: Tue Aug 14 21:02:30 1990
To: info-unix at sem.brl.mil
Hello once again! I thank the many people who sent replies to my
earlier question about limiting access to a certain user to only run
our nn newsreader. Anyways, here is a summary of responses:
One person said (this is basically what it meant): forget it, if you
want to restrict access, restrict COMPLETE access, i.e. don't
let them on.
Many, many people said that I should edit the .login or .profile file
to automatically go into nn. The problem with this is that nn
has a shell escape, but I am hacking that bit out for this
user Also, the editor I use has a shell escape, but I don't
have the source for this.
One person said that I should write a C program to do something
similiar to the above. But it also has the same holes.
One person said use rsh, or the "restricted shell". This seemed like
the best solution at the time, but I checked and the only rsh
I have stands for "remote shell". I am currently looking into
this. Pointers to source would be appreciated.
So this leaves me at the point of finding an editor that has no
shell-escaping capabilities. Any ideas on this one? <Waits for
another mailbox flood.>
Anyways, thanks everyone for the replies. If anyone needs the
examples that these many kind people sent, send mail, and I will send
back all the replies I received. Thank you.
john
--
| John R. Schutz | Internet&NeXTmail: john at csrnxt1.ae.utexas.edu |
| Center for Space Research | Standard Disclaimer | "I'm mentally |
| Programmer (NeXT) | unstable, cracked, and clinically insane. |
| Etc. | Besides that, I'm perfectly normal." -me |
-----------------------------
End of INFO-UNIX Digest
***********************
More information about the Comp.unix.questions
mailing list