Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Mar 1997 20:53:02 -0800 (PST)
From:      " steve  howe" <un_x@hotmail.com>
To:        gjm11@dpmms.cam.ac.uk
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: profile/alias
Message-ID:  <199703090453.UAA19011@f29.hotmail.com>

next in thread | raw e-mail | index | archive | help
i can't thank all the helpful people out there enough.  i can only
hope someday i'm expert enough to return all the favors! :)
\
i do not have an Internet connection and CANNOT send a send-pr 
report (i'm dialing in thru a library and using http mail ...)
anyway - this problem concerns 2.1.5 and "sh" shell.
\
!#/bin/sh
# ~/.profile
alias qrstuv="echo hey!"
echo ~/.profile
ENV=~/.shinit; export ENV
\
and that's it.  an "alias" command will show "qrstuv",
but any attempt in using it will result in "qrstuv: not found".
also - as verified by another user - "export ENV=~/.shinit"
will fail to execute "~/.shinit" in any future instance of "sh".
\
it's not a big deal - but it "bugs" the heck out of me! :)
\
now - if anyone could help me with this:
any float function i use (fmod(), log10(), pow10(), pow(), etc)
give me a link error:
/var/tmp/cc0076271.o: Undefined symbol '_func()' refernenced from text
segment ...
\
i checked the maillist archive & faq & handbook - i have an FPU,
i have npx0 enabled on motherboard w/INT 16 interface, and don't
know what else to check!  (i saw a similiar kernel make problem
regarding "_hw_something-or-other".
\
and btw, why is there no real "long double" functions?
all references in float.h #define long doubles as plain doubles.
i expect to lose alot of precision on some DOS programs i'm converting
to FreeBSD ...
\
and regarding "kbhit" - i thought there ought to be some way to
access hardware flags/registers thru the kernel or some driver
table ... no?  i guess i have much to learn.  it does seems slightly
problematic though to have to always DEPEND on a stream when your
code could be doing more useful things - instead of waiting.
\
>You seem to be right about ENV; that's *really* weird.
>You should submit a problem report using send-pr.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703090453.UAA19011>