Weirdness with sfte, screen, and FreeBSD.

2005-07-18 Thread Dan MacMillan
Hi,

When I run sfte (20050108) inside of GNU screen (4.00.02) in FreeBSD
(5.4-RELEASE-p2), I get some strange and irritating behaviour.  If I hit
alt-f to get the File menu, then press the right arrow key to move to the
next menu over (Navigate in the directory view), then that portion of the
screen that WAS covered by the file menu but IS NOT covered by the Navigate
menu has its colors screwed up.  What WAS high-intensity-white on dark blue
becomes black (or dark gray, hard to tell) on green.  What WAS
high-intensity-white on black becomes black (or dark gray) on dark blue.
What WAS light gray on black becomes dark gray on black.  And so on.  If I
then press the right-arrow-key again to move to the Tools menu, the
problem becomes progressively worse.  Dark gray becomes blue, blue becomes
light green, light green becomes cyan, etc. etc.  Eventually what was
covered by any of the menus becomes a real colourful mess.  In case this
description is not clear, I've uploaded a clip of a screen grab that
demonstrates the problem after pressing right-arrow a bunch of times with an
open menu:

http://members.shaw.ca/flowers.hidey.hole/ftemess.png

I have tried to understand terminals and consoles and termcap and terminfo
but I have to say, the concepts escape me.  The only other slang program I
generally use is Mutt, which works like gangbusters.  I don't even know
where to begin looking at this.  Here are some environment variables that
(may) be of interest:

COLORFGBG='lightgray;black'
TERM=screen
TERMCAP='SC|screen|VT 100/ANSI X3.64 virtual terminal:\
:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bs:bt=\E[Z:\
:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:ct=\E[3g:\
:do=^J:nd=\E[C:pt:rc=\E8:rs=\Ec:sc=\E7:st=\EH:up=\EM:\
:le=^H:bl=^G:cr=^M:it#8:ho=\E[H:nw=\EE:ta=^I:is=\E)0:\
:li#60:co#132:am:xn:xv:LP:sr=\EM:al=\E[L:AL=\E[%dL:\
:cs=\E[%i%d;%dr:dl=\E[M:DL=\E[%dM:dc=\E[P:DC=\E[%dP:\
:im=\E[4h:ei=\E[4l:mi:IC=\E[%d@:ks=\E[?1h\E=:\
:ke=\E[?1l\E:vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l:\
:ti=\E[?1049h:te=\E[?1049l:us=\E[4m:ue=\E[24m:so=\E[3m:\
:se=\E[23m:md=\E[1m:mr=\E[7m:me=\E[m:ms:\
:Co#8:pa#64:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:AX:G0:\
:as=\E(0:ae=\E(B:\
:ac=\140\140aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++,,
hhII00:\
:k0=\E[10~:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:\
:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
:F1=\E[23~:F2=\E[24~:kb=^H:kh=\E[1~:@1=\E[1~:kH=\E[4~:\
:@7=\E[4~:kN=\E[6~:kP=\E[5~:kI=\E[2~:kD=\E[3~:ku=\EOA:\
:kd=\EOB:kr=\EOC:kl=\EOD:km:'

I don't know what other information to include.  I get the problem both
using Putty to SSH in and at the console.  Outside of GNU screen sfte works
like a charm.  Note that in order to get sfte to build on FreeBSD, I had to
link it to both libslang and libncurses (and perform other minor surgery on
the port, viz. comment out USE_XLIBS and change fte-unix.mak to build sfte
instead of xfte since I neither have nor want X installed).

Pardon the cross-post but I really don't know which piece of software might
be at fault.  Any information or pointers would be greatly appreciated.

--
Danny MacMillan

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


RE: Partition?

2004-11-14 Thread Dan MacMillan

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 
 How come i can't enter the #Freebsd channel
 ... im using the freenode server? i have some
 queries. 

I have no idea.  I'm forwarding this to the list,
maybe someone there can help you.

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


RE: [OT] Sapir-Whorfian Advertising Clause (was Advertising clausein license)

2004-10-24 Thread Dan MacMillan
 From: Ted Mittelstaedt
  From: Danny MacMillan
 
  Be that as it may, the term advertising clause seems strictly
  definitive, as it pertains to a clause that refers to advertising.
  That much at least seems obvious from what Nell fgrep'd for.  I
  don't disagree with the substance of your point, but it is counter-
  productive to redefine language to suit one's political agenda.

 No it is not.  People find it productive to redefine language to
 suit their political agenda all the time.

 The original term out of the license was not advertising clause. The
 original term, right out of the license, was acknowledgement

I can only refer you to the license itself, which contains both
advertising and acknowledgement:

3. All advertising materials mentioning features or use of this software
   must display the following acknowledgement:
 This product includes software developed by the University of
 California, Berkeley and its contributors.

 The GPL crowd found themselves sounding like a bunch of ungrateful
 spoiled brats when they originally tried telling people the BSD license
 was bad because it had a clause that required you to acknowledge the
 copyright holders

 So, they did a bit of creative doublespeak and came up with the
 slur advertising clause

 Since advertising is associated with commercial activities, this
 carried an instant negative connotation in the free software
 community.  The GPL bigots didn't even have to explain what an advertising
 clause was, the mere presense of the word advertising was enough to set
 people against the acknowledgement clause.

 Notice how just changing the term back to the real term acknowledgement
 clause removes the negative connotation and lets the truth of
 what it really is show through?

 You are very naieve if you think that words and phrases don't carry
 negative connotations, or by chance are you in the habit of using
 terms like nigger, Danny boy?

 The very name FreeBSD was defined to suit a political agenda.  While
 you may not like living in a world that uses language as a weapon,
 that's the kind of world most people live in, and you better get
 used to operating in it.

 Ted

You're bringing a lot of baggage to this discussion.

As long as people focus on what the words are instead of what they
mean they will always be easy prey to the next group of bigots
that walk through the door.  That was my sole point.

Let's consider language as a weapon for a moment.  You paint your-
self as a knee-jerk reactionary by using emotionally charged
pejoratives like GPL bigots and Linux bigots.  You further
marginalize yourself through the use of dismissive diminutives
like Danny boy.  These are tactics that may be effective if your
goal is to ridicule someone, but not if you want to communicate.
By employing them, you make it easy for outside observers to
pigeonhole you into a mental category and discount your arguments
and your point of view, regardless of their essential merit.  That
portrays neither you nor FreeBSD in a positive light.

To the other list readers, I apologize for the increasingly
irrelevant diversion.  This is the last word you will hear from
me on the subject.

--
Danny

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


RE: Max # of Files in a Directory?

2004-09-16 Thread Dan MacMillan
stheg olloydson said:
 it was said:
 
  ... I started seeing all kinds of errors when
  trying to copy more than 16383 messages into one
  of my folders there.  I'm retrieving mail from a
  pop3 server using Outlook then copying them into
  my imap folder, also using Outlook.
 
 Hello,
 
 16383 was a limit in OL before version 8.03 (2000). Go to the MS
 knowledge base and search on Outlook using 16383 as the keyword. You
 will find a number of articles related to this issue.

Thank you to everyone who answered.  It definitely is an Outlook issue
as I now have 16402 messages in the folder and I can read them using
mutt.

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


RE: error during make buildkernel in 5.2.1

2004-08-10 Thread Dan MacMillan
From: Mike

 This is my first foray into 5.2.1.  I installed and ran cvsup
(standard
 and for ports).  I went to build the kernel and and make buildkernel
 died.  Here is the error message.  Any comments or hints would be
helpful.

 # make buildkernel KERNEL=TRITON

 ...

I believe that should be:

make buildkernel KERNCONF=TRITON

--
Danny MacMillan

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


RE: Sound Blaster Live

2004-07-12 Thread Dan MacMillan
From: Javier Ramirez
 
 there is no another way???
 no exist module for this card??

I have a SoundBlaster Live! card in one of my FreeBSD (5.2.1) machines.
I have the following in /boot/loader.conf:

snd_emu10k1_load=YES

And that's it.  It automatically loads the (required) snd_pcm.ko module as
well as the snd_emu10k1.ko module.  The above works with a GENERIC kernel
(you don't have to recompile the kernel).  If you don't want to reboot,
you should be able to type the following as root:

kldload snd_emu10k1

Magic!  Although I'm not sure if you have to restart X to make it realize
that the sound device has been created and start using it.  I've never
actually tested loading it at run time because adding that line to
/boot/loader.conf is one of the first things I do when installing my
system.  I'd be surprised if it didn't work, though.

-- 
Danny MacMillan

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


Moving HDD with FreeBSD installed between machines with different hardware.

2004-06-29 Thread Dan MacMillan
Hello,

I have a machine with FreeBSD installed on it that is serving DNS, CVS, NTP
and a few other things for our organization.  I plan to add a mail gateway
using Postfix, ClamAV, amavisd-new and SpamAssassin as well to protect the
tender underbelly of our MS Exchange server.  However the machine is running
5.1-RELEASE.  It shouldn't be.  :)

I would like to rebuild the machine completely to exercise the knowledge I
have gained re: FreeBSD but I can't afford for it to be down for the length
of time it would take and I don't have a standby machine available.  So what
I'm thinking is that I could take a spare hard drive home and pop it in one
of my own machines, install FreeBSD on that, and then bring it back to work
and swap the hard drive out with the one in the production machine.

What kind of problems am I letting myself in for if I go ahead with this?
The hardware in the two machines in question is quite dissimilar.  For
example, one's an Athlon 266 with 64MB of RAM, one's a Pentium[-something]
300 with 400 MB.

Here are the things that occurred to me:

One of them has an 'rl0' NIC, the other 'dc0'.  So I'd have to change the
ifconfig_ line in /etc/rc.conf.  But would this also imply changes elsewhere
that would have to be made?

Actually, that's all I've thought of so far.  Are there any gotchas I should
be considering?

--
Danny MacMillan

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


RE: FreeBSD install on SCSI: Missing Operating System

2004-06-23 Thread Dan MacMillan
From: Jeremy Kister

 the whole installation process goes smooth, but upon reboot, I simply get
 'Missing Operating System'.

I usually see this sort of thing when I forget to remove a non-bootable
floppy from the drive.

--
Danny MacMillan

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


RE: FreeBSD 5.2.1 - Joke-only release ? April Fools ??

2004-06-19 Thread Dan MacMillan
From: Joe Schmoe

 I have attempted to install 5.2.1-RELEASE on four
 (very) different computers today:

 Every single time, I boot off kern.flp, move on to
 mfsroot.flp, and as sysinstall is booting, after most
 of the dmesg has passed by, it suddenly starts
 spitting out error messages at an extremely fast rate.

 ...

Sounds to me like your install media is bad.  Ensure the md5 checksums of
the .flp files you downloaded match those in the CHECKSUM.MD5 file in the
FTP folder you downloaded them from.  If they match, try imaging the .flp
files onto different floppies.

--
Danny

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


RE: Pruning the Ports Tree

2004-06-16 Thread Dan MacMillan
From: Sergey Zaharchenko at June 16, 2004 06:18

 On Wed, Jun 16, 2004 at 11:38:38AM +0100,
  Matthew Seaman probably wrote:
  On Sun, Jun 13, 2004 at 03:41:53PM -0700, Graham North wrote:
 
  Heh.  There's nothing to worry about -- I don't own or use any Windows
  boxes, so there's no chance of picking up a worm from my e-mails.

 However, this won't save you from picking up a worm which has forged its
 mail's `From' address to be [EMAIL PROTECTED], or any other
 address... so unless you change your OS and/or mailer to something more
 secure, it's still a good idea to stay alert.

On the other hand, the fact that Matthew signs all his email means we always
know who to blame.  :)

--
Danny

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


RE: Some Simple Questions

2004-06-14 Thread Dan MacMillan
From: Spuds

 2) Is FreeBSD in any way affected by the SCO lawsuits ...

What you're asking for is legal advice.  No one here will indemnify you if
in a perverse travesty of justice SCO does succeed in its goals.  You will
have to assume the risk yourself.  Risk = probability * severity.
Probability is something most people have an opinion of.  On this list, you
are not likely to find many people who think that any ruling regarding
FreeBSD (or Linux, for that matter) will favour SCO.  Severity is something
you can only judge yourself.

It would be wrong if SCO were able to successfully make a claim against
FreeBSD, but that doesn't make it impossible.

--
Danny

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


RE: Bash Startup Files

2004-06-14 Thread Dan MacMillan
On Behalf Of Arend P. van der Veen:

 ...

 I have a case where both ~/.profile and ~/.bash_profile
 exist and both are sourced.

 ...

If this really is happening, it's likely one of your other startup files is
explicitly sourcing ~/.profile.

--
Danny

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


RE: web serving

2004-06-14 Thread Dan MacMillan
Goodleaf, John wrote:

   Please reply to [EMAIL PROTECTED]
   So I have a FreeBSD server at home serving some web pages, mostly web
   mail (Apache). It's running on a DSL line behind a gateway that
   forwards port 80 requests to it. Now here's the problem. I need to
   serve also from an IIS .NET server (it's for my girlfriend; don't bug
   me). So my question: How do I serve some things from the IIS server
   and some from the BSD server?  Do I set up some kind of proxying?
   I'm sure there are three hundred solutions, but this is not something
   I've ever had to learn about. I'm willing to RTFM; I just want to be
   pointed in the right direction.
   Thanks,
   John

If you need it on the same IP address and port, you can set up a reverse
proxy using mod_proxy.  I've only ever used it with Apache 2 but I think it
works the same on 1.3, if that's what you're using.  You basically specify
that requests for a particular path will be served by another server.  This
can be combined with virtual hosts if you want.  See the ProxyPass and
ProxyPassReverse directives.

http://httpd.apache.org/docs-2.0/mod/mod_proxy.html

--
Danny

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


RE: sendmail only accepting local connections

2004-06-03 Thread Dan MacMillan
-Original Message-
From: Andy Clements

 I'm having problems getting sendmail to accept anything but local
 connections.

This may be a foolish question, but you don't have sendmail_enable=NO or
some such in your /etc/rc.conf, do you?

-Danny

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


RE: How do I enable sendmail ONLY for local system mail?

2004-06-02 Thread Dan MacMillan
-Original Message-
From: Jonathon McKitrick

 I read /etc/mail/README and also a few posts while I was setting up my
 firewall.  but I'm not getting any system mail like expected.

 What should the permissions be on my mqueue and clientmqueue dirs in /var?

 Here are the rc.conf mail options:
 sendmail_enable=yes

 ...

Hi,

I don't know about your routing issue ... but if you're using the 5.2.1
release, you can put the following in your rc.conf and have it still work
(if, as the subject line says, you really are only using it for local system
mail):

sendmail_enable=no

It's not intuitive to me either, but it does work (at least it did for me).
From the rc.sendmail man page:

 sendmail_enable
 (str) If set to ``YES'', run the sendmail(8) daemon at system
 boot time.  If set to ``NO'', do not run a sendmail(8) daemon to
 listen for incoming network mail.This does not preclude a
 sendmail(8) daemon listening on the SMTP port of the loopback
 interface.  The ``NONE'' option is deprecated and should not be
 used.  It will be removed in a future release.

-Danny

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


make world : did it fail?

2004-05-11 Thread Dan MacMillan
Hi.

I just ran the make world procedure on a freshly installed FreeBSD system.
After dropping to single user mode, I ran:

cd /usr/src
script /root/mw/mw-200405111310.out
make buildworld  make buildkernel KERNCONF=GOLLUM  make installkernel
KERNCONF=GOLLUM  reboot

I do things this way because I don't want to babysit the machine waiting to
proceed to the next step.  When I heard the computer reboot (it's sitting
right next to me), I logged in and ran:

tail /root/mw.out

To see if anything untoward had happened.  The result looks like this:

 tail /root/mw/mw-200405111310.out
install -o root -g wheel -m 555   safe.ko /boot/kernel
=== sbni
install -o root -g wheel -m 555   if_sbni.ko /boot/kernel
=== scsi_low
install -o root -g wheel -m 555   scsi_low.ko /boot/kernel
=== smbfs
install -o root -g wheel -m 555   smbfs.ko /boot/kernel
=== sound
=== sound/pcm
install -o root -g wheel -m 555   snd_

Doesn't look so good, does it?  Now I'm not sure if it rebooted because of
the ' reboot' or because it ran into some terrible no good awful bad
problem.  I checked the timestamps on all the files in /boot/kernel and they
all look good (all .ko files dated today within 1 minute of each other, the
kernel a few minutes older).  The number of files in /boot/kernel matches
the number in /boot/kernel.old.  I ran (from my home directory):

ls /boot/kernel  kernel
ls /boot/kernel.old  kernel.old
diff kernel kernel.old

And there are no differences.

uname -a now reports 5.2.1-RELEASE-p6.

I'm thinking that probably what happened is that the machine rebooted
without the remaining script output being flushed to disk.  Is there any way
to tell for sure?  And should this even be possible?  I've followed this
technique on my home machines several times and never got the script output
truncated like this.

I'm now cursing myself for putting the  reboot on there.  I can re-run the
make world procedure, but unless I figure out for sure what happened here
I'm afraid it's indicative of a more significant problem.

Thanks in advance.

--
Danny MacMillan


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


RE: make world : did it fail?

2004-05-11 Thread Dan MacMillan
Hi.

I'd still like to hear from anyone with insight into this (whether an actual
problem occurred or not), but here's what I've decided to do:

I know from the script output that the buildworld and buildkernel succeeded.
The only step that is suspect is the installkernel.  So:

In case something did screw up, I want to make sure I still have the known
good kernel available:

rm -rf /boot/kernel
mv /boot/kernel.old /boot/kernel

Then I booted into single-user mode and ran:

uname -a

It reported the unpatched kernel (good).  So:

cd /usr/src
script /root/mw/mw-200405111844.out
make installkernel KERNCONF=GOLLUM

This time I sat around and waited for it to finish.  Finally, it did, with
no errors or other suspect output.  Satisfied, I rebooted.  No problems, so
back into single-user-mode to installworld:

cd /usr/src
script /root/mw/mw-200405111852.out
make installworld  echo sleeping now  sleep 600  reboot

I would have waited around for this to complete but I wanted to go home.  I
reasoned that 10 minutes should surely be enough for script to flush output
to disk (man 1 script says it flushes, by default, every 30 seconds).  By
rebooting I would then be able to continue setting up the server through an
SSH session from home (I established and tested SSH settings on the company
firewall before beginning the make world).  Sure enough, I just logged in
and:

 tail mw-200405111852.out
=== etc/sendmail

--
 Rebuilding man page indices
--
cd /usr/src/share/man; make makedb
makewhatis /usr/share/man
makewhatis /usr/share/openssl/man
rm -rf /tmp/install.8m808LpI
sleeping now


So it looks like everything's good.

Is there any flaw in my reasoning?  In particular, even though it appeared
to work, is it a bad idea to delete the active kernel?  I've done it before
and I haven't had any problems, but I always feel like I'm playing Russian
Roulette when I do it.

-Dan

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Dan MacMillan
Sent: May 11, 2004 18:11
To: [EMAIL PROTECTED]
Subject: make world : did it fail?


Hi.

I just ran the make world procedure on a freshly installed FreeBSD system.
After dropping to single user mode, I ran:

cd /usr/src
script /root/mw/mw-200405111310.out
make buildworld  make buildkernel KERNCONF=GOLLUM  make installkernel
KERNCONF=GOLLUM  reboot

I do things this way because I don't want to babysit the machine waiting to
proceed to the next step.  When I heard the computer reboot (it's sitting
right next to me), I logged in and ran:

tail /root/mw.out

To see if anything untoward had happened.  The result looks like this:

 tail /root/mw/mw-200405111310.out
install -o root -g wheel -m 555   safe.ko /boot/kernel
=== sbni
install -o root -g wheel -m 555   if_sbni.ko /boot/kernel
=== scsi_low
install -o root -g wheel -m 555   scsi_low.ko /boot/kernel
=== smbfs
install -o root -g wheel -m 555   smbfs.ko /boot/kernel
=== sound
=== sound/pcm
install -o root -g wheel -m 555   snd_

Doesn't look so good, does it?  Now I'm not sure if it rebooted because of
the ' reboot' or because it ran into some terrible no good awful bad
problem.  I checked the timestamps on all the files in /boot/kernel and they
all look good (all .ko files dated today within 1 minute of each other, the
kernel a few minutes older).  The number of files in /boot/kernel matches
the number in /boot/kernel.old.  I ran (from my home directory):

ls /boot/kernel  kernel
ls /boot/kernel.old  kernel.old
diff kernel kernel.old

And there are no differences.

uname -a now reports 5.2.1-RELEASE-p6.

I'm thinking that probably what happened is that the machine rebooted
without the remaining script output being flushed to disk.  Is there any way
to tell for sure?  And should this even be possible?  I've followed this
technique on my home machines several times and never got the script output
truncated like this.

I'm now cursing myself for putting the  reboot on there.  I can re-run the
make world procedure, but unless I figure out for sure what happened here
I'm afraid it's indicative of a more significant problem.

Thanks in advance.

--
Danny MacMillan


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


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


RE: Beginning C++ in FreeBSD

2004-04-20 Thread Dan MacMillan
From: Daniela
Sent: April 20, 2004 15:25

 I don't really have a specific example, but it's quite the same with human
 languages. The more often a text is translated, the more useless
information
 gets added to it. And if the original text is beautifully written, it is
 often total crap when you translate it back.

These are not analagous.  The reason things get lost in the translation of
human language is that it is not possible to represent every expression in
one human language with complete precision in another.  However, it =is=
possible to represent object orientation with complete precision in a
procedural language.  To support object orientation, C++ adds to C an
intrinsic this pointer and vtables.  These concepts can be expressed
explicitly in C without loss of fidelity.

-Dan

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


RE: Beginning C++ in FreeBSD

2004-04-17 Thread Dan MacMillan
From: Daniela
Sent: April 17, 2004 04:50

 OO languages can be optimized differently than non-OO languages, and
 when you translate one language into another, this advantage gets lost.

I challenge you to defend this claim with a specific example.

 I would rather say, assembly is fast and can be portable, if it's done
 properly.

How does one properly do an assembly language program for the x86
instruction set (for example) so that it will run on a StrongARM?

-Dan

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


RE: remote install of freebsd via ssh

2004-04-08 Thread Dan MacMillan
 From: Brian
 Sent: April 8, 2004 05:21

 Hello,
 Is there a way (or what is the best way) for installing freebsd
 remotely?  I have a nontechnical person at the site that can put
 in a cd or enter a few commands, but the thought of walking
 through a full install via the phone is not fun.  I would prefer
 to be able to use ssh for configuring.  Any suggestions would be
 a great help.

If the system is already running Linux, you can try the depenguinator.

http://www.daemonology.net/depenguinator/

I haven't used this and make no warranty or claim yadda yadda.

However, anything you're going to be able to do remotely is likely going to
be more difficult than guiding your Johnny on the spot through the install.
The core install is pretty simple.

-Dan

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


RE: Hi I have a suggestion! To Imporve the perfect Freebsd!

2004-03-28 Thread Dan MacMillan
 From: Jorn Argelo
 Sent: March 28, 2004 13:43
 
 ...
 
 By the way, I don't think that nerdly is an appropiate way to 
 adress the folks. They do great work. Perhaps I always saw it
 wrong, but I find nerd a negative way to describe a person who
 has interests in computers.
 
 ...

Agreed.  The correct term is geeky.

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


RE: Need assitance installin FreeBSD

2004-03-26 Thread Dan MacMillan
 -Original Message-
 From: Jerry McAllister
 
  On Tue, 23 Mar 2004 17:42:04 -0500 (EST)
  Jerry McAllister [EMAIL PROTECTED] wrote:
 
  snip
 
   Actually, I think the intention of the MINI-ISO is to boot and
   run the installation with everything loaded from one of the ftp
   sites.
 
  I believe you're thinking of the bootonly.iso (21MB) which is just
  the boot/sysinstall stuff.

 I don't remember seeing any bootonly.iso in what is offered under any
 of the regular directory trees on the main ftp.freebsd.org site.

 Maybe the mini.iso contains more than just /stand/sysinstall, but
 it still needs ftp access to do a complete install - or another CD.

ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/5.2.1/5.2.1-RELEASE-i386-b
ootonly.iso
ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/5.2.1/5.2.1-RELEASE-i386-m
iniinst.iso

-Dan

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


RE: FreeBSD - Linux / Unix ?

2004-03-26 Thread Dan MacMillan
 From: Jerry McAllister
 Sent: March 25, 2004 07:17

 Much of what the responder said here is right, but I think there might be
 just one little point to pick.

  ... lots excised ...

B.  Unix
  Depends on what you mean by Unix. There is code in it that
  derives from the original ATT UNIX.

 It is this.  Although the idea of Unix may have started in Bell Labs,
 I thought the big lawsuits 10+ years ago and lots of work by early
 developers settled that no code in the current BSD line can be said
 to derive from Bell Labs code.

Actually, that is not true.  The only point the lawsuits settled
definitively is that BSD did not infringe on USL's copyrights.  In fact it
was basically stipulated that some parts of NET/2 / BSDi =were= derived
(even copied) from the USL code, but that it didn't matter because the
copyrights being claimed had been abandoned or were invalid for one reason
or another.

-Dan

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


RE: Virtual terminal buffer?

2004-03-24 Thread Dan MacMillan
 From: Lowell Gilbert
 Sent: March 24, 2004 12:39

 Dan MacMillan [EMAIL PROTECTED] writes:

   From: Chris Pressey
   Sent: March 22, 2004 17:52
  
   On Mon, 22 Mar 2004 16:57:26 -0600 (CST)
   Eric F Crist [EMAIL PROTECTED] wrote:
  
Is there a way to clear the buffer after you've logged out of a
virtual terminal?
  
   Well, you could call 'echo' a hundred times in your .logout script :)
 
  I have found that a single call to 'clear' works almost as well.

 Almost but not quite; on the console, there's a history buffer with
 scrollback.

Yeah, I realized afterwards I hadn't quite understood what Eric was looking
for.  This is very educational.  :)

-Dan

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


RE: Virtual terminal buffer?

2004-03-23 Thread Dan MacMillan
 -Original Message-
 From: Chris Pressey
 Sent: March 22, 2004 17:52
 
 On Mon, 22 Mar 2004 16:57:26 -0600 (CST)
 Eric F Crist [EMAIL PROTECTED] wrote:
 
  Is there a way to clear the buffer after you've logged out of a 
 virtual terminal?  
 
 Well, you could call 'echo' a hundred times in your .logout script :)

I have found that a single call to 'clear' works almost as well.

-Danny MacMillan

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


RE: restricted shells

2004-03-22 Thread Dan MacMillan
Rick wrote:
 Hello,
 are there any restricted shells version in the ports collection?
 if there aren't where I Can find a restricted shell tar.gz to be
 compiled and isntalled? thanks

I'm sure there are many shells that run in restricted mode.  For example, I
use zsh, which behaves as a restricted shell if invoked with a -r option on
the command line or via a name beginning with 'r'.  That is to say, if you
create a symbolic link to 'zsh' named 'rzsh', then execute rzsh, the shell
is restricted.

-Danny

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


RE: time sync tool?

2004-03-20 Thread Dan MacMillan
 Zhang Weiwu Sent: March 20, 2004 20:28

 Hello. Is there a time sync tool for FreeBSD? My local clock seems alway
 several minutes late, can I run a daemon and sync with a time server once
 several day?

Yes, there is.  Take a look at man ntpd(8).

-Dan

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


RE: The clock is running too fast

2004-03-19 Thread Dan MacMillan
Hola

I'm sorry, I don't know what 'ntc' is.  Do you mean 'ntp'?  You can use ntp
or not ... if your timing hardware is off, ntp will constantly try to slew
the time back to where it should be, which will a) mean your systems concept
of time is very non-linear and b) fill the log with warning messages.  It's
actually a good check to see if the timer's good (although an slmost equally
good check is to sit there and look at the clock).

I forgot to mention that besides changing /etc/sysctl.conf, you have to
reboot.  If you don't want to reboot, you will have to do sysctl
kern.timecounter.hardware=i8254 at a prompt.  But I'm not sure if that's a
value that can be set after the system boots.

I suggested i8254 because it's the only device that was supplying good
time values on my system.  If you have trouble with that device, you might
also want to try TSC.

-Dan

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Stephen Liu
Sent: March 19, 2004 01:12
To: [EMAIL PROTECTED]
Subject: Re: The clock is running too fast


Hi Dan,

Thanks for your advice.

 I had a similar problem on one of the machines at work.  Here is a memo I
 made to myself to remind me of how to fix the problem in the future:

 The ACPI-safe Timecounter does not work (it is way, WAY too fast).  To
 get around this, add the following line to /etc/sysctl.conf:

 kern.timecounter.hardware=i8254

Added above line to /etc/sysctl.conf

$ cat /etc/sysctl.conf
vfs.usermount=1
kern.timecounter.hardware=i8254

Now only 2 lines in this file.

I have adjusted the clock thereafter and will check it again later

 There are multiple pieces of hardware capable of supplying timing
 information to the OS.  dmesg | grep Timecounter should give you a list
 of all such devices.

 I think this is an ACPI-related problem, since that is the technology I
 understand the least at the moment.

$ dmesg | grep Timecounter
Timecounter i8254 frequency 1193182 Hz quality 0
Timecounter ACPI-safe frequency 3579545 Hz quality 1000
Timecounter TSC frequency 350797051 Hz quality 800
Timecounters tick every 10.000 msec

Shall I run 'ntc' to synchronize the clock.

B.R.
Stephen



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Stephen Liu
 Sent: March 18, 2004 21:47
 To: [EMAIL PROTECTED]
 Subject: The clock is running too fast


 Hi folks,

 AMD CUP
 FreeBSD 5.2

 The clock on KDE desktop is running on double speed compelling me to
adjust
 it
 periodically.  Kindly advise how to fix this problem.

 TIA

 B.R.
 Stephen Liu

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

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


RE: Mail readers

2004-03-19 Thread Dan MacMillan
It's not just terminal mail readers that had the problem ... I'm using MS
Outlook 2000 and your problem messages also appeared screwy to me.  I don't
have any suggestions to contribute, just this observation.

-Dan

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Bart
Silverstrim
Sent: March 19, 2004 04:54
To: FreeBSD-questions Mailing List
Subject: Re: Mail readers



On Mar 19, 2004, at 2:49 AM, Gary W. Swearingen wrote:

 Bart Silverstrim [EMAIL PROTECTED] writes:

 No. Nothing. Format=flowed applies solely to plain-text messages. HTML
 messages already have something functionally equivalent to f=f: the
 BLOCKQUOTE attribute, which... um... quotes blocks of text. When f=f
 mailers that also can handle HTML encounter BLOCKQUOTE text, its
 usually marked up with the same excerpt bars were familiar with from
 f=f. Format=flowed isnt actually at work there, but since
 BLOCKQUOTE text flows nicely when you resize a window, the effect is
 the same.
 I've never heard of this f=f stuff and don't have time just now to
 investigate, but I'll keep typing anyway.  I think the problem is
 the same but worse.  f=f is probably spec'd in a new draft RFC and
 many mail readers don't support it, so your correspondents on a list
 list this can't handle it well.


According to the FAQ, it (f=f) was developed (IIRC) by Qualcomm to not
solve any problem in particular.  However, this form of formatting
would allow text to be easily formatted into columns readable by any
kind of simple display...i.e., PDAs and cellphones with text messaging
and email, etc. and at the same time it would easily scale to larger
(PC) displays with pretty formatting and proper wrapping.  Older
readers would just ignore the formatting characters and mangle it
accordingly.

Oddly enough (if my current theory holds) where the invisible f=f
formatting is inserted in an Apple app is dependent on the width of the
composition window...which on my iBook really sucks because this window
looks so NARROW compared to what I'm used to, hoping that other
people's mail readers work a little better with reading my posts to the
list.  I haven't heard other people complaining as much about my mail
wrapping at the 120 mark, so I'm hoping that maybe this will make it
easier for others...

It shouldn't be that hard for terminal mailers to adopt f=f, if I'm
understanding it properly...just be a matter of time.

-Bart

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

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


RE: How to get an overview of the installed ports

2004-03-19 Thread Dan MacMillan
pkg_tree is also available in the ports collection at
/usr/ports/sysutils/pkg_tree

-Dan

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Arek Czereszewski
Sent: March 19, 2004 02:47
To: Ronald Hoellwarth
Cc: [EMAIL PROTECTED]
Subject: Re: How to get an overview of the installed ports


Ronald Hoellwarth wrote:

Hello,

I've installed some apps and deinstalled them  again because I didn't
like them. While installing them other software was installed too but
I think it wasn't removed when I removed the unwanted programms.

Is there a possibility to get an overview which ports are installed and
how they are linked? something like this:

appA
needs appB appC
needed by appD appE appF

appB
needs -none-
needed by appA

...

Then I could go through the list and see which programms I have to
remove in order to get a cleaner system.

greetings from crailsheim, germany
ronald hllwarth



Try this app pkg_tree from page
http://www.mavetju.org/unix/general.php

Maybe help.



--
Arkadiusz Czereszewski  |  gg: 1349941
arek(at)wup-katowice.pl | jid: [EMAIL PROTECTED]
*NIX is like wigwam - no windows, no gates
 and apache inside.


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

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


Impact of running pkgdb -fu

2004-03-19 Thread Dan MacMillan
Hi,

I have a question about the effect of running pkgdb -fu, besides making me
laugh because of its whimsically profane command-line options.

Suppose I have been running pkgdb -F as suggested by portupgrade, and I
accidentally delete a stale dependency that should have been handled in
another way.  Will rebuilding the package database with pkgdb -fu restore
this dependency to its pristine, correct state?

On a related note ... I recently ran portupgrade -rRa, as is my wont, and
it suggested I run pkgdb -F.  So I did.  It reported as stale dependencies
packages that were never installed on my system.  Is this normal?  I haven't
seen it before.  For example it reported as a stale dependency of one of the
kde* packages the x11/nvidia driver.  Although I have that driver installed,
I downloaded and installed it by hand from the nVidia web site (I didn't
know it was available as a port).

Hence my question.  I accidentally said, remove this dependency to
pkgdb -F.  After realizing that the dependencies pkgdb -F was reporting
as stale were actually not installed, I built each of those ports which made
pkgdb -F stop complaining about them.  I also subsequently built the
x11/nvidia port, but it's the removal of that first dependency that's
keeping me up at night.  Hence my question regarding pkgdb -fu.  Does it
restore everything to its neat-and-tidy state?  Or am I cursed to live out
my days with a besmirched (or befouled, your choice) package database?

-Dan MacMillan

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


RE: Impact of running pkgdb -fu

2004-03-19 Thread Dan MacMillan
Kris Kennaway Sent: March 19, 2004 18:06
 On Fri, Mar 19, 2004 at 05:56:08PM -0700, Dan MacMillan wrote:
  Kris Kennaway Sent: March 19, 2004 17:46
   On Fri, Mar 19, 2004 at 05:34:38PM -0700, Dan MacMillan wrote:
   
I have a question about the effect of running pkgdb -fu,
besides making me laugh because of its whimsically profane
command-line options.
   
Suppose I have been running pkgdb -F as suggested by
portupgrade, and I accidentally delete a stale dependency
that should have been handled in another way.  Will
rebuilding the package database with pkgdb -fu restore
this dependency to its pristine, correct state?
  
   No, the dependency was removed from the installed package.  You need
   to explicitly restore it, e.g. by reinstalling it.
  
  Thanks for your reply ... but now I'm a little confused.  The 
  dependencies are stored in the packages themselves?  Would that be in
  the tarball in the /usr/ports/distfiles directory?  Where can I go to
  learn more about this, specifically the anatomy of a binary package
  and the structure of the package database?
 
 Packages register themselves in /var/db/pkg when installed.  Read the
 pkg_create and related manpages for more details.

Excellent.  Thank you for your kind attention.

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


RE: The clock is running too fast

2004-03-18 Thread Dan MacMillan
Hola,

I had a similar problem on one of the machines at work.  Here is a memo I
made to myself to remind me of how to fix the problem in the future:

The ACPI-safe Timecounter does not work (it is way, WAY too fast).  To get
around this, add the following line to /etc/sysctl.conf:

kern.timecounter.hardware=i8254

There are multiple pieces of hardware capable of supplying timing
information to the OS.  dmesg | grep Timecounter should give you a list of
all such devices.

I think this is an ACPI-related problem, since that is the technology I
understand the least at the moment.  :)

-Dan

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Stephen Liu
Sent: March 18, 2004 21:47
To: [EMAIL PROTECTED]
Subject: The clock is running too fast


Hi folks,

AMD CUP
FreeBSD 5.2

The clock on KDE desktop is running on double speed compelling me to adjust
it
periodically.  Kindly advise how to fix this problem.

TIA

B.R.
Stephen Liu

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

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


RE: Sound

2004-03-14 Thread Dan MacMillan
Put the following line in /boot/loader.conf:

snd_emu10k1_load=YES

You shouldn't need to compile pcm into your kernel -- there's a kld for it.
It won't hurt though.

-
Danny MacMillan

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Teilhard Knight
Sent: March 14, 2004 11:39
To: FreeBSD
Subject: Sound


I just checked my post with header: no sound, and I didn't mean to send
that. Lately Outlook express is not playing fair with me. Here is what I
wanted to send:

Now, I did my homework. I did exactly what the Handbook says, but I cannot
make my Creative Platinum Live SoundBlater card to produce sounds. I
compiled my kernel with the pcm driver, just that. And then I added what the
handbook says for non PnP ISA cards. Could you help?

Teilhard



30MB  250MB Web based, POP3  IMAP4 e-mail.

Sign up now: http://www.ghostmailbox.com


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

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