*BSD News Article 91594


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.mel.aone.net.au!news.netspace.net.au!news.mira.net.au!news.vbc.net!vbcnet-west!knews.uk0.vbc.net!vbcnet-gb!azure.xara.net!xara.net!netcom.net.uk!ix.netcom.com!howland.erols.net!news-peer.gsl.net!news-paris.gsl.net!news.gsl.net!rain.fr!news.remcomp.fr!news
From: Jean-Francois Dockes <dockes@cdkit.remcomp.fr>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: 2.2-RELEASE problem (simple)
Date: Fri, 21 Mar 1997 09:39:20 +0100
Organization: CDKIT France
Lines: 52
Message-ID: <33324938.6572@cdkit.remcomp.fr>
References: <5grof3$138@bignews.shef.ac.uk>
NNTP-Posting-Host: cd-kit.remcomp.fr
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.01 (X11; I; SunOS 5.5.1 sun4m)
To: C Lamb <cs1cl@stoat.shef.ac.uk>
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:37454

C Lamb wrote:
> 
> Hi,
> I have been using IRIX and SUNOS/Solaris for a very long time
> purely as a ordinary user, little/no experience as sysadmin etc...
> After building my new PC (AMD DX4-133 16M 814M HD) I thought
> FreeBSD would be ideal as an OS. I installed just the bin set
> and was =very= impressed with the result. Just a few problems that
> I hope you can help with.
> 
> $ cat test.c
> #include <stdio.h>
> 
> int main(argc,argv)
> int argc;
> char **argv;
>         {
>         printf("hello, world\n");
>         return(0);
>         }
> $ gcc -o test test.c
> $ test
> $
> 
> yep, it prints nothing...
> Can anyone help? It seems as if stdout isn't being used.
> 
> b) how to change keyboard settings, the mappings seem a bit pear shaped
>    for non-alphanumerics (dollar/pound/hash/pipe etc)
> 
> I would like to re-iterate that 2.2-RELEASE is very easy and straight-
> forward for the novice to install (I am that novice!) so a big pat on
> the back for all concerned with the development.
> 
> yours
> Chris Lamb
Well... who's never been bitten by this ? Remember these nice 
"if test -f somefile;then dosomething" in shell-scripts ... ?

test is either a shell-builtin or a program very likely to be early in 
your search path. You're not executing your program. Try "./test" 

I've been there :) 




-- 
---
Jean-Francois Dockes, CDKIT SA          dockes@cdkit.remcomp.fr
Tel: +33 1 41 12 04 47                  Fax: +33 1 41 12 04 47
56 Boulevard de la Republique           92210 SAINT CLOUD. FRANCE