From owner-freebsd-questions Mon Nov 12 5:14:51 2001 Delivered-To: freebsd-questions@freebsd.org Received: from dire.bris.ac.uk (dire.bris.ac.uk [137.222.10.60]) by hub.freebsd.org (Postfix) with ESMTP id 5BAD637B417 for ; Mon, 12 Nov 2001 05:14:46 -0800 (PST) Received: from mail.ilrt.bris.ac.uk by dire.bris.ac.uk with SMTP-PRIV with ESMTP; Mon, 12 Nov 2001 13:14:35 +0000 Received: from cmjg (helo=localhost) by mail.ilrt.bris.ac.uk with local-esmtp (Exim 3.16 #1) id 163Gv3-0007nK-00; Mon, 12 Nov 2001 13:14:33 +0000 Date: Mon, 12 Nov 2001 13:14:32 +0000 (GMT) From: Jan Grant X-X-Sender: To: Fabio Miranda Cc: freebsd-questions Subject: Re: Misc questions In-Reply-To: <20011112013151.32350.qmail@web11504.mail.yahoo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 On Sun, 11 Nov 2001, Fabio Miranda wrote: > hi, pls someone give me a hand: > 1. What should i add to .telnetrc in order to export > the variable TERM=vt100 in all connections? environ define TERM vt100 or just environ export TERM to export your current TERM setting. (This might happen by default.) More information in the man page for telnet. > 2. i am studying "lists" on a structure of data > subjects, i want to know where/when freebsd developers > implements lists and nodes? Developers use linked lists in three situations: 1. where it's an appropriate data structure to use (see your textbooks, perhaps, for suggestions about when this might be the case) 2. when the appropriate data structure is probably something else, but there's neither the time nor inclination to figure out what it is; 3. when the appropriate datastructure is known, but it's just too much damn effort to implement. Where? Pretty much everywhere. Check the man page for queue(3). > 3. my university is "object oriented" but i like > freebsd and i check the binaries and source code and > there is C code, i want to know how freebsd > developers deal with object oriented programing?, we > are in another line?, is object oriented much focused > on end-user applications?, By "object-orientation", I presume you mean displaying some or all of the characteristics: - encapsulation - inheritance - polymorphism C's support for the first is limited; you get to do the second by hand, and you'll probably see lots of examples fo the last by browsing through the code looking for dispatch vectors. C, however, is not a very good language for doing OO since it requires you to roll your own. If you want languages / environments that support OO, you'll have to look elsewhere. Without comment on their value as exemplars of a particular mindset, it's worth noting that you'll be able to get language support for most paradigms on FBSD - eg, C++, Java, lisp (various versions), forth, a handful of applicative functional languages, prolog, etc. There are also a number of GUI toolkits, which offer differing degrees of object-orientation. Your best bet would probably be to find out what your university requires/teaches, and look for specific support for that on FBSD (or elsewhere) - certainly if you're looking for a platform to do coursework on. Cheers, jan -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287088 Fax +44 (0)117 9287112 RFC822 jan.grant@bris.ac.uk Unfortunately, I have a very good idea how fast my keys are moving. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message