From owner-freebsd-hackers Sat Mar 8 20:53:41 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA25291 for hackers-outgoing; Sat, 8 Mar 1997 20:53:41 -0800 (PST) Received: from f29.hotmail.com (F29.hotmail.com [207.82.250.40]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id UAA25285 for ; Sat, 8 Mar 1997 20:53:39 -0800 (PST) Received: (from root@localhost) by f29.hotmail.com (8.7.5/8.7.3) id UAA19011; Sat, 8 Mar 1997 20:53:02 -0800 (PST) Date: Sat, 8 Mar 1997 20:53:02 -0800 (PST) Message-Id: <199703090453.UAA19011@f29.hotmail.com> Received: from 137.229.17.253 by www.hotmail.com with HTTP; Sat, 08 Mar 1997 20:53:02 PST X-Originating-IP: [137.229.17.253] From: " steve howe" To: gjm11@dpmms.cam.ac.uk Cc: freebsd-hackers@freebsd.org Subject: Re: profile/alias Content-Type: text/plain Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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.