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

[-- Attachment #1 --]
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. 

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. 

long l;

f = ( 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.

[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4611.1300" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Remember me? I commented on the mascot last week. I 
must say I recevied a full spectrum of responses - most were&nbsp;polite of 
course :-) .</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>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. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Q. Is there a way to specify the default .cshrc 
file for new users when they are added?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>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).&nbsp;Trivia: How do you 
cast a long to a function pointer? :-)&nbsp;See answer below. I also have worked 
for years with embedded systems so I understand hardware very well.</FONT></DIV>
<DIV>&nbsp;</DIV></FONT></DIV>
<DIV><FONT face=Arial size=2>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&nbsp;$50&nbsp;(I purchased the boxed set) !.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thank You,</FONT></DIV>
<DIV><FONT face=Arial size=2>Greg (McPherran)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>ANSWER:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV>How do you cast a long to a function pointer. </DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>long l;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>f = ( void (*)( ) ) l;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>If you like that one I have a tougher one - I have 
interviewed many sw engineers and no one has ever known the 
answer.</FONT></DIV></BODY></HTML>

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