Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Nov 2001 13:14:32 +0000 (GMT)
From:      Jan Grant <Jan.Grant@bristol.ac.uk>
To:        Fabio Miranda <fmirand@yahoo.com>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: Misc questions
Message-ID:  <Pine.GSO.4.31.0111121259570.12223-100000@mail.ilrt.bris.ac.uk>
In-Reply-To: <20011112013151.32350.qmail@web11504.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.31.0111121259570.12223-100000>