From owner-freebsd-hackers Sun Mar 9 23:11:00 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA11417 for hackers-outgoing; Sun, 9 Mar 1997 23:11:00 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id XAA11383 for ; Sun, 9 Mar 1997 23:10:54 -0800 (PST) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id AAA04015; Mon, 10 Mar 1997 00:13:48 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.5/8.8.5) id XAA16780; Sun, 9 Mar 1997 23:45:54 +0100 (MET) Message-ID: <19970309234554.GF64239@uriah.heep.sax.de> Date: Sun, 9 Mar 1997 23:45:54 +0100 From: j@uriah.heep.sax.de (J Wunsch) To: un_x@hotmail.com (steve howe) Cc: hackers@FreeBSD.ORG Subject: Re: profile probs References: <199703071417.GAA09165@f5.hotmail.com> X-Mailer: Mutt 0.60_p2-3,5,8-9 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199703071417.GAA09165@f5.hotmail.com>; from steve howe on Mar 7, 1997 06:17:33 -0800 Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As steve howe wrote: > 2.1.5 - sh ... > regarding ~/.profile. any alias as the 1st non-comment line will > show up in a following alias command, but will not function, resulting > in an "alias: not found" error. I can't reproduce this, so it's probably fixed as a side-effect of some other change. > and secondly, if i use: > export ENV=~/.shinit INSTEAD OF ENV=~/.shinit; export ENV ... > ~/.shinit never gets called on any "sh" startups ... ??? Confirmed. Please type `send-pr', and submit a PR for this. > lastly, can anyone tell me where to find C functions that will > allow me to position the cursor on a screen AND change text > field colors? something similiar to Borlands "gotoxy()" ??? The curses package is the closest equivalent. Unlike Borland, it's terminal independent, thus a little more complex: j@uriah 194% cat > foo.c #include int main(void) { initscr(); move(9, 19); addstr("I'm on line 10, column 20."); move(LINES - 2, 0); addstr("I'm in the line just below the bottom..."); refresh(); move(LINES - 1, 0); endwin(); } ^D j@uriah 195% cc foo.c -ltermcap -lcurses j@uriah 196% ./a.out ... This should suffice to look it up in the man pages. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)