From owner-freebsd-questions Wed Aug 22 19: 4:17 2001 Delivered-To: freebsd-questions@freebsd.org Received: from chmls16.mediaone.net (chmls16.mediaone.net [24.147.1.151]) by hub.freebsd.org (Postfix) with ESMTP id 3F93437B407 for ; Wed, 22 Aug 2001 19:03:19 -0700 (PDT) (envelope-from sw2@mediaone.net) Received: from pc2 (h00045a21537a.ne.mediaone.net [65.96.14.161]) by chmls16.mediaone.net (8.11.1/8.11.1) with SMTP id f7N238T06094 for ; Wed, 22 Aug 2001 22:03:08 -0400 (EDT) Message-ID: <000a01c12b77$6436cc60$6401a8c0@ne.mediaone.net> From: "Greg McPherran" To: Subject: New User Date: Wed, 22 Aug 2001 22:00:26 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0007_01C12B55.D9793B60" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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
Hi,
 
Remember me? I commented on the mascot = last week. I=20 must say I recevied a full spectrum of responses - most were polite = of=20 course :-) .
 
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.
 
Q. Is there a way to specify the = default .cshrc=20 file for new users when they are added?
 
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). Trivia: How = do you=20 cast a long to a function pointer? :-) See answer below. I also = have worked=20 for years with embedded systems so I understand hardware very = well.
 
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 $50 (I purchased the boxed set) !.
 
Thank You,
Greg (McPherran)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ANSWER:
 
How do you cast a long to a function pointer.
 
long l;
 
f =3D ( void (*)( ) ) l;
 
 
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.
------=_NextPart_000_0007_01C12B55.D9793B60-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message