mplayer not in full screen mode

2002-12-18 Thread iuliand
Hello!
I have a problem that sounds like this:
I can see the image, I can hear the sound, but all I can see it's a default window 
size, I mean I can't see in full screen mode.
Here it's my video and audio outputs:

xv  X11/Xv
x11 X11 ( XImage/Shm )
gl  X11 (OpenGL)
gl2 X11 (OpenGL) - multiple textures version
dga DGA ( Direct Graphic Access V2.0 )
png PNG file
jpegJPEG file
nullNull video output
pgm PGM file
md5 MD5 sum
mpegpes Mpeg-PES file
yuv4mpegyuv4mpeg output for mjpegtools (to stream.yuv)


oss OSS/ioctl audio output
artsaRts audio output
nullNull audio output
mpegpes Mpeg-PES audio output
pcm RAW PCM/WAVE file writer audio output
plugin  Plugin audio outpu

I have installed sdl-1.2.4_1, but it's not in the mplayer's video output. 
If anybody hadthe same problem...
Thanks!

-- 
Iulian Dumbrava
ROMTELECOM. OM Network. IN Management Center 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Going from Windows to X - suggestions

2002-12-18 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-12-17 18:18:35 -0800:
  (12.17.2002 @ 1748 PST): Derrick Ryalls said, in 0.8K: 
  I have been using FreeBSD as a server via console for a while now, but I
  wanted to see what the GUI was like.  My only spare machine right now is
  a P-300 w/ about 16meg ram, so I won't be screaming along, but I wanted
  to start the process anyway.  I was looking through the ports, and I see
  a ton of options.
  
  What I am looking for is something simple to start with.  I figure a
  file manager of some sort, a web browser, and text editor for doing
  development work if I ever get to that point.
  
  I know I am being really vague, but there are so many options, I wanted
  to hear some recommendations.  Right now, I am thinking about going with
  KDE3 as I have heard the name before.
  end of Going from Windows to X - suggestions from Derrick Ryalls 
 
 Install KDE and/or gnome. Your call.
 
 kde3:
 cd /usr/ports/x11/kde3; make install clean
 
 gnome2:
 cd /usr/ports/x11/gnome2; make install clean
 cd /usr/ports/x11/gnome2-fifth-toe; make install clean

erm, KDE or Gnome in 16MB RAM? ahem...

Derrick, you'll want something lighter. KDE or Gnome is not really
needed: I survived the switch straight from W2k to AfterStep (which
I quickly left behind, but that's another story), and if such a
lamer I am hasn't dropped dead neither will you.

you have one fundamental problem: you won't want to build ports on
that slow box, but packages are often compiled with the kitchen sink
option turned on, which makes them somewhat bigger and slower.

My recommendations:

window manager: OpenBox. Light, fast, supports the NETWM hints.
terminal: rxvt. not as fancy as xterm, but half the size.
web browser: w3m. IMO the best text only browser.
text editor: vim. this may be pretty hard for a beginner, but the
help is really extensive, and you can practise in windows!

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Going from Windows to X - suggestions

2002-12-18 Thread Dan Pelleg
mike mcgranahan [EMAIL PROTECTED] writes:

 team).  As for web browsers, Phoenix or Galeon are
 best.

You can't use either with this little memory. My current favorite for
lightweight graphical browsing is dillo. Not too many features, and it
occasionally fails to load a page, but at least it starts up immediately
and doesn't take up all of your RAM. It also thankfully lacks the toolbars
and panels left and right, which is especially important for low-res
displays. It's in the ports.

-- 

  Dan Pelleg

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



is there a delete/backspace command on Freebsd ?

2002-12-18 Thread Malik Blent
Hello 


 I have a file.
 How can I backspace 5 character that start with expressions(the expression
 starts /aaa) in a file ?
 for example my file;
   /aaa/yy/
 /aaa/..
 
 
 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Going from Windows to X - suggestions

2002-12-18 Thread Miguel Mendez
On 18 Dec 2002 06:43:08 -0500
Dan Pelleg [EMAIL PROTECTED] wrote:


Hi,
 
  team).  As for web browsers, Phoenix or Galeon are
  best.
 
 You can't use either with this little memory. My current favorite for
 lightweight graphical browsing is dillo. Not too many features, and it

I'd like to add links to that. When invoked with the -g option it opens
a window and enables graphics loading. And the fonts look incredible :)
Of course, it's also in ports.

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: mplayer not in full screen mode

2002-12-18 Thread Bjarne Wichmann Petersen
On Wednesday 18 December 2002 13:35, [EMAIL PROTECTED] wrote:
 Hello!
 I have a problem that sounds like this:
 I can see the image, I can hear the sound, but all I can see it's a default
 window size, I mean I can't see in full screen mode. Here it's my video and
 audio outputs:

Have you tried starting mplayer with -fs? Are you starting with gui, try with 
-nogui. What videooutput are you using. -vo xv?

Bjarne
-- 
Homepage: http://www.mekanix.dk


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: mplayer not in full screen mode

2002-12-18 Thread Adam Weinberger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 (12.18.2002 @ 0435 PST): [EMAIL PROTECTED] said, in 1.1K: 
 Hello!
 I have a problem that sounds like this:
 I can see the image, I can hear the sound, but all I can see it's a default window 
size, I mean I can't see in full screen mode.
 Here it's my video and audio outputs:
 
   xv  X11/Xv
 x11 X11 ( XImage/Shm )
 gl  X11 (OpenGL)
 gl2 X11 (OpenGL) - multiple textures version
 dga DGA ( Direct Graphic Access V2.0 )
 png PNG file
 jpegJPEG file
 nullNull video output
 pgm PGM file
 md5 MD5 sum
 mpegpes Mpeg-PES file
 yuv4mpegyuv4mpeg output for mjpegtools (to stream.yuv)
 
   
   oss OSS/ioctl audio output
 artsaRts audio output
 nullNull audio output
 mpegpes Mpeg-PES audio output
 pcm RAW PCM/WAVE file writer audio output
 plugin  Plugin audio outpu
 
 I have installed sdl-1.2.4_1, but it's not in the mplayer's video output. 
 If anybody hadthe same problem...
 Thanks!
 end of mplayer not in full screen mode from [EMAIL PROTECTED] 

Fullscreen doesn't work right using -vo x11. Use -vo xv if your X server
supports it.

Having the GUI running has prevented me from going fullscreen before.
Try disabling the GUI and see if that fixes it for you.

# Adam


- --
Adam Weinberger
vectors.cx[EMAIL PROTECTED]
FreeBSD.org   [EMAIL PROTECTED]
Bayer Berkeley[EMAIL PROTECTED]
#vim:set ts=8: 8-char tabs prevent tooth decay.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+AG4Po8KM2ULHQ/0RAudfAKDZFdoZMHgsAIiyy01rVZzK06NFfACcDqMG
pnX2EOmYLT6AHBEC/J6dhHo=
=ZRup
-END PGP SIGNATURE-

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: mplayer not in full screen mode

2002-12-18 Thread iuliand
On Wed, 18 Dec 2002 04:46:07 -0800
Adam Weinberger [EMAIL PROTECTED] wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
  (12.18.2002 @ 0435 PST): [EMAIL PROTECTED] said, in 1.1K: 
  Hello!
  I have a problem that sounds like this:
  I can see the image, I can hear the sound, but all I can see it's a default window 
size, I mean I can't see in full screen mode.
  Here it's my video and audio outputs:
  
  xv  X11/Xv
  x11 X11 ( XImage/Shm )
  gl  X11 (OpenGL)
  gl2 X11 (OpenGL) - multiple textures version
  dga DGA ( Direct Graphic Access V2.0 )
  png PNG file
  jpegJPEG file
  nullNull video output
  pgm PGM file
  md5 MD5 sum
  mpegpes Mpeg-PES file
  yuv4mpegyuv4mpeg output for mjpegtools (to stream.yuv)
  
  
  oss OSS/ioctl audio output
  artsaRts audio output
  nullNull audio output
  mpegpes Mpeg-PES audio output
  pcm RAW PCM/WAVE file writer audio output
  plugin  Plugin audio outpu
  
  I have installed sdl-1.2.4_1, but it's not in the mplayer's video output. 
  If anybody hadthe same problem...
  Thanks!
  end of mplayer not in full screen mode from [EMAIL PROTECTED] 
 
 Fullscreen doesn't work right using -vo x11. Use -vo xv if your X server
 supports it.
 
 Having the GUI running has prevented me from going fullscreen before.
 Try disabling the GUI and see if that fixes it for you.
 
 # Adam
Thanks! That's it!
 
 
 - --
 Adam Weinberger
 vectors.cx  [EMAIL PROTECTED]
 FreeBSD.org [EMAIL PROTECTED]
 Bayer Berkeley  [EMAIL PROTECTED]
 #vim:set ts=8: 8-char tabs prevent tooth decay.
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.1 (FreeBSD)
 
 iD8DBQE+AG4Po8KM2ULHQ/0RAudfAKDZFdoZMHgsAIiyy01rVZzK06NFfACcDqMG
 pnX2EOmYLT6AHBEC/J6dhHo=
 =ZRup
 -END PGP SIGNATURE-


-- 
Iulian Dumbrava
ROMTELECOM. OM Network. IN Management Center 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: More..Re: ipf - IPFILTER_DEFAULT_BLOCK ...This is not workingas predicted! Help?

2002-12-18 Thread Fernando Gleiser
On Wed, 18 Dec 2002, Keith Spencer wrote:

 Hi again,
 OK what I meant was apart from having changed an
 interface (tun0 not ed0) the ruleset is identical. And
 the rule set works! It dials out  everything...It only
 works iff the default_block option is not active.
 As you can see quick is there. So how can it be that I
 do exactly what Marty S does and no one else reports
 hassles with it? Any clues Fer et al?

Yes. First: send *the rules file YOU are using*, to the one you used as a
base and then modified.

Second: answer all the questions I made in an earlier mail and post them.

Third: post the output of 'ifconfig -a', 'ipfstat -hio'


Fer


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Asus P4PE AC97 Codec

2002-12-18 Thread Rick Lotoczky
Is the AC97 codec on the Asus P4PE motherboard supported?  How do I get 
4.7-Stable to recognize it?



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


weirdness - timezone altered.

2002-12-18 Thread Will Mitayai Keeso Rowe

i'm experiencing something *very* weird.

php and mysql and other apps on two of three of my servers are suddenly
are defaulting to GMT rather than my locale. 

no system updates. 

no software updates (that I know of).

All are FreeBSD 4.7-STABLE from around Thu Nov 14 22:10:59 EST 2002 

I run 'date' from the command line and get the proper time zone. i
checked my system's locale... EST.

example:

http://www.trinhnu.net/test.php

this code is:

http://www.trinhnu.net/test.phps

exact same code on another server:

http://arachne.dreamlabs.com/test.php

and yet...

http://squirt.dreamlabs.com/test.php


I don't understand

any ideas? ever seen this before?





__
DreamLabs.com/Mitayai.Net, Inc. 
251A Gerrard Street East
Toronto, ON M5A 2G1 Canada
phone: +1.888.744-3306
fax: +1.888.717-1113web: http://www.dreamlabs.com/ 
email: [EMAIL PROTECTED]
--
This e-mail and any files and other information transmitted with it are
considered private, may be confidential and proprietary information, and
are solely for the use of the intended recipient.  If you are not the
intended recipient, you may not disclose, distribute, copy, print or
otherwise use the information in this transmission.  Please destroy it
immediately and notify the sender by telephone or e-mail.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



update: weirdness - timezone altered.

2002-12-18 Thread Will Mitayai Keeso Rowe
ok, we had to manually unset the TZ variable, and that worked... I
think. but I still don't understand how it got screwed in the first
place...

-Mit

--original message--

i'm experiencing something *very* weird.

php and mysql and other apps on two of three of my servers are suddenly
are defaulting to GMT rather than my locale. 

no system updates. 

no software updates (that I know of).

All are FreeBSD 4.7-STABLE from around Thu Nov 14 22:10:59 EST 2002 

I run 'date' from the command line and get the proper time zone. i
checked my system's locale... EST.

example:

http://www.trinhnu.net/test.php

this code is:

http://www.trinhnu.net/test.phps

exact same code on another server:

http://arachne.dreamlabs.com/test.php

and yet...

http://squirt.dreamlabs.com/test.php


I don't understand

any ideas? ever seen this before?





__
DreamLabs.com/Mitayai.Net, Inc. 
251A Gerrard Street East
Toronto, ON M5A 2G1 Canada
phone: +1.888.744-3306
fax: +1.888.717-1113web: http://www.dreamlabs.com/ 
email: [EMAIL PROTECTED]
--
This e-mail and any files and other information transmitted with it are
considered private, may be confidential and proprietary information, and
are solely for the use of the intended recipient.  If you are not the
intended recipient, you may not disclose, distribute, copy, print or
otherwise use the information in this transmission.  Please destroy it
immediately and notify the sender by telephone or e-mail.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Kazaa

2002-12-18 Thread Adam Weinberger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 (12.18.2002 @ 0313 PST): Wayne Swart said, in 0.2K: 
 Lo everyone
 
 Is there a client for linux/bsd to connect to kazaa?
 end of Kazaa from Wayne Swart 

KazaaLite claims to work under Wine. I've never gotten Wine to run
anything more than a dinky keygen program.

# Adam


- --
Adam Weinberger
vectors.cx[EMAIL PROTECTED]
FreeBSD.org   [EMAIL PROTECTED]
Bayer Berkeley[EMAIL PROTECTED]
#vim:set ts=8: 8-char tabs prevent tooth decay.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+AG2Io8KM2ULHQ/0RAiWUAJ9bvWRzxP5fzasQNlkd1aQqqFExMQCgn8x6
0iFQG4MD3w1mF3i0DZa+41w=
=Ic01
-END PGP SIGNATURE-

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: gateway on different subnet

2002-12-18 Thread J. W. Ballantine

Yes, from netbsd since the default of an empty file didn't work:

 /etc/dhclient.conf
   # $FreeBSD: src/etc/dhclient.conf,v 1.2.2.1 2001/12/14 11:44:31 rwatson Exp 
$
   #
   #   This file is required by the ISC DHCP client.
   #   See ``man 5 dhclient.conf'' for details.
   #
   #   In most cases an empty file is sufficient for most people as the
   #   defaults are usually fine.
   #
   send host-name tinlizzie.hlb.cable.rcn.com;
   send dhcp-client-identifier tinlizzie.hlb.cable.rcn.com;

   timeout 60;
   reboot 10;

   retry 60;
   select-timeout 5;
   initial-interval 2;
   
   #script /etc/dhclient-script
   
   interface xl0 {
  
request subnet-mask, broadcast-address, routers, domain-name-servers,
domain-name, host-name;
require domain-name-servers;
media link2;
   }

 /etc/dhclient-script
#!/bin/sh

PATH=/bin:/sbin:/usr/bin

if [ $CALLOUT_STATE = end ]; then
  if [ x$reason = xBOUND -o x$reason = xREBOOT]; then
if [ x$new_host_name != x ]; then
  if [ x$new_domain_name != x ]; then
hostname $new_host_name.$new.domain_name
echo New Hostname: $new_host_name.$new.domain_name
  else
hostname $new_host_name
echo New Hostname: $new_host_name
  fi
fi
  fi
fi


 /etc/start_if.xl0
#!/bin/sh

/sbin/dhclient xl0



--  In Response to your message -

  Date:  Mon, 16 Dec 2002 14:26:34 -0800 (PST)
  To:  J. W. Ballantine [EMAIL PROTECTED]
  From:  Brian [EMAIL PROTECTED]
  Subject:  Re: gateway on different subnet 

  no default entry in your netstat -rn, I am amazed you are not getting this
  via dhcp.  You have an /etc/dhclient.conf?
  
   Brian
  
  
  On Mon, 16 Dec 2002, J. W. Ballantine wrote:
  
  
   Here are the leases, ifconfig and netstat:
  
  
   tinlizzie# cat /var/db/dhclient.leases
   lease {
 interface xl0;
 fixed-address 209.122.66.XXX;  (ND I changed the last part of the addres
s)
 medium link2;
 option subnet-mask 255.255.255.0;
 option routers 10.17.47.37;
 option dhcp-lease-time 900;
 option dhcp-message-type 5;
 option domain-name-servers 207.172.3.9,207.172.3.8;
 option dhcp-server-identifier 10.17.47.37;
 option dhcp-renewal-time 450;
 option dhcp-rebinding-time 787;
 option host-name tinlizzie.hlb.cable.rcn.com;
 option domain-name hlb.cable.rcn.com;
 renew 3 2002/12/11 18:23:28;
 rebind 3 2002/12/11 18:29:55;
 expire 3 2002/12/11 18:31:48;
   }
  
   tinlizzie# netstat -rn
   Routing tables
   Internet:
   DestinationGatewayFlagsRefs  Use  Netif Expire
   10.17.47.3700:01:02:54:ca:dd  UHS 00xl0
   127.0.0.1  127.0.0.1  UH  00lo0
   Internet6:
   Destination   Gateway   Flags
   Netif
Expire
   ::1   ::1   UH
  lo0
   fe80::%xl0/64 link#1UC
  xl0
   fe80::201:2ff:fe54:cadd%xl0   00:01:02:54:ca:dd UHL   
  lo0
   fe80::%lo0/64 fe80::1%lo0   Uc
  lo0
   fe80::1%lo0   link#4UHL   
  lo0
   ff01::/32 ::1   U 
  lo0
   ff02::%xl0/32 link#1UC
  xl0
   ff02::%lo0/32 ::1   UC
  lo0
  
  
  
   tinlizzie# ifconfig xl0
   xl0: flags=c843UP,BROADCAST,RUNNING,SIMPLEX,LINK2,MULTICAST mtu 1500
   options=3rxcsum,txcsum
   inet6 fe80::201:2ff:fe54:cadd%xl0 prefixlen 64 scopeid 0x1
   ether 00:01:02:54:ca:dd
   media: Ethernet autoselect (10baseT/UTP)
   status: active
  
  
   --  In Response to your message -
  
 Date:  Mon, 16 Dec 2002 12:09:12 -0800
 To:  Marco Radzinschi [EMAIL PROTECTED],
   J. W. Ballantine [EMAIL PROTECTED]
 From:  Brian [EMAIL PROTECTED]
 Subject:  Re: gateway on different subnet
   
 If you just do a dhcp setup, do an ifconfig -a, netstat -r and paste th
e
 results.
   
 Bri
   
 - Original Message -
 From: J. W. Ballantine [EMAIL PROTECTED]
 To: Marco Radzinschi [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Monday, December 16, 2002 11:54 AM
 Subject: Re: gateway on different subnet
   
   
 
  When I do the route add default, I get:
 
  tinlizzie# route -v add -net default 10.17.47.37
  u: inet 0.0.0.0; u: inet 10.17.47.37; u: inet 0.0.0.0; RTM_ADD: Add R
oute:
 len
  128, pid: 0, seq 1, errno 0, flags:UP,GATEWAY,STATIC
  
  locks:  inits:
  sockaddrs: DST,GATEWAY,NETMASK
   default 10.17.47.37 default
  

Re: badblocks

2002-12-18 Thread Stephen Hovey

I'd like to know myself if there is something for IDE drives.  Its the
thing keeping me from using IDE

On Wed, 18 Dec 2002, Paulo Roberto wrote:

 Hello,
 
 Is there an application in FreeBSD that tests a media (floppy) for
 read/writing errors such as 'badblocks' in Linux?
 
 thanks,
 
 Paulo Roberto
 
 __
 Do you Yahoo!?
 Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
 http://mailplus.yahoo.com
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: a Cisco Question

2002-12-18 Thread Dru


On Wed, 18 Dec 2002, Wayne Swart wrote:

 lo all you clever ppl

 i am such a newbie to cisco and all routers for that matter:

 we have got a 65K diginet leased line to one of our clients. the line has
 been tested and is deffenatly up, but i get this error when telnetting to
 the router and doing a show interface:

 Serial1/7 is up, line protocol is down

 does it mean that their line is up, but the router on the other side is
 down ?

Hi Wayne,

That line in the sh int shows the results of Layer 1 and Layer 2. The
first part indicates that the hardware (layer 1) is working. The second
part indicates there is a problem with Layer 2. Which could be: clocking
mismatch, keepalive mismatch, frame mismatch, wrong signalling type. Did
you change the default serial encapsulation of HDLC to something else?
Cisco HDLC is proprietary to Cisco and will only let you connect to
another Cisco device.

HTH,

Dru


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Are There any Free Tools to do Remote SQL Queries?

2002-12-18 Thread Martin McCormick
My sincerest thanks to everyone who responded to my
question.  All of you sent a wide range of good suggestions of
which we went the PHP route although one never knows when this
will arise again so I will keep all the answers on file.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Getting Perl scripts to work as mail filters

2002-12-18 Thread Mxsmanic
I can't find an answer to this question anywhere, after two hours of
searching the Web:

What do I have to do to make a simple Perl script filter incoming mail for a
mailbox?  I wrote a script that just reads standard input and writes it to
standard output, then put it in my home directory, then changes
/etc/mail/aliases to point to it, like this:

mymail:|/usr/home/mymail/perlfilter

But when I actually send mail to this address, it just disappears--no error
message, nothing.  When I execute the same program by hand, it works fine.
If I remove the alias, the mail is delivered just fine, too.  What am I
missing??  The Perl program has 755 for permissions and has mymail:users as
its userid and group.  The first line points to the location of Perl in the
usual way.  I am at a loss for ideas as to why this isn't working.  The
sendmail manual seems to indicate that it just pipes the e-mail message into
this script, then delivers whatever comes out of standard output, but it
doesn't seem to work.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Getting Perl scripts to work as mail filters

2002-12-18 Thread Mxsmanic
I can't find an answer to this question anywhere, after two hours of
searching the Web:

What do I have to do to make a simple Perl script filter incoming mail for a
mailbox?  I wrote a script that just reads standard input and writes it to
standard output, then put it in my home directory, then changes
/etc/mail/aliases to point to it, like this:

mymail:|/usr/home/mymail/perlfilter

But when I actually send mail to this address, it just disappears--no error
message, nothing.  When I execute the same program by hand, it works fine.
If I remove the alias, the mail is delivered just fine, too.  What am I
missing??  The Perl program has 755 for permissions and has mymail:users as
its userid and group.  The first line points to the location of Perl in the
usual way.  I am at a loss for ideas as to why this isn't working.  The
sendmail manual seems to indicate that it just pipes the e-mail message into
this script, then delivers whatever comes out of standard output, but it
doesn't seem to work.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Getting Perl scripts to work as mail filters

2002-12-18 Thread Mxsmanic
I can't find an answer to this question anywhere, after two hours of
searching the Web:

What do I have to do to make a simple Perl script filter incoming mail for a
mailbox?  I wrote a script that just reads standard input and writes it to
standard output, then put it in my home directory, then changes
/etc/mail/aliases to point to it, like this:

mymail:|/usr/home/mymail/perlfilter

But when I actually send mail to this address, it just disappears--no error
message, nothing.  When I execute the same program by hand, it works fine.
If I remove the alias, the mail is delivered just fine, too.  What am I
missing??  The Perl program has 755 for permissions and has mymail:users as
its userid and group.  The first line points to the location of Perl in the
usual way.  I am at a loss for ideas as to why this isn't working.  The
sendmail manual seems to indicate that it just pipes the e-mail message into
this script, then delivers whatever comes out of standard output, but it
doesn't seem to work.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



X and kern_securelevel

2002-12-18 Thread Soup4you2
Riddle me this batman..

Environment
FreeBSD xx 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Mon Oct 21
17:33:06 EST 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SOUPX 
i386

Description
Why is it that if i slap :
kern_securelevel_enable=YES
kern_securelevel=1

inside my rc.conf i am no longer able to start X
i get the following error message

Fatal server error:
xf86EnableIO: Failed to open /dev/io for extended I/O

where as if i disable kern_securelevel it works fine..




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Getting Perl scripts to work as mail filters

2002-12-18 Thread Matthew Seaman
On Wed, Dec 18, 2002 at 02:46:14PM +0100, Mxsmanic wrote:

 What do I have to do to make a simple Perl script filter incoming mail for a
 mailbox?  I wrote a script that just reads standard input and writes it to
 standard output, then put it in my home directory, then changes
 /etc/mail/aliases to point to it, like this:
 
 mymail:|/usr/home/mymail/perlfilter
 
 But when I actually send mail to this address, it just disappears--no error
 message, nothing.  When I execute the same program by hand, it works fine.
 If I remove the alias, the mail is delivered just fine, too.  What am I
 missing??  The Perl program has 755 for permissions and has mymail:users as
 its userid and group.  The first line points to the location of Perl in the
 usual way.  I am at a loss for ideas as to why this isn't working.  The
 sendmail manual seems to indicate that it just pipes the e-mail message into
 this script, then delivers whatever comes out of standard output, but it
 doesn't seem to work.

I believe that sendmail will consider the e-mail to have been
delivered if it can pipe it into your script and the script returns a
successful exit code.  It won't treat the script as a filter: that is,
it won't read the script's output and treat that as a message to
deliver.  Anything your script writes to stdout will be silently
discarded.

If you want that re-mailing effect then you're going to have to make
the script fire up another instance of sendmail, and pipe the output
message from the perl script into sendmail yourself.  Beware of mail
loops though --- make sure you modify the 'To:' header of the message
as it passes through the filter sufficiently that it doesn't hit the
alias expansion again.  Alternatively, take a look at procmail(8)
which can be used to pass a message through a filter program and then
re-send it to a new address.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
  Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



RE: Getting Perl scripts to work as mail filters

2002-12-18 Thread Barry Byrne

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Mxsmanic

 What do I have to do to make a simple Perl script filter incoming
 mail for a
 mailbox?  I wrote a script that just reads standard input and writes it to
 standard output, then put it in my home directory, then changes
 /etc/mail/aliases to point to it, like this:

 mymail:|/usr/home/mymail/perlfilter

 But when I actually send mail to this address, it just
 disappears--no error

Are you sure there is no error - did you check the sendmail log?

You will need to ensure the script is listed in your sm.bin directory (man
smrsh).

Briefly:

in /etc/mail/aliases:

mymail: | perlfilter

in sm.bin (location varies - possibly /usr/libexec/sm.bin)

ln -s /path/to/my/perfilter perlfilter

Cheers,

Barry


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Going from Windows to X - suggestions

2002-12-18 Thread Marco Radzinschi
On Wed, 18 Dec 2002, Raphaël Dingé wrote:

  Install KDE and/or gnome. Your call.
 
  I'm new to FreeBSD myself, having used blackbox window
  manager on a P133 with 48MB of RAM.  Though it's not
  impossible, with only 16MB or RAM, GNOME or KDE would
  probably be pushing it; you'd be using your swap slice
  continuously.  I recommend blackbox, though it's not
  as full-featured as the above.  However, it's quite
  easy to set up.

 I'm not sure that this won't do it either. I had made an
 installation of FreeBSD on old laptop with 32MB Ram.
 X was taking about all of it, I did put WMaker on top of it,
 which did not take too much memory itself.
 I had seen that 32MB was definitively not enough, but even 48MB
 would have been great !

 Anyway, If you find some solutions with 16 MB Ram, I would be
 happy to know it, since I can't use my old laptop for now.

 Thanks,

 Raphael

I imagine that FVWM would work.

KDE and GNOME were too slow for my taste on my Pentium II 400 machine with
384 MB RAM, so I don't want to imagine how that would run with 16 MB RAM.

On the other hand, that was with XFree86 4, but it might have run well
had I tried it with XFree86 3.  You may want to consider not running
XFree86 4.

http://www.fvwm.org

Marco Radzinschi
E-Mail: [EMAIL PROTECTED]

Wed Dec 18 09:15:47 EST 2002


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Getting Perl scripts to work as mail filters

2002-12-18 Thread Mxsmanic
'Are you sure there is no error - did you check the sendmail log?'

Yup.  maillog mentions the message being sent, but indicates no error.

'You will need to ensure the script is listed in your sm.bin directory (man
smrsh).'

I thought smrsh was not enabled by default (?).  Also, if it couldn't find
it at all, wouldn't I get an error or something?

I even tried changing the script to write directly to /var/mail/mymail to
append the message to the actual mailbox, but that does nothing--no effect.
Works fine from the command line, though.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



RE: Getting Perl scripts to work as mail filters

2002-12-18 Thread Barry Byrne

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Mxsmanic

 'Are you sure there is no error - did you check the sendmail log?'
 
 Yup.  maillog mentions the message being sent, but indicates no error.

Can you post the log entry - does it say mailer=prog ?

 - Barry

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: a Cisco Question

2002-12-18 Thread Jack L. Stone
At 09:24 AM 12.18.2002 +0200, Wayne Swart wrote:

We have done the loopback test, and the line its self proves to be up.
So the only thing i can think of is that the router on the other side is
down.



...or they don't have you programmed in their router and thus no protocal
is recognized. Again, sounds like they should take a closer look to
eliminate any missing steps on their side.

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: how to change installworld installation root directory?

2002-12-18 Thread Giorgos Keramidas
On 2002-12-18 09:35, Thomas Spreng [EMAIL PROTECTED] wrote:
 On Tue, Dec 17, 2002 at 05:50:07PM -0800, Kent Stewart wrote:
  On Tuesday 17 December 2002 07:51 am, Matthew Seaman wrote:
  
   make installworld DESTDIR=/mnt
  
   installs everything relative to /mnt instead of / --- see
   jail(8) for some examples of doing just that.
 
  What I do is create /usr/src and /usr/obj as their own 1.5 GB
  partitions. That is 4-5x larger than I need. Then, I can NFS_mount
  them on any system as /usr/src and /usr/obj. You don't have to
  play games with names, DESTDIR, or etc.

 why would you want /usr/obj nfs mounted as well?

Because make installworld will find any compiled programs under that
path, and copy them to their destination.  /usr/src doesn't contain
executables or libraries[1].  The sources from /usr/src are compiled
to executables and saved under /usr/obj.

If you don't have machines of completely different architectures, you
can buildworld once, then mount /usr/obj and /usr/src as many times as
you want and install the same userland/kernel to a lot of machines.

- Giorgos

[1] Not 100% true, but if you follow the recommended instructions for
doing upgrades through source, this is what happens.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Intel EtherExpress Pro 100 w/ WOL

2002-12-18 Thread J. Seth Henry
The Wake on Lan functionality operates below the operating system level.
It's actually a signal to the mainboard that simulates the power button
(though it can only turn a system ON as far as I know). This feature
should work fine for any system whose BIOS supports it, though I can't
imagine turning a *BSD system off? ;)

The onboard management stuff is a mixed bag. Some of that is just renamed
functionality (it has a boot NVRAM that can be programmed through the
card, etc). Other things, like the ProSet software is windows only. Even
so, it's still a good card. The controller chip on that card is widely
used on motherboards that have integrated ethernet, so it enjoys
widespread support by practically every PC operating system.

Regards,
Seth Henry


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: gateway on different subnet

2002-12-18 Thread Fernando Gleiser
On Wed, 18 Dec 2002, J. W. Ballantine wrote:


 OK:

   # killall dhclient; dhclient xl0
  VERY LONG PAUSE...
   # ifconfig xl0
   xl0: flags=c843UP,BROADCAST,RUNNING,SIMPLEX,LINK2,MULTICAST mtu 1500
   options=3rxcsum,txcsum
   inet6 fe80::201:2ff:fe54:cadd%xl0 prefixlen 64 scopeid 0x1
   ether 00:01:02:54:ca:dd
   media: Ethernet autoselect (10baseT/UTP)
   status: active
   # netstat -nrf inet

Again, you don't have an IP address. Try 'grep dhclient /var/log/messages'
and tell me what it says. If there is an error, it should be logged.


Fer


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: is there a delete/backspace command on Freebsd ?

2002-12-18 Thread Matthew Seaman
On Wed, Dec 18, 2002 at 01:29:59PM +0200, Malik Bülent wrote:

  I have a file.
  How can I backspace 5 character that start with expressions(the expression
  starts /aaa) in a file ?
  for example my file;
/aaa/yy/
  /aaa/..
  

If you mean how can I delete each instance of 5 characters starting
with /aaa from a file, then something like this should do it:

perl -pi.bak -e 's:/aaa.::g;' filename

which deletes the /aaa and the following (fifth) character. If you
mean to delete the 5 characters immediately *following* /aaa then:

perl -pi.bak -e 's:(?=/aaa).{5}::g' filename

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
  Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Earn money with your computer!

2002-12-18 Thread lsp96789qp046
Good morning fellow marketer - 


Do you like long, boring sales pitch emails?  Me neither.

It's simple:  We have found a way to make money, using the
internet, from home.  It's not get rich quick, and it does
take work.  But it does work - we are doing it and people in
my group are making substantial incomes!

Want to know how?  Just send an email to:  [EMAIL PROTECTED]
with the subject line Send the info! and I will make sure you
get the details.

Unsubscribing: Send a blank email to: [EMAIL PROTECTED]
with Remove in the subject line.

This message is not intended for residents of the state of
Washington, and screening of addresses has been done to the best
of our technical ability.  If you are Washington resident or 
otherwise wish to be removed from this list, just follow the
removal instructions above.

9963cJUP2-719QHvg1569QHoO5-987EjRP3288ZQlm0-401VQsL3564zuVz4-483vgum0l65¡Iì¹»®Þ±éݙ¨¥¶‰šŽŠÝ¢j­çH:+ƒ­†éì¹»®Þ~·žnÇj¹ë-Š‰ìŠ{ayºʇí…鞲Ơ


RE: My Cisco Problem

2002-12-18 Thread Brian McCann
I set up several of these every few months (I teach at a college where
we teach students to configure serial lines on 2500s).  The most common
problems I see are encapsulation mismatch, no clockrate set or set
wrong, and I've even seen line protocol down when there is no IP
configured...but I think that was a PEBKAC problem.  Chances are your
line is fine, and you have to take this up with your ISP.  I'd email
them or read them your config for that interface and have them confirm
that it's right, and have them double check theirs.

Hope I Helped,
--Brian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Wayne Swart
Sent: Wednesday, December 18, 2002 2:41 AM
To: FreeBSD Mailing list
Subject: My Cisco Problem


Lo, tis me again :)

I not placed the NTU (terminating unit) on my side in loopback mode.

Now i get: Serial1/7 is up, line protocol is down (looped)

Do i take it the problem is on my router then hey?


thnks

wayne


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Kazaa

2002-12-18 Thread Edmond Baroud
I'm using Kazaalite under wine and its working fine for me like all
other win9x executables that I have installed using the crossover
plugin. (except quicktime!@$#%).
try http://www.codeweavers.com/products/crossover/ to install the software u wanna use 
with
wine. u might also need to take a look at man wine.conf :)

Ed.

Quoting Adam Weinberger ([EMAIL PROTECTED]):
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
  (12.18.2002 @ 0313 PST): Wayne Swart said, in 0.2K: 
  Lo everyone
  
  Is there a client for linux/bsd to connect to kazaa?
  end of Kazaa from Wayne Swart 
 
 KazaaLite claims to work under Wine. I've never gotten Wine to run
 anything more than a dinky keygen program.
 
 # Adam
 
 
 - --
 Adam Weinberger
 vectors.cx  [EMAIL PROTECTED]
 FreeBSD.org [EMAIL PROTECTED]
 Bayer Berkeley  [EMAIL PROTECTED]
 #vim:set ts=8: 8-char tabs prevent tooth decay.
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.1 (FreeBSD)
 
 iD8DBQE+AG2Io8KM2ULHQ/0RAiWUAJ9bvWRzxP5fzasQNlkd1aQqqFExMQCgn8x6
 0iFQG4MD3w1mF3i0DZa+41w=
 =Ic01
 -END PGP SIGNATURE-
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

-- 
Edmond Baroud 
UNIX Systems Admin mailto:[EMAIL PROTECTED]
Fingerprint  140F 5FD5 3FDD 45D9 226D  9602 8C3D EAFB 4E19 BEF9
UNIX is very user friendly, it's just picky about who its friends are.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Going from Windows to X - suggestions

2002-12-18 Thread Franklin Pierce
- Original Message -
From: Derrick Ryalls [EMAIL PROTECTED]
Date: Tue, 17 Dec 2002 17:48:24 -0800
To: [EMAIL PROTECTED]
Subject: Going from Windows to X - suggestions

 I have been using FreeBSD as a server via console for a while now, but I
 wanted to see what the GUI was like.  My only spare machine right now is
 a P-300 w/ about 16meg ram, so I won't be screaming along, but I wanted
 to start the process anyway.  I was looking through the ports, and I see
 a ton of options.
 
 What I am looking for is something simple to start with.  I figure a
 file manager of some sort, a web browser, and text editor for doing
 development work if I ever get to that point.
 
 I know I am being really vague, but there are so many options, I wanted
 to hear some recommendations.  Right now, I am thinking about going with
 KDE3 as I have heard the name before.
 

xset +dpms dpms 180 600 1200 
xsetroot -cursor_name ul_angle -solid grey36 -name No 
bclock -geometry -0-0 
xv -root -rmode 5 -maxpect -quit ~/cerenecrentiles.jpg 
#xv -root -rmode 2 -quit ~/pokey2\(sadness\).gif 
evilwm -fg DarkOrchid -bg grey34 -term /usr/X11R6/bin/xterm2 
exec launcher

# Notes:
# 1.  Very low memory $foosprintf() [garbled] without trimmings
# 2.  Understands swahili, supports locale en_BFE
# 3.  [garbled] but you'd better have thought w32${foo}${bark}
#  was at least a step backwards, sometimes two.
# 4.  [untranslated (profane)]
# 5.  Stop me if you've heard this one before:  evilwm is fscking
# unusable, isn't it?  I mean, paints that [untranslated (profane)]
# bikeshed some ${DIETY}-awful shade of blue that just goes
# with nothing.  It's like having an upside down 1973 DeTomaso
# Pantera filled with asthmatic squirrels in your living room.
# *** ACK ACK!!!  VORSICHT!!! ***
# 6.  Translates everything into profanity-laden French!
#
# 7.  Love, Franklin Pierce
-- 
___
Get your free email from http://mymail.operamail.com

Powered by Outblaze

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



RE: compact flash use

2002-12-18 Thread J. Seth Henry
Randall,
I took a look at the adapter, and it appears to support multiple formats.
This could be the source of your problem. I use a much simpler CF - IDE
adapter for programming FreeBSD images to CF devices for use in embedded
systems. My adapter has an IDE header, CF slot and LED - that's it. CF
devices can operate in true ATA mode. Perhaps your adapter is operating it
in some other mode?

Anyway, I have a copy of FreeBSD 4.7R booting from a CF card. I even NFS
mounted the kernel source, and installed a new kernel last night. IOW - it
should work. If it doesn't, I would tend to suspect your adapter. Unless
you really need the other formats, I would go for an adapter that operates
the CF device as a true ATA device. I got mine from Mesa.

One thing to note, CF is not terribly fast. On my systems, it shows up as
PIO1. It is also possible that the controller is getting hosed because
your system is sending data too fast.

Good luck,
Seth Henry


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: buildworld problem on cyrix 166

2002-12-18 Thread John Mills
Freebies -

In re: the 'ncurses' buildworld failures while upgrading, which I've also
experienced:

On Wed, 18 Dec 2002, JacobRhoden wrote:

 On Wed, 18 Dec 2002 13:23, Ken Kroel wrote:
  i am trying to update an old pc and have run into a problem with the make
 
  CPU: Cyrix 6x86 (486-class CPU)
Origin = CyrixInstead  DIR=0x2231  Stepping=2  Revision=2

Perhaps the Cyrix-IBM/166 is the common denominator here, as that is my
chip, too.

Should I specify the processor to my build environment? I have never tried
this. Has it helped others with this build failure?
 
 I had the exact same problem with the exact same machine you appear to have. 
 This list at the time attributed it to a hardware issue, probably faulty 
 memory. Try doing a make clean, to clean up everything, and try again.  If 
 the make fails at a different place each time, then its definatly a hardware 
 problem.

I only recall problems from folks doing upgrades (from RELENG_4_5 to
RELENG_4_6, _7 in my case). Have others seen the problem when doing
'buildworld' on an installed system at RELENG_4_6 or later, or is this an
'upgrade only' issue?

(I have been able to get some partial and redone builds to complete, but
never installed them because my purpose is to set a firm foundation under
my system and I didn't feel I knew what was in the mix in those cases.)

TIA for comments.
 - John Mills


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: badblocks

2002-12-18 Thread Stephen Hovey

 In the last episode (Dec 18), Stephen Hovey said:
  I'd like to know myself if there is something for IDE drives.  Its
  the thing keeping me from using IDE
 
 All modern IDE drives do bad-block remapping just like SCSI drives, and
 if you start getting write errors passed up to you, then the drive has
 already used up all its spares and will likely fail completely soon.
 
I thought this was also supposed to have been the case with IDE - Bakc
when I ran SCO on an IDE the SCO utility saved me once.  With SCSI, the
adaptec and tekram bios verify utilies have done the same.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



UID confusion in top with proftpd?

2002-12-18 Thread James Snow

Tried this on a pair of 4.7-R-p2 machines with the same
result. Using proftpd from packages, configured to run as
nobody/nogroup, 'ps -aux | grep proftpd' will show:

nobody  7494  0.0  0.1  1488 1156  ??  Is   Fri05PM 0:00.76 proftpd: proftpd 
(accepting connect

But in top:

7494 root   2   0  1488K  1156K select 0   0:01 0.00%  0.00% proftpd

Doesn't happen with Apache or miscellaneous processes that I
fire off as the user nobody. 

Anyone want to share a clue with me here? I'm sure I'm
missing something. :)


Thanks in advance,
-James


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: weirdness - timezone altered.

2002-12-18 Thread Dan Nelson
In the last episode (Dec 18), Will Mitayai Keeso Rowe said:
 i'm experiencing something *very* weird.
 
 php and mysql and other apps on two of three of my servers are
 suddenly are defaulting to GMT rather than my locale.

Make sure you're not accidentally setting the TZ environment variable
to something, since programs will use that instead of the timezone in
/etc/localtime.  Also if you are chrooting or jailing processes, they
will default to GMT if they can't find /etc/localtime.

-- 
Dan Nelson
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: moving 'vinum start' forward

2002-12-18 Thread Joost Bekkers
On Tue, Dec 17, 2002 at 11:13:52AM +1030, Greg 'groggy' Lehey wrote:
 On Monday, 16 December 2002 at 10:30:42 +0100, Joost Bekkers wrote:
  On Mon, Dec 16, 2002 at 08:39:28AM +1030, Greg 'groggy' Lehey wrote:
  On Sunday, 15 December 2002 at 20:48:03 +0100, Joost Bekkers wrote:
 
  I've been hacking away at vinum_attach() in sys/dev/vinum/vinum.c
  but I can't seen to get it to work properly (yet)
 
  It needs to be done during system startup.  I have code to do it, I
  just haven't got around to sorting out the other issues that are
  needed in order to do this properly.
 
  Is that code available somewhere or could you send it to me?
 
 I can send it to you, but it's in a bit of a mess, since it's been
 lying there for nearly three years.  I could explain to you what to
 do, but it would take me about as long as really doing it.
 
  I've already got my root partition accessible both directly (so the
  loader can get at it) and as a vinum mirrored volume.
 
 I'd be interested in seeing *your* code.
 

Let me say in advance that it is lacking any form of error checking. I should
also find some way to determine which disk we're booting from, since that is
the only disk that makes sence to read the config from.

  {
char *bootdev[]={/dev/da0,/dev/da1,NULL};
start_config(0);
lock_config();
vinum_scandisk(bootdev,sizeof(bootdev)/sizeof(bootdev[0]));
unlock_config();
finish_config(0);
save_config();
  }  

I've added this bit to the end of vinumattach() which seems to be working.
However the routines in kern/vfs_conf.c are unable to mount a vinum volume. Haven't
had time to really look into that.

-- 
greetz Joost
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



httpd core dump

2002-12-18 Thread Beech Rintoul
I just upgraded a machine to 4-stable and now httpd exits with a core dump.
I tried reinstalling apache13, same thing. I reverted back to the 4.7 binaries 
and it now works. I would be happy to send a backtrace if someone would be 
kind enough to tell me how (never done one).

Beech
 
---
Beech Rintoul - IT Manager - Instructor - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | Anchorage Gospel Rescue Mission
\ / - NO HTML/RTF in e-mail  | P.O. Box 230510
 X  - NO Word docs in e-mail | Anchorage, AK 99523-0510
/ \ -













To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Quicktime (was: Re: Kazaa)

2002-12-18 Thread Fernando Gleiser
On Wed, 18 Dec 2002, Edmond Baroud wrote:

 I'm using Kazaalite under wine and its working fine for me like all
 other win9x executables that I have installed using the crossover
 plugin. (except quicktime!@$#%).

The latest release of mplayer plays quicktime. I don't know if the port
has been updated, but if it hasn't, you can download the sources and
compile it by hand.


Fer


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Slow network - ed driver, Realtek 8029

2002-12-18 Thread Mark V Bermal
Hello,

I'm having a problem with slow transfers to my FreeBSD 4.7-RELEASE box
using a D-Link 528CT
(Realtek 8029 chipset). When I try to upload files to this machine from a
windowsXP box, I only
get about 30KB/s on the 10BaseT cat 5 network. This identical machine
previously was able to
receive transfers of 1000KB/s when it was running under windows 98. I'm
only getting 3% of the
windows receive performance.

My best guess is that this is a driver issue. I had possibly similar
problem with the same card under
win98. The issue was if you set the driver to full duplex when the card
hardware was not setup for
full duplex (it is capable of full duplex, but you need to tell the
hardware in some way), the transfer
rate would be ridiculously slow. I'm guessing this is a similar problem,
however, ifconfig shows:

ed0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST

so I don't think it's the full/half-duplex problem.

I've googled the net and searched the mailing list, and found some others
have had similar problems
with the Realtek 8029, but I never found a solution.

Can anybody help here?

Mark V. Bermal



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Getting Perl scripts to work as mail filters

2002-12-18 Thread Mxsmanic
Here are the two relevant log entries after I tried to mail something from
the console:

Dec 18 18:31:10 myserver sendmail[97621]: gBIHVAo97621: from=root, size=39,
class=0, nrcpts=1,
msgid=[EMAIL PROTECTED],
relay=root@localhost
Dec 18 18:31:10 myserver sendmail[97623]: gBIHVAo97621:
to=|/usr/home/mymail/mailman, ctladdr=mymail (1/0), delay=00:00:00,
xdelay=00:00:00, mailer=prog, pri=30039, dsn=2.0.0, stat=Sent

So it does say mailer=prog, which means what?

- Original Message -
From: Barry Byrne [EMAIL PROTECTED]
To: Mxsmanic [EMAIL PROTECTED]; FreeBSD Questions
[EMAIL PROTECTED]
Sent: Wednesday, December 18, 2002 15:28
Subject: RE: Getting Perl scripts to work as mail filters



  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of Mxsmanic

  'Are you sure there is no error - did you check the sendmail log?'
 
  Yup.  maillog mentions the message being sent, but indicates no error.

 Can you post the log entry - does it say mailer=prog ?

  - Barry

 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



RE: Getting Perl scripts to work as mail filters

2002-12-18 Thread Barry Byrne

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Mxsmanic

 Here are the two relevant log entries after I tried to mail something from
 the console:

 Dec 18 18:31:10 myserver sendmail[97621]: gBIHVAo97621:
 from=root, size=39,
 class=0, nrcpts=1,
 msgid=[EMAIL PROTECTED],
 relay=root@localhost
 Dec 18 18:31:10 myserver sendmail[97623]: gBIHVAo97621:
 to=|/usr/home/mymail/mailman, ctladdr=mymail (1/0), delay=00:00:00,
 xdelay=00:00:00, mailer=prog, pri=30039, dsn=2.0.0, stat=Sent

 So it does say mailer=prog, which means what?

Well it looks like your script is being run - what should your script do?

 sendmail manual seems to indicate that it just pipes the e-mail message
into
 this script, then delivers whatever comes out of standard output, but it
 doesn't seem to work.

the script should run with the mail message (headers + body) supplied on
STDIN.
sendmail doesn't do anything with the STDOUT from your script. I'm nut sure
what
you mean by 'delivers whatever comes out' - where would it deliver it? If
you
need output to go somewhere such as a file or emailed somewhere, you will
need
to explicitly do this.

if you want to quickly to assue yourself that the script is running, try
making
it create a file in /tmp or somewhere else that it has permissions -
sendmail
is should not be running as root (probably 'mailnull').

 - Barry


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: how to change installworld installation root directory?

2002-12-18 Thread Kent Stewart
On Wednesday 18 December 2002 06:12 am, Giorgos Keramidas wrote:
 On 2002-12-18 09:35, Thomas Spreng [EMAIL PROTECTED] wrote:
  On Tue, Dec 17, 2002 at 05:50:07PM -0800, Kent Stewart wrote:
   On Tuesday 17 December 2002 07:51 am, Matthew Seaman wrote:
make installworld DESTDIR=/mnt
   
installs everything relative to /mnt instead of / --- see
jail(8) for some examples of doing just that.
  
   What I do is create /usr/src and /usr/obj as their own 1.5 GB
   partitions. That is 4-5x larger than I need. Then, I can
   NFS_mount them on any system as /usr/src and /usr/obj. You don't
   have to play games with names, DESTDIR, or etc.
 
  why would you want /usr/obj nfs mounted as well?

 Because make installworld will find any compiled programs under
 that path, and copy them to their destination.  /usr/src doesn't
 contain executables or libraries[1].  The sources from /usr/src are
 compiled to executables and saved under /usr/obj.

This also works for the kernel. I name them for the short name used in 
/etc/hosts and I can buildkernel KERNCONF=CORAL on RUBY and do the 
installkernel and installworld on CORAL. If you have all 3 config files 
on ruby, you can add 
KERNCONF=RUBY GENERIC CORAL 
to ruby's /etc/make.conf, all 3 will be built on ruby. Since RUBY is 
1st, a make kernel will build all 3 but install RUBY.


 If you don't have machines of completely different architectures, you
 can buildworld once, then mount /usr/obj and /usr/src as many times
 as you want and install the same userland/kernel to a lot of
 machines.

I have modified a computer and mismounted 2 IDE drives when I was 
reassemblying it. There were links that were apparently broken. I 
swapped them back but still couldn't do a builds after that. So, I just 
mounted the the 2 file systems from a running system and did the 
installs. I could do builds once more. I think I needed 15-20 minutes 
from the time I figured out what was wrong and had done the buildkernel 
for the sick computer to having a consistant running system. The 
installworld took a wee bit longer than the 4 minutes it usually takes 
but it worked.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



[no subject]

2002-12-18 Thread Fabio
 
 

___
Busca Yahoo!
O melhor lugar para encontrar tudo o que você procura na Internet
http://br.busca.yahoo.com/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Getting Perl scripts to work as mail filters

2002-12-18 Thread Mxsmanic
*** Well it looks like your script is being run - what should your script
do? ***

Heck, it's so simple I can list it here:

---
#!/usr/bin/perl

   while ($inputline = STDIN)
   {
  $inputline =~ s/18 Dec 2002/29 Dec 2013/;
  print STDOUT $inputline;
   }
---

The s/// stuff is just to give me some proof that the script saw the
message.  I'm not getting anything at all now, though.

I assumed that writing to STDOUT would somehow get the message delivered,
but maybe not.  But if that's not the way to get it delivered, what is?  The
sendmail manual is not at all clear on this.  I looked in sendmail.cf for
the name of some program to which perhaps I should pipe STDOUT in the
aliases file, but couldn't find anything.  When the aliases file does not
specify piping of messages to some special program, who normally delivers
them?

*** sendmail doesn't do anything with the STDOUT from your script. I'm nut
sure what you mean by 'delivers whatever comes out' - where would it deliver
it? ***

To my mailbox.  I want the script to see incoming messages just before they
get deposited in my mailbox on the server.  From what I can understand of
how this works, some program actually receives the messages from sendmail
(?) and deposits them in my /usr/home/$USER mailbox, which appears to be
just a simple text file (I can't find any reference giving the format of
that, either).

*** sendmail is should not be running as root (probably 'mailnull'). ***

It's running as root on my system.  I thought it _had_ to run as root (?);
doesn't it have to access mailboxes that have only 600 access or something?

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: httpd core dump

2002-12-18 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-12-18 08:09:26 -0900:
 I just upgraded a machine to 4-stable and now httpd exits with a core dump.
 I tried reinstalling apache13, same thing. I reverted back to the 4.7 binaries 
 and it now works. I would be happy to send a backtrace if someone would be 
 kind enough to tell me how (never done one).

have you STFW?

http://httpd.apache.org/dev/debugging.html

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



RE: Slow network - ed driver, Realtek 8029

2002-12-18 Thread Mark V Bermal
Hello,

Well, perhaps it's my assumption, but I thought that the SIMPLEX message
on the ed0 driver from ifconfig means half-duplex. Am I wrong here?

I assume the hardware is set to half-duplex because in windows it was when
I switched the driver from full to half-duplex that I got a big
performance jump.

I don't know who I would set one or the other either. the ed(4) manpage
talks
about flags to set 8/16bit modes, transmit multibuffering, and using AUI
as
default.

Thanks,

Mark V. Bermal

On Wed, 18 Dec 2002, Andrey Nepomnyaschih wrote:
 Date: Wed, 18 Dec 2002 20:47:30 +0300
 To: [EMAIL PROTECTED]
 From: Andrey Nepomnyaschih [EMAIL PROTECTED]
 Subject: RE: Slow network - ed driver, Realtek 8029

 Mark,

 What makes you think it's not full/half-duplex problem?

 Have a good time,
 Andrey Nepomnyaschih

  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]] On Behalf Of
  Mark V Bermal
  Sent: Wednesday, December 18, 2002 8:40 PM
  To: [EMAIL PROTECTED]
  Subject: Slow network - ed driver, Realtek 8029
 
 
  Hello,
 
  I'm having a problem with slow transfers to my FreeBSD 4.7-RELEASE box
  using a D-Link 528CT
  (Realtek 8029 chipset). When I try to upload files to this
  machine from a
  windowsXP box, I only
  get about 30KB/s on the 10BaseT cat 5 network. This identical machine
  previously was able to
  receive transfers of 1000KB/s when it was running under
  windows 98. I'm
  only getting 3% of the
  windows receive performance.
 
  My best guess is that this is a driver issue. I had possibly similar
  problem with the same card under
  win98. The issue was if you set the driver to full duplex
  when the card
  hardware was not setup for
  full duplex (it is capable of full duplex, but you need to tell the
  hardware in some way), the transfer
  rate would be ridiculously slow. I'm guessing this is a
  similar problem,
  however, ifconfig shows:
 
  ed0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST
 
  so I don't think it's the full/half-duplex problem.
 
  I've googled the net and searched the mailing list, and found
  some others
  have had similar problems
  with the Realtek 8029, but I never found a solution.
 
  Can anybody help here?
 
  Mark V. Bermal
 
 
 
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-questions in the body of the message
 



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



cvsup question

2002-12-18 Thread Daniel Schrock
This is more of a minor annoyance, but I can't seem to fix it.
I'm tired of portsdb -Uu spitting out errors regarding not finding 
japanese ports.

I initially had all of the non-english ports in my refuse file, since i 
have zero use for them, but i've removed these entries with the thinking 
that 'I have ample space and it doesn't hurt for them to be there if i 
can quiet the output of portsdb -Uu'

but using 'ports-all' in my ports-supfile isn't grabbing the japanese, 
or any other language  for that matter (except portuguese and hungarian).

Like I said, this is more of a minor annoyance, but if anyone knows a 
fix, that would be great.

thanks.

.daniel.schrock


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


RE: Getting Perl scripts to work as mail filters

2002-12-18 Thread Barry Byrne

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Mxsmanic


 *** Well it looks like your script is being run - what should your script
 do? ***

 Heck, it's so simple I can list it here:
 #!/usr/bin/perl

while ($inputline = STDIN)
{
   $inputline =~ s/18 Dec 2002/29 Dec 2013/;
   print STDOUT $inputline;
}

 The s/// stuff is just to give me some proof that the script saw the
 message.  I'm not getting anything at all now, though.
 I assumed that writing to STDOUT would somehow get the message delivered,
 but maybe not.  But if that's not the way to get it delivered,
 what is?  The

How do you expect sendmail to know which user to deliver to?
By altering the aliases file, you have said to sendmail:
Don't deliver to localuser 'mymail',
Instead deliver to the script 'perlfilter'

If you don't need your script to modify the data that get's sent,
then you could just add another recipient in the aliases file:

mymail: | perlfilter, myusername

If you want to modify the message before sending it elsewhere,
you could do something like:

#!/usr/bin/perl
$SENDMAIL=/usr/sbin/sendmail -bm;
$MYADDRESS=me\@mydomain.com;
open(SENDMAIL, | $SENDMAIL $MYADDRESS) or die Can't open $SENDMAIL;
while ($inputline = STDIN)
{
$inputline =~ s/18 Dec 2002/29 Dec 2013/;
print SENDMAIL $inputline;
}
close(SENDMAIL);

 sendmail manual is not at all clear on this.  I looked in sendmail.cf for
 the name of some program to which perhaps I should pipe STDOUT in the
 aliases file, but couldn't find anything.  When the aliases file does not
 specify piping of messages to some special program, who normally delivers
 them?

 *** sendmail doesn't do anything with the STDOUT from your script. I'm nut
 sure what you mean by 'delivers whatever comes out' - where would
 it deliver
 it? ***

 To my mailbox.  I want the script to see incoming messages just
 before they
 get deposited in my mailbox on the server.  From what I can understand of
 how this works, some program actually receives the messages from sendmail
 (?) and deposits them in my /usr/home/$USER mailbox, which appears to be
 just a simple text file (I can't find any reference giving the format of
 that, either).

 It's running as root on my system.  I thought it _had_ to run as root (?);
 doesn't it have to access mailboxes that have only 600 access or
 something?

Older versions ran as root - current recommended setup is not to run as
root.
But that's another issue.

 - Barry


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: X and kern_securelevel

2002-12-18 Thread Lowell Gilbert
Soup4you2 [EMAIL PROTECTED] writes:

 Riddle me this batman..
 
 Environment
 FreeBSD xx 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Mon Oct 21
 17:33:06 EST 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SOUPX 
 i386
 
 Description
 Why is it that if i slap :
 kern_securelevel_enable=YES
 kern_securelevel=1
 
 inside my rc.conf i am no longer able to start X
 i get the following error message
 
 Fatal server error:
 xf86EnableIO: Failed to open /dev/io for extended I/O
 
 where as if i disable kern_securelevel it works fine..

This is covered in the FAQ.

The short explanation is that it's a security feature (X writes
directly into memory).

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



SMP kernel on Compaq DL380 G3.

2002-12-18 Thread John S . Hong

Has anyone gotten the FreeBSD SMP kernel to boot on a Compaq DL380 G3?  There was a 
known problem in the G2s where you had to set the OS option to Linux in the Compaq 
BIOS for the SMP kernel to boot correctly.  However, this does not appear to work on 
the G3s.

There are two BIOS options which I have adjusted, one is for OS and the other is for 
Advanced/MPS Table.  I have tried every combination between the Linux and Other 
OS option along with Full Table APIC, Full APIC Memory Mapped, Disabled, and 
Auto Set Table MPS Table options.  I have also tried disabling hyper-threading 
support for the Xeon processors but still no avail.

For now, the system is happily running on the non-SMP kernel.  When booting the SMP 
kernel, the system hangs on APIC_IO: Testing 8254 interrupt delivery.

This is on FreeBSD4.7-RELEASE.

Thanks,
J. Hong

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Going from Windows to X - suggestions

2002-12-18 Thread Raphaël Dingé
Anyway, If you find some solutions with 16 MB Ram, I

would be

happy to know it, since I can't use my old laptop

for now.

twm? hehehe.


Initially the old laptop was for a friend of mine, who doesn't 
know much about computer, so I thought that perverting one more 
to FreeBSD was a great idea... But it had to be good looking... 
twm, well... well... ;)

In fact I did install WMaker on it, definitively not a good 
solution. But what was surprinsing is that it was XFree86 that 
was grabbing much of the memory, not wmaker itself... If I use 
twm, then do you think that it would reduce X consumption ?

Assuming that having a light wm would reduce X consumption, what 
would be a good wm to use with 32 MB Ram ? (optimum ratio good 
looking/memory consumption)

Thanks,

Raphael


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


mozilla 1.1+ for 4.5

2002-12-18 Thread David S. Jackson

Hi,

I need a package of mozilla at least 1.1 that will run out of the box on
a 4.5-STABLE system.  mozilla.org has them only for 4.6.

Please don't suggest I cvsup just now.  This box has been in production
since 3.0-STABLE and has been cvsupped to death.  Before I can do
another cvsup and rebuild, I'll need to wipe and reinstall a RELEASE
level from scratch--the rebuilds and port updates have just been too
messy.  That will be when I get the time(TM).  So, short of upgrading,
any ideas on where to get a mozilla1.1 or later package that doesn't
require libgtk-1.2.so.9?  

TIA!
-- 
David S. Jackson[EMAIL PROTECTED]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Faster, faster, you fool, you fool!
-- Bill Cosby

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



mysql upgrade

2002-12-18 Thread Danijel
Hi,

The attached error occurs while upgrade mysql323-server:

Go to http://home.camelot.de/danielt/mysql323-server.txt to see
the full error message.

I think there there is a .so or .a file missing (may be deleted by
mistake).

bye,
Da.Ta.

===  Building for mysql-server-3.23.54
[...]
Making all in share
/bin/sh ../libtool --mode=link cc  -DDBUG_OFF -pipe -march=pentium 
-felide-constructors -fno-rtti -fno-exceptions  -fno-implicit-templates 
-fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=100 -DHAVE_BROKEN_REALPATH
-o mysqld  sql_lex.o item.o item_sum.o  item_buff.o item_func.o item_cmpfunc.o  
item_strfunc.o item_timefunc.o  thr_malloc.o item_create.o field.o  key.o sql_class.o 
sql_list.o  net_serv.o violite.o net_pkg.o  lock.o my_lock.o sql_string.o  
sql_manager.o sql_map.o mysqld.o  password.o hash_filo.o hostname.o  convert.o 
sql_parse.o sql_yacc.o  sql_base.o table.o sql_select.o  sql_insert.o sql_update.o 
sql_delete.o  sql_do.o procedure.o item_uniq.o  sql_test.o log.o log_event.o  init.o 
derror.o sql_acl.o  unireg.o time.o opt_range.o  opt_sum.o opt_ft.o records.o  
filesort.o handler.o ha_heap.o  ha_myisam.o ha_myisammrg.o  ha_berkeley.o 
ha_innobase.o ha_gemini.o  ha_isam.o ha_isammrg.o sql_db.o  sql_table.o sql_rename.o 
sql_crypt.o  sql_load.o mf_iocache.o field_conv.o  sql_show.o sql_udf.o sql_analyse.o  
sql_cache.o slave.o sql_repl.o  mini_client.o mini_client_errors.o  md5.o stacktrace.o 
-L../bdb/build_unix -ldb  ../innobase/usr/libusr.a ../innobase/odbc/libodbc.a 
../innobase/srv/libsrv.a ../innobase/dict/libdict.a ../innobase/que/libque.a 
../innobase/srv/libsrv.a ../innobase/ibuf/libibuf.a ../innobase/row/librow.a 
../innobase/pars/libpars.a ../innobase/btr/libbtr.a ../innobase/trx/libtrx.a 
../innobase/read/libread.a ../innobase/usr/libusr.a ../innobase/buf/libbuf.a 
../innobase/ibuf/libibuf.a ../innobase/eval/libeval.a ../innobase/log/liblog.a 
../innobase/fsp/libfsp.a ../innobase/fut/libfut.a ../innobase/fil/libfil.a 
../innobase/lock/liblock.a ../innobase/mtr/libmtr.a ../innobase/page/libpage.a 
../innobase/rem/librem.a ../innobase/thr/libthr.a ../innobase/com/libcom.a 
../innobase/sync/libsync.a ../innobase/data/libdata.a ../innobase/mach/libmach.a 
../innobase/ha/libha.a ../innobase/dyn/libdyn.a ../innobase/mem/libmem.a 
../innobase/sync/libsync.a ../innobase/ut/libut.a ../innobase/os/libos.a 
../innobase/ut/libut.a   ../isam/libnisam.a  ../merge/libmerge.a  
../myisam/libmyisam.a  ../myisammrg/libmyisammrg.a  ../heap/libheap.a  
../mysys/libmysys.a  ../dbug/libdbug.a  ../regex/libregex.a  ../strings/libmystrings.a 
  -lwrap -lz -lcrypt -lm  -pthread
cc -DDBUG_OFF -pipe -march=pentium -felide-constructors -fno-rtti -fno-exceptions 
-fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=100 
-DHAVE_BROKEN_REALPATH -o mysqld sql_lex.o item.o item_sum.o item_buff.o item_func.o 
item_cmpfunc.o item_strfunc.o item_timefunc.o thr_malloc.o item_create.o field.o key.o 
sql_class.o sql_list.o net_serv.o violite.o net_pkg.o lock.o my_lock.o sql_string.o 
sql_manager.o sql_map.o mysqld.o password.o hash_filo.o hostname.o convert.o 
sql_parse.o sql_yacc.o sql_base.o table.o sql_select.o sql_insert.o sql_update.o 
sql_delete.o sql_do.o procedure.o item_uniq.o sql_test.o log.o log_event.o init.o 
derror.o sql_acl.o unireg.o time.o opt_range.o opt_sum.o opt_ft.o records.o filesort.o 
handler.o ha_heap.o ha_myisam.o ha_myisammrg.o ha_berkeley.o ha_innobase.o ha_gemini.o 
ha_isam.o ha_isammrg.o sql_db.o sql_table.o sql_rename.o sql_crypt.o sql_load.o 
mf_iocache.o field_conv.o sql_show.o sql_udf.o sql_analyse.o sql_cache.o slave.o 
sql_repl.o mini_client.o mini_client_errors.o md5.o stacktrace.o -pthread  
-L/usr/ports-work/usr/ports/databases/mysql323-server/work/mysql-3.23.54/bdb/build_unix
 -ldb ../innobase/usr/libusr.a ../innobase/odbc/libodbc.a ../innobase/srv/libsrv.a 
../innobase/dict/libdict.a ../innobase/que/libque.a ../innobase/srv/libsrv.a 
../innobase/ibuf/libibuf.a ../innobase/row/librow.a ../innobase/pars/libpars.a 
../innobase/btr/libbtr.a ../innobase/trx/libtrx.a ../innobase/read/libread.a 
../innobase/usr/libusr.a ../innobase/buf/libbuf.a ../innobase/ibuf/libibuf.a 
../innobase/eval/libeval.a ../innobase/log/liblog.a ../innobase/fsp/libfsp.a 
../innobase/fut/libfut.a ../innobase/fil/libfil.a ../innobase/lock/liblock.a 
../innobase/mtr/libmtr.a ../innobase/page/libpage.a ../innobase/rem/librem.a 
../innobase/thr/libthr.a ../innobase/com/libcom.a ../innobase/sync/libsync.a 
../innobase/data/libdata.a ../innobase/mach/libmach.a ../innobase/ha/libha.a 
../innobase/dyn/libdyn.a ../innobase/mem/libmem.a ../innobase/sync/libsync.a 
../innobase/ut/libut.a ../innobase/os/libos.a ../innobase/ut/libut.a 
../isam/libnisam.a ../merge/libmerge.a ../myisam/libmyisam.a 
../myisammrg/libmyisammrg.a ../heap/libheap.a ../mysys/libmysys.a ../dbug/libdbug.a 
../regex/libregex.a ../strings/libmystrings.a -lwrap -lz -lcrypt -lm

Re: is there a delete/backspace command on Freebsd ?

2002-12-18 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-12-18 13:41:37 +:
 On Wed, Dec 18, 2002 at 01:29:59PM +0200, Malik Blent wrote:
 
   I have a file.
   How can I backspace 5 character that start with expressions(the expression
   starts /aaa) in a file ?
   for example my file;
 /aaa/yy/
   /aaa/..
   
 
 If you mean how can I delete each instance of 5 characters starting
 with /aaa from a file, then something like this should do it:
 
 perl -pi.bak -e 's:/aaa.::g;' filename

 which deletes the /aaa and the following (fifth) character. If you
 mean to delete the 5 characters immediately *following* /aaa then:
 
 perl -pi.bak -e 's:(?=/aaa).{5}::g' filename


sed -i.bak 's:/aaa.::g' filename
sed -Ei.bak 's:(/aaa).{5}:\\1:g' filename

would probably be quite faster (neither tested)

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: mozilla 1.1+ for 4.5

2002-12-18 Thread David S. Jackson
On Wed, Dec 18, 2002 at 01:17:00PM -0600 Dan Nelson [EMAIL PROTECTED] wrote:
 In the last episode (Dec 18), David S. Jackson said:
  I need a package of mozilla at least 1.1 that will run out of the box
  on a 4.5-STABLE system.  mozilla.org has them only for 4.6.
  
  Please don't suggest I cvsup just now.  This box has been in
  production since 3.0-STABLE and has been cvsupped to death.  Before I
  can do another cvsup and rebuild, I'll need to wipe and reinstall a
  RELEASE level from scratch--the rebuilds and port updates have just
  been too messy.  That will be when I get the time(TM).  So, short
  of upgrading, any ideas on where to get a mozilla1.1 or later package
  that doesn't require libgtk-1.2.so.9?
 
 Why not just install the newer libgtk?  Portupgrade should make it
 painless.

Well, because it's not painless.  :-)

***snip**

**ROOT**@juno /root]# portupgrade gtk
---  Skipping 'x11-toolkits/gtk12' (gtk-1.2.10_2) which has already
been ignored
** The origin of 'gtk-1.2.7' is unknown.
** Specify one with -o option, or run 'pkgdb -F' to fix it.
** The following packages were not installed or upgraded (*:skipped /
!:failed)
* x11-toolkits/gtk12 (gtk-1.2.10_2)
!  (gtk-1.2.7)  (missing origin)
***snip***

Now, many or most all of my packages have missing origins.  pkgdb -F
doesn't complete successfully.  There are *major* problems with ports.
So, this is why I ask for a package built for my current revision level.

-- 
David S. Jackson[EMAIL PROTECTED]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
I had no shoes and I pitied myself.  Then I met a
man who had no feet, so I took his shoes.
-- Dave Barry

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



HP OmniBook 6100 modem probs

2002-12-18 Thread Mantas Smelevicius
Hi everyone,

I have FreeBSD 4.7-Stable in my HP OmniBook 6100 laptop, but I cannot make
work my modem.
Modem is 'Robotics v.90 MPCI Modem 556b' internal

Any ideas?

Mantas Smelevicius
http://mantas.lt
ICQ UIN 31072511


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: cvsup question

2002-12-18 Thread Kent Stewart
On Wednesday 18 December 2002 10:34 am, Daniel Schrock wrote:
 This is more of a minor annoyance, but I can't seem to fix it.
 I'm tired of portsdb -Uu spitting out errors regarding not finding
 japanese ports.


Try 

cd /usr/ports
make index
portsdb -u 

I have incorporated this sequence in my uports script because of the 
many error message. You also get the full list when you use make 
index. Make will die at the first port that is missing and so you 
can't have ports in your refuse file. BTW, if you do this everytime, 
you might as well add ports/INDEX to your ports-all refuse file. 
There isn't any reason to re-transfer a 3.05 MB file when you are going 
to create it as soon as you finish cvsuping.

Kent

 I initially had all of the non-english ports in my refuse file, since
 i have zero use for them, but i've removed these entries with the
 thinking that 'I have ample space and it doesn't hurt for them to be
 there if i can quiet the output of portsdb -Uu'

 but using 'ports-all' in my ports-supfile isn't grabbing the
 japanese, or any other language  for that matter (except portuguese
 and hungarian).

 Like I said, this is more of a minor annoyance, but if anyone knows a
 fix, that would be great.

 thanks.

 .daniel.schrock


 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: nfs help plz

2002-12-18 Thread Aleksey I. Yurlov
Try look here for steps...
May be that can helps...
http://www.freebsddiary.org/topics.php#nfs
Also try to man nfs, man nfsd, man exports, man mountd...
So...have fun ;-)


Shantanu Mahajan wrote:

+++ RD [freebsd] [14/12/02 22:02 -0500]:
| hi guys ,
| i'm trying to make one of my boxes a file server, ftp server, and mysql
| 
| i'm running apache on box #2...
| 
| now i need to mount my users dir on box 2 from box 1
| 
| i can't seem to make it work from freebsd handbook.
| 
| any step by step links?
| tx
| RD
| 
| --
	First take care that both boxes have a a user with same name and uid. And try to share it. Hope this will solve your prob. as I faced the similar one when I tried to use nfs.

Regards,
Shantanu




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Getting Perl scripts to work as mail filters

2002-12-18 Thread Ken McGlothlen
Mxsmanic [EMAIL PROTECTED] writes:

| What do I have to do to make a simple Perl script filter incoming mail for a
| mailbox?  I wrote a script that just reads standard input and writes it to
| standard output, then put it in my home directory, then changes
| /etc/mail/aliases to point to it, like this:
| 
| mymail:|/usr/home/mymail/perlfilter

I know that seems like the way it should work . . . but it's not.  What that
does is just pipe the message to your script---and at that point, sendmail is
done.  The output from your script went into the bit bucket.

What you're going to have to do is open up a sendmail process.  You can do
something like this in your Perl script, though:

open( MAIL, | /usr/sbin/sendmail );
print MAIL $headers;
print MAIL $body;
close MAIL;

Your headers will have to have all the relevant information, and be separated
from the body with a blank line.

Good luck with that.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



...!!

2002-12-18 Thread
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
html
head
titlelive10girls/title
meta http-equiv=Content-Type content=text/html; charset=euc-kr
/head

body bgcolor=#01 text=#FF link=#FF vlink=#FF 
alink=#FF
div align=center
 pstrongfont color=#FF size=6¼ºÇö¾Æ ´©µåÁý °ø°³ 
/font/strong/p
 pnbsp; A href=http://www.live10girls.com/index.asp?ID=5621228; 
target=_blankIMG 
src=http://news.hot.co.kr/2002/12/09/200212092151172100_1.jpg; 
border=0/A
/p
 pnbsp; A href=http://www.live10girls.com/index.asp?ID=5621228; 
target=_blankIMG 
src=http://news.hot.co.kr/2002/12/09/200212092151172100_2.jpg; 
border=0/A 
 /p
 pnbsp; A href=http://www.live10girls.com/index.asp?ID=5621228; 
target=_blankIMG 
src=http://news.hot.co.kr/2002/12/09/200212092151172100_3.jpg; 
border=0/A 
 /p
 pfont color=#FF size=6stronga 
href=http://www.live10girls.com/index.asp?ID=5621228; target=_blankº¸·¯
°¡±â/a/strong/font/p
 pº» À¥»çÀÌÆ®´Â ÀÎÅÍ³Ý ¼ºÀÎ Àü¹® Æ÷¸£³ë »çÀÌÆ®·Î, ¹ýÀûÀ¸·Î ÀÌ·¯ÇÑ ³»¿ëÀ» 
¿­¶÷br
   ÇÒ ¼ö ¾ø´Â ¸¸ 20¼¼ÀÇ ¿¬·É ¹Ì¸¸À̳ª ÀÌ¿Í°°Àº À½¶õÇÑ ³»¿ë¿¡ °ÅºÎ°¨À» °®´Â 
»ç¶÷br
   µéÀº ÀÔÀåÀ» ±ÝÇÕ´Ï´Ù.br
   ¶ÇÇÑ º» »çÀÌÆ®´Â ¹ýÀûÀ¸·Î ÀÎÅͳݿ¡¼­ À½¶õ¹°À» Àü¼ÛÇÏ´Â °ÍÀÌ ±ÝÁöµÈ Áö¿ª
À̳ª br
   ±¹°¡¸¦ ´ë»óÀ¸·Î ÇÏ´Â ¼­ºñ½º°¡ ¾Æ´ÔÀ» ¹àÈü´Ï´Ù. À§ÀÇ »çÇ׿¡ µ¿ÀÇÇÏÁö ¾Ê´Â
´Ù¸ébr
   Àý´ë·Î µé¾î¿ÀÁö ¸¶½Ê½Ã¿À.br
   br
   This web site contains sexually oriented adult material which is not 
br
   suitable for those who are under the age of 20. If youbr
   are under the age of 20 or find material of an adult nature offensive, 
or 
   br
   if you are accessing this site from a country where adult material is 
br
   specifically prohibited by law, please leave this site immediately. By 
br
   entering this web page you are acknowledging that you are in fact 20 
years 
   br
   of age or older, and therefore we will hold no responsibility for any 
adult 
   br
   material you find on this web site. All models on this site are 20 
years of 
   br
   age or older. We do not promote violent, malignant, or child 
pornography. 
   br
   If you understand and accept these terms you may enter.br
 /p






/div
/body
/html


_
°í.. °¨.. µµ.. »ç.. ¶û.. ¸¸.. µé.. ±â.. MSN ·¯ºê  http://www.msn.co.kr/love/


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Going from Windows to X - suggestions

2002-12-18 Thread Joan Picanyol i Puig
* Rapha?l Ding? [EMAIL PROTECTED] [20021218 20:08]:
 Assuming that having a light wm would reduce X consumption, what 
 would be a good wm to use with 32 MB Ram ? (optimum ratio good 
 looking/memory consumption)
I'm running -STABLE and icewm on a Libretto 70CT (upgraded to 32MB of
RAM). Browse with dillo

qvb
-- 
pica

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Getting Perl scripts to work as mail filters

2002-12-18 Thread Mark
- Original Message -
From: Mxsmanic [EMAIL PROTECTED]
To: Barry Byrne [EMAIL PROTECTED]; FreeBSD Questions
[EMAIL PROTECTED]
Sent: Wednesday, December 18, 2002 7:19 PM
Subject: Re: Getting Perl scripts to work as mail filters


 Heck, it's so simple I can list it here:

 ---
 #!/usr/bin/perl

while ($inputline = STDIN)
{
   $inputline =~ s/18 Dec 2002/29 Dec 2013/;
   print STDOUT $inputline;
}
 ---


A bit too simple, perhaps. :)

STDOUT is irrelevant to sendmail here; because, as far as sendmail is
concerned, your message has already been delivered, namely to the alias
mymail. And your log says so:

   to=|/usr/home/mymail/mailman, ctladdr=mymail (1/0)

Indicating that the controlling address (ctladdr) is mymail. If your
recipient (mymail) decides to output something, good for him, but sendmail
is long since done with the delivery.

If you want to use filters, more or less like you describe, have a look at:

Sendmail::Milter

 get deposited in my mailbox on the server.  From what I can understand of
 how this works, some program actually receives the messages from sendmail
 (?) and deposits them in my /usr/home/$USER mailbox

For that to happen, in a set-up where the alias is to deliver mail for
variable users, you might, for instance, take a look at the plussed
users facility in sendmail. But why re-invent the wheel? A program like
procmail will more than likely do what you want. But even procmail, run from
a .forward scheme, suffers from having difficulty extracting the intended
recipient. Only if you define a Perl mailer can you solve that problem
entirely, as you can parse sendmail variables like $f and $u to your
delivery agent.

- Mark


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Going from Windows to X - suggestions

2002-12-18 Thread Mike Jeays
Marco Radzinschi wrote:


On Wed, 18 Dec 2002, Raphaël Dingé wrote:

 

Install KDE and/or gnome. Your call.
   

I'm new to FreeBSD myself, having used blackbox window
manager on a P133 with 48MB of RAM.  Though it's not
impossible, with only 16MB or RAM, GNOME or KDE would
probably be pushing it; you'd be using your swap slice
continuously.  I recommend blackbox, though it's not
as full-featured as the above.  However, it's quite
easy to set up.
 

I'm not sure that this won't do it either. I had made an
installation of FreeBSD on old laptop with 32MB Ram.
X was taking about all of it, I did put WMaker on top of it,
which did not take too much memory itself.
I had seen that 32MB was definitively not enough, but even 48MB
would have been great !

Anyway, If you find some solutions with 16 MB Ram, I would be
happy to know it, since I can't use my old laptop for now.

Thanks,

Raphael
   


I imagine that FVWM would work.

KDE and GNOME were too slow for my taste on my Pentium II 400 machine with
384 MB RAM, so I don't want to imagine how that would run with 16 MB RAM.

On the other hand, that was with XFree86 4, but it might have run well
had I tried it with XFree86 3.  You may want to consider not running
XFree86 4.

http://www.fvwm.org

Marco Radzinschi
E-Mail: [EMAIL PROTECTED]

Wed Dec 18 09:15:47 EST 2002


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message

 

I have found both Gnome and KDE too slow to be much use on
a NEC 200MHz Pentium 2 laptop  (Versa LX), with 64 MB of memory.  It
somehow 'feels' much slower than a Pentium 120 desktop with
48 MB, and I wonder if the disk is unusually slow.  FVMW works
fine - I get usable results on an ancient 486 33 with 20 MB with
that window manager.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



{PD-16339} Help Desk Submission

2002-12-18 Thread Serviço de Apoio a Clientes
Caro(a) Cliente

Estamos muito gratos pelo seu contacto/contato. 

Recebemos o seu email com o assunto: A special  new game

Contamos responder o mais rapidamente possível.


Gratos pela preferência.
Atenciosamente,
Ciberatlantida
http://ciberatlantida.net/



Sugestões


Registe-se/registre-se no Help Desk e
acompanhe o andamento do seu pedido/ticket:
http://ciberatlantida.net/apoio

Veja as respostas às perguntas mais frequentes:
http://ciberatlantida.net/faq




http://nova-atlantida.com/
http://hiperbrasil.com/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Getting Perl scripts to work as mail filters

2002-12-18 Thread Mxsmanic
What about appending directly to the mailbox file under /var/mail/$USER with
the script?  It looks like the format of the file is very simple.  Why
wouldn't that work?  I've tried writing to it, but I can't, at least not
when the script runs from the aliases file (works fine when I run it myself,
though).

Procmail is exactly the sort of bloated tool that I'm trying to avoid.

I don't know that calling sendmail again would be _that_ hard.  After all,
I'm mostly just copying the input to the output.  I guess all I'd have to do
would be to change the recipient address to avoid a loop (?).  Right?  Can't
I just leave all the headers intact otherwise?

- Original Message -
From: Mark [EMAIL PROTECTED]
To: Mxsmanic [EMAIL PROTECTED]; Barry Byrne
[EMAIL PROTECTED]; FreeBSD Questions
[EMAIL PROTECTED]
Sent: Wednesday, December 18, 2002 23:50
Subject: Re: Getting Perl scripts to work as mail filters


 - Original Message -
 From: Mxsmanic [EMAIL PROTECTED]
 To: Barry Byrne [EMAIL PROTECTED]; FreeBSD Questions
 [EMAIL PROTECTED]
 Sent: Wednesday, December 18, 2002 7:19 PM
 Subject: Re: Getting Perl scripts to work as mail filters


  Heck, it's so simple I can list it here:
 
  ---
  #!/usr/bin/perl
 
 while ($inputline = STDIN)
 {
$inputline =~ s/18 Dec 2002/29 Dec 2013/;
print STDOUT $inputline;
 }
  ---


 A bit too simple, perhaps. :)

 STDOUT is irrelevant to sendmail here; because, as far as sendmail is
 concerned, your message has already been delivered, namely to the alias
 mymail. And your log says so:

to=|/usr/home/mymail/mailman, ctladdr=mymail (1/0)

 Indicating that the controlling address (ctladdr) is mymail. If your
 recipient (mymail) decides to output something, good for him, but
sendmail
 is long since done with the delivery.

 If you want to use filters, more or less like you describe, have a look
at:

 Sendmail::Milter

  get deposited in my mailbox on the server.  From what I can understand
of
  how this works, some program actually receives the messages from
sendmail
  (?) and deposits them in my /usr/home/$USER mailbox

 For that to happen, in a set-up where the alias is to deliver mail for
 variable users, you might, for instance, take a look at the plussed
 users facility in sendmail. But why re-invent the wheel? A program like
 procmail will more than likely do what you want. But even procmail, run
from
 a .forward scheme, suffers from having difficulty extracting the intended
 recipient. Only if you define a Perl mailer can you solve that problem
 entirely, as you can parse sendmail variables like $f and $u to your
 delivery agent.

 - Mark


 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Getting Perl scripts to work as mail filters

2002-12-18 Thread Jeff Jirsa
On Thu, 19 Dec 2002, Mxsmanic wrote:

 What about appending directly to the mailbox file under /var/mail/$USER with
 the script?  It looks like the format of the file is very simple.  Why
 wouldn't that work?  I've tried writing to it, but I can't, at least not
 when the script runs from the aliases file (works fine when I run it myself,
 though).

 Procmail is exactly the sort of bloated tool that I'm trying to avoid.

 I don't know that calling sendmail again would be _that_ hard.  After all,
 I'm mostly just copying the input to the output.  I guess all I'd have to do
 would be to change the recipient address to avoid a loop (?).  Right?  Can't
 I just leave all the headers intact otherwise?


Yes, using aliases would probably work to avoid a loop. You may even
want to clean out the Cc: and To: lines of anyone and everyone you didn't
want getting another copy (I'm not 100% sure this is the case, but it
seems to me that if there's a long list of people Cc:'d, calling sendmail
again without stripping them out will send them another email)..

Someone else mentioned it, I think it's worth mentioning again. I'm not
100% sure what you want to do, but I'm 99% sure you'd be better off using
Sendmail's Milter interface than trying to mess around with aliases and
.forward files.

Check out http://www.samag.com/documents/s=7178/sam0206l/. It's got an
example of a small perl script Milter, and the sendmail source has some
others (in C, last I checked).

- Jeff Jirsa



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Broadcom GigE Adapter and IBM x335

2002-12-18 Thread Herb McNew
Has anyone had any luck with the bge driver and the IBM x335?  It has a
Broadcom BCM5703 chip onboard, so I figured the bge driver would recognize
it, but the boot floppies for 4.7-RELEASE fail to find it.  Any help would
be appreciated.

Thanks in advance.

Herb McNew

Gee, Toto, I don't think we are in Kansas anymore.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Getting Perl scripts to work as mail filters

2002-12-18 Thread Mark
- Original Message -
From: Mxsmanic [EMAIL PROTECTED]
To: Mark [EMAIL PROTECTED]; Barry Byrne
[EMAIL PROTECTED]; FreeBSD Questions
[EMAIL PROTECTED]
Sent: Thursday, December 19, 2002 1:13 AM
Subject: Re: Getting Perl scripts to work as mail filters


 What about appending directly to the mailbox file under /var/mail/$USER
 with the script?

Possible, but not ideal. Be sure, in that case, you familiarize yourself
with the assorted locking mechanism in question -- especially that of
qpopper, for instance (if that is what you use to retrieve mail, of course),
or mail may become lost.

 It looks like the format of the file is very simple.

Yes, standard mbox format.

 Why wouldn't that work?

It would, if done properly. :)

 I don't know that calling sendmail again would be _that_ hard.

Certainly possible (as has been suggested already, be careful you do not
wind up in a loop, though). Like so, for instance:

$mailprog = '/usr/sbin/sendmail';

open (MAIL, | $mailprog -f$sender $recipient) || die $!;
print MAIL $header$body;
close (MAIL);

The -f override is so the envelope sender will remain the original sender.
Then you need to work a few things out with trusted users and all, to avoid
authwarnings within the message. But a second invocation of sendmail from
your Perl-script is sure possible.

  After all,
 I'm mostly just copying the input to the output.  I guess all I'd have to
 do would be to change the recipient address to avoid a loop (?).
 Right?  Can't I just leave all the headers intact otherwise?

Headers are all part of the DATA stream, so they have no bearing on where
sendmail delivers mail (unless you run sendmail with the -t option, which is
generally ill-adviced anyway). The recipient given to sendmail as parameter
(see above) is what will be used for delivery. No need to change the headers
for that (as, like I said, they are part of the DATA stream).

- Mark


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Getting Perl scripts to work as mail filters

2002-12-18 Thread Ken McGlothlen
Mxsmanic [EMAIL PROTECTED] writes:

| What about appending directly to the mailbox file under /var/mail/$USER with
| the script?

I'd recommend against that.  Using the sendmail interface is just as easy
programmatically as appending it to /var/mail/whatever, plus you don't run into
any messy issues with lockfiles and such.  Just use sendmail; it's already
there.

| Procmail is exactly the sort of bloated tool that I'm trying to avoid.

Well, for this, you don't need procmail, especially if you have a dedicated
alias for this.

| I don't know that calling sendmail again would be _that_ hard.  After all,
| I'm mostly just copying the input to the output.  I guess all I'd have to do
| would be to change the recipient address to avoid a loop (?).  Right?  Can't
| I just leave all the headers intact otherwise?

Absolutely; in fact, that's the best solution to the problem.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: moving 'vinum start' forward

2002-12-18 Thread Greg 'groggy' Lehey
On Wednesday, 18 December 2002 at 17:49:40 +0100, Joost Bekkers wrote:
 On Tue, Dec 17, 2002 at 11:13:52AM +1030, Greg 'groggy' Lehey wrote:
 On Monday, 16 December 2002 at 10:30:42 +0100, Joost Bekkers wrote:
 On Mon, Dec 16, 2002 at 08:39:28AM +1030, Greg 'groggy' Lehey wrote:
 On Sunday, 15 December 2002 at 20:48:03 +0100, Joost Bekkers wrote:

 I've been hacking away at vinum_attach() in sys/dev/vinum/vinum.c
 but I can't seen to get it to work properly (yet)

 It needs to be done during system startup.  I have code to do it, I
 just haven't got around to sorting out the other issues that are
 needed in order to do this properly.

 Is that code available somewhere or could you send it to me?

 I can send it to you, but it's in a bit of a mess, since it's been
 lying there for nearly three years.  I could explain to you what to
 do, but it would take me about as long as really doing it.

 I've already got my root partition accessible both directly (so the
 loader can get at it) and as a vinum mirrored volume.

 I'd be interested in seeing *your* code.


 Let me say in advance that it is lacking any form of error checking. I should
 also find some way to determine which disk we're booting from, since that is
 the only disk that makes sence to read the config from.

   {
 char *bootdev[]={/dev/da0,/dev/da1,NULL};
 start_config(0);
 lock_config();
 vinum_scandisk(bootdev,sizeof(bootdev)/sizeof(bootdev[0]));
 unlock_config();
 finish_config(0);
 save_config();
   }

Ah.  Yes, that's partially the correct approach, but it requires you
to know *all* Vinum drives; otherwise Vinum will mark the missing ones
down.  Jörg Wunsch already has functional code which does things this
way.  I'm in the process of rewriting vinum_scandisk to find the
drives itself.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re[2]: VNC

2002-12-18 Thread Alex

Dear/Beste Brian,

Thursday, December 12, 2002, 9:45:27 PM, you wrote:

 getting vnc to start at boot is tricky, since you want it to start as some
 user, rather than as root.  A solution I've been thinking of is looking at
 the output os ps auxw, grepping for Xvnc owned by the desired user, if its
 there exit, if not run vncserver as the user in question.  Putting it in
 cron with a /8 to check every 8 minutes seems a good idea.

 Bri

Wouldn't a command in a script 'su user' work?

-- 
Best regards/Met vriendelijke groet,
Alex


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: buildworld problem on cyrix 166

2002-12-18 Thread Giorgos Keramidas
On 2002-12-18 10:27, John Mills [EMAIL PROTECTED] wrote:
 On Wed, 18 Dec 2002, JacobRhoden wrote:
  On Wed, 18 Dec 2002 13:23, Ken Kroel wrote:
   i am trying to update an old pc and have run into a problem with the make
 
   CPU: Cyrix 6x86 (486-class CPU)
 Origin = CyrixInstead  DIR=0x2231  Stepping=2  Revision=2

 Should I specify the processor to my build environment? I have never tried
 this. Has it helped others with this build failure?

I never specify processor dependent optimizations to my builds.
I also have the following in my /etc/make.conf file:

NO_CPU_CFLAGS=  true# Don't add -march=cpu to CFLAGS automatically
NO_CPU_COPTFLAGS=true   # Don't add -march=cpu to COPTFLAGS automatically

I didn't try enabling any sort of CPU specific flags while I still
used that Cyrix, but I also run against the same problem in one of the
upgrades from 4.4-RELEASE to 4.5-RELEASE then 4.6-RELEASE and finally
to 4.7-RELEASE.

 I only recall problems from folks doing upgrades (from RELENG_4_5 to
 RELENG_4_6, _7 in my case). Have others seen the problem when doing
 'buildworld' on an installed system at RELENG_4_6 or later, or is this an
 'upgrade only' issue?

Once I successfully built a 4.7-RELEASE userland (which I needed to
keep as a failover installation, in case my upgrade to 5.0-CURRENT
didn't quite work) the problems went away.  Everything worked fine
with newer upgrades of the 4.X series.

 (I have been able to get some partial and redone builds to complete, but
 never installed them because my purpose is to set a firm foundation under
 my system and I didn't feel I knew what was in the mix in those cases.)

It's probably easier to grab a CDROM image for 4.7-RELEASE and install
that, if you want to be 100% sure that everything your system runs can
be trusted.  Having written that, there's really nothing wrong with
interrupting the buildworld process after it passes the stage of the
libraries and continuing the process later on with -DNOCLEAN.  The
userland programs that are built after that stage will use the already
compiled binaries of /usr/obj and the `critical' parts of the system
have already been built.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



adaptec raid

2002-12-18 Thread Condor
Hello,
i am newbie in freebsd. I have adaptec 2400A pci raid.
My freebsd 4.7 sucessful find it. I have da0 and da1.
My question is, how i configure to mount da0 and da1
disk? Sorry for my stupped question, but i am newbie
in free, i looking some dokumentation about this but i
not found. Help me.

Regards,
Valdes

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



port make options

2002-12-18 Thread Rob B
I'm upgrading my installed ports with the assistance of the portupgrade 
tool, and I'm wondering if there is a way to specify compile options to a 
particular port.

I know that it is possible to upgrade one port at a time with make options 
specified thusly:
  portupgrade -m make_args Port_name

but is it possible to install a port (Samba for instance), and rather than 
specifying the options a compile-time every time the port is upgraded, 
specify the options once only and have portupgrade or whatever follow those 
options?

cheers,
Rob

--
What hair color do they put on the driver's licenses of bald men?

This is random quote 1179 of a collection of 1269

Distance from the centre of the brewing universe:
[15200.8 km (8207.8 mi), 262.8 deg](Apparent) Rennerian

Public Key fingerprint = 6219 33BD A37B 368D 29F5  19FB 945D C4D7 1F66 D9C5


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: port make options

2002-12-18 Thread Andrew Thomson
sure is..

check out /usr/local/etc/pkgtools.conf

MAKE_ARGS section..

ajt.

On Thu, 2002-12-19 at 15:00, Rob B wrote:
 I'm upgrading my installed ports with the assistance of the portupgrade 
 tool, and I'm wondering if there is a way to specify compile options to a 
 particular port.
 
 I know that it is possible to upgrade one port at a time with make options 
 specified thusly:
portupgrade -m make_args Port_name
 
 but is it possible to install a port (Samba for instance), and rather than 
 specifying the options a compile-time every time the port is upgraded, 
 specify the options once only and have portupgrade or whatever follow those 
 options?
 
 cheers,
 Rob
 
 --
 What hair color do they put on the driver's licenses of bald men?
 
 This is random quote 1179 of a collection of 1269
 
 Distance from the centre of the brewing universe:
 [15200.8 km (8207.8 mi), 262.8 deg](Apparent) Rennerian
 
 Public Key fingerprint = 6219 33BD A37B 368D 29F5  19FB 945D C4D7 1F66 D9C5
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: adaptec raid

2002-12-18 Thread mattb
Condor wrote:


Hello,
i am newbie in freebsd. I have adaptec 2400A pci raid.
My freebsd 4.7 sucessful find it. I have da0 and da1.
My question is, how i configure to mount da0 and da1
disk? Sorry for my stupped question, but i am newbie
in free, i looking some dokumentation about this but i
not found. Help me.

Regards,
Valdes


Good luck. I couldn't even get past the boot procedure. Finally gave up 
and just installed NetBSD with the Adaptec 2400A without a hitch.

Matt

 




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



new pw(8) feature - home directory permissions.

2002-12-18 Thread Kutulu
(I apologize in advance if this is too mundane for -hackers...)

After seeing multiple people on IRC ask how to specify the permissions for the home 
directory 
adduser(8) creates, I went in and added that feature to pw(8).

A diff is attached.  As this is my first FreeBSD diff ever, comments from veteran 
hackers are 
highly requested.  If this is something people find useful, I will also go into 
adduser(8) and 
add support for the new flag there, and of course, edit the man pages.

In particular, I want someone who knows what they're doing to make sure I have my 
types and 
signs and such correct.  I also don't like 'f' as the name of the option but the 
obvious ones 
('m' and 'p') are taken.

Thanks,

--Mike Edenfield




diff -ur pw.old/pw.c pw/pw.c
--- pw.old/pw.c Sat Apr  6 00:19:11 2002
+++ pw/pw.c Thu Dec 19 01:41:56 2002
@@ -106,7 +106,7 @@
static const char *opts[W_NUM][M_NUM] =
{
{ /* user */
-   V:C:qn:u:c:d:e:p:g:G:mk:s:oL:i:w:h:Db:NPy:Y,
+   V:C:qn:u:c:d:e:f:p:g:G:mk:s:oL:i:w:h:Db:NPy:Y,
V:C:qn:u:rY,
V:C:qn:u:c:d:e:p:g:G:ml:k:s:w:L:h:FNPY,
V:C:qn:u:FPa7,
@@ -306,6 +306,7 @@
\t-u uid user id\n
\t-c comment user name/comment\n
\t-d directory   home directory\n
+   \t-f perms   permissions for home dir\n
\t-e dateaccount expiry date\n
\t-p datepassword expiry date\n
\t-g grp initial group\n
@@ -321,6 +322,7 @@
\t-V etcdir  alternate /etc location\n
\t-D set user defaults\n
\t-b dir default home root dir\n
+   \t-f perms   default home dir permissions\n
\t-e period  default expiry period\n
\t-p period  default password change period\n
\t-g group   default group\n
diff -ur pw.old/pw.h pw/pw.h
--- pw.old/pw.h Sat Apr  6 00:19:11 2002
+++ pw/pw.h Thu Dec 19 01:49:01 2002
@@ -81,6 +81,7 @@
char*newmail;   /* Mail to send to new accounts */
char*logfile;   /* Where to log changes */
char*home;  /* Where to create home directory */
+   mode_t  homeperms;  /* What permission to give home directory */
char*shelldir;  /* Where shells are located */
char**shells;   /* List of shells */
char*shell_default; /* Default shell */
@@ -97,6 +98,7 @@
 #define _PATH_PW_CONF  /etc/pw.conf
 #define _UC_MAXLINE1024
 #define _UC_MAXSHELLS  32
+#define _UC_DEFPERMS   S_IRWXU || S_IRGRP || S_IROTH
 
 struct userconf *read_userconfig(char const * file);
 int write_userconfig(char const * file);
diff -ur pw.old/pw_conf.c pw/pw_conf.c
--- pw.old/pw_conf.cSat Apr  6 00:19:11 2002
+++ pw/pw_conf.cThu Dec 19 02:02:25 2002
@@ -32,6 +32,7 @@
 #include string.h
 #include ctype.h
 #include fcntl.h
+#include sys/stat.h
 
 #include pw.h
 
@@ -47,6 +48,7 @@
_UC_NEWMAIL,
_UC_LOGFILE,
_UC_HOMEROOT,
+   _UC_HOMEPERMS,
_UC_SHELLPATH,
_UC_SHELLS,
_UC_DEFAULTSHELL,
@@ -90,6 +92,7 @@
NULL,   /* Mail to send to new accounts */
/var/log/userlog, /* Where to log changes */
/home,/* Where to create home directory */
+   _UC_DEFPERMS,   /* Permissions to give home directory */
/bin, /* Where shells are located */
system_shells,  /* List of shells (first is default) */
bourne_shell,   /* Default shell */
@@ -114,6 +117,7 @@
\n# Mail this file to new user (/etc/newuser.msg or no)\n,
\n# Log add/change/remove information in this file\n,
\n# Root directory in which $HOME directory is created\n,
+   \n# Permissions given to newly-created $HOME directory\n,
\n# Colon separated list of directories containing valid shells\n,
\n# Comma separated list of available shells (without paths)\n,
\n# Default shell (without path)\n,
@@ -139,6 +143,7 @@
newmail,
logfile,
home,
+   homeperms,
shellpath,
shells,
defaultshell,
@@ -294,6 +299,10 @@
config.home = (q == NULL || !boolean_val(q, 1))
? /home : newstr(q);
break;
+   case _UC_HOMEPERMS:
+   if ((q = 

aterm, screen, and backspace

2002-12-18 Thread Michael Barrett
Howdy, I just recently got into freebsd and everything has been running
great.  Tonight I decided to change the compile time options that I set
aterm up with and ran into some problems.

Before doing this I went ahead and ran cvsup to make sure I had the latest
and greatest port of aterm.  I don't know if anything got updated, but
I only built my machine about a month ago with the latest ports.  I haven't
seen any changes to the aterm port, but maybe I'm using the port changes
search engine wrong.

Anyways, after making sure I had the latest port info I then de-installed
my copy of aterm, and then did a make install clean to re-install it, using
the standard Makefile.

Everything seemed fine till I went and ran screen.  When I ran screen, I
found that I could no longer  use backspace. Instead of backspacing, it 
would instead simply cause my terminal to beep. I hit ^V then the backspace
key and this is the code it's returning: ^[[3~ .

I looked around the newsgroups and couldn't find a whole lot of answers
in regards to this.  I found something about .inputrc, a file which I use
to give me vi bindings in the python interpreter.  Here's the extent of my
.inputrc file:

set editing-mode vi

I wouldn't imagine this would cause many problems, yet when I went ahead 
and moved the .inputrc to .inputrc.old and started up screen, then my 
backspace key printed a ~ and would cause my terminal to beep.  Hitting
^V backspace now reported ^[[3~ as well.

Anyways I quite plainly 'don't get it'.  Nothing else has changed on my 
system.  I am running the following software:

Screen version 3.09.13 (FAU) 5-Sep-02
aterm version 0.4.2

Has anyone else had this problem?  Thanks in advance for any help you can
give me.  I use screen and aterm a lot, so losing the combo really really
hurts.  Thanks again.

--
 
   Mike Barrett | I used to read, now I go to raves.
 [EMAIL PROTECTED] | -- Random MUNI Rider, speaking
  www.daboyz.org |to my friend Allison.
 +---

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



[no subject]

2002-12-18 Thread Eugene Olkhovick
Hello questions,

su-2.05a# mount_smbfs -I rivne.fc.kiev.ua //eugeneol@freerivne/samba_1 /backup/
mount_smbfs: vfsload(smbfs): Exec format error

Tell me please how can I fix this problem

-- 
Best regards,
Eugene Olkhovickmailto:[EMAIL PROTECTED]
Finance  Credit Banking Corporation, Rivne branch   (0362)630028


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: aterm, screen, and backspace

2002-12-18 Thread Michael Barrett
Ok, please ignore my question.  I'm still not 100% sure what happened, but
somehow a version of aterm was left in /usr/local/bin/aterm from when I edited
the Makefile and removed the entries for --enable-utmp and --enable-wtmp.  That
version seemed to be messing up screen, and I'm not sure why.  When I removed
that version manually and did a make deinstall and then make clean, and then 
make install (inside the aterm port dir) everything seems to be working fine
again.

This brings up another question I had however:  Say I see a configuration in
a  ports Makefile that I want to change.  What is the proper way to go about
doing this?  In this example, I saw the following line in 
/usr/ports/x11/aterm/

CONFIGURE_ARGS+= \
--enable-transparency --enable-background-image \
--disable-delete-key --disable-backspace-key \
--enable-fading --enable-utmp --enable-wtmp

I wanted to get rid of the utmp and wtmp features, so I erased that line as well
as the preceeding \.  I had tried using: make install 
CONFIGURE_ARGS=args I wanted, but the others seemed to be added no matter
what (I believe due to the fact that in the makefile it's using += rather than
just =).

Anyways, what would be the best way of going about this?  Thanks again for all
your help.

On Wed, Dec 18, 2002 at 11:26:40PM -0800, Michael Barrett wrote:
 Howdy, I just recently got into freebsd and everything has been running
 great.  Tonight I decided to change the compile time options that I set
 aterm up with and ran into some problems.
 
 Before doing this I went ahead and ran cvsup to make sure I had the latest
 and greatest port of aterm.  I don't know if anything got updated, but
 I only built my machine about a month ago with the latest ports.  I haven't
 seen any changes to the aterm port, but maybe I'm using the port changes
 search engine wrong.
 
 Anyways, after making sure I had the latest port info I then de-installed
 my copy of aterm, and then did a make install clean to re-install it, using
 the standard Makefile.
 
 Everything seemed fine till I went and ran screen.  When I ran screen, I
 found that I could no longer  use backspace. Instead of backspacing, it 
 would instead simply cause my terminal to beep. I hit ^V then the backspace
 key and this is the code it's returning: ^[[3~ .
 
 I looked around the newsgroups and couldn't find a whole lot of answers
 in regards to this.  I found something about .inputrc, a file which I use
 to give me vi bindings in the python interpreter.  Here's the extent of my
 .inputrc file:
 
 set editing-mode vi
 
 I wouldn't imagine this would cause many problems, yet when I went ahead 
 and moved the .inputrc to .inputrc.old and started up screen, then my 
 backspace key printed a ~ and would cause my terminal to beep.  Hitting
 ^V backspace now reported ^[[3~ as well.
 
 Anyways I quite plainly 'don't get it'.  Nothing else has changed on my 
 system.  I am running the following software:
 
 Screen version 3.09.13 (FAU) 5-Sep-02
 aterm version 0.4.2
 
 Has anyone else had this problem?  Thanks in advance for any help you can
 give me.  I use screen and aterm a lot, so losing the combo really really
 hurts.  Thanks again.
 
 --
  
Mike Barrett | I used to read, now I go to raves.
  [EMAIL PROTECTED] | -- Random MUNI Rider, speaking
   www.daboyz.org |to my friend Allison.
  +---
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

-- 
 
Mike Barrett | I used to read, now I go to raves.
 [EMAIL PROTECTED] | -- Random MUNI Rider, speaking
  www.daboyz.org |to my friend Allison.
 +---

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Dual booting FreeBSD 4.7 and Windows XP

2002-12-18 Thread Shantanu Mahajan
+++ Christopher Rosado [freebsd] [17/12/02 14:18 -0700]:
| 
| On Tue, 17 Dec 2002 02:25:13 +0530
| Shantanu Mahajan [EMAIL PROTECTED] wrote:
| 
| SM  why not try www.xosl.org?
| 
| XOSL wants a DOS drive to live on, so if he's using NTFS, he can't use XOSL.
| 
| - - -- 
| Christopher Rosado

Hmmm..Thats perfectly right. One dirty way can be install XOSL on FAT/FAT32
drive and then convert it to NTFS. XOSL don't need the stored info (AFAIK). 
Or XOSL can be installed on dedicated partition. The one which is generally
unallocated at the end. (around 7 MB)

Regards,
Shantanu

-- 
# ls /usr/lib/common sense
ls: /usr/lib/common sense: No such file or directory




msg12576/pgp0.pgp
Description: PGP signature