Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Aug 2001 22:00:26 -0400
From:      "Greg McPherran" <sw2@mediaone.net>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   New User
Message-ID:  <000a01c12b77$6436cc60$6401a8c0@ne.mediaone.net>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_0007_01C12B55.D9793B60
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,

Remember me? I commented on the mascot last week. I must say I recevied =
a full spectrum of responses - most were polite of course :-) .

Well, I wanted to tell you all that I have installed FreeBSD and I =
really like it. I am a fairly experienced Unix user so I'm not new to =
Unix.=20

Q. Is there a way to specify the default .cshrc file for new users when =
they are added?

I would like to contribute and I am particularly interested in helping =
simplify the install process. I have about 17 years of software =
experience and am an expert in C (15 years). Trivia: How do you cast a =
long to a function pointer? :-) See answer below. I also have worked for =
years with embedded systems so I understand hardware very well.

Again, I must say I am thrilled to be running FreeBSD and I must thank =
everyone who worked to deliver such a great OS - especially for $50 (I =
purchased the boxed set) !.

Thank You,
Greg (McPherran)


















ANSWER:

How do you cast a long to a function pointer.=20

long l;

f =3D ( void (*)( ) ) l;


If you like that one I have a tougher one - I have interviewed many sw =
engineers and no one has ever known the answer.

------=_NextPart_000_0007_01C12B55.D9793B60
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4611.1300" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Remember me? I commented on the mascot =
last week. I=20
must say I recevied a full spectrum of responses - most were&nbsp;polite =
of=20
course :-) .</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Well, I wanted to tell you all that I =
have=20
installed FreeBSD and I really like it. I am a fairly experienced Unix =
user so=20
I'm not new to Unix. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Q. Is there a way to specify the =
default .cshrc=20
file for new users when they are added?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>I would like to contribute and I am =
particularly=20
interested in helping simplify the install process. I have about 17 =
years of=20
software experience and am an expert in C (15 years).&nbsp;Trivia: How =
do you=20
cast a long to a function pointer? :-)&nbsp;See answer below. I also =
have worked=20
for years with embedded systems so I understand hardware very =
well.</FONT></DIV>
<DIV>&nbsp;</DIV></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Again, I must say I am thrilled to be =
running=20
FreeBSD and I must thank everyone who worked to deliver such a great OS =
-=20
especially for&nbsp;$50&nbsp;(I purchased the boxed set) !.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thank You,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Greg (McPherran)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>ANSWER:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV>How do you cast a long to a function pointer. </DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>long l;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>f =3D ( void (*)( ) ) l;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>If you like that one I have a tougher =
one - I have=20
interviewed many sw engineers and no one has ever known the=20
answer.</FONT></DIV></BODY></HTML>

------=_NextPart_000_0007_01C12B55.D9793B60--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000a01c12b77$6436cc60$6401a8c0>