Re: test...

2004-03-23 Thread Bernard El-Hagin
Gary wrote:


   is anything getting thru?


Nope.


-- 
Cheers,
Bernard
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Question

2004-03-18 Thread Bernard El-Hagin
Adam wrote:

I am very new to this and I have installed the FreeBSD on my computer.
What is the command that you use to launch the GUI that is installed
with this?? (I think it was Xfree86 or Xwindows)


Assuming you have everything properly installed you only need to execute
the:


  startx


command. Here's some more info on the subject:


  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11.html


-- 
Cheers,
Bernard
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: good things to say

2004-03-16 Thread Bernard El-Hagin
j. wrote:

my dear open sourcerers,

i am writing this letter to ask for your assistance in advocating
open source and in particular freebsd for the enterprise.


[...]


There's a freebsd advocacy list for this kind of stuff, you know.


-- 
Cheers,
Bernard
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re:

2004-03-05 Thread bernard . el-hagin

Chris wrote:

  hi dear mr or mrs
  i use freebsd 5.0 . whenever i want boot my
  computer(when kernel want boot) i see this messages:
  unable to load kernel!
 
  cant load 'kernel'
  please guide me
  regads

 No offense - but without proper information, the list can't determine
your
 real issues. Perhaps a flavor of Windows is for you?


I'm curious as to what possible reason you could have had to make such a
ridiculous statement. *Why* exactly do you think a flavor of Windows
is for the OP? Is it because he's having trouble with FreeBSD? Perhaps
if he switches to Windows and has problems with *that* you could suggest
yet another OS. Let's hope he runs out of problems before he runs out of
OSes. No offence, but your post reeks of the arrogance, which,
unfortunately, is quite abundant in the (Uni|Linu)x world and which puts
off many potential converts. I don't blame them one bit.


--
Bernard


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portsdb: Warning: Duplicate INDEX entry

2004-02-26 Thread Bernard El-Hagin
Uwe Doering wrote:

Bernard El-Hagin wrote:
 Uwe Doering wrote:
Bernard El-Hagin wrote:
Kris Kennaway [EMAIL PROTECTED] wrote:
[...]
I think there's something in one of the included makefiles that relies
on a change to make(1) that happened after 5.1-RELEASE.  Note that
only the most recent release is supported by the ports collection
(http://www.freebsd.org/ports); try updating to 5.2 or 4.9, which
should fix the problem.

Wow, that really sucks, since I've had zero luck updating to 5.2 the two
times I tried, and going with 4.9 from 5.1R means a reinstall, rather
than an upgrade (I'm led to believe).

If you have the OS sources installed you could selectively upgrade the 
source files of make(1) via cvsup(1) and just install it.  No need to 
upgrade the whole OS only because make(1) got an additional command line 
option.  We recently did this for our 4.5 based systems.
 
 Could you please explain how that's done? I've never selectively
 upgraded the source and I'm afraid of screwing something up.

If you haven't already done so, install the port 'cvsup', preferably the 
precompiled package in order to avoid having to install Modula (which 
'cvsup' is written in).

Then you need an appropriate supfile, '/etc/cvsup-src-5.2' in this 
example, which should look like this:

- cut here 
*default  host=cvsup.FreeBSD.org
*default  base=/usr
*default  prefix=/usr
*default  release=cvs
*default  tag=RELENG_5_2
*default  delete use-rel-suffix

src-all
- cut here 

Now do

   cvsup -g -i src/usr.bin/make /etc/cvsup-src-5.2

Once this went through successfully, build and install the new version:

   cd /usr/src/usr.bin/make
   make obj  make depend  make
   make install
   (clean up /usr/obj afterwards if desired)

That's it.  You can selectively upgrade other programs the same way if 
necessary, provided of course there are no incompatibilities in the 
respective areas between the OS releases.  A look at the CVS commit 
comments is always a good idea in this context.


Thanks very much for that information, Uwe. I had no idea that such
selective upgrading was possible.


-- 
Cheers,
Bernard
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portsdb: Warning: Duplicate INDEX entry

2004-02-25 Thread Bernard El-Hagin

I asked:


Uwe Doering wrote:


[...]


If you have the OS sources installed you could selectively upgrade the 
source files of make(1) via cvsup(1) and just install it.  No need to 
upgrade the whole OS only because make(1) got an additional command line 
option.  We recently did this for our 4.5 based systems.


Could you please explain how that's done? I've never selectively
upgraded the source and I'm afraid of screwing something up.


Pretty please?


-- 
Cheers,
Bernard
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portsdb: Warning: Duplicate INDEX entry

2004-02-24 Thread Bernard El-Hagin
Uwe Doering wrote:

Bernard El-Hagin wrote:
 Kris Kennaway [EMAIL PROTECTED] wrote:
 
On Tue, Feb 24, 2004 at 07:44:45AM +0100, Bernard El-Hagin wrote:

Since I have this same problem I ran 'make describe' and here's the
result:

-
=== devel/sparc-rtems-gdb
*** Error code 1

Stop in /usr/ports/devel.
*** Error code 1

Stop in /usr/ports.
-

What version of FreeBSD are you running?

Sorry, I should have mentioned that. I'm running 5.1-Release.

I think there's something in one of the included makefiles that relies
on a change to make(1) that happened after 5.1-RELEASE.  Note that
only the most recent release is supported by the ports collection
(http://www.freebsd.org/ports); try updating to 5.2 or 4.9, which
should fix the problem.
 
 Wow, that really sucks, since I've had zero luck updating to 5.2 the two
 times I tried, and going with 4.9 from 5.1R means a reinstall, rather
 than an upgrade (I'm led to believe).

If you have the OS sources installed you could selectively upgrade the 
source files of make(1) via cvsup(1) and just install it.  No need to 
upgrade the whole OS only because make(1) got an additional command line 
option.  We recently did this for our 4.5 based systems.


Could you please explain how that's done? I've never selectively
upgraded the source and I'm afraid of screwing something up.


-- 
Cheers,
Bernard
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how to extract winzip files?

2004-02-23 Thread Bernard El-Hagin
[EMAIL PROTECTED] wrote:
 Hello,
 Is there a way, I can uncompress zip files made under win? 
 Unzip from ports collection probably can't do that:
 
 End-of-central-directory signature not found.  Either this file is not
   a zipfile, or it constitutes one disk of a multi-part archive.  In the
   latter case the central directory and zipfile comment will be found on
   the last disk(s) of this archive.
 
 and I'm sure this is not multipart archive or broken file.


Then something else is wrong since unzip() can handle such files easily.


-- 
Cheers,
Bernard
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portsdb: Warning: Duplicate INDEX entry

2004-02-23 Thread Bernard El-Hagin
Kris Kennaway wrote:
 On Tue, Feb 24, 2004 at 03:28:32AM +, Robert Woolley wrote:
  On Mon, 23 Feb 2004, Jeff Penn wrote:
  
   My ports system is in a bit of a mess.  The problems first surfaced
   after last weeks 'cvsup; portsdb -uU'.  This weeks cvsup did not
   improve the situation:
  
  I don't have a solution, but I'm getting just the same problem with
  portsdb -uU; and it happened at the same time.
 
 Run 'make describe' on its own..it will give an error at some point,
 which should let us determine what is going wrong.


Since I have this same problem I ran 'make describe' and here's the
result:

-
=== devel/sparc-rtems-gdb
*** Error code 1

Stop in /usr/ports/devel.
*** Error code 1

Stop in /usr/ports.
-


Any clue as to how to fix this?


-- 
Cheers,
Bernard
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portsdb: Warning: Duplicate INDEX entry

2004-02-23 Thread Bernard El-Hagin
Kris wrote:

 On Tue, Feb 24, 2004 at 05:57:18AM +0100, Bernard El-Hagin wrote:
  Kris Kennaway wrote:
   On Tue, Feb 24, 2004 at 03:28:32AM +, Robert Woolley wrote:
On Mon, 23 Feb 2004, Jeff Penn wrote:

 My ports system is in a bit of a mess.  The problems first  
 surfaced after last weeks 'cvsup; portsdb -uU'.  This weeks  cvsup 
 did not improve the situation:

I don't have a solution, but I'm getting just the same problem with 
portsdb -uU; and it happened at the same time.
   
   Run 'make describe' on its own..it will give an error at somepoint, which 
   should let us determine what is going wrong.
  
  
  Since I have this same problem I ran 'make describe' and here's the
  result:
  
  -
  === devel/sparc-rtems-gdb
  *** Error code 1
  
  Stop in /usr/ports/devel.
  *** Error code 1
  
  Stop in /usr/ports.
  -
 
 What version of FreeBSD are you running?


Sorry, I should have mentioned that. I'm running 5.1-Release.


-- 
Cheers,
Bernard
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portsdb: Warning: Duplicate INDEX entry

2004-02-23 Thread Bernard El-Hagin
Kris Kennaway [EMAIL PROTECTED] wrote:

On Tue, Feb 24, 2004 at 07:44:45AM +0100, Bernard El-Hagin wrote:

   Since I have this same problem I ran 'make describe' and here's the
   result:
   
   -
   === devel/sparc-rtems-gdb
   *** Error code 1
   
   Stop in /usr/ports/devel.
   *** Error code 1
   
   Stop in /usr/ports.
   -
  
  What version of FreeBSD are you running?
 
 
 Sorry, I should have mentioned that. I'm running 5.1-Release.

I think there's something in one of the included makefiles that relies
on a change to make(1) that happened after 5.1-RELEASE.  Note that
only the most recent release is supported by the ports collection
(http://www.freebsd.org/ports); try updating to 5.2 or 4.9, which
should fix the problem.


Wow, that really sucks, since I've had zero luck updating to 5.2 the two
times I tried, and going with 4.9 from 5.1R means a reinstall, rather
than an upgrade (I'm led to believe).


Thanks for your help.


-- 
Cheers,
Bernard
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: pkgs managing

2004-02-13 Thread Bernard El-Hagin
flux wrote:
 Hello everyone.
 
 How do I know what package does the file belong?


man pkg_which


-- 
Cheers,
Bernard
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: your mail

2004-02-10 Thread Bernard El-Hagin
?? ?? wrote:
 Sir,
would please ask me a simple problem? How can I download the source
 code and what is the U RL? Now,I am trying to construct a operating
 system, and I have lots of questions about OS. Can you help me?
Thanks a lot!


You'll find everything you need at:


  http://www.freebsd.org/


-- 
Cheers,
Bernard
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how to get rid of ^M character using vi

2004-01-25 Thread Bernard El-Hagin
Kent Stewart [EMAIL PROTECTED] wrote:

On Sunday 25 January 2004 01:43 am, marlon corleone wrote:
 how do i get rid of this annoying character ^M using vi, in pico i
 used the arguments '-w'
 but what about in vi?


starting on the 1st line type
:.,$s/ctrlvctrlm//

The .,$ tells it to process from the current line to the last one.


If you're doing this for the whole file it's faster to use %


:%s/ctrlvctrlm//


It's even faster to use


:se ff=unix


but that assumes we're talking about Vim, not Vi.

-- 
Cheers,
Bernard
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: perl script question.

2004-01-11 Thread Bernard El-Hagin
Matthew Seaman wrote:
 On Sat, Jan 10, 2004 at 06:26:30PM -0500, Marty Landman wrote:
  At 06:02 PM 1/10/2004, Matthew Seaman wrote:
  On Sat, Jan 10, 2004 at 11:39:07PM +0100, Bj?rn Andersson wrote:
  
   If this occures more than once on a line we should have the line as this:
 perl -pi.bak -e 's/\s+\w+_\w+\.?//g;' filename
  
  Good point.  Also, if the stuff_separated_by_underscores wraps around
  onto more than one line, then there may not be any leading whitespace:
  
  I don't see why the translate sol'tn that Gary Kline gave first isn't 
  adequate.
 
 Err --- Gary Kline was the OP asking how to do this: I think you mean 
 Bernard El-Hagin's solution?
 
 % perl -i.bak -pe 'tr/_/ /' files
 
 That doesn't do the right thing.  It turns:
 
 This is a sample ordinary sentence.  This_is_joined_up_with_underscores.
 
 into:
 
 This is a sample ordinary sentence.  This is joined up with underscores.
 
 but the requirement is to produce:
 
 This is a sample ordinary sentence.


Yes, I completely misread the question. Sorry.

-- 
Cheers,
Bernard
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: perl script question.

2004-01-10 Thread Bernard El-Hagin
Gary Kline wrote:
 
   Folks,
 
   Let's see if perl can do this one; it's as obscure a task
   as I've run into.  I have scores of files with:
 
   A regular sentence, or phrase. then_one_containing_underscores_-
   between_each_word  Followed by another regular, space-delimited
   sentence.  Followed_by_another_string_with_underscaores.
 
   Is there a perl way to get rid of the
   string_containing_underscores and leave the regular sntences??
 
   Any thoughts very welcome!!


Perhaps this will be enough:


% perl -i.bak -pe 'tr/_/ /' files


-- 
Cheers,
Bernard
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Download contents of http directory?

2004-01-10 Thread Bernard El-Hagin
Minnesota Slinky wrote:
 Hello list,
 
 How can I download the entire contents of a directory
 on a webserver?  I can see them in index mode, but
 it's a list of about 2,000 jpg files for a reunion. 
 How can I download everything there to one directory?


Use wget. It's in ports.


-- 
Cheers,
Bernard  
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: switching from sendmail to postfix

2004-01-07 Thread Bernard El-Hagin
Markus wrote:


Hello all,

I´m running an FreeBSD 4.9 System and from scratch is an sendmail MTA installed and 
active.

I would use postfix as my MTA.
How should I switch to postfix at best?


When you install the postfix port you are given instructions on how to
do just that. If you've already installed postfix, but missed those
instructions try cat /usr/ports/mail/postfix/pkg-messeges.


-- 
Cheers,
Bernard
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: switching from sendmail to postfix

2004-01-07 Thread Bernard El-Hagin
[EMAIL PROTECTED] wrote:

Markus wrote:


Hello all,

I´m running an FreeBSD 4.9 System and from scratch is an sendmail MTA installed and 
active.

I would use postfix as my MTA.
How should I switch to postfix at best?


When you install the postfix port you are given instructions on how to
do just that. If you've already installed postfix, but missed those
instructions try cat /usr/ports/mail/postfix/pkg-messeges.


messages, not messeges, of course.


-- 
Cheers,
Bernard
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: switching from sendmail to postfix

2004-01-07 Thread Bernard El-Hagin
Ernst wrote:

On woensdag 7 januari 2004 13:07, Bernard El-Hagin wrote:
 [EMAIL PROTECTED] wrote:

Nice mail client you have :-)


Unfortunately, at work (where I am right now) I have to use what they
tell me to use. I also have to do what they tell me to do, which is much
worse. ;-)


-- 
Cheers,
Bernard
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mass word find/replace

2004-01-07 Thread Bernard El-Hagin
Mark wrote:

I am trying to find a way to replace one word in a file
with another word, like windows wordpad find/replace.

I need to change pn_ to nuke_ and have a 188000 lines to do it on. ugh


   perl -i.bak -pe 's/pn_/nuke_/g' /input/file(s)


The old file(s) will be saved with the extension .bak.


-- 
Cheers,
Bernard
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: XFree86 Desktop installation

2004-01-06 Thread Bernard El-Hagin
[EMAIL PROTECTED] wrote:

On Tue, Jan 06, 2004 at 03:04:48AM -0800, [EMAIL PROTECTED] wrote:
 Hi,
 
 I already configured the XFree86 on my FreeBSD system and I want to run
 the KDE or Gnome desktop applications. How is this possible.
 
 I appreciate your help. Totally newbie here :)
 
If you have the time, patience and disk space, you could:

for gnome:
# cd /usr/ports/x11/gnome2
# make install clean

for kde:
# cd /usr/ports/x11/kde3
# make install clean

Or just install the packages (will fetch from the ftp servers)
# pkg_add -r kde
or
# pkg_add -r gnome2



And then, after they're installed put the following in ~/.xinitrc:


exec start-kde, if you want KDE

or

exec gnome-session, if you want Gnome.


-- 
Cheers,
Bernard
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to count the lines of code in a project?

2003-12-23 Thread Bernard El-Hagin
[EMAIL PROTECTED] wrote:


Hello. How to count the number of lines in all *.c file in a directory?

I can think of this on csh:

 grep -c  `find . -name *.c` | sed s/.*:/e=e+/  /tmp/countlines.py

And edit the py file, and e=0 as first line, print e as the last
line, and execute the python script. wooo pretty cool for a newbie like
me:)

So is there a better method?


I think a *slightly* better method is to use:


wc -l *.c


;-)


-- 
Cheers,
Bernard
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Anti aliased fonts in FBSD

2003-12-04 Thread Bernard El-Hagin
[EMAIL PROTECTED] wrote:

On Thu, 2003-12-04 at 01:41, Bernard El-Hagin wrote:
 [EMAIL PROTECTED] wrote:
 
 On Thu, 2003-12-04 at 01:17, Bernard El-Hagin wrote:
  [EMAIL PROTECTED] wrote:
  
  On Thu, 2003-12-04 at 00:46, Bernard El-Hagin wrote:
   Hello,
   
 When I install some appliactions from ports they have nice
   anti-aliased fonts by default (gaim, for example). Unfortunately others
   do not (most notably gVim and also LinCVS, both of which are capable of
   using them). Where exactly is this governed? How do I tell applications
   to always use anti-aliased fonts? I am running CURRENT.
  
  There's a section on this in the FreeBSD handbook:
  
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-fonts.html
  
  
  Thanks to that section of the handbook I have enabled anti-aliased fonts
  in X, but it doesn't explain why some applications use those fonts by
  default and others don't. That's my real problem.
 
 Yes it does.  The last paragraph states:
 
 Anti-aliasing should be enabled the next time the X server is started.
 However, programs must know how to take advantage of it. At present, the
 Qt toolkit does, so the entire KDE environment can use anti-aliased
 fonts (see Section 5.7.3.2 on KDE for details). Gtk+ and GNOME can also
 be made to use anti-aliasing via the ``Font'' capplet (see Section
 5.7.1.3 for details). By default, Mozilla 1.2 and greater will
 automatically use anti-aliasing. To disable this, rebuild Mozilla with
 the -DWITHOUT_XFT flag.
 
 So, do you have gVim built with gtk+-2 support, and have you done what
 section 5.7.3.2 tells you for KDE/Qt apps (i.e. set QT_XFT to true)?
 
 
 I don't use KDE nor Gnome, but as I understand it any application which
 is built with either Qt or Gtk+-2 support should be capable of using
 anti-aliased fonts. What I'm asking is how do I:

Yes, per the cross-referenced sections in the above paragraph, you may
have to do some additional setting of variables if you do not use the
respective desktops.

 
 
 1. find out before building an application whether it will be built with
 support for either of those,

As things are right now, looking at the ports' Makefiles is your best
bet.


OK, that's what I was looking for. Thanks.


 2. make sure that such support is added if it's not there by default
 (which I should be able to establish in step 1).

Once you figure out the variable to set, you can add it to make.conf or
pkgtools.conf (or both).


Does this mean that the name of the variable governing the AA fonts will
be the same for any application which can use them? That's cool.


Thanks for your help.


Cheers,
Bernard
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Anti aliased fonts in FBSD

2003-12-03 Thread Bernard El-Hagin


Hello,

  When I install some appliactions from ports they have nice
anti-aliased fonts by default (gaim, for example). Unfortunately others
do not (most notably gVim and also LinCVS, both of which are capable of
using them). Where exactly is this governed? How do I tell applications
to always use anti-aliased fonts? I am running CURRENT.


Thanks.


Cheers,
Bernard
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Anti aliased fonts in FBSD

2003-12-03 Thread Bernard El-Hagin
[EMAIL PROTECTED] wrote:

On Thu, 2003-12-04 at 00:46, Bernard El-Hagin wrote:
 Hello,
 
   When I install some appliactions from ports they have nice
 anti-aliased fonts by default (gaim, for example). Unfortunately others
 do not (most notably gVim and also LinCVS, both of which are capable of
 using them). Where exactly is this governed? How do I tell applications
 to always use anti-aliased fonts? I am running CURRENT.

There's a section on this in the FreeBSD handbook:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-fonts.html


Thanks to that section of the handbook I have enabled anti-aliased fonts
in X, but it doesn't explain why some applications use those fonts by
default and others don't. That's my real problem.


Cheers,
Bernard
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Anti aliased fonts in FBSD

2003-12-03 Thread Bernard El-Hagin
[EMAIL PROTECTED] wrote:

On Thu, 2003-12-04 at 01:17, Bernard El-Hagin wrote:
 [EMAIL PROTECTED] wrote:
 
 On Thu, 2003-12-04 at 00:46, Bernard El-Hagin wrote:
  Hello,
  
When I install some appliactions from ports they have nice
  anti-aliased fonts by default (gaim, for example). Unfortunately others
  do not (most notably gVim and also LinCVS, both of which are capable of
  using them). Where exactly is this governed? How do I tell applications
  to always use anti-aliased fonts? I am running CURRENT.
 
 There's a section on this in the FreeBSD handbook:
 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-fonts.html
 
 
 Thanks to that section of the handbook I have enabled anti-aliased fonts
 in X, but it doesn't explain why some applications use those fonts by
 default and others don't. That's my real problem.

Yes it does.  The last paragraph states:

Anti-aliasing should be enabled the next time the X server is started.
However, programs must know how to take advantage of it. At present, the
Qt toolkit does, so the entire KDE environment can use anti-aliased
fonts (see Section 5.7.3.2 on KDE for details). Gtk+ and GNOME can also
be made to use anti-aliasing via the ``Font'' capplet (see Section
5.7.1.3 for details). By default, Mozilla 1.2 and greater will
automatically use anti-aliasing. To disable this, rebuild Mozilla with
the -DWITHOUT_XFT flag.

So, do you have gVim built with gtk+-2 support, and have you done what
section 5.7.3.2 tells you for KDE/Qt apps (i.e. set QT_XFT to true)?


I don't use KDE nor Gnome, but as I understand it any application which
is built with either Qt or Gtk+-2 support should be capable of using
anti-aliased fonts. What I'm asking is how do I:


1. find out before building an application whether it will be built with
support for either of those,


2. make sure that such support is added if it's not there by default
(which I should be able to establish in step 1).


Thanks.


Cheers,
Bernard
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No sound when playing a CD in FreeBSD 4.9

2003-11-21 Thread Bernard El-Hagin
You wrote:

[...]

Maybe a common mistake:

Is there an audio cable between the drive and the soundcard ?

That is necessary to play cdda.

I don't know the exact specs but your cd-drive sends the sound kinda 
directly to your soundcard. So that cable is necessary


But he said it worked correctly under Linux, so that can't be it. Unless
he was wrong and it *didn't* work correctly under Linux, of course. :)


Cheers,
Bernard

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]