From owner-freebsd-questions@FreeBSD.ORG Sun May 18 00:10:02 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ECB7A37B401; Sun, 18 May 2003 00:10:02 -0700 (PDT) Received: from nezlok.unixathome.org (nezlok.unixathome.org [64.251.88.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F95B43F85; Sun, 18 May 2003 00:10:02 -0700 (PDT) (envelope-from dan@nezlok.unixathome.org) Received: by nezlok.unixathome.org (Postfix, from userid 1000) id AF4E0AE468; Sun, 18 May 2003 00:10:01 -0700 (PDT) From: Dan Langille To: freebsd-newbies@freebsd.org, freebsd-questions@freebsd.org Message-Id: <20030518071001.AF4E0AE468@nezlok.unixathome.org> Date: Sun, 18 May 2003 00:10:01 -0700 (PDT) Subject: The FreeBSD Diary: 2003-04-27 - 2003-05-17 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2003 07:10:03 -0000 The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives and/or The FreeBSD Diary . These are the articles posted during this period: 10-May : Google blocking searches from unknown browsers I'm sure it'll be fixed soon http://freebsddiary.org/google-links-forbidden.php?2 1-May : New FreshPorts release brings interesting challenges Coding, blacklists, and stunnel... http://freebsddiary.org/freshports-release-2003.04.29.php?2 -- Dan Langille - DVL Software Limited The FreeBSD Diary - http://www.FreeBSDDiary.org/ - practical examples FreshPorts - http://www.FreshPorts.org/ - the place for ports FreshSource - http://www.FreshSource.org/ - the place for source From owner-freebsd-questions@FreeBSD.ORG Sun May 18 00:14:00 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F033937B401 for ; Sun, 18 May 2003 00:14:00 -0700 (PDT) Received: from albatross.mail.pas.earthlink.net (albatross.mail.pas.earthlink.net [207.217.120.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C6A543F75 for ; Sun, 18 May 2003 00:14:00 -0700 (PDT) (envelope-from parv_fm@mailsent.net) Received: from sdn-ap-014dcwashp0073.dialsprint.net ([63.188.136.73] helo=moo.holy.cow) by albatross.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 19HIMp-00015w-00; Sun, 18 May 2003 00:13:59 -0700 Received: by moo.holy.cow (Postfix, from userid 1001) id DD0DEAC70; Sun, 18 May 2003 03:17:09 -0400 (EDT) Date: Sun, 18 May 2003 03:17:09 -0400 From: parv To: Tom Message-ID: <20030518071709.GB45509@moo.holy.cow> Mail-Followup-To: Tom , freebsd-questions@freebsd.org References: <200305172140.08488.tsasser@terra.cl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200305172140.08488.tsasser@terra.cl> cc: freebsd-questions@freebsd.org Subject: Re: key repeat rate X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2003 07:14:01 -0000 in message <200305172140.08488.tsasser@terra.cl>, wrote Tom thusly... > > i'm having difficulty with key repeat rates in X windows Okay then; use xset(1) (somewhere in your xinitrc or equivalent)... r The r option controls the autorepeat. If a preceding dash or the 'off' flag is used, autorepeat will be disabled. If no parameters or the 'on' flag is used, autorepeat will be enabled. If a specific keycode is specified as a parameter, autorepeat for that keycode is enabled or disabled. If the server supports the XFree86-Misc extension, or the XKB exten- sion, then a parameter of 'rate' is accepted and should be fol- lowed by zero, one or two numeric values. The first specifies the delay before autorepeat starts and the second specifies the repeat rate. In the case that the server supports the XKB extension, the delay is the number of milliseconds before autorepeat starts, and the rate is the number of repeats per second. If the rate or delay is not given, it will be set to the default value. ...so delay of 350 ms & 30 repeats/s, for all the keys, will be set as... xset r rate 350 30 - parv -- From owner-freebsd-questions@FreeBSD.ORG Sun May 18 00:16:43 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D605337B401 for ; Sun, 18 May 2003 00:16:43 -0700 (PDT) Received: from postit.adam.com.au (postit.adam.com.au [203.2.124.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D69C43F3F for ; Sun, 18 May 2003 00:16:42 -0700 (PDT) (envelope-from bastill@adam.com.au) Received: from lightning.adam.com.au (lightning.adam.com.au [203.2.124.20]) by postit.adam.com.au (8.12.9/8.12.9) with SMTP id h4I7IS26037051 for ; Sun, 18 May 2003 16:48:29 +0930 (CST) Received: (qmail 60268 invoked from network); 18 May 2003 07:16:41 -0000 Received: from 202-6-151-210.ip.adam.com.au (HELO BAPhD.gihon.org.au) (202.6.151.210) by eden.adam.com.au with SMTP; 18 May 2003 07:16:41 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Brian Astill To: Antoine Jacoutot , questions@freebsd.org Date: Sun, 18 May 2003 16:47:28 +0930 User-Agent: KMail/1.4.3 References: <200305171807.23763.ajacoutot@lphp.org> In-Reply-To: <200305171807.23763.ajacoutot@lphp.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200305181647.28312.bastill@adam.com.au> Subject: Re: DEVASTATION, help :( X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2003 07:16:44 -0000 On Sun, 18 May 2003 01:37 am, Antoine Jacoutot wrote: > Hi ! > > I really need help... > Don't ask me how, but I deleted some very very personnal and > important files under a mount point. > I immediately umount the partition, but everything is lost :( > Is there ANY way I could get the files back. Know the problem! :-( I'm just waiting for my finance manager (read "wife") to approve a new=20 LARGE HD so I can do some recovery work. Try: http://www.ccl.net/cca/software/UNIX/recover-files-after-rm/index.shtml ftp://gatekeeper.dec.com/pub/sysadm/recover.tar.Z also search for Archive-Name: auto/comp.unix.admin/File-recovery-program And also search for the Autopsy Forensic Browser. One or the other of these should help! :-) --=20 Regards, Brian From owner-freebsd-questions@FreeBSD.ORG Sun May 18 00:20:50 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B5EA37B401 for ; Sun, 18 May 2003 00:20:50 -0700 (PDT) Received: from mx1.lphp.org (APastourelles-107-1-22-222.w81-248.abo.wanadoo.fr [81.248.17.222]) by mx1.FreeBSD.org (Postfix) with ESMTP id 35F9E43F85 for ; Sun, 18 May 2003 00:20:48 -0700 (PDT) (envelope-from ajacoutot@lphp.org) Received: from srv01.lphp.org.local (localhost [127.0.0.1]) by mx1.lphp.org (8.12.8p1/8.12.8) with ESMTP id h4I7KdUG000422; Sun, 18 May 2003 09:20:39 +0200 (CEST) (envelope-from ajacoutot@lphp.org) Received: (from www@localhost) by srv01.lphp.org.local (8.12.8p1/8.12.8/Submit) id h4I7KWN5000421; Sun, 18 May 2003 09:20:32 +0200 (CEST) (envelope-from ajacoutot@lphp.org) X-Authentication-Warning: srv01.lphp.org.local: www set sender to ajacoutot@lphp.org using -f Received: from sta01.lphp.org.local (sta01.lphp.org.local [192.168.0.4]) by webmail.lphp.org (IMP) with HTTP for ; Sun, 18 May 2003 09:20:32 +0200 Message-ID: <1053242432.3ec73440404fb@webmail.lphp.org> Date: Sun, 18 May 2003 09:20:32 +0200 From: Antoine Jacoutot To: Brian Astill References: <200305171807.23763.ajacoutot@lphp.org> <200305181647.28312.bastill@adam.com.au> In-Reply-To: <200305181647.28312.bastill@adam.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.1 / FreeBSD-4.8 cc: questions@freebsd.org Subject: Re: DEVASTATION, help :( X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2003 07:20:50 -0000 Selon Brian Astill : > Know the problem! :-( > I'm just waiting for my finance manager (read "wife") to approve a new > LARGE HD so I can do some recovery work. > Try: > http://www.ccl.net/cca/software/UNIX/recover-files-after-rm/index.shtml > ftp://gatekeeper.dec.com/pub/sysadm/recover.tar.Z > also search for Archive-Name: auto/comp.unix.admin/File-recovery-program Thanks a lot for this information. I'll try different things and let the list knows what works the best, if any. Antoine From owner-freebsd-questions@FreeBSD.ORG Sun May 18 00:56:58 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA14537B407 for ; Sun, 18 May 2003 00:56:58 -0700 (PDT) Received: from smtp0.adl1.internode.on.net (smtp0.adl1.internode.on.net [203.16.214.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id F33DF43F3F for ; Sun, 18 May 2003 00:56:57 -0700 (PDT) (envelope-from malcolm.kay@internode.on.net) Received: from beta.home (ppp364.sa.padsl.internode.on.net [150.101.245.107]) h4I7uuMO085906 for ; Sun, 18 May 2003 17:26:56 +0930 (CST) Content-Type: text/plain; charset="us-ascii" From: Malcolm Kay Organization: At home To: freebsd-questions@freebsd.org Date: Sun, 18 May 2003 17:26:55 +0930 User-Agent: KMail/1.4.3 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200305181726.55633.malcolm.kay@internode.on.net> Subject: vinum(4) and groff X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2003 07:56:59 -0000 When I ask for printer output from man page vinum(4) the font size in the last few pages is ever decreasing=20 until at the end I get only a row of dots. Command used: # man -t 4 vinum > vinum4.ps The man page is dated October 5, 1999. The OS is FreeBSD 4.7 Stable from about mid February. Exploring the man page after decompressing with zcat I find entries: =2Eif t .ps -3 followed some time later by: =2Eif t .ps which I understand should reduce the font size and later return to the previous size. If I substitute: =2Eif t .ps +3 for the lines using .ps without arguments the results look correct. So it seems the previous size is not being restored as it should be. However a simple test of a minimal file: abracadabra =2Eps -3 abracadabra =2Eps abracadabra seems to produce the expected result when processed with groff. It would seem that intervening commands in the vinum page is upsetting the process. Am I doing something foolish or do I have a bug which should=20 be reported somewhere? Malcolm From owner-freebsd-questions@FreeBSD.ORG Sun May 18 01:21:15 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5AB2537B401 for ; Sun, 18 May 2003 01:21:15 -0700 (PDT) Received: from hotmail.com (dav28.sea2.hotmail.com [207.68.164.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB36E43F93 for ; Sun, 18 May 2003 01:21:14 -0700 (PDT) (envelope-from forharryh@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 18 May 2003 01:21:14 -0700 Received: from 66.81.115.43 by dav28.sea2.hotmail.com with DAV; Sun, 18 May 2003 08:21:14 +0000 X-Originating-IP: [66.81.115.43] X-Originating-Email: [forharryh@hotmail.com] From: "HarryH" To: Date: Sun, 18 May 2003 01:21:24 -0700 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: X-OriginalArrivalTime: 18 May 2003 08:21:14.0667 (UTC) FILETIME=[72A8FFB0:01C31D16] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Need video driver BSD 4.7 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2003 08:21:15 -0000 Hi, I am trying to install BSD 4.7 on my PC and need a video card driver: = Rage 3D Pro AGP 2x (BGA package) 8 MB. Any info on where I can get a = driver will be most appreciated. From owner-freebsd-questions@FreeBSD.ORG Sun May 18 01:31:22 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E57D37B401 for ; Sun, 18 May 2003 01:31:22 -0700 (PDT) Received: from hotmail.com (dav18.sea2.hotmail.com [207.68.164.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA98943F3F for ; Sun, 18 May 2003 01:31:21 -0700 (PDT) (envelope-from forharryh@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 18 May 2003 01:31:21 -0700 Received: from 66.81.115.43 by dav18.sea2.hotmail.com with DAV; Sun, 18 May 2003 08:31:21 +0000 X-Originating-IP: [66.81.115.43] X-Originating-Email: [forharryh@hotmail.com] From: "HarryH" To: Date: Sun, 18 May 2003 01:31:22 -0700 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: X-OriginalArrivalTime: 18 May 2003 08:31:21.0592 (UTC) FILETIME=[DC6A6780:01C31D17] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Need video driver 4.7 & other Q X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2003 08:31:22 -0000 Hi, I am trying to install BSD and need a driver for video card: Rage 3D Pro = AGP 2x (BGA Package) 8 MB. Any idea where I can get one? Also, how much disk space does 4.7 need for a "normal" install that = includes server and X Window options, less source, less games? I only = want it for learning Unix inside my Windows/Linux network. Where can I = get a good idea of partition/directory space, as the defaults are too = small. Thanks, Harry From owner-freebsd-questions@FreeBSD.ORG Sun May 18 01:39:28 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C39E137B433 for ; Sun, 18 May 2003 01:39:27 -0700 (PDT) Received: from spam2.snu.ac.kr (spam2.snu.ac.kr [147.46.10.68]) by mx1.FreeBSD.org (Postfix) with SMTP id 657FD43F85 for ; Sun, 18 May 2003 01:39:25 -0700 (PDT) (envelope-from lahaye@users.sourceforge.net) Received: (snipe 3382 invoked by alias); 18 May 2003 08:56:36 -0000 Received: from lahaye@users.sourceforge.net with Spamsniper2.0 (Processed in 0.151536 secs); Received: from unknown (HELO sis1.snu.ac.kr) (147.46.10.36) by 0 with SMTP; 18 May 2003 08:56:36 -0000 X-RCPTTO: freebsd-questions@freebsd.org,david@skytracker.ca, Received: from users.sourceforge.net ([147.46.44.183]) by sis1.snu.ac.kr (8.12.9/8.12.9) with ESMTP id h4I8bqFA176382; Sun, 18 May 2003 17:37:53 +0900 Message-ID: <3EC746F2.5080900@users.sourceforge.net> Date: Sun, 18 May 2003 17:40:18 +0900 From: Rob Lahaye Organization: Seoul National University - South Korea User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4a) Gecko/20030507 X-Accept-Language: en-us, en, ko-kr MIME-Version: 1.0 To: David Banning , freebsd-questions@freebsd.org References: <3EC4D3E2.4010207@users.sourceforge.net> <20030517003836.A78779@skytrackercanada.com> In-Reply-To: <20030517003836.A78779@skytrackercanada.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: realaudio frequently coredumps X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2003 08:39:29 -0000 David Banning wrote: >>I'm using realaudio versions 8 and 9, which both coredump frequently. >>The crash seems to happen when the speed of the connection goes down, >>which, of course should not be a reason for coredumping :). >> >>I'm just wondering whether this is indeed a bug in realaudio, or it >>is a bug in the linux module on Freebsd. >> >>I'm using linux_base-7.1_3 and FreeBSD 4.8 on a intel PC. > > > Did you check the brandelf status? I fixed all that; installed linux-realplayer from the ports and set the brandelf to Linux. But the crashes still occur. When the network gets congested and realaudio starts buffering, it crashes immediately after it plays sound again. The console gets: May 18 17:31:57 lahaye /kernel: pid 83679 (realplay), uid 1001: exited on signal 11 (core dumped) and gdb -c realplay.core says: Core was generated by `realplay'. Program terminated with signal 11, Segmentation fault. #0 0x283c3701 in ?? () Probably a bug in realplay then, or? Regards, Rob. From owner-freebsd-questions@FreeBSD.ORG Sun May 18 01:54:28 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5FF6837B401 for ; Sun, 18 May 2003 01:54:28 -0700 (PDT) Received: from smtp-4.hut.fi (smtp-4.hut.fi [130.233.228.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6DFD543FAF for ; Sun, 18 May 2003 01:54:27 -0700 (PDT) (envelope-from jhuvinen@lyta.hut.fi) Received: from lyta.hut.fi (lyta.hut.fi [130.233.228.21]) by smtp-4.hut.fi (8.12.9/8.12.9) with ESMTP id h4I8sQN4000952 for ; Sun, 18 May 2003 11:54:26 +0300 Date: Sun, 18 May 2003 11:54:26 +0300 (EET DST) From: Jukka Huvinen To: freebsd-questions@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-RAVMilter-Version: 8.4.3(snapshot 20030212) (smtp-4.hut.fi) X-DCC-HUTCC-Metrics: smtp-4.hut.fi 1165; Body=1 Fuz1=1 Fuz2=1 Subject: Mouse freezes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2003 08:54:28 -0000 My mouse freezes randomly under X. :( Release 4.8, gdm + gnome. (Clean 4.8 install) The mouse freezes only when typing text and after a random period of time. Sometimes only in seconds (again when typing text). /var/log/messages: (after crashing/freeze) May 17 18:53:56 limo /kernel: psmintr: delay too long; resetting byte count May 17 18:55:17 limo /kernel: psmintr: delay too long; resetting byte count /etc/rc.conf: moused_flags="" moused_port="/dev/psm0" moused_type="auto" moused_enable="YES" /etc/X11/XF86Config: Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" EndSection After it has frozen, kill -HUP to the moused restores it working again, but causes first some random movements and clicks (synchronizing?). Then /var/log/messages says: May 17 19:04:53 limo /kernel: psmintr: out of sync (0000 != 0008). May 17 19:04:53 limo /kernel: psmintr: discard a byte (1). ... May 17 19:04:55 limo /kernel: psmintr: discard a byte (19). May 17 19:04:55 limo /kernel: psmintr: out of sync (0000 != 0008). May 17 19:04:55 limo /kernel: psmintr: reset the mouse. Any ideas what might be wrong? Found some out of sync reports from www & FAQ, but they didn't help. (flags psm0 0x100 or 0x04 or 0x104.) Am I missing something? Help! -- Jukka From owner-freebsd-questions@FreeBSD.ORG Sun May 18 02:16:28 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7ED1037B401 for ; Sun, 18 May 2003 02:16:28 -0700 (PDT) Received: from dentrita.perpels.com (217-126-9-95.uc.nombres.ttd.es [217.126.9.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE2D643FA3 for ; Sun, 18 May 2003 02:16:26 -0700 (PDT) (envelope-from drio@perpels.com) Received: from big.perpels.com (unknown [192.168.0.5]) by dentrita.perpels.com (Postfix) with ESMTP id 5EB81F4 for ; Sun, 18 May 2003 11:16:25 +0200 (CEST) Received: by big.perpels.com (Postfix, from userid 1000) id 56E4D540D; Sun, 18 May 2003 11:16:25 +0200 (CEST) Date: Sun, 18 May 2003 11:16:25 +0200 From: David Rio To: freebsd-questions@freebsd.org Message-ID: <20030518091625.GA11341@perpels.com> References: <20030516070445.GA43651@perpels.com> <44bry1ngdc.fsf@be-well.ilk.org> <20030518060417.GA670@sten.alder.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030518060417.GA670@sten.alder.net> User-Agent: Mutt/1.4.1i Subject: Re: how to know if there is a cd inside the cdwriter X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2003 09:16:28 -0000 On Sun, May 18, 2003 at 02:04:17AM -0400, Bob Hall wrote: > David Rio writes: > > > I am writing a little script to backup my data. I would like > > to know if there is a CD inside the cdwriter before launch the > > burn process. Any idea? > > Here's a snippet from a bash script I use to do the same thing with > a dvd burner. The burner is external, so the script has alread checked > to see if the burner is mounted. > > melding=$(sudo mount -t ufs -o rw /dev/cd0a $montering_punkt 2>&1) > #Om mount ikke returnerer 0, er noe galt. > if [ $? -ne 0 ] > then > if [ "$melding" = "mount: /dev/cd0a: Device not configured" ] > then Thanks. I have received another answer from Lowell Gilbert that point me to use "cdcontrol info" and then parse the output. This one is good too. From owner-freebsd-questions@FreeBSD.ORG Sun May 18 02:29:55 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 791EE37B401 for ; Sun, 18 May 2003 02:29:55 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBDE543FA3 for ; Sun, 18 May 2003 02:29:53 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) h4I9TodP004658 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 18 May 2003 10:29:50 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)h4I9Tnw8004582; Sun, 18 May 2003 10:29:49 +0100 (BST) (envelope-from matthew) Date: Sun, 18 May 2003 10:29:49 +0100 From: Matthew Seaman To: Mark Lapointe Message-ID: <20030518092949.GA14471@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Mark Lapointe , freebsd-questions@freebsd.org References: <3EC6DA72.9040008@uwindsor.ca> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dDRMvlgZJXvWKvBx" Content-Disposition: inline In-Reply-To: <3EC6DA72.9040008@uwindsor.ca> User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-38.8 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_MUTT version=2.53 X-Spam-Checker-Version: SpamAssassin 2.53 (1.174.2.15-2003-03-30-exp) cc: freebsd-questions@freebsd.org Subject: Re: Packet Shaping X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2003 09:29:55 -0000 --dDRMvlgZJXvWKvBx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, May 17, 2003 at 08:57:22PM -0400, Mark Lapointe wrote: > Hi there, >=20 > I would like to share my DSL connection w/ my housemates, but since I am= =20 > footing most of the bill, and they are starting to become more heavy=20 > users I would like to limit them to like 100k down to 25k up on their=20 > part of the subnet (from 192.168.1.100 to 199) then segment my end to be= =20 > able to use unlimited if I want to, possibly limit myself to 300K when=20 > the others are active. >=20 > I could always create another subnet for myself also (ph33r the=20 > housemates... let the virri that they catch, they can keep to themselves). That's not excruciatingly difficult to achieve. You need a combination of ipfw(8) and dummynet(4). Luigi Rizzo (author of dummynet) has a page with lots of useful information at http://info.iet.unipi.it/~luigi/ip_dummynet/ Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --dDRMvlgZJXvWKvBx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE+x1KNdtESqEQa7a0RAv9gAJ4zED357iJxNXqnFAp3FZBcPxrE3ACggj43 clKTrQuETzVXVSspjKd2PTc= =ZuFP -----END PGP SIGNATURE----- --dDRMvlgZJXvWKvBx-- From owner-freebsd-questions@FreeBSD.ORG Sun May 18 02:41:47 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 53CCF37B404 for ; Sun, 18 May 2003 02:41:47 -0700 (PDT) Received: from smtp014.mail.yahoo.com (smtp014.mail.yahoo.com [216.136.173.58]) by mx1.FreeBSD.org (Postfix) with SMTP id 07C2E43FAF for ; Sun, 18 May 2003 02:41:46 -0700 (PDT) (envelope-from max@willystudios.com) Received: from host121-123.pool80116.interbusiness.it (HELO max.willystudios.com) (willythemax@80.116.123.121 with login) by smtp.mail.vip.sc5.yahoo.com with SMTP; 18 May 2003 09:41:44 -0000 Date: Sun, 18 May 2003 11:41:48 +0200 From: Massimiliano Stucchi To: freebsd-questions@freebsd.org Message-Id: <20030518114148.4b055803.max@willystudios.com> In-Reply-To: References: Organization: WillyStudios.com, LTD X-Mailer: Sylpheed version 0.8.10claws (GTK+ 1.2.10; i386-portbld-freebsd4.7) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Need video driver BSD 4.7 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: stucchi@willystudios.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2003 09:41:47 -0000 On Sun, 18 May 2003 01:21:24 -0700 "HarryH" wrote: > Hi, > > I am trying to install BSD 4.7 on my PC and need a video card driver: > Rage 3D Pro AGP 2x (BGA package) 8 MB. Any info on where I can get a > driver will be most > appreciated. You can simply use the driver that comes with the X Window system, the one marked "ATI", as it works perfectly with the same video card here. Just work out the X configuration utility you want and make it use the ATI driver. Ciao ciao -- Stucchi Massimiliano | Gruppo Utenti FreeBSD Italia WillyStudios.com | http://www.gufi.org stucchi@willystudios.com | max@gufi.org "People who make no mistakes do not usually make anything" From owner-freebsd-questions@FreeBSD.ORG Sun May 18 01:00:42 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4435D37B401 for ; Sun, 18 May 2003 01:00:42 -0700 (PDT) Received: from bong.etp.ro (its.rdsnet.ro [194.176.188.130]) by mx1.FreeBSD.org (Postfix) with SMTP id ED46743F3F for ; Sun, 18 May 2003 01:00:40 -0700 (PDT) (envelope-from ) Received: (qmail 11809 invoked by uid 0); 18 May 2003 07:50:38 -0000 Received: from by bong by uid 1001 18 May 2003 07:50:38 -0000 Received: from unknown (HELO organizer.ro) (127.0.0.1) by bong.etp.ro with SMTP; 18 May 2003 07:50:37 -0000 Received: from 213.233.111.89 (SquirrelMail authenticated user csalan@organizer.ro) by organizer.ro with HTTP; Sun, 18 May 2003 10:50:37 +0300 (EEST) Message-ID: <1093.213.233.111.89.1053244237.squirrel@organizer.ro> Date: Sun, 18 May 2003 10:50:37 +0300 (EEST) From: "Cristian Salan" <@organizer.ro> To: X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal X-Mailer: SquirrelMail (version 1.2.5) Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Sun, 18 May 2003 04:27:30 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Newbie help !!! How to test the connection? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2003 08:00:42 -0000 Hello, I've managed to setup a FreeBSD 4.7 as a company gateway (is a PI 166 with new 3COM 905 nic's). With mtr, when nobody surfing on the net there are no losses to yahoo for example, but when there is normal traffic, mtr shows 15 to 60% losses to the same yahoo (to our ISP gateway there are no losses). Somebody who saw these results, is spreading the news that we have a poor internet connection or the gateway is functioning quite bad with this FreeBSD OS, they've never heard before. How can I test, measure and present the situation. Cristian Salan Want your own free email @organizer.ro? click [1]here to sign up. References 1. http://www.organizer.ro/ From owner-freebsd-questions@FreeBSD.ORG Sun May 18 02:49:34 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C76DA37B409 for ; Sun, 18 May 2003 02:49:34 -0700 (PDT) Received: from digiflux.org (43.Red-80-59-151.pooles.rima-tde.net [80.59.151.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A71343FA3 for ; Sun, 18 May 2003 02:49:32 -0700 (PDT) (envelope-from olivas@digiflux.org) Received: from sentinel (sentinel [10.0.2.5]) (authenticated bits=0) by digiflux.org (8.12.9/8.12.9) with ESMTP id h4I9nUuB037836 for ; Sun, 18 May 2003 11:49:31 +0200 (CEST) (envelope-from olivas@digiflux.org) From: Stacy Olivas Date: Sun, 18 May 2003 11:49:30 +0200 User-Agent: KMail/1.5 To: questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200305181149.30440.olivas@digiflux.org> Subject: Fwd: MFS and Kernel panics (5.0-RELEASE-p7) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2003 09:49:35 -0000 [forwarded from -hackers] I originally posted this message to -hackers. I'm forwarding it here as well since someone here might have an idea as well. BTW- I found this "problem" while playing with a PicoBSD build of the kernel. TIA. -Stacy ---------- Forwarded Message ---------- Subject: MFS and Kernel panics (5.0-RELEASE-p7) Date: Saturday 17 May 2003 2:21 am From: Stacy Olivas To: hackers@freebsd.org I've been playing with various MFS file sizes in a kernel and have come across some issues. Either I'm doing something wrong, or there possibly is a bug somewhere. Background: OS: FreeBSD 5.0-RELEASE-p7 When building a kernel with an MFS_ROOT size => 8000 bytes (~7.8 megs), after the kernel has successfully loaded, if you subsequently try mounting a floppy disk (to a mount point on the MFS) (doesn't matter if it's fresh floppy or has some files on it) the kernel panics with the following message: panic: isa_dmastart: bad bounce buffer syncing disks, buffers remaining... panic: bwrite: buffer is not busy??? But, for an MFS that is 7000 (~6.8 megs) it works with out a hitch. This behavior has been reproducable on two different systems with more than plenty of memort available. -- dmesg output of kernel that panics (MD_ROOT_SIZE=8000) (thank god dmesg is saved between warm boots): Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.0-RELEASE-p7 #1: Fri May 16 15:18:39 CEST 2003 olivas@thos.digiflux.org:/usr/src/release/picobsd/warbsd/build_dir-warbsd/PIC OBSD-warbsd Preloaded elf kernel "/kernel" at 0xc0f86000. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 360790606 Hz CPU: AMD-K6(tm) 3D+ Processor (360.79-MHz 586-class CPU) Origin = "AuthenticAMD" Id = 0x591 Stepping = 1 Features=0x8021bf AMD Features=0xffffffff80000800 real memory = 167772160 (160 MB) avail memory = 146579456 (139 MB) Initializing GEOMetry subsystem K6-family MTRR support enabled (2 registers) ACPI-0159: *** Error: AcpiLoadTables: Could not get RSDP, AE_NO_ACPI_TABLES ACPI-0213: *** Error: AcpiLoadTables: Could not load tables: AE_NO_ACPI_TABLES ACPI: table load failed: AE_NO_ACPI_TABLES npx0: on motherboard npx0: INT 16 interface Using $PIR table, 4 entries at 0xc00fdf70 pcib0: at pcibus 0 on motherboard pci0: on pcib0 isab0: at device 1.0 on pci0 isa0: on isab0 cbb0: at device 10.0 on pci0 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 pci_cfgintr: 0:10 INTA routed to irq 11 cbb1: at device 10.1 on pci0 cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 pci_cfgintr: 0:10 INTB routed to irq 11 pci0: at device 18.0 (no driver attached) ohci0: mem 0xfecff000-0xfecfffff irq 10 at device 19.0 on pci0 usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 uhub0: OPTi OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered atapci0: port 0xfcf0-0xfcff at device 20.0 on pci0 atapci0: Busmastering DMA not supported ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 orm0: 302 Found

Found

The document has moved here.


Apache/1.3.27 Server at gw.kensi.org Port 80
Connection closed by foreign host. Now what I want is apache should _not_ listen on port 80, but leave this to stunnel. That is where I get lost, because once I hash out the "Listen 80" I try to connect and get the error that the "document contains no data" And of course when I telnet 0 80 and do a GET /, I get nothing!! Thanks in advance. -Wash -- Odhiambo Washington "The box said 'Requires Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,' Tel: +254 2 313985-9 +254 2 313922 so I installed FreeBSD." GSM: +254 72 743223 +254 733 744121 This sig is McQ! :-) The average woman would rather have beauty than brains, because the average man can see better than he can think. From owner-freebsd-questions@FreeBSD.ORG Thu May 22 08:18:05 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C75BA37B401 for ; Thu, 22 May 2003 08:18:05 -0700 (PDT) Received: from devil.stderror.at (at00d01-adsl-194-118-044-149.nextranet.at [194.118.44.149]) by mx1.FreeBSD.org (Postfix) with ESMTP id 08D9943FB1 for ; Thu, 22 May 2003 08:18:04 -0700 (PDT) (envelope-from pinhead@stderror.at) Received: by devil.stderror.at (Postfix, from userid 1000) id B1A1E15253; Thu, 22 May 2003 17:17:58 +0200 (CEST) Date: Thu, 22 May 2003 17:17:58 +0200 From: Toni Schmidbauer To: freebsd-questions@freebsd.org Message-ID: <20030522151758.GL60276@devil.stderror.at> Mail-Followup-To: freebsd-questions@freebsd.org References: <20030522053741.M54080@enabled.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="b6Y3a1uK/7FdRsLm" Content-Disposition: inline In-Reply-To: <20030522053741.M54080@enabled.com> User-Agent: Mutt/1.4.1i Subject: Re: bandwidth utilization X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: toni@stderror.at List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2003 15:18:06 -0000 --b6Y3a1uK/7FdRsLm Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 21, 2003 at 09:39:21PM -0800, admin wrote: > I am hosting many different types of services from my server and want to = be > able to understand bandwidth utilization for each service. Are there any= good > tools out there that I can use for this type of reporting? http://www.ntop.org/ hth, toni --=20 Behandle die Menschen, als w=E4ren sie, was sie sein | toni at stderror dot= at sollten, und du wirst ihnen helfen, zu werden, was | Toni Schmidbauer sie sein k=F6nnen. - Johann Wolfgang von Goethe | --b6Y3a1uK/7FdRsLm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+zOoiu/mjSj7RMocRAt4bAJ9KbWy+7KAuXVMxM/53a3VxrErhPQCghz9J Ej9GhDKFhz+x61X6muMsP+o= =gWx3 -----END PGP SIGNATURE----- --b6Y3a1uK/7FdRsLm-- From owner-freebsd-questions@FreeBSD.ORG Thu May 22 08:23:53 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E30F337B401 for ; Thu, 22 May 2003 08:23:53 -0700 (PDT) Received: from mail.munk.nu (213-152-51-194.dsl.eclipse.net.uk [213.152.51.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id D2E4443F3F for ; Thu, 22 May 2003 08:23:50 -0700 (PDT) (envelope-from munk@mail.munk.nu) Received: from munk by mail.munk.nu with local (Exim 4.20) id 19Irv3-0007RZ-Tq for freebsd-questions@freebsd.org; Thu, 22 May 2003 16:23:49 +0100 Date: Thu, 22 May 2003 16:23:49 +0100 From: Jez Hancock To: FreeBSD questions List Message-ID: <20030522152349.GB28372@users.munk.nu> Mail-Followup-To: FreeBSD questions List References: <20030522053741.M54080@enabled.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030522053741.M54080@enabled.com> User-Agent: Mutt/1.4.1i Sender: User Munk Subject: Re: bandwidth utilization X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2003 15:23:54 -0000 On Wed, May 21, 2003 at 09:39:21PM -0800, admin wrote: > > > Hi, > > I am hosting many different types of services from my server and want to be > able to understand bandwidth utilization for each service. Are there any good > tools out there that I can use for this type of reporting? There's mrtg: http://people.ee.ethz.ch/~oetiker/webtools/mrtg/ (also in /usr/ports/net/mrtg) the Multi Router Traffic Graphing utility (but doesn't just measure router telemetry, can be customized to graph almost anything, literally). there's a raft of links here as well: http://nakula.rvs.uni-bielefeld.de/made/my_project/3rd-party/ (/me runs off to mirror that page in case it disappears :)) Good luck, Jez From owner-freebsd-questions@FreeBSD.ORG Thu May 22 08:34:59 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4BB7137B401 for ; Thu, 22 May 2003 08:34:59 -0700 (PDT) Received: from smtp0.adl1.internode.on.net (smtp0.adl1.internode.on.net [203.16.214.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4547C43F93 for ; Thu, 22 May 2003 08:34:58 -0700 (PDT) (envelope-from malcolm.kay@internode.on.net) Received: from beta.home (ppp1969.sa.padsl.internode.on.net [150.101.26.176]) h4MFYqMO052171; Fri, 23 May 2003 01:04:52 +0930 (CST) Content-Type: text/plain; charset="iso-8859-1" From: Malcolm Kay Organization: At home To: Eduardo Viruena Silva , tollallenamensindbelegt@t-online.de Date: Fri, 23 May 2003 01:04:51 +0930 User-Agent: KMail/1.4.3 References: <20030522143851.GA729@lisa.home.net> <20030522093938.W43624@Gina.esfm.ipn.mx> In-Reply-To: <20030522093938.W43624@Gina.esfm.ipn.mx> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200305230104.51666.malcolm.kay@internode.on.net> cc: freebsd-questions@freebsd.org Subject: Re: can't print postscript files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2003 15:34:59 -0000 On Fri, 23 May 2003 00:17, Eduardo Viruena Silva wrote: > On Thu, 22 May 2003 tollallenamensindbelegt@t-online.de wrote: > > Hi I, > > had configure my /etc/printcap like the example in the freebsd handbo= ok > > but I'm not able to print postscript files I thing I have a little > > misstake in the gs section in this script /usr/local/libexec/hl7x0 > > because I can print plaintext files. > > > > my printer is a brother HL-730 > > > > could any one give me the answer where is the misstake that I'm not a= ble > > to print ps file. > > > > thanks!!! > > > > best regards > > > > Michael Bohn > > [--- snip ----] > > > # > > exec 3>&1 1>&2 > > /usr/local/bin/gs -dSAFER -dNOPAUSE -q -sDEVICE=3Dhl7x0 \ > > I cannot see "hl7x0" as a valid -sDEVICE option. I can see it in the version os ghostscript I'm using: #gs -h -> produces -> GNU Ghostscript 6.52 (2001-10-20) Copyright (C) 2001 artofcode LLC, Benicia, CA. All rights reserved. Usage: gs [switches] [file1.ps file2.ps ...] Most frequently used switches: (you can use # in place of =3D) -dNOPAUSE no pause after page | -q `quiet', fewer mess= ages -gx page size in pixels | -r pixels/inch resolut= ion -sDEVICE=3D select device | -dBATCH exit after last f= ile -sOutputFile=3D select output file: - for stdout, |command for pip= e, embed %d or %ld for page # Input formats: PostScript PostScriptLevel1 PostScriptLevel2 PDF Available devices: x11 bbox x11alpha x11cmyk x11cmyk2 x11cmyk4 x11cmyk8 x11gray2 x11gray4 x11mono x11rg16x x11rg32x appledmp iwhi iwlo iwlq hl7x0 bj10e bj200 ^^^^^ bjc600 bjc800 lbp8 lips3 m8510 coslw2p coslwxl stp uniprint dl2100 la5= 0 la70 la75 la75plus lj250 declj250 ln03 ap3250 epson eps9mid eps9high lp8000 lq850 epsonc st800 stcolor photoex lp2563 dnj650c deskjet djet5= 00 cdeskjet djet500c cdjcolor cdjmono cdj500 cdj550 cdj670 cdj850 cdj880 cdj890 cdj1600 cdj970 laserjet ljetplus ljet2p ljet3 ljet3d ljet4 ljet= 4d lj4dith cljet5 cljet5c cljet5pr lj5mono lj5gray pj pjetxl pjxl paintje= t pjxl300 pxlmono pxlcolor pcl3 hpdj ijs ibmpro jetp3852 imagen fs600 lxm5700m cp50 necp6 oce9050 oki182 okiibm atx23 atx24 atx38 r4081 sj48 t4693d2 t4693d4 t4693d8 tek4696 xes bmpmono bmpgray bmp16 bmp256 bmp16= m bmp32b bmpsep1 bmpsep8 ccr cgmmono cgm8 cgm24 cif sxlcrt dfaxhigh dfax= low faxg3 faxg32d faxg4 miff24 inferno jpeg jpeggray mgrmono mgrgray2 mgrgray4 mgrgray8 mgr4 mgr8 pcxmono pcxgray pcx16 pcx256 pcx24b pcxcmy= k pdfwrite bit bitrgb bitcmyk plan9bm pbm pbmraw pgm pgmraw pgnm pgnmraw pnm pnmraw ppm ppmraw pkm pkmraw pksm pksmraw pngmono pnggray png16 png256 png16m psmono psgray psrgb pswrite epswrite sgirgb sunhmono tiffcrle tiffg3 tiffg32d tiffg4 tiff12nc tiff24nc tifflzw tiffpack nullpage Search path: . : /usr/local/share/ghostscript/6.52/lib : /usr/local/share/ghostscript/fonts For more information, see /usr/local/share/ghostscript/6.52/doc/Use.htm. Report bugs to bug-gs@ghostscript.com, using the form in Bug-form.htm. Malcolm From owner-freebsd-questions@FreeBSD.ORG Thu May 22 08:49:26 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E91D437B401 for ; Thu, 22 May 2003 08:49:26 -0700 (PDT) Received: from sage-one.net (adsl-65-71-135-137.dsl.crchtx.swbell.net [65.71.135.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0700E43F85 for ; Thu, 22 May 2003 08:49:26 -0700 (PDT) (envelope-from jackstone@sage-one.net) Received: from sagea (adsl-65-68-247-73.dsl.crchtx.swbell.net [65.68.247.73]) by sage-one.net (8.12.6p2/8.12.6) with SMTP id h4MFn81v057269; Thu, 22 May 2003 10:49:09 -0500 (CDT) (envelope-from jackstone@sage-one.net) Message-Id: <3.0.5.32.20030522104912.0137cb88@sage-one.net> X-Sender: jackstone@sage-one.net X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Thu, 22 May 2003 10:49:12 -0500 To: "Jason Lieurance" , From: "Jack L. Stone" In-Reply-To: <4306.192.168.1.155.1053612014.squirrel@vipersystems.biz> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, hits=-1.0 required=4.5 tests=EMAIL_ATTRIBUTION,IN_REP_TO version=2.54-sage_one.rules_v1 X-Spam-Checker-Version: SpamAssassin 2.54-sage_one.rules_v1 (1.174.2.17-2003-05-11-exp) Subject: Re: Zombie Process X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2003 15:49:27 -0000 At 10:00 AM 5.22.2003 -0400, Jason Lieurance wrote: >Hello, > >Here's a brief summary of my system: > >FreeBSD 4.7 >PHP 4.3.0 >Qmail 1.3 >vmailmgr >courier-imap >daemontools > >Anyway, I have this zombie process that's related to daemontools but I >don't know how to get rid of it. > >example: > >root 632 440 p0 I 9:40AM 0:00.00 /bin/sh /command/svscanboot >root 456 p0 S 9:40AM 0:00.01 svscan /service >root 872 288 p0 S 9:40AM 0:00.03 readproctitle service errors: >root 884 380 p0 S 9:40AM 0:00.14 supervise supervise >root 0 0 p0 Z 9:43AM 0:00.00 (supervise) > >svscanboot reads: > >#!/bin/sh ># WARNING: This file was auto-generated. Do not edit! > >PATH=/command:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin: /usr/X11R6/bin > >exec exec >/dev/null >exec 2>/dev/null > >/command/svc -dx /service/* /service/*/log > >env - PATH=$PATH svscan /service 2>&1 | \ >env - PATH=$PATH readproctitle service errors: ......... > > >Any help or insight would be great, thanks in advance. > >-- >Jason > As long as the zombie is not using any resources (because it's dead), not to worry -- and, you can't kill it because it is already dead. If it bothers you, you can kill/restart the daemon, but most likely another zombie will reappear shortly after. Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net jackstone@sage-one.net From owner-freebsd-questions@FreeBSD.ORG Thu May 22 08:51:53 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F49E37B404 for ; Thu, 22 May 2003 08:51:53 -0700 (PDT) Received: from web41208.mail.yahoo.com (web41208.mail.yahoo.com [66.218.93.41]) by mx1.FreeBSD.org (Postfix) with SMTP id 804AF43F3F for ; Thu, 22 May 2003 08:51:52 -0700 (PDT) (envelope-from phaza7@yahoo.com) Message-ID: <20030522155152.96525.qmail@web41208.mail.yahoo.com> Received: from [66.136.178.18] by web41208.mail.yahoo.com via HTTP; Thu, 22 May 2003 08:51:52 PDT Date: Thu, 22 May 2003 08:51:52 -0700 (PDT) From: pat bey To: pat bey In-Reply-To: <20030522013516.4387.qmail@web41202.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: FREEBSD Subject: Re: lan problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2003 15:51:53 -0000 # netstat -rn Internet: Destination Gateway Flags Ref Use Netif default 192.168.0.1 UGSc 2 1 sis0 127.0.0.1 127.0.0.1 UH 0 382 lo0 192.168.0 link#1 UC 4 0 sis0 192.168.0.105 00:09:5b:1b:89:0d UHLW 1 241 lo0 192.168.0.184 link#1 UHLW 0 5 sis0 192.168.0.255 ff:ff:ff:ff:ff:ff:ff:ff UHLWb 1 77 sis0 I left out the expire part sense their was nothing under it. I left out the Internet6 part cause when installing I configured it for ipv4. I don't know if I have ICMP enable on the router or not I have ports 20-2999 open on the router. Strange thou the router says 192.168.0.184 is the win xp box why is it in my my netstat. I tried telneting to the router it won't let me pat bey wrote: Bill Moran wrote: [wrap your lines at about 75 characters or so ... your message is almost impossible to read] pat bey wrote: > Can anyone help me solve this problem?? > > I have two boxes win xp and FreeBSD 4.6 and a DLink 704P router which has built-in > nat and dhcp server. Here is a diagram of my setup. [code] ----------------------------- > | dsl modem | > ------------------------------- > | > -------------------------------- > | router | > ------------------------------- > | | --------------------------------| |------------------------------ | | ---------------------- ------------------ ------------------- | |Win XP box | | FBSD4.6 box | ---------------------- ------------------------- [/code] > > I followed the online handbook to setup this box, everything is configured for dhcp. > Using the GENERIC kernel. I tried pinging 127.0.0.1 & my nic > which had 0% packet loss. But when I try to ping the router I get a message of route > to host down. I have Bind running as a caching server . I updated the firmware for > a unix sys and I can't get out to the world from this box. The windows box have no > problem getting out to the world. On the router I have ports tcp,udp 20-2999 open > for both mac address. The router sees both MAC's but the FBSD box can't even access > the routers web page. I have another nic card should I install it and put the BSD > box in front of the router. Or can anyone help me solve this problem. Can you ping 192.168.0.105? Can you ping the IP of the Win XP machine? Do you have ICMP packets blocked on the "router"? Are you pinging IP addys or names? (start with IPs, once that works, then try names) Can you post the output of 'netstat -rn'? > :D-------------------------------------------------------------------------------------------------:D > # ifconfig > sis0: flags=8843 mtu 1500 > inet 192.168.0.105 netmask 0xffffff00 broadcast 192.168.0.255 > ether 00:12:34:56:78 > media: Ethernet autoselect (100baseTX ) > status: active > lo0: flags=8049 mtu 16384 > inet 127.0.0.1 netmask 0xff000000 > ------------------------------------------------------------------------------------------------------- > # rc.conf > blanktime="300" > hostname="phaza" > ifconfig_sis0="DHCP" > defaultrouter="192.168.0.1" > named_enable="YES" > inetd_enable="YES" > kernel_secure_level_enable="YES" > kepmap="us.unix" > keyrate="normal" > linux_enable="YES" > and the rest is just set to the default. > I had Redhat Linux 7.2 installed before and it work with no problem straight > out of the box. I been working on this for a 2 months with no luck. Can > anyone help me out. I chose the 4.6 version cause it was all that my local > comp had as far as BSD that came with a handbook. -- Bill Moran Potential Technologies http://www.potentialtech.com Suppressed minds have no Freedom of Choice --------------------------------- Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" Suppressed minds have no Freedom of Choice --------------------------------- Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. From owner-freebsd-questions@FreeBSD.ORG Thu May 22 08:55:26 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 33B1437B401 for ; Thu, 22 May 2003 08:55:26 -0700 (PDT) Received: from chivas.oneill.dhs.org (chivas.oneill.dhs.org [65.65.85.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 71DC143F75 for ; Thu, 22 May 2003 08:55:25 -0700 (PDT) (envelope-from sean@seanoneill.info) Received: from v812r.seanoneill.info (dhcp1.NONROUTABLE.COM [192.168.2.1]) by chivas.oneill.dhs.org (Postfix) with ESMTP id 92ABE7605 for ; Thu, 22 May 2003 10:55:20 -0500 (CDT) Message-Id: <5.2.0.9.0.20030522104910.23dd9370@pop.swbell.yahoo.com> X-Sender: swoneill@swbell.net@pop.swbell.yahoo.com (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Thu, 22 May 2003 10:55:18 -0500 To: freebsd-questions@freebsd.org From: Sean O'Neill In-Reply-To: <20030522152349.GB28372@users.munk.nu> References: <20030522053741.M54080@enabled.com> <20030522053741.M54080@enabled.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: bandwidth utilization X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2003 15:55:26 -0000 At 04:23 PM 5/22/2003 +0100, Jez Hancock wrote: >On Wed, May 21, 2003 at 09:39:21PM -0800, admin wrote: > > > > > > Hi, > > > > I am hosting many different types of services from my server and want to be > > able to understand bandwidth utilization for each service. Are there > any good > > tools out there that I can use for this type of reporting? >There's mrtg: >http://people.ee.ethz.ch/~oetiker/webtools/mrtg/ >(also in /usr/ports/net/mrtg) > >the Multi Router Traffic Graphing utility (but doesn't just measure >router telemetry, can be customized to graph almost anything, >literally). > > >there's a raft of links here as well: >http://nakula.rvs.uni-bielefeld.de/made/my_project/3rd-party/ > >(/me runs off to mirror that page in case it disappears :)) Nice page :) I think might have to mirror it also. There is lots of stuff out there as you can see from the page above. I have limited experience here but I have played with Argus/Flowscan. You can get Argus info here: http://www.qosient.com/argus/flow.htm But this might be overkill for what you asked for. I've got some simple graphs setup here if you wanna take a look: http://chivas.oneill.dhs.org/argus/ It does take a bit of manual configuration though. I set it up a while ago and haven't really messed with it since. -- Sean O'Neill From owner-freebsd-questions@FreeBSD.ORG Thu May 22 08:59:53 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D20737B404 for ; Thu, 22 May 2003 08:59:53 -0700 (PDT) Received: from express18.propagation.net (express18.propagation.net [66.221.151.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id AFD9743F3F for ; Thu, 22 May 2003 08:59:52 -0700 (PDT) (envelope-from allen@vonderschmidt.org) Received: from avlaptop (adsl-208-190-203-99.dsl.kscymo.swbell.net [208.190.203.99])h4MFxqf02600 for ; Thu, 22 May 2003 10:59:52 -0500 From: "Wm. Allen Vonderschmidt" To: Date: Thu, 22 May 2003 10:59:51 -0500 Organization: Mine Message-ID: <000e01c3207b$2e02d670$140a0aac@avlaptop> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal Subject: RAM in a Compaq 2500. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2003 15:59:53 -0000 I have a Compaq 2500 with 256MB of RAM installed. I have removed the Win2K server installed and replaced it with FreeBSD 4.8-RELEASE. According to sysctl I seem to only have 12MB of RAM (hw.physmem: 12099584). Win2K was seeing all 256MB until it was replaced. Any suggestions as to where to check for the disconnect? Thanks in advance. Wm. Allen Vonderschmidt From owner-freebsd-questions@FreeBSD.ORG Thu May 22 09:24:19 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E30637B401 for ; Thu, 22 May 2003 09:24:19 -0700 (PDT) Received: from out003.verizon.net (out003pub.verizon.net [206.46.170.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6FD4043F3F for ; Thu, 22 May 2003 09:24:18 -0700 (PDT) (envelope-from cswiger@mac.com) Received: from mac.com ([129.44.60.214]) by out003.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030522162417.JUDX4805.out003.verizon.net@mac.com>; Thu, 22 May 2003 11:24:17 -0500 Message-ID: <3ECCF9AF.9010607@mac.com> Date: Thu, 22 May 2003 12:24:15 -0400 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030507 X-Accept-Language: en-us, en MIME-Version: 1.0 To: ODHIAMBO Washington References: <20030522134300.GH96496@ns2.wananchi.com> In-Reply-To: <20030522134300.GH96496@ns2.wananchi.com> X-Enigmail-Version: 0.75.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at out003.verizon.net from [129.44.60.214] at Thu, 22 May 2003 11:24:17 -0500 cc: freebsd-questions@freebsd.org Subject: Re: For the experienced - stunnel and port 80 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2003 16:24:19 -0000 ODHIAMBO Washington wrote: > I am running apache+modssl on port 443. I want stunnel to listen on port 80, > and then connect to port 443 instead, so that the users can just type > www.domain.tld and not https://www.domain.tld. [ ... ] > sockstat -l shows stunnel listening on port 80, but in the life of me, I > cannot just connect to that box if I do not use https://.... HTTP doesn't have the equivalent of STARTTLS for negotiating SSL over a plain HTTP connection; you have to specify https:// in the URL. Your attempted use of stunnel isn't going to do anything useful in terms of encrypting the connections between the client and web server. To solve the original problem, create seperate virtual domains for the site on port 80 and 443, and in the virutal section for the port-80 version do a: Redirect permanent / https://www.domain.tld -Chuck From owner-freebsd-questions@FreeBSD.ORG Thu May 22 09:27:25 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B814B37B407 for ; Thu, 22 May 2003 09:27:25 -0700 (PDT) Received: from ns2.wananchi.com (ns2.wananchi.com [62.8.64.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 45D4143F3F for ; Thu, 22 May 2003 09:27:24 -0700 (PDT) (envelope-from wash@wananchi.com) Received: from wash by ns2.wananchi.com with local (Exim 4.20 #5 (FreeBSD)) id 19IsuI-000CUe-5g; Thu, 22 May 2003 19:27:06 +0300 Date: Thu, 22 May 2003 19:27:06 +0300 From: ODHIAMBO Washington To: Chuck Swiger Message-ID: <20030522162706.GQ96496@ns2.wananchi.com> Mail-Followup-To: ODHIAMBO Washington , Chuck Swiger , freebsd-questions@freebsd.org References: <20030522134300.GH96496@ns2.wananchi.com> <3ECCF9AF.9010607@mac.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3ECCF9AF.9010607@mac.com> X-Disclaimer: Any views expressed in this message,where not explicitly attributed otherwise, are mine alone!. X-Fortune: Broad-mindedness, n.: The result of flattening high-mindedness out. X-Operating-System: FreeBSD 4.8-STABLE i386 X-Best-Window-Manager: Blackbox X-Mailer: Mutt 1.5.3i (2002-12-17) X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. X-Uptime: 7:26PM up 5 days, 19:36, 4 users, load averages: 0.22, 0.25, 0.33 User-Agent: Mutt/1.5.3i X-SA-Exim-Mail-From: wash@wananchi.com X-SA-Exim-Scanned: No; SAEximRunCond expanded to false cc: freebsd-questions@freebsd.org Subject: Re: For the experienced - stunnel and port 80 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2003 16:27:26 -0000 * Chuck Swiger [20030522 19:24]: wrote: > ODHIAMBO Washington wrote: > >I am running apache+modssl on port 443. I want stunnel to listen on port > >80, > >and then connect to port 443 instead, so that the users can just type > >www.domain.tld and not https://www.domain.tld. > [ ... ] > >sockstat -l shows stunnel listening on port 80, but in the life of me, I > >cannot just connect to that box if I do not use https://.... > > HTTP doesn't have the equivalent of STARTTLS for negotiating SSL over a > plain HTTP connection; you have to specify https:// in the URL. Your > attempted use of stunnel isn't going to do anything useful in terms of > encrypting the connections between the client and web server. > > To solve the original problem, create seperate virtual domains for the > site on port 80 and 443, and in the virutal section for the port-80 > version do a: > > Redirect permanent / https://www.domain.tld I have suspected all along that this would be the answer!! Thank you so much. I am now set. Best regards, Odhiambo Washington Wananchi Online Ltd. ___W_A_N_A_N_C_H_I__O_N_L_I_N_E__L_T_D___The People's Choice______ Wananchi Head Office |*| Tel: +254 2 313 985-9 1st Flr Loita, Loita St.|*| Fax: +254 2 313 922 10286-GPO, NAIROBI, KE |*| e-mail: ------------------------------------------------------------------ ++ Thy Word is a lamp unto my feet and a light unto my path. Psalms 119:105 From owner-freebsd-questions@FreeBSD.ORG Thu May 22 09:00:20 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E324637B404 for ; Thu, 22 May 2003 09:00:20 -0700 (PDT) Received: from pop018.verizon.net (pop018pub.verizon.net [206.46.170.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id D793843FB1 for ; Thu, 22 May 2003 09:00:18 -0700 (PDT) (envelope-from mij@soupnazi.org) Received: from envy.homeunix.com ([4.47.68.94]) by pop018.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030522160018.JTZV11703.pop018.verizon.net@envy.homeunix.com>; Thu, 22 May 2003 11:00:18 -0500 Received: from soupnazi.org (lust.pdx.soupnazi.org [192.168.1.2]) by envy.homeunix.com (8.12.8p1/8.12.8) with ESMTP id h4MG0EcZ014231; Thu, 22 May 2003 09:00:15 -0700 (PDT) (envelope-from mij@soupnazi.org) Date: Thu, 22 May 2003 09:00:05 -0700 Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) To: Teilhard Knight From: Jim Mock In-Reply-To: <200305210031.12907.teilhk@phreaker.net> Message-Id: <740F50D6-8C6E-11D7-82AE-000393460DB2@soupnazi.org> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.552) X-Authentication-Info: Submitted using SMTP AUTH at pop018.verizon.net from [4.47.68.94] at Thu, 22 May 2003 11:00:17 -0500 cc: freebsd-questions@freebsd.org Subject: Re: Simple question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2003 16:00:21 -0000 X-List-Received-Date: Thu, 22 May 2003 16:00:21 -0000 On Tuesday, May 20, 2003, at 11:19 PM, Teilhard Knight wrote: > Where should I put the supfile for cvsup? Anywhere you want. To use it, run: # cvsup -g -L2 /path/to/your/supfile > I found one in /usr/ports/net/cvsup-mirror/files, but when I try to > run cvsup, I get the error message "no such file supfile". There is no > mention in the handbook of where to put it. cvsup-mirror != cvsup The sample supfiles are in /usr/share/examples/cvsup. - jim -- - jim mock mij@{soupnazi|opendarwin}.org jim@{bsdnews|FreeBSD}.org - - editor in chief, BSD News: http://bsdnews.org http://soupnazi.org - From owner-freebsd-questions@FreeBSD.ORG Thu May 22 09:34:12 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9CC9C37B407 for ; Thu, 22 May 2003 09:34:12 -0700 (PDT) Received: from pop016.verizon.net (pop016pub.verizon.net [206.46.170.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id 27E8143FA3 for ; Thu, 22 May 2003 09:34:10 -0700 (PDT) (envelope-from cswiger@mac.com) Received: from mac.com ([129.44.60.214]) by pop016.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030522163408.OLZN3199.pop016.verizon.net@mac.com>; Thu, 22 May 2003 11:34:08 -0500 Message-ID: <3ECCFBFD.2030607@mac.com> Date: Thu, 22 May 2003 12:34:05 -0400 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030507 X-Accept-Language: en-us, en MIME-Version: 1.0 To: John Straiton References: <002601c3206c$4cf11290$1916c60a@win2k.clickcom.com> In-Reply-To: <002601c3206c$4cf11290$1916c60a@win2k.clickcom.com> X-Enigmail-Version: 0.75.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at pop016.verizon.net from [129.44.60.214] at Thu, 22 May 2003 11:34:07 -0500 cc: freebsd-questions@freebsd.org Subject: Re: FW: SCP problems - SOLVED [kinda- see below] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2003 16:34:13 -0000 John Straiton wrote: [ ... ] > I found an article in comp.unix.questions talking about how the .cshrc > file might have enviroment preferences before it's interactive shell > checks which would cause the mtime error. Come to find that I had > disabled the shell for the HOST2 as I didn't need that functionality. > With the shell disabled, I would get that error message. With it set, I > can scp just fine. scp works by running ssh underneath, and ssh will either try to run the users' shell or invoke the command being passed to it. > Would the appropriate setup then be to just have the .cshrc exit as > early as possible that will still allow this to work or what? I really > don't want to worry about people having another avenue into the machine > if possible. What are you trying to accomplish? You want to let users authenticate and be able to copy files, but not have an interactive shell on that machine? -Chuck From owner-freebsd-questions@FreeBSD.ORG Thu May 22 09:37:39 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 09BD037B401 for ; Thu, 22 May 2003 09:37:39 -0700 (PDT) Received: from mail.munk.nu (213-152-51-194.dsl.eclipse.net.uk [213.152.51.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 56EFF43F3F for ; Thu, 22 May 2003 09:37:38 -0700 (PDT) (envelope-from munk@mail.munk.nu) Received: from munk by mail.munk.nu with local (Exim 4.20) id 19It4T-0007p6-Be for freebsd-questions@freebsd.org; Thu, 22 May 2003 17:37:37 +0100 Date: Thu, 22 May 2003 17:37:37 +0100 From: Jez Hancock To: FreeBSD questions List Message-ID: <20030522163737.GC28372@users.munk.nu> Mail-Followup-To: FreeBSD questions List References: <20030522053741.M54080@enabled.com> <20030522053741.M54080@enabled.com> <5.2.0.9.0.20030522104910.23dd9370@pop.swbell.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5.2.0.9.0.20030522104910.23dd9370@pop.swbell.yahoo.com> User-Agent: Mutt/1.4.1i Sender: User Munk Subject: Re: bandwidth utilization X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2003 16:37:39 -0000 On Thu, May 22, 2003 at 10:55:18AM -0500, Sean O'Neill wrote: > >http://nakula.rvs.uni-bielefeld.de/made/my_project/3rd-party/ > > > >(/me runs off to mirror that page in case it disappears :)) > > Nice page :) I think might have to mirror it also. :) > There is lots of stuff out there as you can see from the page above. I > have limited experience here but I have played with Argus/Flowscan. You > can get Argus info here: > > http://www.qosient.com/argus/flow.htm Not tried that one... there's also the excellent nagios come to think of it: http://www.nagios.org/ (/usr/ports/net/nagios) Some decent screenshots here: http://www.nagios.org/screenshot.php similar vein to argus and mrtg (haven't explored nagios yet). Again, possibly overkill, but does do some vewy pwetty pictures if you like that kind of thing :) Regards, Jez From owner-freebsd-questions@FreeBSD.ORG Thu May 22 09:41:56 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0823737B401 for ; Thu, 22 May 2003 09:41:56 -0700 (PDT) Received: from out001.verizon.net (out001pub.verizon.net [206.46.170.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3337443F75 for ; Thu, 22 May 2003 09:41:55 -0700 (PDT) (envelope-from cswiger@mac.com) Received: from mac.com ([129.44.60.214]) by out001.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030522164154.JMTG12592.out001.verizon.net@mac.com>; Thu, 22 May 2003 11:41:54 -0500 Message-ID: <3ECCFDCF.4020103@mac.com> Date: Thu, 22 May 2003 12:41:51 -0400 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030507 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jason Lieurance References: <4306.192.168.1.155.1053612014.squirrel@vipersystems.biz> In-Reply-To: <4306.192.168.1.155.1053612014.squirrel@vipersystems.biz> X-Enigmail-Version: 0.75.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at out001.verizon.net from [129.44.60.214] at Thu, 22 May 2003 11:41:54 -0500 cc: freebsd-questions@freebsd.org Subject: Re: Zombie Process X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2003 16:41:56 -0000 Jason Lieurance wrote: [ ... ] Zombie processes are mostly harmless: they are a process which has finished and is sticking around because their parent hasn't reaped their exit status. Have the parent process do a wait()... -Chuck From owner-freebsd-questions@FreeBSD.ORG Thu May 22 09:43:41 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 79A6E37B401 for ; Thu, 22 May 2003 09:43:41 -0700 (PDT) Received: from herald.cc.purdue.edu (herald.cc.purdue.edu [128.210.11.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id A37EF43F3F for ; Thu, 22 May 2003 09:43:40 -0700 (PDT) (envelope-from foob@purdue.edu) Received: from herald.cc.purdue.edu (localhost [127.0.0.1]) h4MGhdnc005346 for ; Thu, 22 May 2003 11:43:39 -0500 (EST) Received: from localhost (foob@localhost)h4MGhdng005321 for ; Thu, 22 May 2003 11:43:39 -0500 (EST) X-Authentication-Warning: herald.cc.purdue.edu: foob owned process doing -bs Date: Thu, 22 May 2003 11:43:39 -0500 (EST) From: Bingrui Foo X-X-Sender: foob@herald.cc.purdue.edu To: freebsd-questions@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Savemail panic X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2003 16:43:41 -0000 I just installed FreeBSD and even reinstalled it, but keep getting this error message about once a day: May 22 03:01:03 sendmail[1813]: h4M8133q001813: Losing ./qfh3M8133q001813: savemail panic May 22 03:01:03 sendmail[1813]: h4M8133q001813: SYSERR(root): savemail: cannot save rejected email anywhere .... (message x 2) Wonder what is the problem. I have tried to disable sendmail using rc.conf but it doesn't do anything. Foo From owner-freebsd-questions@FreeBSD.ORG Thu May 22 09:57:43 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA78C37B401 for ; Thu, 22 May 2003 09:57:43 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id C138543FAF for ; Thu, 22 May 2003 09:57:42 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.9/8.12.9) id h4MGvguQ093978; Thu, 22 May 2003 11:57:42 -0500 (CDT) (envelope-from dan) Date: Thu, 22 May 2003 11:57:42 -0500 From: Dan Nelson To: "Wm. Allen Vonderschmidt" Message-ID: <20030522165741.GB1694@dan.emsphone.com> References: <000e01c3207b$2e02d670$140a0aac@avlaptop> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000e01c3207b$2e02d670$140a0aac@avlaptop> X-OS: FreeBSD 5.1-BETA X-message-flag: Outlook Error User-Agent: Mutt/1.5.4i cc: freebsd-questions@freebsd.org Subject: Re: RAM in a Compaq 2500. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2003 16:57:44 -0000 In the last episode (May 22), Wm. Allen Vonderschmidt said: > I have a Compaq 2500 with 256MB of RAM installed. I have > removed the Win2K server installed and replaced it with FreeBSD > 4.8-RELEASE. According to sysctl I seem to only have 12MB of RAM > (hw.physmem: 12099584). Win2K was seeing all 256MB until it was > replaced. Any suggestions as to where to check for the disconnect? > Thanks in advance. Compaq's don't return the right values to the BIOS memory calls, so you have to override the results. Try adding this to /boot/loader.conf: hw.physmem="256M" -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Thu May 22 10:53:21 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1805B37B401 for ; Thu, 22 May 2003 10:53:21 -0700 (PDT) Received: from pat.uio.no (pat.uio.no [129.240.130.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id B54CD43F75 for ; Thu, 22 May 2003 10:53:17 -0700 (PDT) (envelope-from heikkis@ifi.uio.no) Received: from mail-mx1.uio.no ([129.240.10.29]) by pat.uio.no with esmtp (Exim 2.12 #7) id 19IuFg-0003ea-00 for freebsd-questions@freebsd.org; Thu, 22 May 2003 19:53:16 +0200 Received: from [129.240.130.14] (helo=mons.uio.no) by mail-mx1.uio.no with esmtp (Exim 4.14) id 19IuFe-0008EX-Cc for freebsd-questions@freebsd.org; Thu, 22 May 2003 19:53:14 +0200 Received: from snipp.uio.no ([129.240.130.63]) by mons.uio.no with esmtp (Exim 2.12 #7) id 19IuFe-00001C-00 for freebsd-questions@freebsd.org; Thu, 22 May 2003 19:53:14 +0200 Received: from ves-dhcp115.studby.uio.no ([129.240.102.145] helo=c-ko) by snipp.uio.no with smtp (Exim 2.12 #7) id 19IuFd-0004EN-00 for freebsd-questions@freebsd.org; Thu, 22 May 2003 19:53:14 +0200 Date: Thu, 22 May 2003 19:57:20 +0200 From: heikki soerum To: freebsd-questions@freebsd.org Message-Id: <20030522195720.7f48b49a.heikkis@ifi.uio.no> X-Mailer: Sylpheed version 0.8.10claws (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-MailScanner-Information: Please contact postmaster@uio.no for more information X-UiO-MailScanner: Found to be clean Subject: ATA harddrive sleep/spindown timout? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2003 17:53:21 -0000 I'm running FreeBSD 4.8-stable on an Mini ITX Epia system. (onboard C3 800 mhz, Video, sound, NIC, TV-out, 2 ATA IDE controllers.) Is it possible to put ata harddrives in spindown/sleep/suspend mode without putting the whole system to sleep/suspend? I'm building an fileserver with several disks that won't be used more than a couple of hours each day, and in the mean time I would like to reduce the noise level by putting the ATA harddrives in sleep/suspend mode with an timeout. This is an *critical* abillity, I like FreeBSD a lot, but without this functionality I'l have to run linux and use hdparm to reduce the noise to an acceptable level. Heikki Soerum. -- - "In My Not so Humble Opinion" From owner-freebsd-questions@FreeBSD.ORG Thu May 22 11:09:32 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC85437B404 for ; Thu, 22 May 2003 11:09:32 -0700 (PDT) Received: from asarian-host.net (mail.asarian-host.net [194.109.160.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2FD8843FA3 for ; Thu, 22 May 2003 11:09:31 -0700 (PDT) (envelope-from admin@asarian-host.net) Comments: To protect the identity of the sender, certain header fields are either not shown, or masked. Anonymous email accounts can be requested by filling in the appropriate form at: https://asarian-host.net/cgi-bin/signup.cgi Received: (from root@localhost) by mail.asarian-host.net (8.12.9/8.12.9) id h4MI9TRG028117 for freebsd-questions@freebsd.org; Thu, 22 May 2003 20:09:29 +0200 (CEST) (envelope-from admin@asarian-host.net) From: Mark Message-Id: <200305221809.H4MI9SGZ028102@asarian-host.net> Date: Thu, 22 May 2003 18:09:29 GMT X-Authenticated-Sender: admin@asarian-host.net X-Trace: cDfLTCvu8c5OMPwItnUGO9XM5E3CyqqinbgKPD6W3H2iRuWdVvUR2a+bir6W5QYTE/5OV409QvfsJSnmZBgN2w== X-Complaints-To: abuse@asarian-host.net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we are unable to process your complaint Organization: Asarian-host To: "Andy Farkas" References: <20030522082218.A93323-100000@hewey.af.speednet.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Auth: Asarian-host PGP signature iQEVAwUAPs0SWTFqW1BleBN9AQG8pQf/eF24zww0GOodclyLSGIKnp0SaZD8AWqy pkB9stEtzbamvDWKpb5iTWuOUUETJVpUiULzc9zqfu8rn2iPIvmqUWaQxCAlhNVF +UBmmNCbwrDQpNDTigmeZQSFoVtVJvgHukYlGbFOf9WolgpIWteYUgeY6oePqUsA +L4v/WlA5UBc6s+GL5Qh8spPhlb06nJW7trKt/wJTq+cxuV6ctotsT6iQwEEqv/6 O3gob+PPc4pZuzGQxND/xNubPDI93PR5xoEs8XOOBhp6r6HkfJOQGfuvjz7DTHNS +UmsLAnXy7OEbO2GMtRKF9pp05oIcmNhQcQaJI+CbZqLjcMF7AAjkw== =bJti cc: freebsd-questions@freebsd.org Subject: Re: Syslog from external machine X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2003 18:09:33 -0000 ----- Original Message ----- From: "Andy Farkas" To: "Mark" Cc: Sent: Thursday, May 22, 2003 12:41 AM Subject: Re: Syslog from external machine > On Wed, 21 May 2003, Mark wrote: > > > Using FreeBSD 4.7R, I was experimenting a bit with my router's > > syslog facility (on port 514). I set up syslogd like this: > > > > /usr/sbin/syslogd -a 192.168.1.1:514 > > > > Assuming this would allow incoming UDP on port 514 for the > > 192.168.1.1 router address. Alas, nothing is logged in > > /var/log/messages. > > Go into /etc/syslog.conf and uncomment the `*.* /var/log/all.log > line. touch /var/log/all.log and restart syslogd. > > Now you can monitor all messages sent to syslogd. Indeed, this now works. :) But I get a LOT of messages in /var/log/all.log! Is there not a way I can log 'the rest'? See, now I have something like: ... mail.info /var/log/maillog lpr.info /var/log/lpd-errs cron.* /var/log/cron *.err root *.notice;news.err root *.alert root *.emerg * *.* /var/log/router.log But what I would really want is: "Everything which is not covered by any of the above, log to /var/log/router.log". Something like: "!*.*". Well, you know what I mean. If that is not possible, is there a way I can determine to what syslog facility the router is logging? (like "mail.crit" or something). Much obliged, - Mark From owner-freebsd-questions@FreeBSD.ORG Thu May 22 11:20:33 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF5AA37B404 for ; Thu, 22 May 2003 11:20:33 -0700 (PDT) Received: from asarian-host.net (mail.asarian-host.net [194.109.160.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0A7D43F75 for ; Thu, 22 May 2003 11:20:32 -0700 (PDT) (envelope-from admin@asarian-host.net) Comments: To protect the identity of the sender, certain header fields are either not shown, or masked. Anonymous email accounts can be requested by filling in the appropriate form at: https://asarian-host.net/cgi-bin/signup.cgi Received: (from root@localhost) by mail.asarian-host.net (8.12.9/8.12.9) id h4MIKVfS028644 for freebsd-questions@freebsd.org; Thu, 22 May 2003 20:20:31 +0200 (CEST) (envelope-from admin@asarian-host.net) From: Mark Message-Id: <200305221820.H4MIKVGZ028634@asarian-host.net> Date: Thu, 22 May 2003 18:20:31 GMT X-Authenticated-Sender: admin@asarian-host.net X-Trace: vkprRPxLcGg7vLHmZl3ES3GnCdjNrRkgI+4nvlT/QJuMyb7oTIiz2TumJkx1n13X0cz1ayiYbgH+lBl1rxpxsA== X-Complaints-To: abuse@asarian-host.net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we are unable to process your complaint Organization: Asarian-host To: References: <20030521092225.5a6a4442.y2kbug@ms25.hinet.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Auth: Asarian-host PGP signature iQEVAwUAPs0U7zFqW1BleBN9AQH3+Qf+L8k4ptIhJGC5HUaK6hFkKF5t/EG4q8r5 Ia4SGKf9HYEfLXfP1hvGPlw2+SkdqPngbgAhZjoa0WQNl7t8xM2dsEia+YJkXLNk NlZGQkLamOxYr++w52JyQ3o6L8BnLbllDCX9RLSqgV/W0Iw9Dfh/N81k61OZnFEa 2W0Hw9oHKDRXV5SH6SEtApHhmezE/pDFBVgReXP5MzEIM3FQE+7C+xxT0QMUghqn k9fvZQpzX1tMWRObwuDMqL9q+lmNcO3wEszg7p5alyejjLkYdTJuEuSRQvNiX0m0 suNGTwzR/iGjSF3RXlLma6GzONdzWsT7WdWSQrM1HKqWe6STOL6gdA== =bUnz Subject: Re: shutdown -p now X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2003 18:20:34 -0000 ----- Original Message ----- From: "Robert Storey" To: Sent: Wednesday, May 21, 2003 3:25 AM Subject: shutdown -p now > Dear All, > > I'm trying to get my computer to shut down and turn the power off. > I'm aware of the command "shutdown -p now". It doesn't work for me, > and after reading the handbook, I conclude that I must not have ACPI > supported hardware. However, with Linux (and Windows) on this same > computer, I can tell the machine to shut down and turn off the power. > In Linux, this requires that the apm module be loaded - enabling apm > in FBSD doesn't seem to do the trick for me (or do I need to recompile > the kernel for this to work?). This may not necessarily work for you, but I had a similar problem, and got it solved by making the following change to my kernel configuration file. Look for this: # Power management support (see LINT for more options) device apm0 at nexus? disable flags 0x20 # Advanced Power Management And change it to: device apm0 at nexus? And recompile. That did the rick for me. :) - Mark From owner-freebsd-questions@FreeBSD.ORG Thu May 22 11:48:39 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CAEAB37B401 for ; Thu, 22 May 2003 11:48:39 -0700 (PDT) Received: from 12-229-238-38.client.attbi.com (evrtwa1-ar17-4-47-114-001.evrtwa1.dsl-verizon.net [4.47.114.1]) by mx1.FreeBSD.org (Postfix) with SMTP id E06E543F85 for ; Thu, 22 May 2003 11:48:38 -0700 (PDT) (envelope-from ryallsd@datasphereweb.com) Received: (qmail 8213 invoked from network); 22 May 2003 18:48:37 -0000 Received: from unknown (HELO bartxp) (192.168.0.2) by 192.168.0.1 with SMTP; 22 May 2003 18:48:37 -0000 From: "Derrick Ryalls" To: "'heikki soerum'" , Date: Thu, 22 May 2003 11:48:26 -0700 Message-ID: <007601c32092$bd885b50$0200a8c0@bartxp> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 In-reply-to: <20030522195720.7f48b49a.heikkis@ifi.uio.no> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: RE: ATA harddrive sleep/spindown timout? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2003 18:48:40 -0000 >=20 > Is it possible to put ata harddrives in=20 > spindown/sleep/suspend mode without putting the whole system=20 > to sleep/suspend? I'm building an fileserver with several=20 > disks that won't be used more than a couple of hours each=20 > day, and in the mean time I would like to reduce the noise=20 > level by putting the ATA harddrives in sleep/suspend mode=20 > with an timeout. My first thought is to check the BIOS to see if that option is in there. You might need to disable some services that frequently access the hard drive though, like cron. My second thought is that if this does work for you, then you will be shortening the life of the hard drive with the daily spinup/down. If noise is the biggest concern and not hardware, then go for it. >=20 > This is an *critical* abillity, I like FreeBSD a lot, but=20 > without this functionality I'l have to run linux and use=20 > hdparm to reduce the noise to an acceptable level. >=20 > Heikki Soerum. >=20 >=20 > --=20 > - "In My Not so Humble Opinion"=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list=20 > http://lists.freebsd.org/mailman/listinfo/free> bsd-questions >=20 > To unsubscribe, send any mail to=20 > "freebsd-questions-unsubscribe@freebsd.org" >=20 From owner-freebsd-questions@FreeBSD.ORG Thu May 22 11:57:25 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC10C37B401 for ; Thu, 22 May 2003 11:57:25 -0700 (PDT) Received: from transpacific.net (lincoln.transbay.net [209.133.53.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30BE043F85 for ; Thu, 22 May 2003 11:57:25 -0700 (PDT) (envelope-from sreese@codysbooks.com) Received: from codysbooks.com (stalwart.codysbooks.com [209.133.54.175]) by transpacific.net (8.11.6p2/8.11.4) with ESMTP id h4MIvNC70372; Thu, 22 May 2003 11:57:23 -0700 (PDT) Message-ID: <3ECD1D95.7040900@codysbooks.com> Date: Thu, 22 May 2003 11:57:25 -0700 From: Scott Reese Organization: Cody's Books User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030515 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Glenn Johnson References: <3ECC304F.1000500@codysbooks.com> <20030522032753.GA88983@gforce.johnson.home> In-Reply-To: <20030522032753.GA88983@gforce.johnson.home> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: Printing Problem And A Permissions Problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2003 18:57:26 -0000 Glenn Johnson wrote: > On Wed, May 21, 2003 at 07:05:03PM -0700, Scott Reese wrote: > > >>[please cc: me in any replies as I am not currently subscribed to >>questions. Thank you.] >> >>I'm currently having two problems. The most annoying issue is that >>my printing is now suddenly crippled. I can *technically* print out >>anything I want, it just always comes out in a fixed width font, >>ignores formatting (i.e. bold, italics, specified fonts) and ends >>up all jumbled together. Before I upgraded my ports (I believe >>ghostscript was updated), printing worked just fine. I'm using >>cups and have already re-compiled and re-installed cups, cups-lpr, >>cups-pstoraster and ghostscript-gnu to no avail. These things "just >>worked" before and now they do not. Any ideas? > > > Ghostscript is the problem. If you go back to ghostscript-gnu-7.05 > printing will work. I have filed a PR on this but have not heard any > feedback. That did, indeed, do the trick. Thank you. From owner-freebsd-questions@FreeBSD.ORG Thu May 22 12:27:50 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B07537B401 for ; Thu, 22 May 2003 12:27:50 -0700 (PDT) Received: from mout0.freenet.de (mout0.freenet.de [194.97.50.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 52CBF43F75 for ; Thu, 22 May 2003 12:27:49 -0700 (PDT) (envelope-from backspace@freenet.de) Received: from [194.97.55.148] (helo=mx5.freenet.de) by mout0.freenet.de with asmtp (Exim 4.20) id 19Ivj9-00059J-Rt for freebsd-questions@freebsd.org; Thu, 22 May 2003 21:27:47 +0200 Received: from xdsl-213-168-117-109.netcologne.de ([213.168.117.109] helo=newton.gkln.net) by mx5.freenet.de with asmtp (ID doobedoo@freenet.de) (Exim 4.20 #1) id 19Ivj9-0004rY-Gg for freebsd-questions@freebsd.org; Thu, 22 May 2003 21:27:47 +0200 Date: Thu, 22 May 2003 21:27:36 +0200 (CEST) From: Georg Klein Sender: backspace@newton.gkln.net To: freebsd-questions Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Sysinstall through a proxy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2003 19:27:50 -0000 Hi to all, i'm trying to install FreeBSD over the network using a proxy that needs authentication. I've tried to do it wget-like in the form: user:password@proxy:port but this did not work. Is there a way to do it? Thanx in advance Georg -- Georg Klein backspace@freenet.de From owner-freebsd-questions@FreeBSD.ORG Thu May 22 13:00:07 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E22837B401 for ; Thu, 22 May 2003 13:00:07 -0700 (PDT) Received: from mail.gmx.net (imap.gmx.net [213.165.65.60]) by mx1.FreeBSD.org (Postfix) with SMTP id EA35C43F85 for ; Thu, 22 May 2003 13:00:05 -0700 (PDT) (envelope-from blueeskimo@gmx.net) Received: (qmail 17638 invoked by uid 65534); 22 May 2003 20:00:03 -0000 Received: from i216-58-29-174.gta.igs.net (EHLO [216.58.29.174]) (216.58.29.174) by mail.gmx.net (mp008-rz3) with SMTP; 22 May 2003 22:00:03 +0200 From: Adam To: eta@lclark.edu Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-4pZXuna1ZFep/QW2iTDO" Organization: Message-Id: <1053633599.363.13.camel@jake> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.4 Date: 22 May 2003 15:59:59 -0400 cc: freebsd-questions@freebsd.org Subject: DRI stopped working X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2003 20:00:07 -0000 --=-4pZXuna1ZFep/QW2iTDO Content-Type: text/plain Content-Transfer-Encoding: quoted-printable For some reason, my DRI has suddenly decided it doesn't want to work anymore. I was away on vacation for a couple weeks, and was staying up-to-date on my ports via SSH, but haven't actually tried gaming until just a few minutes ago. I don't get any errors or warnings when starting X, and everything in my dmesg looks OK. I just reinstalled drm-kmod and reboot, but still not working. Here's some extra info that might be helpful in troubleshooting this: -$ glxinfo name of display: :0.0 display: :0 screen: 0 direct rendering: No server glx vendor string: SGI server glx version string: 1.2 server glx extensions: GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context client glx vendor string: SGI client glx version string: 1.2 client glx extensions: GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context GLX extensions: GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context OpenGL vendor string: Mesa project: www.mesa3d.org OpenGL renderer string: Mesa GLX Indirect OpenGL version string: 1.3 Mesa 4.0.4 OpenGL extensions: GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_border_clamp,=20 GL_ARB_texture_cube_map, GL_ARB_texture_env_add,=20 GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3,=20 GL_ARB_transpose_matrix, GL_EXT_abgr, GL_EXT_blend_color,=20 GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_texture_env_add,=20 GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,=20 GL_EXT_texture_lod_bias glu version: 1.3 glu extensions: GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat ---------------------------------------------------------------------- 0x23 24 tc 1 24 0 r y . 8 8 8 0 0 0 0 0 0 0 0 0 0 None 0x24 24 tc 1 24 0 r . . 8 8 8 0 0 0 0 0 0 0 0 0 0 None 0x25 24 tc 1 24 0 r y . 8 8 8 0 0 24 8 0 0 0 0 0 0 None 0x26 24 tc 1 24 0 r . . 8 8 8 0 0 24 8 0 0 0 0 0 0 None 0x27 24 tc 1 24 0 r y . 8 8 8 0 0 0 0 16 16 16 0 0 0 Slow 0x28 24 tc 1 24 0 r . . 8 8 8 0 0 0 0 16 16 16 0 0 0 Slow 0x29 24 tc 1 24 0 r y . 8 8 8 0 0 24 8 16 16 16 0 0 0 Slow 0x2a 24 tc 1 24 0 r . . 8 8 8 0 0 24 8 16 16 16 0 0 0 Slow 0x2b 24 dc 1 24 0 r y . 8 8 8 0 0 0 0 0 0 0 0 0 0 None 0x2c 24 dc 1 24 0 r . . 8 8 8 0 0 0 0 0 0 0 0 0 0 None 0x2d 24 dc 1 24 0 r y . 8 8 8 0 0 24 8 0 0 0 0 0 0 None 0x2e 24 dc 1 24 0 r . . 8 8 8 0 0 24 8 0 0 0 0 0 0 None 0x2f 24 dc 1 24 0 r y . 8 8 8 0 0 0 0 16 16 16 0 0 0 Slow 0x30 24 dc 1 24 0 r . . 8 8 8 0 0 0 0 16 16 16 0 0 0 Slow 0x31 24 dc 1 24 0 r y . 8 8 8 0 0 24 8 16 16 16 0 0 0 Slow 0x32 24 dc 1 24 0 r . . 8 8 8 0 0 24 8 16 16 16 0 0 0 Slow -$ dmesg |fgrep -i agp agp0: mem 0xfc000000-0xfdffffff at device 0.0 on pci0 pci1: at 0.0 irq 11 drm0: mem 0xf8800000-0xf8ffffff,0xf9000000-0xf9003fff,0xfa000000-0xfbffffff irq 11 at device 0.0 on pci1 info: [drm] AGP at 0xfc000000 32MB -$ pkg_info |fgrep XFree86 XFree86-4.3.0,1 X11/XFree86 core distribution (complete, using mini/meta-po XFree86-FontServer-4.3.0_1 XFree86-4 font server XFree86-Server-4.3.0_8 XFree86-4 X server and related programs XFree86-clients-4.3.0_2 XFree86-4 client programs and related files XFree86-documents-4.3.0 XFree86-4 documentation XFree86-font100dpi-4.3.0 XFree86-4 bitmap 100 dpi fonts XFree86-font75dpi-4.3.0 XFree86-4 bitmap 75 dpi fonts XFree86-fontCyrillic-4.3.0 XFree86-4 Cyrillic fonts XFree86-fontDefaultBitmaps-4.3.0 XFree86-4 default bitmap fonts XFree86-fontEncodings-4.3.0 XFree86-4 font encoding files XFree86-fontScalable-4.3.0 XFree86-4 scalable fonts XFree86-libraries-4.3.0_5 XFree86-4 libraries and headers wrapper-1.0_3 Wrapper for XFree86-4 server -$ pkg_info |fgrep drm drm-kmod-0.9.6 A FreeBSD kernel modules for 3d acceleration with the DRI I copied this text from the output when starting FreeBSD: drm0: mem 0xf880000 0-0xf8ffffff,0xf9000000-0xf9003fff,0xfa000000-0xfbffffff irq 11 at device 0.0 on pci1 info: [drm] AGP at 0xfc000000 32MB info: [drm] Initialized mga 3.0.2 20010321 on minor 0 -$ cat /etc/X11/XF86Config |fgrep dri |fgrep Load Load "dri" -$ cat /etc/X11/XF86Config |fgrep glx Load "glx" Here's my XFree86 startup log: http://www.tranceambient.com/public/XFree86.0.log I did add 1GB of RAM to this box earlier today (bringing the box up to 1.5GB), but I doubt that would have anything to do with this problem. The RAM seems to be working just fine. Any ideas? I'm running FreeBSD 4.7. --=20 Adam --=-4pZXuna1ZFep/QW2iTDO Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQA+zSw/u3o4GBMSDL4RAttoAJ9riVUeHw4jp4Ticyfgj+kiP/baTgCfeebg GK8xroDBqLrzhYCbSSUuX8k= =jeNm -----END PGP SIGNATURE----- --=-4pZXuna1ZFep/QW2iTDO-- From owner-freebsd-questions@FreeBSD.ORG Thu May 22 13:06:58 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B06C37B401 for ; Thu, 22 May 2003 13:06:58 -0700 (PDT) Received: from cactus.fi.uba.ar (cactus.fi.uba.ar [157.92.49.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id A05A343FA3 for ; Thu, 22 May 2003 13:06:55 -0700 (PDT) (envelope-from fgleiser@cactus.fi.uba.ar) Received: from cactus.fi.uba.ar (cactus.fi.uba.ar [157.92.49.108]) by cactus.fi.uba.ar (8.12.3/8.12.3) with ESMTP id h4MK5B8a044703 for ; Thu, 22 May 2003 17:05:11 -0300 (ART) (envelope-from fgleiser@cactus.fi.uba.ar) Date: Thu, 22 May 2003 17:05:11 -0300 (ART) From: Fernando Gleiser To: questions@freebsd.org Message-ID: <20030522165345.O35791-100000@cactus.fi.uba.ar> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=-100.0 required=5.0 tests=USER_IN_WHITELIST version=2.53 X-Spam-Checker-Version: SpamAssassin 2.53 (1.174.2.15-2003-03-30-exp) Subject: Maybe OT: Automatic CRLF conversion? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2003 20:06:58 -0000 Here's my problem: I have a FreeBSD server running an aplication. The operators of the aplication (read: people who doesn't know Unix) need to upload some files to the server, and the aplication reads them. The files are flat ASCII. They where using FTP in ASCII mode for that, but they wanted it to be "even easier", so I set up Samba on the server and they just drag and drop the files. The problem is with the CRLF conversion, because the app needs the files the unix way, but they upload them the DOS way. I need an automatic way to handle the conversion, since there is nobody who knows Unix there, and I can't tell them "run such command". They have no shell access. I was thinking of writing a little script which runs from cron, converts the files and then moves them to the final dir, but maybe there is a way of doing it from samba itself. Does anybody have any idea? Thanks in advance and sorry for the OT. Fer From owner-freebsd-questions@FreeBSD.ORG Thu May 22 13:25:44 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C6F837B401 for ; Thu, 22 May 2003 13:25:44 -0700 (PDT) Received: from ms-smtp-02.southeast.rr.com (ms-smtp-02.southeast.rr.com [24.93.67.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81AA843F85 for ; Thu, 22 May 2003 13:25:38 -0700 (PDT) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (rdu57-17-158.nc.rr.com [66.57.17.158])h4MKMxYf021218; Thu, 22 May 2003 16:23:00 -0400 (EDT) Received: from vpn-client-4.marcuscom.com (vpn-client-4.marcuscom.com [10.2.1.4])h4MKO8V8059354; Thu, 22 May 2003 16:24:08 -0400 (EDT) (envelope-from marcus@marcuscom.com) X-Authentication-Warning: creme-brulee.marcuscom.com: vpn-client-4.marcuscom.com [10.2.1.4] didn't use HELO protocol From: Joe Marcus Clarke To: Adam In-Reply-To: <1053633599.363.13.camel@jake> References: <1053633599.363.13.camel@jake> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-Jh+RycZ8WA0h6HgazKWw" Organization: MarcusCom, Inc. Message-Id: <1053635115.314.63.camel@gyros> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.3.3 (Preview Release) Date: 22 May 2003 16:25:15 -0400 X-Spam-Status: No, hits=-8.7 required=5.0 tests=BAYES_00,EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES autolearn=ham version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: eta@lclark.edu cc: FreeBSD User Questions List Subject: Re: DRI stopped working X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2003 20:25:44 -0000 --=-Jh+RycZ8WA0h6HgazKWw Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2003-05-22 at 15:59, Adam wrote: > For some reason, my DRI has suddenly decided it doesn't want to work > anymore. I was away on vacation for a couple weeks, and was staying > up-to-date on my ports via SSH, but haven't actually tried gaming until > just a few minutes ago. >=20 > I don't get any errors or warnings when starting X, and everything in my > dmesg looks OK. I just reinstalled drm-kmod and reboot, but still not > working. >=20 > Here's some extra info that might be helpful in troubleshooting this: >=20 > -$ glxinfo > name of display: :0.0 > display: :0 screen: 0 > direct rendering: No > server glx vendor string: SGI > server glx version string: 1.2 > server glx extensions: > GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context > client glx vendor string: SGI > client glx version string: 1.2 > client glx extensions: > GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context > GLX extensions: > GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context > OpenGL vendor string: Mesa project: www.mesa3d.org > OpenGL renderer string: Mesa GLX Indirect > OpenGL version string: 1.3 Mesa 4.0.4 > OpenGL extensions: > GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_border_clamp,=20 > GL_ARB_texture_cube_map, GL_ARB_texture_env_add,=20 > GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3,=20 > GL_ARB_transpose_matrix, GL_EXT_abgr, GL_EXT_blend_color,=20 > GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_texture_env_add,=20 > GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,=20 > GL_EXT_texture_lod_bias > glu version: 1.3 > glu extensions: > GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess >=20 > visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav > id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat > ---------------------------------------------------------------------- > 0x23 24 tc 1 24 0 r y . 8 8 8 0 0 0 0 0 0 0 0 0 0 None > 0x24 24 tc 1 24 0 r . . 8 8 8 0 0 0 0 0 0 0 0 0 0 None > 0x25 24 tc 1 24 0 r y . 8 8 8 0 0 24 8 0 0 0 0 0 0 None > 0x26 24 tc 1 24 0 r . . 8 8 8 0 0 24 8 0 0 0 0 0 0 None > 0x27 24 tc 1 24 0 r y . 8 8 8 0 0 0 0 16 16 16 0 0 0 Slow > 0x28 24 tc 1 24 0 r . . 8 8 8 0 0 0 0 16 16 16 0 0 0 Slow > 0x29 24 tc 1 24 0 r y . 8 8 8 0 0 24 8 16 16 16 0 0 0 Slow > 0x2a 24 tc 1 24 0 r . . 8 8 8 0 0 24 8 16 16 16 0 0 0 Slow > 0x2b 24 dc 1 24 0 r y . 8 8 8 0 0 0 0 0 0 0 0 0 0 None > 0x2c 24 dc 1 24 0 r . . 8 8 8 0 0 0 0 0 0 0 0 0 0 None > 0x2d 24 dc 1 24 0 r y . 8 8 8 0 0 24 8 0 0 0 0 0 0 None > 0x2e 24 dc 1 24 0 r . . 8 8 8 0 0 24 8 0 0 0 0 0 0 None > 0x2f 24 dc 1 24 0 r y . 8 8 8 0 0 0 0 16 16 16 0 0 0 Slow > 0x30 24 dc 1 24 0 r . . 8 8 8 0 0 0 0 16 16 16 0 0 0 Slow > 0x31 24 dc 1 24 0 r y . 8 8 8 0 0 24 8 16 16 16 0 0 0 Slow > 0x32 24 dc 1 24 0 r . . 8 8 8 0 0 24 8 16 16 16 0 0 0 Slow >=20 >=20 > -$ dmesg |fgrep -i agp > agp0: mem 0xfc000000-0xfdffffff at > device 0.0 on pci0 > pci1: at 0.0 irq 11 > drm0: mem > 0xf8800000-0xf8ffffff,0xf9000000-0xf9003fff,0xfa000000-0xfbffffff irq 11 > at device 0.0 on pci1 > info: [drm] AGP at 0xfc000000 32MB >=20 >=20 > -$ pkg_info |fgrep XFree86 > XFree86-4.3.0,1 X11/XFree86 core distribution (complete, using > mini/meta-po > XFree86-FontServer-4.3.0_1 XFree86-4 font server > XFree86-Server-4.3.0_8 XFree86-4 X server and related programs > XFree86-clients-4.3.0_2 XFree86-4 client programs and related files > XFree86-documents-4.3.0 XFree86-4 documentation > XFree86-font100dpi-4.3.0 XFree86-4 bitmap 100 dpi fonts > XFree86-font75dpi-4.3.0 XFree86-4 bitmap 75 dpi fonts > XFree86-fontCyrillic-4.3.0 XFree86-4 Cyrillic fonts > XFree86-fontDefaultBitmaps-4.3.0 XFree86-4 default bitmap fonts > XFree86-fontEncodings-4.3.0 XFree86-4 font encoding files > XFree86-fontScalable-4.3.0 XFree86-4 scalable fonts > XFree86-libraries-4.3.0_5 XFree86-4 libraries and headers > wrapper-1.0_3 Wrapper for XFree86-4 server >=20 >=20 > -$ pkg_info |fgrep drm > drm-kmod-0.9.6 A FreeBSD kernel modules for 3d acceleration with > the DRI >=20 >=20 > I copied this text from the output when starting FreeBSD: > drm0: mem 0xf880000 > 0-0xf8ffffff,0xf9000000-0xf9003fff,0xfa000000-0xfbffffff irq 11 at > device 0.0 on > pci1 > info: [drm] AGP at 0xfc000000 32MB > info: [drm] Initialized mga 3.0.2 20010321 on minor 0 >=20 >=20 > -$ cat /etc/X11/XF86Config |fgrep dri |fgrep Load > Load "dri" >=20 >=20 > -$ cat /etc/X11/XF86Config |fgrep glx > Load "glx" >=20 >=20 >=20 > Here's my XFree86 startup log: > http://www.tranceambient.com/public/XFree86.0.log >=20 >=20 > I did add 1GB of RAM to this box earlier today (bringing the box up to > 1.5GB), but I doubt that would have anything to do with this problem. > The RAM seems to be working just fine. >=20 >=20 > Any ideas? I'm running FreeBSD 4.7. Do a forced update of XFree86-libraries. Joe --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-Jh+RycZ8WA0h6HgazKWw Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQA+zTIqb2iPiv4Uz4cRAhkdAJ0QIi7NeCdqrhSGwat3qikg5thGdgCeMawZ K9HH3DLzcVQwC1wuzlacjlA= =+ekr -----END PGP SIGNATURE----- --=-Jh+RycZ8WA0h6HgazKWw-- From owner-freebsd-questions@FreeBSD.ORG Thu May 22 13:31:26 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E8C537B401 for ; Thu, 22 May 2003 13:31:26 -0700 (PDT) Received: from pd6mo1so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 860C543FD7 for ; Thu, 22 May 2003 13:31:25 -0700 (PDT) (envelope-from cpressey@catseye.mb.ca) Received: from pd5mr4so.prod.shaw.ca (pd5mr4so-qfe3.prod.shaw.ca [10.0.141.168]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0HFB00E3O2AXIA@l-daemon> for freebsd-questions@freebsd.org; Thu, 22 May 2003 14:30:33 -0600 (MDT) Received: from pn2ml7so.prod.shaw.ca (pn2ml7so-qfe0.prod.shaw.ca [10.0.121.151]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0HFB00GIW2AXYP@l-daemon> for freebsd-questions@freebsd.org; Thu, 22 May 2003 14:30:33 -0600 (MDT) Received: from www.kallisti.ca (h24-70-180-74.wp.shawcable.net [24.70.180.74]) 2003))freebsd-questions@freebsd.org; Thu, 22 May 2003 14:30:33 -0600 (MDT) Date: Thu, 22 May 2003 15:31:19 -0500 From: Chris Pressey In-reply-to: <20030522082511.5ad58211.y2kbug@ms25.hinet.net> To: freebsd-questions@freebsd.org Message-id: <20030522153119.576aeb97.cpressey@catseye.mb.ca> Organization: Cat's Eye Technologies - http://www.catseye.mb.ca/ MIME-version: 1.0 X-Mailer: Sylpheed version 0.9.0 (GTK+ 1.2.10; i386-portbld-freebsd4.8) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT References: <200305202052.h4KKqSEB020008@clunix.cl.msu.edu> <20030521022150.11848744.cpressey@catseye.mb.ca> <20030522082511.5ad58211.y2kbug@ms25.hinet.net> Subject: Re: Packages-CDs for 4.8 and beyond (was: Re: freeBSD 4.8) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2003 20:31:26 -0000 On Thu, 22 May 2003 08:25:11 +0800 Robert Storey wrote: > On Wed, 21 May 2003 02:21:50 -0500 > Chris Pressey wrote: > > > I understand that FreeBSD project support for the packages-CDs was > > dropped so that they could be a value-added service for vendors, so > > I suppose my question might be better phrased as: Does anyone have > > pointers to vendors which will continue to provide packages-CDs for > > 4.8 and beyond (ideally as ISO images that can be downloaded free of > > charge?) > > Dear Chris, > > "Free of charge" I don't know about, but I've noticed that the > FreeBSDmall web site is offering 5.1, 4 CD set ("pre-order" at the > moment) for US$40. > > regards, > Robert Thanks for the pointer... I don't mind shelling out some dough if it'll help support FreeBSD development :) -Chris From owner-freebsd-questions@FreeBSD.ORG Thu May 22 13:36:46 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6180737B401 for ; Thu, 22 May 2003 13:36:46 -0700 (PDT) Received: from pd2mo1so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87BB643FB1 for ; Thu, 22 May 2003 13:36:45 -0700 (PDT) (envelope-from cpressey@catseye.mb.ca) Received: from pd5mr2so.prod.shaw.ca (pd5mr2so-qfe3.prod.shaw.ca [10.0.141.233]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0HFB007KU2GUL4@l-daemon> for questions@freebsd.org; Thu, 22 May 2003 14:34:06 -0600 (MDT) Received: from pn2ml5so.prod.shaw.ca (pn2ml5so-qfe0.prod.shaw.ca [10.0.121.149]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0HFB0092T2GUSI@l-daemon> for questions@freebsd.org; Thu, 22 May 2003 14:34:06 -0600 (MDT) Received: from www.kallisti.ca (h24-70-180-74.wp.shawcable.net [24.70.180.74]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with SMTP id <0HFB000E12GSX6@l-daemon> for questions@freebsd.org; Thu, 22 May 2003 14:34:06 -0600 (MDT) Date: Thu, 22 May 2003 15:34:51 -0500 From: Chris Pressey In-reply-to: <20030522165345.O35791-100000@cactus.fi.uba.ar> To: Fernando Gleiser Message-id: <20030522153451.547d8e41.cpressey@catseye.mb.ca> Organization: Cat's Eye Technologies - http://www.catseye.mb.ca/ MIME-version: 1.0 X-Mailer: Sylpheed version 0.9.0 (GTK+ 1.2.10; i386-portbld-freebsd4.8) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT References: <20030522165345.O35791-100000@cactus.fi.uba.ar> cc: questions@freebsd.org Subject: Re: Maybe OT: Automatic CRLF conversion? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2003 20:36:46 -0000 On Thu, 22 May 2003 17:05:11 -0300 (ART) Fernando Gleiser wrote: > [...] > I was thinking of writing a little script which runs from cron, > converts the files and then moves them to the final dir > [...] If you do decide to go this route, wait_on is almost certainly a more elegant solution than a cron job. /usr/ports/sysutils/wait_on -Chris From owner-freebsd-questions@FreeBSD.ORG Thu May 22 13:41:23 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E63F537B401 for ; Thu, 22 May 2003 13:41:23 -0700 (PDT) Received: from pd3mo1so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 205CF43FB1 for ; Thu, 22 May 2003 13:41:23 -0700 (PDT) (envelope-from cpressey@catseye.mb.ca) Received: from pd5mr4so.prod.shaw.ca (pd5mr4so-qfe3.prod.shaw.ca [10.0.141.168]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0HFB00ICO2ROCD@l-daemon> for freebsd-questions@freebsd.org; Thu, 22 May 2003 14:40:36 -0600 (MDT) Received: from pn2ml5so.prod.shaw.ca (pn2ml5so-qfe0.prod.shaw.ca [10.0.121.149]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0HFB00HB72RO68@l-daemon> for freebsd-questions@freebsd.org; Thu, 22 May 2003 14:40:36 -0600 (MDT) Received: from www.kallisti.ca (h24-70-180-74.wp.shawcable.net [24.70.180.74]) 2003))freebsd-questions@freebsd.org; Thu, 22 May 2003 14:40:36 -0600 (MDT) Date: Thu, 22 May 2003 15:41:22 -0500 From: Chris Pressey In-reply-to: To: Bingrui Foo Message-id: <20030522154122.2dbfdb0c.cpressey@catseye.mb.ca> Organization: Cat's Eye Technologies - http://www.catseye.mb.ca/ MIME-version: 1.0 X-Mailer: Sylpheed version 0.9.0 (GTK+ 1.2.10; i386-portbld-freebsd4.8) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT References: cc: freebsd-questions@freebsd.org Subject: Re: Savemail panic X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2003 20:41:24 -0000 On Thu, 22 May 2003 11:43:39 -0500 (EST) Bingrui Foo wrote: > I just installed FreeBSD and even reinstalled it, but keep getting this > error message about once a day: > > May 22 03:01:03 sendmail[1813]: h4M8133q001813: Losing ./qfh3M8133q001813: > savemail panic > May 22 03:01:03 sendmail[1813]: h4M8133q001813: SYSERR(root): savemail: > cannot save rejected email anywhere > .... (message x 2) > > Wonder what is the problem. I have tried to disable sendmail using rc.conf > but it doesn't do anything. > > Foo Sorry, I have no idea what the error message means. But if you want to *really* disable sendmail, you need sendmail_enable="NONE" in /etc/rc.conf. -Chris From owner-freebsd-questions@FreeBSD.ORG Thu May 22 13:42:21 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8606537B401 for ; Thu, 22 May 2003 13:42:21 -0700 (PDT) Received: from express18.propagation.net (express18.propagation.net [66.221.151.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id B0A9543F3F for ; Thu, 22 May 2003 13:42:20 -0700 (PDT) (envelope-from allen@vonderschmidt.org) Received: from avlaptop (adsl-208-190-203-99.dsl.kscymo.swbell.net [208.190.203.99])h4MKg8523715; Thu, 22 May 2003 15:42:08 -0500 From: "Wm. Allen Vonderschmidt" To: "'Dan Nelson'" Date: Thu, 22 May 2003 15:42:09 -0500 Organization: Mine Message-ID: <003401c320a2$9d6d90a0$140a0aac@avlaptop> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-Reply-To: <20030522165741.GB1694@dan.emsphone.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal cc: freebsd-questions@freebsd.org Subject: RE: RAM in a Compaq 2500. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2003 20:42:21 -0000 Thanks, by the time I got this from you I had already received a suggestion to add 'option MAXMEM="262144" ' into the kernel and recompile it. That has solved the issue. Thanks for the quick response to both Dan and Jon Gross. Allen -----Original Message----- From: Dan Nelson [mailto:dnelson@allantgroup.com] Sent: Thursday, May 22, 2003 11:58 AM To: Wm. Allen Vonderschmidt Cc: freebsd-questions@freebsd.org Subject: Re: RAM in a Compaq 2500. In the last episode (May 22), Wm. Allen Vonderschmidt said: > I have a Compaq 2500 with 256MB of RAM installed. I have removed the > Win2K server installed and replaced it with FreeBSD 4.8-RELEASE. > According to sysctl I seem to only have 12MB of RAM > (hw.physmem: 12099584). Win2K was seeing all 256MB until it was > replaced. Any suggestions as to where to check for the disconnect? > Thanks in advance. Compaq's don't return the right values to the BIOS memory calls, so you have to override the results. Try adding this to /boot/loader.conf: hw.physmem="256M" -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Thu May 22 13:57:46 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8583D37B401 for ; Thu, 22 May 2003 13:57:46 -0700 (PDT) Received: from mail.gmx.net (mail.gmx.de [213.165.65.60]) by mx1.FreeBSD.org (Postfix) with SMTP id 4CCC443F3F for ; Thu, 22 May 2003 13:57:45 -0700 (PDT) (envelope-from blueeskimo@gmx.net) Received: (qmail 23258 invoked by uid 65534); 22 May 2003 20:57:43 -0000 Received: from i216-58-29-174.gta.igs.net (EHLO [216.58.29.174]) (216.58.29.174) by mail.gmx.net (mp005-rz3) with SMTP; 22 May 2003 22:57:43 +0200 From: Adam To: Joe Marcus Clarke In-Reply-To: <1053635115.314.63.camel@gyros> References: <1053633599.363.13.camel@jake> <1053635115.314.63.camel@gyros> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-mtO6jQ34L7qfISDrkdMi" Organization: Message-Id: <1053637061.35010.1.camel@jake> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.4 Date: 22 May 2003 16:57:41 -0400 cc: FreeBSD User Questions List Subject: Re: DRI stopped working X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2003 20:57:46 -0000 --=-mtO6jQ34L7qfISDrkdMi Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2003-05-22 at 16:25, Joe Marcus Clarke wrote: > Do a forced update of XFree86-libraries. That didn't work, but reinstalling XFree86-4-Server did. The mga_dri.so module was missing for some reason. Anyhow, it works now, thanks to Eric Anholt's advice. --=20 Adam --=-mtO6jQ34L7qfISDrkdMi Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQA+zTnFu3o4GBMSDL4RAgqiAJ9H1HUBipZUfyXd/PQrALznk0we7wCdGtE+ SLXkAKWWrIa1lE7icX8YmiA= =1pu4 -----END PGP SIGNATURE----- --=-mtO6jQ34L7qfISDrkdMi-- From owner-freebsd-questions@FreeBSD.ORG Thu May 22 14:02:48 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 387B337B404 for ; Thu, 22 May 2003 14:02:48 -0700 (PDT) Received: from ms-smtp-01.southeast.rr.com (ms-smtp-01.southeast.rr.com [24.93.67.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id E819A43F85 for ; Thu, 22 May 2003 14:02:46 -0700 (PDT) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (rdu57-17-158.nc.rr.com [66.57.17.158])h4MKvbsb026374; Thu, 22 May 2003 16:57:37 -0400 (EDT) Received: from vpn-client-4.marcuscom.com (vpn-client-4.marcuscom.com [10.2.1.4])h4ML1TV8059695; Thu, 22 May 2003 17:01:29 -0400 (EDT) (envelope-from marcus@marcuscom.com) X-Authentication-Warning: creme-brulee.marcuscom.com: vpn-client-4.marcuscom.com [10.2.1.4] didn't use HELO protocol From: Joe Marcus Clarke To: Adam In-Reply-To: <1053637061.35010.1.camel@jake> References: <1053633599.363.13.camel@jake> <1053635115.314.63.camel@gyros> <1053637061.35010.1.camel@jake> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-7uKxJTVtdy+3/XHCvu39" Organization: MarcusCom, Inc. Message-Id: <1053637355.314.78.camel@gyros> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.3.3 (Preview Release) Date: 22 May 2003 17:02:36 -0400 X-Spam-Status: No, hits=-8.7 required=5.0 tests=BAYES_00,EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES autolearn=ham version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: FreeBSD User Questions List Subject: Re: DRI stopped working X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2003 21:02:48 -0000 --=-7uKxJTVtdy+3/XHCvu39 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2003-05-22 at 16:57, Adam wrote: > On Thu, 2003-05-22 at 16:25, Joe Marcus Clarke wrote: > > Do a forced update of XFree86-libraries. >=20 > That didn't work, but reinstalling XFree86-4-Server did. The mga_dri.so > module was missing for some reason. Anyhow, it works now, thanks to Eric > Anholt's advice. It was one or the other. My suggestion fixed an issue for me on -CURRENT with bad libGL libraries. Joe --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-7uKxJTVtdy+3/XHCvu39 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQA+zTrrb2iPiv4Uz4cRAoTvAJ9YiqD35zvK15YU0+QiKgd2XKIWwgCdGyIz hgKWHr+HS8hi303q7gfEtmY= =cMvK -----END PGP SIGNATURE----- --=-7uKxJTVtdy+3/XHCvu39-- From owner-freebsd-questions@FreeBSD.ORG Thu May 22 14:49:00 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2D92E37B401 for ; Thu, 22 May 2003 14:49:00 -0700 (PDT) Received: from franky.speednet.com.au (franky.speednet.com.au [203.57.65.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED77443F85 for ; Thu, 22 May 2003 14:48:58 -0700 (PDT) (envelope-from andyf@speednet.com.au) Received: from hewey.af.speednet.com.au (hewey.af.speednet.com.au [203.38.96.242])h4MLmjZ3033013; Fri, 23 May 2003 07:48:45 +1000 (EST) (envelope-from andyf@speednet.com.au) Received: from hewey.af.speednet.com.au (hewey.af.speednet.com.au [172.22.2.1])h4MLmhYm013469; Fri, 23 May 2003 07:48:44 +1000 (EST) (envelope-from andyf@speednet.com.au) Date: Fri, 23 May 2003 07:48:42 +1000 (EST) From: Andy Farkas X-X-Sender: andyf@hewey.af.speednet.com.au To: Mark In-Reply-To: <200305221809.H4MI9SGZ028102@asarian-host.net> Message-ID: <20030523074214.T13191-100000@hewey.af.speednet.com.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: Syslog from external machine X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2003 21:49:00 -0000 On Thu, 22 May 2003, Mark wrote: > > Go into /etc/syslog.conf and uncomment the `*.* /var/log/all.log > > line. touch /var/log/all.log and restart syslogd. > > > > Now you can monitor all messages sent to syslogd. > > Indeed, this now works. :) But I get a LOT of messages in /var/log/all.log! > Is there not a way I can log 'the rest'? See, now I have something like: > > ... > mail.info /var/log/maillog > lpr.info /var/log/lpd-errs > cron.* /var/log/cron > *.err root > *.notice;news.err root > *.alert root > *.emerg * > *.* /var/log/router.log > > But what I would really want is: "Everything which is not covered by any of > the above, log to /var/log/router.log". Something like: "!*.*". Well, you > know what I mean. Try this command: man syslogd > If that is not possible, is there a way I can determine to what syslog > facility the router is logging? (like "mail.crit" or something). I always run syslogd with -vv flag.... ps. sorry about being terse - but thats what man pages are for...if you need more help after reading the man page, ask then... -- :{ andyf@speednet.com.au Andy Farkas System Administrator Speednet Communications http://www.speednet.com.au/ From owner-freebsd-questions@FreeBSD.ORG Thu May 22 15:05:20 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB1D537B401 for ; Thu, 22 May 2003 15:05:19 -0700 (PDT) Received: from asarian-host.net (mail.asarian-host.net [194.109.160.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 822FF43F75 for ; Thu, 22 May 2003 15:05:18 -0700 (PDT) (envelope-from admin@asarian-host.net) Comments: To protect the identity of the sender, certain header fields are either not shown, or masked. Anonymous email accounts can be requested by filling in the appropriate form at: https://asarian-host.net/cgi-bin/signup.cgi Received: (from root@localhost) by mail.asarian-host.net (8.12.9/8.12.9) id h4MM5HBk008592 for freebsd-questions@freebsd.org; Fri, 23 May 2003 00:05:17 +0200 (CEST) (envelope-from admin@asarian-host.net) From: Mark Message-Id: <200305222205.H4MM5GTM008582@asarian-host.net> Date: Thu, 22 May 2003 22:05:16 GMT X-Authenticated-Sender: admin@asarian-host.net X-Trace: 4X62Fw+gxSZSd1r3ue5qKkRnZSg5W3ZN6l/kgmgWwQgGMllrv0zAFvFEZAoNUyEgHupjn/Y9MlyfZGWPhLoE/g== X-Complaints-To: abuse@asarian-host.net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we are unable to process your complaint Organization: Asarian-host To: "Andy Farkas" References: <20030523074214.T13191-100000@hewey.af.speednet.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Auth: Asarian-host PGP signature iQEVAwUAPs1JnDFqW1BleBN9AQHftgf+JgBKDdKHU+ugk/O0wa6EbQb1mGLcW6wf 47/SRXrWlNpimzOP3YZ6W8StGRcGQxwqC0UrVfgWb+0fJJMPcLDbyaaxX+wSMKqP WuZS04hpvDoy8Uuy+oh3KWSEx9DPIQsj9gVPyDP68pESlTZkObAmg/FMrRzXa6dN l9BHo24mVOhQRhWg0wV314i6+ByBm7eg6zBimJ2jnvUJpZHgE3deQFAQW7eXNwQs 14AxgpskgzhJEDaJDcscO1jwm8WGRGdApuS33BqkFsbeDXSyCPPurf0ZZ54VhIea Lt6/U1TCrvYPYH/SqeDZEPUxfKY9WRTmtGroAwcO6pn9I6a69s4a0w== =ylvX cc: freebsd-questions@freebsd.org Subject: Re: Syslog from external machine X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2003 22:05:20 -0000 ----- Original Message ----- From: "Andy Farkas" To: "Mark" Cc: Sent: Thursday, May 22, 2003 11:48 PM Subject: Re: Syslog from external machine > > If that is not possible, is there a way I can determine to what > > syslog facility the router is logging? (like "mail.crit" or > > something). > > I always run syslogd with -vv flag.... > > ps. sorry about being terse - but thats what man pages are for... > if you need more help after reading the man page, ask then... Your terseness did not bother me. :) Though what I found was assuredly not in "man syslogd", your suggestion to use the "-vv" flags was nonetheless very helpful. :) Not only does it finally tell me what facility the router uses, but it seems the router uses a special facility just to log DoS attacks -- which is what I was primarily interested in anyway. So, thanks! - Mark From owner-freebsd-questions@FreeBSD.ORG Thu May 22 15:15:56 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4897037B401 for ; Thu, 22 May 2003 15:15:56 -0700 (PDT) Received: from kanga.honeypot.net (kanga.honeypot.net [208.162.254.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4975B43F3F for ; Thu, 22 May 2003 15:15:55 -0700 (PDT) (envelope-from kirk@strauser.com) Received: from pooh.honeypot.net.strauser.com (pooh.honeypot.net [10.0.5.128]) by kanga.honeypot.net (8.12.9/8.12.9) with ESMTP id h4MMFrbC089680 for ; Thu, 22 May 2003 17:15:54 -0500 (CDT) (envelope-from kirk@strauser.com) To: freebsd-questions@freebsd.org From: Kirk Strauser Date: Thu, 22 May 2003 17:15:52 -0500 Message-ID: <87u1bmwrtz.fsf@pooh.honeypot.net> Lines: 22 X-Mailer: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Subject: XFree86 and antialiasing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2003 22:15:56 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable I'm trying to activate subpixel antialiasing on my FreeBSD workstation. In my /usr/X11R6/etc/fonts/local.conf, I have: rgb These seems to work for large fonts, but not smaller ones. For example, if I use xmag to zoom in on parts of Mozilla, I can see that large characters such as in

tags are subpixel antialiased, but regular text is not. How can I tell fontconfig to lower the threshold for deciding whether or not to antialias my fonts? =2D-=20 Kirk Strauser --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQA+zUwZ5sRg+Y0CpvERAsemAJ9UzVtEzgMRryQcFYATZ/SMv6uf6gCcCJK/ 83rQcUYGNobYsfvCJpzdyYA= =DZWQ -----END PGP SIGNATURE----- --=-=-=-- From owner-freebsd-questions@FreeBSD.ORG Thu May 22 15:18:48 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E160D37B401 for ; Thu, 22 May 2003 15:18:47 -0700 (PDT) Received: from pa-plum1b-166.pit.adelphia.net (pa-plum1a-215.pit.adelphia.net [24.53.170.215]) by mx1.FreeBSD.org (Postfix) with ESMTP id 332CC43F75 for ; Thu, 22 May 2003 15:18:47 -0700 (PDT) (envelope-from wmoran@potentialtech.com) Received: from potentialtech.com (working [172.16.0.95]) h4MMIk0n018653; Thu, 22 May 2003 18:18:46 -0400 (EDT) (envelope-from wmoran@potentialtech.com) Message-ID: <3ECD4CC6.7010004@potentialtech.com> Date: Thu, 22 May 2003 18:18:46 -0400 From: Bill Moran User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3) Gecko/20030429 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pat bey References: <20030522155152.96525.qmail@web41208.mail.yahoo.com> In-Reply-To: <20030522155152.96525.qmail@web41208.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: FREEBSD Subject: Re: lan problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2003 22:18:48 -0000 pat bey wrote: > # netstat -rn > Internet: > Destination Gateway Flags Ref Use Netif > default 192.168.0.1 UGSc 2 1 sis0 > 127.0.0.1 127.0.0.1 UH 0 382 lo0 > 192.168.0 link#1 UC 4 0 sis0 > 192.168.0.105 00:09:5b:1b:89:0d UHLW 1 241 lo0 > 192.168.0.184 link#1 UHLW 0 5 sis0 > 192.168.0.255 ff:ff:ff:ff:ff:ff:ff:ff UHLWb 1 77 sis0 > I left out the expire part sense their was nothing under it. > I left out the Internet6 part cause when installing I configured it for ipv4. > I don't know if I have ICMP enable on the router or not I have ports 20-2999 open on the router. Strange thou the router says 192.168.0.184 is the win xp box why is it in my my netstat. I tried telneting to the router it won't let me Do you see this eighty-foot line ^^^^^ Do you think you can learn to use the "enter" key? 192.168.0.184 shows up in the list because the FreeBSD box heard it on the local network and thus created an ephemeral route so it knows where to find it. This is A Good Thing. Cany you ping 192.168.0.184 from the FreeBSD box? Can you ping FreeBSD from the XP box? If so, it sounds like your "router" is misconfigured. > > pat bey wrote: > >>Can anyone help me solve this problem?? >> >>I have two boxes win xp and FreeBSD 4.6 and a DLink 704P router which has built-in >>nat and dhcp server. Here is a diagram of my setup. > > [code] ----------------------------- > >>| dsl modem | >>------------------------------- >>| >>-------------------------------- >>| router | >>------------------------------- >>| | > > --------------------------------| |------------------------------ > | | > ---------------------- ------------------ ------------------- | |Win XP box | | FBSD4.6 box | > ---------------------- ------------------------- [/code] > >>I followed the online handbook to setup this box, everything is configured for dhcp. >>Using the GENERIC kernel. I tried pinging 127.0.0.1 & my nic >>which had 0% packet loss. But when I try to ping the router I get a message of route >>to host down. I have Bind running as a caching server . I updated the firmware for >>a unix sys and I can't get out to the world from this box. The windows box have no >>problem getting out to the world. On the router I have ports tcp,udp 20-2999 open >>for both mac address. The router sees both MAC's but the FBSD box can't even access >>the routers web page. I have another nic card should I install it and put the BSD >>box in front of the router. Or can anyone help me solve this problem. > > > Can you ping 192.168.0.105? > > Can you ping the IP of the Win XP machine? > > Do you have ICMP packets blocked on the "router"? > > Are you pinging IP addys or names? (start with IPs, once that works, then try names) > > Can you post the output of 'netstat -rn'? > > >>:D-------------------------------------------------------------------------------------------------:D >># ifconfig >>sis0: flags=8843 mtu 1500 >>inet 192.168.0.105 netmask 0xffffff00 broadcast 192.168.0.255 >>ether 00:12:34:56:78 >>media: Ethernet autoselect (100baseTX ) >>status: active >>lo0: flags=8049 mtu 16384 >>inet 127.0.0.1 netmask 0xff000000 >>------------------------------------------------------------------------------------------------------- >># rc.conf >>blanktime="300" >>hostname="phaza" >>ifconfig_sis0="DHCP" >>defaultrouter="192.168.0.1" >>named_enable="YES" >>inetd_enable="YES" >>kernel_secure_level_enable="YES" >>kepmap="us.unix" >>keyrate="normal" >>linux_enable="YES" >>and the rest is just set to the default. >>I had Redhat Linux 7.2 installed before and it work with no problem straight >>out of the box. I been working on this for a 2 months with no luck. Can >>anyone help me out. I chose the 4.6 version cause it was all that my local >>comp had as far as BSD that came with a handbook. > > -- Bill Moran Potential Technologies http://www.potentialtech.com From owner-freebsd-questions@FreeBSD.ORG Thu May 22 15:28:32 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B6F2B37B404 for ; Thu, 22 May 2003 15:28:32 -0700 (PDT) Received: from computer.multihaven.org (rrcs-midsouth-24-172-21-179.biz.rr.com [24.172.21.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0013443F3F for ; Thu, 22 May 2003 15:28:31 -0700 (PDT) (envelope-from jeremy@multihaven.org) Received: from engineering.multihaven.org (engineering.multihaven.org [192.168.215.2])h4MMSUJV000763 for ; Thu, 22 May 2003 18:28:30 -0400 (EDT) (envelope-from jeremy@multihaven.org) Message-Id: <5.2.0.9.2.20030522182828.00b43230@computer.multihaven.org> X-Sender: jeremy@computer.multihaven.org (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Thu, 22 May 2003 18:28:30 -0400 To: freebsd-questions@freebsd.org From: Jer Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: problem finding USB network device X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2003 22:28:33 -0000 Dear all I am trying to get a Dlink USB NIC working under FreeBSD 4.8 I am totaly clueless when it comes to USB + FreeBSD I am using a geenric kernel for testing. I enabled usbd in my rc.conf and the output is below I once got this May 10 18:32:21 tigger /kernel.GENERIC: ugen0: D-Link product 0x1a00, rev 2.00/0.01, addr 2 May 10 18:45:34 tigger /kernel: ugen0: D-Link product 0x1a00, rev 2.00/0.01, addr 2 but most of the time I just get this eg it does not even seen the device any ideas?? Thanks all May 10 18:51:29 tigger /kernel: uhci0: port 0xd400-0xd41f irq 5 at device 7.2 on pci0 May 10 18:51:29 tigger /kernel: usb0: on uhci0 May 10 18:51:29 tigger /kernel: usb0: USB revision 1.0 May 10 18:51:29 tigger /kernel: uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 May 10 18:51:29 tigger /kernel: uhub0: 2 ports with 2 removable, self powered May 10 18:51:30 tigger /kernel: uhci1: port 0xd800-0xd81f irq 5 at device 7.3 on pci0 May 10 18:51:30 tigger /kernel: usb1: on uhci1 May 10 18:51:30 tigger /kernel: usb1: USB revision 1.0 May 10 18:51:30 tigger /kernel: uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 May 10 18:51:30 tigger /kernel: uhub1: 2 ports with 2 removable, self powered May 10 18:52:14 tigger /kernel: uhub0: port error, restarting port 2 May 10 18:52:35 tigger /kernel: uhub0: device problem, disabling port 2 May 10 18:52:35 tigger /kernel: uhub0: port error, giving up port 2 etc From owner-freebsd-questions@FreeBSD.ORG Thu May 22 15:40:21 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 00D7437B404 for ; Thu, 22 May 2003 15:40:21 -0700 (PDT) Received: from adsl-64-161-78-226.dsl.lsan03.pacbell.net (adsl-64-161-78-226.dsl.lsan03.pacbell.net [64.161.78.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 48F7943F85 for ; Thu, 22 May 2003 15:40:20 -0700 (PDT) (envelope-from oremanj@adsl-64-161-78-226.dsl.lsan03.pacbell.net) Received: (qmail 18042 invoked by uid 1001); 22 May 2003 22:41:26 -0000 Date: Thu, 22 May 2003 15:41:26 -0700 From: Joshua Oreman To: Chuck Swiger Message-ID: <20030522224126.GB17789@webserver.get-linux.org> References: <4306.192.168.1.155.1053612014.squirrel@vipersystems.biz> <3ECCFDCF.4020103@mac.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3ECCFDCF.4020103@mac.com> User-Agent: Mutt/1.4i cc: questions@freebsd.org Subject: Re: Zombie Process X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2003 22:40:21 -0000 On Thu, May 22, 2003 at 12:41:51PM -0400 or thereabouts, Chuck Swiger seemed to write: > Jason Lieurance wrote: > [ ... ] > > Zombie processes are mostly harmless: they are a process which has > finished and is sticking around because their parent hasn't reaped their > exit status. Have the parent process do a wait()... NOTE: This email is intended for if you really, truly, want to get rid of those zombies. These procedures are untested, but they should work :-) Do `ps ax` and find the PID of the child. Then this: $ ps axo ppid -p | grep -v PPID | sed 's/ //g' It will show the PID of the parent. From now on, this will be referred to as the-ppid. Now: $ which `ps axo command -p | grep -v COMMAND | cut -d' ' -f1` It will give you the program - if not, try and find it yourself. This will be called /path/to/the/program. The PID of the child will be called the-pid. Now `debug' the parent program and call wait(): $ gdb /path/to/the/program the-ppid [...] (gdb) call wait(the-pid) If it takes very long here, hit ^C. (gdb) quit The program is running. Quit anyway (and detach it)? yes $ kill -CONT the-ppid The zombie should've disappeared if you didn't have to press ^C; if you did, just don't worry about it. HTH, -- Josh > > -Chuck > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Thu May 22 15:42:35 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9CE5637B401 for ; Thu, 22 May 2003 15:42:35 -0700 (PDT) Received: from ulysses.noc.ntua.gr (ulysses.noc.ntua.gr [147.102.222.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 31EE543F85 for ; Thu, 22 May 2003 15:42:33 -0700 (PDT) (envelope-from keramida@ceid.upatras.gr) Received: from pandora.otenet.gr (pandora.otenet.gr [195.170.0.39]) by ulysses.noc.ntua.gr (8.11.6p2/8.11.6) with ESMTP id h4MMgVc85666 for ; Fri, 23 May 2003 01:42:31 +0300 (EEST) Received: from thalia.otenet.gr (thalia.otenet.gr [195.170.0.8]) by pandora.otenet.gr (8.12.9/8.12.9) with ESMTP id h4MMgVmh019067 for ; Fri, 23 May 2003 01:42:31 +0300 (EEST) Received: from gothmog.gr (patr530-b173.otenet.gr [212.205.244.181]) by thalia.otenet.gr (8.12.9/8.12.9) with ESMTP id h4MMeT2V023531 for ; Fri, 23 May 2003 01:40:30 +0300 (EEST) Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.12.9/8.12.9) with ESMTP id h4MMeROZ002830 for ; Fri, 23 May 2003 01:40:27 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.12.9/8.12.9/Submit) id h4MJu7WK001599; Thu, 22 May 2003 22:56:07 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Thu, 22 May 2003 22:56:07 +0300 From: Giorgos Keramidas To: Bingrui Foo Message-ID: <20030522195607.GA1501@gothmog.gr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: cc: freebsd-questions@freebsd.org Subject: Re: Savemail panic X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2003 22:42:35 -0000 On 2003-05-22 11:43, Bingrui Foo wrote: > I just installed FreeBSD and even reinstalled it, but keep getting this > error message about once a day: > > May 22 03:01:03 sendmail[1813]: h4M8133q001813: Losing ./qfh3M8133q001813: savemail panic > May 22 03:01:03 sendmail[1813]: h4M8133q001813: SYSERR(root): savemail: cannot save rejected email anywhere > .... (message x 2) This means that sendmail tried to deliver a message to user `root', but couldn't. It then tried to bounce the message (i.e. deliver it to postmaster) and found out that it couldn't bounce it either. That's bad. If you want to keep sendmail, you should make sure that `root' can accept mail. The periodic system checks of FreeBSD will try to mail root at least twice a day. > Wonder what is the problem. I have tried to disable sendmail using > rc.conf but it doesn't do anything. It's not a very good idea to disable it altogether, without installing an alternate mail transfer agent. If you don't want these periodic mail reports and you don't want to install any sort of mail server software on your machine, check out /etc/crontab and comment the lines that fire up the periodic scripts. - Giorgos From owner-freebsd-questions@FreeBSD.ORG Thu May 22 16:11:59 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5EB1137B401 for ; Thu, 22 May 2003 16:11:59 -0700 (PDT) Received: from smtp0.adl1.internode.on.net (smtp0.adl1.internode.on.net [203.16.214.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BBE743F93 for ; Thu, 22 May 2003 16:11:58 -0700 (PDT) (envelope-from malcolm.kay@internode.on.net) Received: from beta.home (ppp1969.sa.padsl.internode.on.net [150.101.26.176]) h4MNBqMO011601; Fri, 23 May 2003 08:41:53 +0930 (CST) Content-Type: text/plain; charset="iso-8859-1" From: Malcolm Kay Organization: At home To: Eduardo Viruena Silva Date: Fri, 23 May 2003 08:41:52 +0930 User-Agent: KMail/1.4.3 References: <20030522143851.GA729@lisa.home.net> <200305230104.51666.malcolm.kay@internode.on.net> <20030522115744.H48229@Gina.esfm.ipn.mx> In-Reply-To: <20030522115744.H48229@Gina.esfm.ipn.mx> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200305230841.52047.malcolm.kay@internode.on.net> cc: tollallenamensindbelegt@t-online.de cc: freebsd-questions@freebsd.org Subject: Re: can't print postscript files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2003 23:11:59 -0000 On Fri, 23 May 2003 02:37, Eduardo Viruena Silva wrote: > On Fri, 23 May 2003, Malcolm Kay wrote: [snip] > > #gs -h -> produces -> > > GNU Ghostscript 6.52 (2001-10-20) Note the "GNU" here! > > Copyright (C) 2001 artofcode LLC, Benicia, CA. All rights reserved. > > Usage: gs [switches] [file1.ps file2.ps ...] > > Most frequently used switches: (you can use # in place of =3D) > > -dNOPAUSE no pause after page | -q `quiet', fewer > > messages -gx page size in pixels | -r pixels/= inch > > resolution -sDEVICE=3D select device | -dBATCH exi= t > > after last file -sOutputFile=3D select output file: - for stdou= t, > > |command for pipe, embed %d or %ld for page # Input formats: PostScri= pt > > PostScriptLevel1 PostScriptLevel2 PDF > > Available devices: > > x11 bbox x11alpha x11cmyk x11cmyk2 x11cmyk4 x11cmyk8 x11gray2 x11g= ray4 > > x11mono x11rg16x x11rg32x appledmp iwhi iwlo iwlq hl7x0 bj10e bj20= 0 > > ^^^^^ > > bjc600 bjc800 lbp8 lips3 m8510 coslw2p coslwxl stp uniprint dl2100 > > la50 > > Sorry Malcolm, mine does not have it. > And it is newer: version 7.05 !! I don't believe the GNU distribution has reached this version number. I think you must have the Aladdin distribution which is more significant than the particular version number. The total number of devices available in each distribution is enormous; but those to be included can easily be selected at compilation, and the default selection in distributions can be quite different. Malcolm From owner-freebsd-questions@FreeBSD.ORG Thu May 22 16:55:32 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B9BF337B404 for ; Thu, 22 May 2003 16:55:32 -0700 (PDT) Received: from imo-d01.mx.aol.com (imo-d01.mx.aol.com [205.188.157.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB7D243F75 for ; Thu, 22 May 2003 16:55:31 -0700 (PDT) (envelope-from edinho64@netscape.net) Received: from edinho64@netscape.net by imo-d01.mx.aol.com (mail_out_v36.3.) id n.ef.8bded43 (16239) for ; Thu, 22 May 2003 19:55:15 -0400 (EDT) Received: from netscape.net (pool-68-160-121-87.nwrk.east.verizon.net [68.160.121.87]) by air-in03.mx.aol.com (v93.12) with ESMTP id MAILININ33-3f6f3ecd636324a; Thu, 22 May 2003 19:55:15 -0400 Message-ID: <3ECD6363.9090703@netscape.net> Date: Thu, 22 May 2003 19:55:15 -0400 From: "E. J. Cerejo" User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Mailer: Unknown (No Version) Subject: JDK13 fails to build X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2003 23:55:33 -0000 I'm trying to install JDK13 and it fails to build, here's what I get: /src/motif/badapter -I../../../../src/share/javavm/export -I../../../../src/solaris/javavm/export -I/usr/X11R6/include -I/usr/local/include -I../../oji-plugin/src/share -o ../../tmp/bsd/i386/stubs.o ../../oji-plugin/src/motif/common/stubs.c In file included from ../../oji-plugin/src/motif/common/stubs.c:29: /usr/X11R6/include/npapi.h:1: #error "/home/espenr/tmp/qt-3.1-espenr-14496/qt/extensions/nsplugin/src/npapi.h must be provided by Netscape" /usr/X11R6/include/npapi.h:2: #error "This file is just a placeholder. Please see the documentation" /usr/X11R6/include/npapi.h:3: #error "to learn how to obtain the real file" In file included from ../../oji-plugin/src/motif/common/stubs.c:30: /usr/X11R6/include/npupp.h:1: #error "/home/espenr/tmp/qt-3.1-espenr-14496/qt/extensions/nsplugin/src/npupp.h must be provided by Netscape" /usr/X11R6/include/npupp.h:2: #error "This file is just a placeholder. Please see the documentation" /usr/X11R6/include/npupp.h:3: #error "to learn how to obtain the real file" gmake[1]: *** [../../tmp/bsd/i386/stubs.o] Error 1 gmake[1]: Leaving directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/ext/plugin/build/solaris' gmake: *** [plugin-all] Error 1 *** Error code 2 Stop in /usr/ports/java/jdk13. Is it because of qt3? From owner-freebsd-questions@FreeBSD.ORG Thu May 22 17:15:52 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 735F137B401 for ; Thu, 22 May 2003 17:15:52 -0700 (PDT) Received: from imo-r01.mx.aol.com (imo-r01.mx.aol.com [152.163.225.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8CBF443FA3 for ; Thu, 22 May 2003 17:15:51 -0700 (PDT) (envelope-from edinho64@netscape.net) Received: from edinho64@netscape.net by imo-r01.mx.aol.com (mail_out_v36.3.) id n.10b.7a66d43 (22681) for ; Thu, 22 May 2003 20:15:45 -0400 (EDT) Received: from netscape.net (pool-68-160-121-87.nwrk.east.verizon.net [68.160.121.87]) by air-in04.mx.aol.com (v93.12) with ESMTP id MAILININ42-58993ecd6830fe; Thu, 22 May 2003 20:15:45 -0400 Message-ID: <3ECD6830.3060603@netscape.net> Date: Thu, 22 May 2003 20:15:44 -0400 From: "E. J. Cerejo" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD-Questions Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Mailer: Unknown (No Version) Subject: Re: JDK13 fails to build X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 00:15:52 -0000 I forgot to mention that I'm running freebsd stable E. J. Cerejo wrote: I'm trying to install JDK13 and it fails to build, here's what I get: /src/motif/badapter -I../../../../src/share/javavm/export -I../../../../src/solaris/javavm/export -I/usr/X11R6/include -I/usr/local/include -I../../oji-plugin/src/share -o ../../tmp/bsd/i386/stubs.o ../../oji-plugin/src/motif/common/stubs.c In file included from ../../oji-plugin/src/motif/common/stubs.c:29: /usr/X11R6/include/npapi.h:1: #error "/home/espenr/tmp/qt-3.1-espenr-14496/qt/extensions/nsplugin/src/npapi.h must be provided by Netscape" /usr/X11R6/include/npapi.h:2: #error "This file is just a placeholder. Please see the documentation" /usr/X11R6/include/npapi.h:3: #error "to learn how to obtain the real file" In file included from ../../oji-plugin/src/motif/common/stubs.c:30: /usr/X11R6/include/npupp.h:1: #error "/home/espenr/tmp/qt-3.1-espenr-14496/qt/extensions/nsplugin/src/npupp.h must be provided by Netscape" /usr/X11R6/include/npupp.h:2: #error "This file is just a placeholder. Please see the documentation" /usr/X11R6/include/npupp.h:3: #error "to learn how to obtain the real file" gmake[1]: *** [../../tmp/bsd/i386/stubs.o] Error 1 gmake[1]: Leaving directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/ext/plugin/build/solaris' gmake: *** [plugin-all] Error 1 *** Error code 2 Stop in /usr/ports/java/jdk13. Is it because of qt3? _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Thu May 22 17:48:26 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E76737B401 for ; Thu, 22 May 2003 17:48:26 -0700 (PDT) Received: from smtp0.adl1.internode.on.net (smtp0.adl1.internode.on.net [203.16.214.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 66F2B43FAF for ; Thu, 22 May 2003 17:48:24 -0700 (PDT) (envelope-from malcolm.kay@internode.on.net) Received: from beta.home (ppp1969.sa.padsl.internode.on.net [150.101.26.176]) h4N0mMMO073848; Fri, 23 May 2003 10:18:22 +0930 (CST) Content-Type: text/plain; charset="iso-8859-1" From: Malcolm Kay Organization: At home To: "E. J. Cerejo" , FreeBSD-Questions Date: Fri, 23 May 2003 10:18:21 +0930 User-Agent: KMail/1.4.3 References: <3ECD6830.3060603@netscape.net> In-Reply-To: <3ECD6830.3060603@netscape.net> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200305231018.21796.malcolm.kay@internode.on.net> Subject: Re: JDK13 fails to build X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 00:48:26 -0000 On Fri, 23 May 2003 09:45, E. J. Cerejo wrote: > I forgot to mention that I'm running freebsd stable > > > > E. J. Cerejo wrote: > I'm trying to install JDK13 and it fails to build, here's what I get: > > /src/motif/badapter -I../../../../src/share/javavm/export > -I../../../../src/solaris/javavm/export -I/usr/X11R6/include > -I/usr/local/include -I../../oji-plugin/src/share -o > ../../tmp/bsd/i386/stubs.o ../../oji-plugin/src/motif/common/stubs.c > In file included from ../../oji-plugin/src/motif/common/stubs.c:29: > /usr/X11R6/include/npapi.h:1: #error > "/home/espenr/tmp/qt-3.1-espenr-14496/qt/extensions/nsplugin/src/npapi.= h > must be provided by Netscape" > /usr/X11R6/include/npapi.h:2: #error "This file is just a placeholder. > Please see the documentation" > /usr/X11R6/include/npapi.h:3: #error "to learn how to obtain the real f= ile" > In file included from ../../oji-plugin/src/motif/common/stubs.c:30: > /usr/X11R6/include/npupp.h:1: #error > "/home/espenr/tmp/qt-3.1-espenr-14496/qt/extensions/nsplugin/src/npupp.= h > must be provided by Netscape" > /usr/X11R6/include/npupp.h:2: #error "This file is just a placeholder. > Please see the documentation" > /usr/X11R6/include/npupp.h:3: #error "to learn how to obtain the real f= ile" > gmake[1]: *** [../../tmp/bsd/i386/stubs.o] Error 1 > gmake[1]: Leaving directory > `/usr/ports/java/jdk13/work/j2sdk1.3.1/ext/plugin/build/solaris' > gmake: *** [plugin-all] Error 1 > *** Error code 2 > > Stop in /usr/ports/java/jdk13. > > Is it because of qt3? > Have you read the actual error messages? #error is a preprocessor command which reports and causes an error to be generated. In the first instance the encoded errors were: /home/espenr/tmp/qt-3.1-espenr-14496/qt/extensions/nsplugin/src/npapi.= h must be provided by Netscape This file is just a placeholder. Please see the documentation to learn how to obtain the real file The second is similar! Maybe there are make options to inhibit the generation of a netscape plugin. Take a look in the Makefile. Malcolm=20 Malcolm From owner-freebsd-questions@FreeBSD.ORG Thu May 22 18:24:48 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2062E37B401 for ; Thu, 22 May 2003 18:24:48 -0700 (PDT) Received: from mail.clubplus.net (mail.clubplus.net [216.191.22.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id A2A9143F93 for ; Thu, 22 May 2003 18:24:46 -0700 (PDT) (envelope-from david@skytrackercanada.com) Received: from skytrackercanada.com (3s1.com [209.188.66.29]) by mail.clubplus.net (8.12.7/8.12.7) with ESMTP id h4N1StZP010171 for ; Thu, 22 May 2003 21:28:55 -0400 Received: (from root@localhost) by skytrackercanada.com (8.12.9/8.12.6) id h4N1OdmH036809 for questions@freebsd.org; Thu, 22 May 2003 21:24:39 -0400 (EDT) (envelope-from david@skytrackercanada.com) Received: from skytrackercanada.com (localhost [127.0.0.1]) by skytrackercanada.com (8.12.9/8.12.6) with ESMTP id h4N1Ob49036779 for ; Thu, 22 May 2003 21:24:38 -0400 (EDT) (envelope-from david@skytrackercanada.com) Received: (from david@localhost) by skytrackercanada.com (8.12.9/8.12.6/Submit) id h4N1ObJ9036778 for questions@freebsd.org; Thu, 22 May 2003 21:24:37 -0400 (EDT) (envelope-from david) Date: Thu, 22 May 2003 21:24:37 -0400 From: David Banning To: questions@freebsd.org Message-ID: <20030522212437.A35902@skytrackercanada.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-scanner: scanned by Inflex 0.1.5c - (http://www.inflex.co.za/) X-RAVMilter-Version: 8.4.2(snapshot 20021217) (mail) Subject: C compiler can't creat executables X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 01:24:48 -0000 I recently deleted a number of packages in /var/db/pkg I -thought- I didn't need. On installing linux_base now I get the following error; checking for working makeinfo... found checking for gcc... cc checking whether the C compiler (cc -O -pipe ) works... no configure: error: installation or configuration problem: C compiler cannot create executables. ===> Script "configure" failed unexpectedly. Please report the problem to nakai@FreeBSD.org [maintainer] and attach the "/usr/ports/archivers/rpm/work/rpm-3.0.6/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). *** Error code 1 Stop in /usr/ports/archivers/rpm. *** Error code 1 Stop in /usr/ports/emulators/linux_base. I tried to compile a simple program which worked fine. How would I go about tracking this problem down? -- From owner-freebsd-questions@FreeBSD.ORG Thu May 22 18:43:37 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C9D9937B401 for ; Thu, 22 May 2003 18:43:37 -0700 (PDT) Received: from uwcsea.edu.sg (mailer.1-net-singapore.com [202.172.232.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED6DF43F75 for ; Thu, 22 May 2003 18:43:35 -0700 (PDT) (envelope-from achow@uwcsea.edu.sg) Date: Fri, 23 May 2003 09:41:58 +0800 Message-Id: <200305230941.AA277348616@uwcsea.edu.sg> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: "Adrian Chow" To: X-Mailer: Subject: X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: achow@uwcsea.edu.sg List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 01:43:38 -0000 Hi, Just want to complain why do you put nss_ldap ports into the package list to be downloaded, when I cannot even compile it on my Freebsd 5.0? Is there any nss_ldap ports out there that can install and use on freebsd 5.0 without recompile libc? adrian From owner-freebsd-questions@FreeBSD.ORG Thu May 22 18:44:08 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7C21837B404 for ; Thu, 22 May 2003 18:44:08 -0700 (PDT) Received: from hotmail.com (f78.law9.hotmail.com [64.4.9.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20D6C43F93 for ; Thu, 22 May 2003 18:44:08 -0700 (PDT) (envelope-from stephanweaver@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 22 May 2003 18:44:07 -0700 Received: from 209.94.211.251 by lw9fd.law9.hotmail.msn.com with HTTP; Fri, 23 May 2003 01:44:07 GMT X-Originating-IP: [209.94.211.251] X-Originating-Email: [stephanweaver@hotmail.com] From: "Stephan Weaver" To: questions@freebsd.org Date: Fri, 23 May 2003 01:44:07 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 23 May 2003 01:44:07.0952 (UTC) FILETIME=[CCE59100:01C320CC] Subject: imap-wu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 01:44:08 -0000 Hello! I am having trouble logging into my imapd server. the daemon is running according to sockstat. i am using imap-wu. I see logindisabled. I am not getting any answers on my own. Any help appreciated. Please CC me (stephanweaver@hotmail.com) as i am not on the list Thanks in advance! Stephan Weaver _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From owner-freebsd-questions@FreeBSD.ORG Thu May 22 19:01:22 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 572E137B401 for ; Thu, 22 May 2003 19:01:22 -0700 (PDT) Received: from saba.ttfc.net (mail.ipinfusion.com [65.223.109.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0FF943F85 for ; Thu, 22 May 2003 19:01:21 -0700 (PDT) (envelope-from toshiaki@ipinfusion.com) Received: from saba ([127.0.0.1] helo=saba.ttfc.net. ident=takada) by saba.ttfc.net with esmtp (Exim 3.35 #1 (Debian)) id 19J1r5-00006B-00 for ; Thu, 22 May 2003 19:00:23 -0700 Date: Thu, 22 May 2003 19:00:23 -0700 Message-ID: <87smr68ls8.wl@toro.zebra.org> From: Toshiaki Takada To: freebsd-questions@freebsd.org User-Agent: Wanderlust/2.10.0 (Venus) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.4 Emacs/21.3 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI) Organization: IP Infusion, Inc. MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Subject: microuptime change between 4.7 and 4.8-RELEASE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 02:01:22 -0000 Hi, Recently, I got below message on 4.7-RELEASE: microuptime() went backwards (10202511.496740 -> 10202511.-694845498) Looking through FreeBSD kernel source code, it seems the warning comes from mi_switch() @ kern_synch.c. I also checked mailing list archive to solve this problem, then most of people says enabling APM might cause problem, so apm should be removed from kernel configuration file. But even though apm is disabled in our configuration file, I can still see the same message. Checking 4.8-RELEASE kernel source code, microupdate() function seems to be changed between 4.7 and 4.8. According to CVS, it has changed from 1.105.2.9 to 1.105.2.10. It looks like something has been fixed. Below is the function from 4.8-RELEASE. 619 void 620 microuptime(struct timeval *tv) 622 { 623 struct timecounter *tc; 624 625 tc = timecounter; 626 tv->tv_sec = tc->tc_offset_sec; 627 tv->tv_usec = tc->tc_offset_micro; 628 tv->tv_usec += ((u_int64_t)tco_delta(tc) * tc->tc_scale_micro) >> 32; 629 while (tv->tv_usec < 0) { 630 tv->tv_usec += 1000000; 631 if (tv->tv_sec > 0) 632 tv->tv_sec--; 633 } 634 while (tv->tv_usec >= 1000000) { 635 tv->tv_usec -= 1000000; 636 tv->tv_sec++; 637 } 638 } I have a couple of quesitons about this function. Actually, I'm not so familiar with FreeBSD kernel code, so please correct me if I am wrong. 1) At right side of formula in line 628, "tco_delta(tc) * tc->tc_scale_micro" is casted to (u_int64_t), then shift 32 bits to right. My question is, is it possible that the result of "tco_delta(tc) * tc->tc_scale_micro" has more than 0x8000000000000000 ? If YES, the value will be shifted and added into tv->tv_usec. However tv_usec is defined as signed long, so tv_usec will have negative value as a result. Actually, I'm not sure what kind of value tco_delta(tc) or tc->tc_scale_micro can have, however these two values should have unsigned value, so I guess logically it is possible to have a value more than 0x8000000000000000. 2) Line 629 through 633 were added in 4.8-RELEASE. Because of 1), tv_usec may have negative value, I guess those 5 lines was added in order to avoid the negative value. However, if right side of formula in 628 should have always positive value, is it OK to decrement tv_sec in line 632? Actually, I've got the same warning with 4.8-RELEASE. See below: microuptime() went backwards (2155766.705136 -> 2155071.302722) tv_usec doesn't have negative value, while tv_sec goes backwards about 695 secs. This is because the changes has been made in microuptime() function. It seems the original value of timeval was almost same as first warning. And also, I looked through mailing list, in most of cases, tv_usec of new time has around -695000000. Is there any possible reason? please kindly clarify those questions. Thanks, -- Toshiaki Takada From owner-freebsd-questions@FreeBSD.ORG Thu May 22 19:10:45 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 90D7137B401 for ; Thu, 22 May 2003 19:10:45 -0700 (PDT) Received: from ns1.vagner.com (ns1.vagner.com [65.39.87.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id D320B43F85 for ; Thu, 22 May 2003 19:10:44 -0700 (PDT) (envelope-from george@vagner.com) Received: (from root@localhost) by ns1.vagner.com (8.12.9/8.12.8) id h4N2Ajn2033540 for questions@freebsd.org; Thu, 22 May 2003 19:10:45 -0700 (MST) (envelope-from george@vagner.com) Received: from vagner.com (pcp01602196pcs.manass01.va.comcast.net [68.50.240.22]) by ns1.vagner.com (8.12.9/8.12.8av) with ESMTP id h4N2Ag1E033530 for ; Thu, 22 May 2003 19:10:43 -0700 (MST) (envelope-from george@vagner.com) Message-ID: <3ECD8329.50005@vagner.com> Date: Thu, 22 May 2003 22:10:49 -0400 From: Laszlo Vagner User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021229 X-Accept-Language: en-us, en MIME-Version: 1.0 To: questions@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-5.8 required=4.0 tests=USER_AGENT_MOZILLA_UA version=2.53 X-Spam-Checker-Version: SpamAssassin 2.53 (1.174.2.15-2003-03-30-exp) X-Virus-Scanned: by AMaViS perl-11 Subject: cant print Larger files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 02:10:45 -0000 Trying to print to an HP 1200C postscript printer works beautiful if the file is small enough, but if it is of a larger size than say 1 meg the printer will start flashing like its working on it but then the led will stop flashing after some time about 10-15 minutes later, normal files continue to print ok. I am just using the generic lp printer in my printcap. Should i be going a different route other than lp? I havent messed with printers too much on unix so may need help. BTW printing in windows works on all the files fine. Tnx From owner-freebsd-questions@FreeBSD.ORG Thu May 22 19:04:50 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CA37637B401 for ; Thu, 22 May 2003 19:04:50 -0700 (PDT) Received: from grumpy.dyndns.org (user-24-214-34-52.knology.net [24.214.34.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id C22D343F3F for ; Thu, 22 May 2003 19:04:48 -0700 (PDT) (envelope-from dkelly@grumpy.dyndns.org) Received: from grumpy.dyndns.org (localhost [127.0.0.1]) by grumpy.dyndns.org (8.12.9/8.12.9) with ESMTP id h4N24l14085634 for ; Thu, 22 May 2003 21:04:47 -0500 (CDT) (envelope-from dkelly@grumpy.dyndns.org) Received: from localhost (localhost [[UNIX: localhost]]) by grumpy.dyndns.org (8.12.9/8.12.9/Submit) id h4N24lYT085633 for FreeBSD-Questions@FreeBSD.org; Thu, 22 May 2003 21:04:47 -0500 (CDT) From: David Kelly To: FreeBSD-Questions@FreeBSD.org Date: Thu, 22 May 2003 21:04:46 -0500 User-Agent: KMail/1.5.2 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200305222104.46859.dkelly@HiWAAY.net> Subject: Re: Update Firewall Rules X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 02:04:51 -0000 X-List-Received-Date: Fri, 23 May 2003 02:04:51 -0000 On Thursday 22 May 2003 03:16 am, Carolyn Longfoot wrote: > How do I switch the firewall rules on a system without rebooting? > I tried executing /etc/rc.firewall OPEN > for example but the same rule set is put in place again that is > defined in /etc/rc.conf. > > I'm sure there's a simple answer, thanks in advance! Actually, not as simple as you might like. I didn't want any of the default firewall suites but found they were excellent examples. Got tired of mergemaster wanting to change my /etc/rc.firewall. So I copied it to /etc/my.firewall, added 'firewall_script="/etc/rc.firewall"'to /etc/rc.conf and no longer had any problems. If you really want an open firewall then simply type: % su # ipfw add 1 allow ip from any to any To put things back the way they were: # ipfw delete 1 All the above does is add a new rule at the front of your rule set. Then later remove it so the other rules are once again used. -- David Kelly N4HHE, dkelly@hiwaay.net ===================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. From owner-freebsd-questions@FreeBSD.ORG Thu May 22 20:06:20 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0AA8937B401 for ; Thu, 22 May 2003 20:06:20 -0700 (PDT) Received: from thunder.trej.net (as3-3-6.orby.s.bonet.se [217.215.33.185]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5692243F85 for ; Thu, 22 May 2003 20:06:18 -0700 (PDT) (envelope-from freebsd@dagerot.nu) Received: from mailgw.trej.net (localhost [127.0.0.1])h4N366s21037 for ; Fri, 23 May 2003 05:06:07 +0200 Message-Id: <200305230306.h4N366s21037@thunder.trej.net> Date: Fri, 23 May 2003 05:06:06 +0200 Content-Transfer-Encoding: 8bit From: Joachim Dagerot Content-Type: text/plain; charset=iso-8859-1 MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG User-Agent: IMHO/0.98.3t (Webmail for Roxen) 3j-viruscheck: Found to be clean Subject: Background task that polls an IMAP account and move/kill spams to a designated(remote)folder? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 03:06:20 -0000 I have all my mails on a remote IMAP server. I like having them there, and have no use at all to bring them down locally. I have a windows solution called SpamKiller from McAfee that logs into my IMAP account and checks the inbox. All mails concidered as spam are then killed. The good part is that when I read my mail from the phone, palm, web etc I'm never bothered with the spams. Saves downloadtimes. Is there a equalent solution that I can use on my freeBSD station? Something that every ten minutes or so goes and filter my remote IMAP account? From owner-freebsd-questions@FreeBSD.ORG Thu May 22 20:06:35 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE06437B401 for ; Thu, 22 May 2003 20:06:35 -0700 (PDT) Received: from imo-r01.mx.aol.com (imo-r01.mx.aol.com [152.163.225.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id 017C143F75 for ; Thu, 22 May 2003 20:06:35 -0700 (PDT) (envelope-from edinho64@netscape.net) Received: from edinho64@netscape.net by imo-r01.mx.aol.com (mail_out_v36.3.) id o.5.87f2e81 (16240); Thu, 22 May 2003 23:06:17 -0400 (EDT) Received: from netscape.net (pool-68-160-121-87.nwrk.east.verizon.net [68.160.121.87]) by air-in03.mx.aol.com (v93.12) with ESMTP id MAILININ34-3f703ecd90281ec; Thu, 22 May 2003 23:06:16 -0400 Message-ID: <3ECD9027.30606@netscape.net> Date: Thu, 22 May 2003 23:06:15 -0400 From: "E. J. Cerejo" User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-us, en MIME-Version: 1.0 To: malcolm.kay@internode.on.net References: <3ECD6830.3060603@netscape.net> <200305231018.21796.malcolm.kay@internode.on.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Mailer: Unknown (No Version) cc: FreeBSD-Questions Subject: Re: JDK13 fails to build X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 03:06:36 -0000 malcolm.kay@internode.on.net wrote: > On Fri, 23 May 2003 09:45, E. J. Cerejo wrote: > >>I forgot to mention that I'm running freebsd stable >> >> >> >>E. J. Cerejo wrote: >>I'm trying to install JDK13 and it fails to build, here's what I get: >> >>/src/motif/badapter -I../../../../src/share/javavm/export >>-I../../../../src/solaris/javavm/export -I/usr/X11R6/include >>-I/usr/local/include -I../../oji-plugin/src/share -o >>../../tmp/bsd/i386/stubs.o ../../oji-plugin/src/motif/common/stubs.c >>In file included from ../../oji-plugin/src/motif/common/stubs.c:29: >>/usr/X11R6/include/npapi.h:1: #error >>"/home/espenr/tmp/qt-3.1-espenr-14496/qt/extensions/nsplugin/src/npapi.h >>must be provided by Netscape" >>/usr/X11R6/include/npapi.h:2: #error "This file is just a placeholder. >>Please see the documentation" >>/usr/X11R6/include/npapi.h:3: #error "to learn how to obtain the real file" >>In file included from ../../oji-plugin/src/motif/common/stubs.c:30: >>/usr/X11R6/include/npupp.h:1: #error >>"/home/espenr/tmp/qt-3.1-espenr-14496/qt/extensions/nsplugin/src/npupp.h >>must be provided by Netscape" >>/usr/X11R6/include/npupp.h:2: #error "This file is just a placeholder. >>Please see the documentation" >>/usr/X11R6/include/npupp.h:3: #error "to learn how to obtain the real file" >>gmake[1]: *** [../../tmp/bsd/i386/stubs.o] Error 1 >>gmake[1]: Leaving directory >>`/usr/ports/java/jdk13/work/j2sdk1.3.1/ext/plugin/build/solaris' >>gmake: *** [plugin-all] Error 1 >>*** Error code 2 >> >>Stop in /usr/ports/java/jdk13. >> >>Is it because of qt3? >> > > > Have you read the actual error messages? > #error is a preprocessor command which reports and causes an > error to be generated. > In the first instance the encoded errors were: > /home/espenr/tmp/qt-3.1-espenr-14496/qt/extensions/nsplugin/src/npapi.h > must be provided by Netscape > This file is just a placeholder. > Please see the documentation to learn how to obtain the real file > > The second is similar! > > Maybe there are make options to inhibit the generation > of a netscape plugin. Take a look in the Makefile. > > Malcolm > > Malcolm I looked into the Makefile and I didn't see anything that had to do with a netscape plugin! From owner-freebsd-questions@FreeBSD.ORG Thu May 22 20:11:05 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 35CA337B401 for ; Thu, 22 May 2003 20:11:05 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 98AF143F75 for ; Thu, 22 May 2003 20:11:04 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.9/8.12.9) id h4N3B4Bx055097; Thu, 22 May 2003 22:11:04 -0500 (CDT) (envelope-from dan) Date: Thu, 22 May 2003 22:11:03 -0500 From: Dan Nelson To: David Banning Message-ID: <20030523031103.GB60226@dan.emsphone.com> References: <20030522212437.A35902@skytrackercanada.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030522212437.A35902@skytrackercanada.com> X-OS: FreeBSD 5.1-BETA X-message-flag: Outlook Error User-Agent: Mutt/1.5.4i cc: questions@freebsd.org Subject: Re: C compiler can't creat executables X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 03:11:05 -0000 In the last episode (May 22), David Banning said: > I recently deleted a number of packages in /var/db/pkg I -thought- I didn't > need. On installing linux_base now I get the following error; > checking for working makeinfo... found > checking for gcc... cc > checking whether the C compiler (cc -O -pipe ) works... no > configure: error: installation or configuration problem: C compiler cannot create executables. > ===> Script "configure" failed unexpectedly. > Please report the problem to nakai@FreeBSD.org [maintainer] and attach > the "/usr/ports/archivers/rpm/work/rpm-3.0.6/config.log" including the > output of the failure of your make command. Also, it might be a good > idea to provide an overview of all packages installed on your system > (e.g. an `ls /var/db/pkg`). > *** Error code 1 > > Stop in /usr/ports/archivers/rpm. > *** Error code 1 > > Stop in /usr/ports/emulators/linux_base. > > I tried to compile a simple program which worked fine. How would > I go about tracking this problem down? Take a look at "/usr/ports/archivers/rpm/work/rpm-3.0.6/config.log" and see why cc is failing. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Thu May 22 20:12:10 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CFC8B37B401 for ; Thu, 22 May 2003 20:12:10 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C69443F75 for ; Thu, 22 May 2003 20:12:10 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.9/8.12.9) id h4N3C9jL057297; Thu, 22 May 2003 22:12:09 -0500 (CDT) (envelope-from dan) Date: Thu, 22 May 2003 22:12:09 -0500 From: Dan Nelson To: Adrian Chow Message-ID: <20030523031209.GC60226@dan.emsphone.com> References: <200305230941.AA277348616@uwcsea.edu.sg> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200305230941.AA277348616@uwcsea.edu.sg> X-OS: FreeBSD 5.1-BETA X-message-flag: Outlook Error User-Agent: Mutt/1.5.4i cc: freebsd-questions@freebsd.org Subject: Re: your mail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 03:12:11 -0000 In the last episode (May 23), Adrian Chow said: > Just want to complain why do you put nss_ldap ports into the package > list to be downloaded, when I cannot even compile it on my Freebsd > 5.0? Is there any nss_ldap ports out there that can install and use > on freebsd 5.0 without recompile libc? Dynamic NSS went in after 5.0 was released. You'll probably want to wait until 5.1. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Thu May 22 20:52:22 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D127A37B401 for ; Thu, 22 May 2003 20:52:22 -0700 (PDT) Received: from smtp0.adl1.internode.on.net (smtp0.adl1.internode.on.net [203.16.214.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id ECED443F85 for ; Thu, 22 May 2003 20:52:21 -0700 (PDT) (envelope-from malcolm.kay@internode.on.net) Received: from beta.home (ppp1969.sa.padsl.internode.on.net [150.101.26.176]) h4N3qJMO086687; Fri, 23 May 2003 13:22:19 +0930 (CST) Content-Type: text/plain; charset="iso-8859-1" From: Malcolm Kay Organization: At home To: "E. J. Cerejo" Date: Fri, 23 May 2003 13:22:18 +0930 User-Agent: KMail/1.4.3 References: <3ECD6830.3060603@netscape.net> <200305231018.21796.malcolm.kay@internode.on.net> <3ECD9027.30606@netscape.net> In-Reply-To: <3ECD9027.30606@netscape.net> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200305231322.18792.malcolm.kay@internode.on.net> cc: FreeBSD-Questions Subject: Re: JDK13 fails to build X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 03:52:23 -0000 On Fri, 23 May 2003 12:36, E. J. Cerejo wrote: > malcolm.kay@internode.on.net wrote: > > On Fri, 23 May 2003 09:45, E. J. Cerejo wrote: > >>I forgot to mention that I'm running freebsd stable > >> > >> > >> > >>E. J. Cerejo wrote: > >>I'm trying to install JDK13 and it fails to build, here's what I get: > >> > >>/src/motif/badapter -I../../../../src/share/javavm/export > >>-I../../../../src/solaris/javavm/export -I/usr/X11R6/include > >>-I/usr/local/include -I../../oji-plugin/src/share -o > >>../../tmp/bsd/i386/stubs.o ../../oji-plugin/src/motif/common/stubs.c > >>In file included from ../../oji-plugin/src/motif/common/stubs.c:29: > >>/usr/X11R6/include/npapi.h:1: #error > >>"/home/espenr/tmp/qt-3.1-espenr-14496/qt/extensions/nsplugin/src/npap= i.h > >>must be provided by Netscape" > >>/usr/X11R6/include/npapi.h:2: #error "This file is just a placeholder= =2E > >>Please see the documentation" > >>/usr/X11R6/include/npapi.h:3: #error "to learn how to obtain the real > >> file" In file included from > >> ../../oji-plugin/src/motif/common/stubs.c:30: > >> /usr/X11R6/include/npupp.h:1: #error > >>"/home/espenr/tmp/qt-3.1-espenr-14496/qt/extensions/nsplugin/src/npup= p.h > >>must be provided by Netscape" > >>/usr/X11R6/include/npupp.h:2: #error "This file is just a placeholder= =2E > >>Please see the documentation" > >>/usr/X11R6/include/npupp.h:3: #error "to learn how to obtain the real > >> file" gmake[1]: *** [../../tmp/bsd/i386/stubs.o] Error 1 > >>gmake[1]: Leaving directory > >>`/usr/ports/java/jdk13/work/j2sdk1.3.1/ext/plugin/build/solaris' > >>gmake: *** [plugin-all] Error 1 > >>*** Error code 2 > >> > >>Stop in /usr/ports/java/jdk13. > >> > >>Is it because of qt3? > > > > Have you read the actual error messages? > > #error is a preprocessor command which reports and causes an > > error to be generated. > > In the first instance the encoded errors were: > > =20 > > /home/espenr/tmp/qt-3.1-espenr-14496/qt/extensions/nsplugin/src/npapi= =2Eh > > must be provided by Netscape > > This file is just a placeholder. > > Please see the documentation to learn how to obtain the real file > > > > The second is similar! > > > > Maybe there are make options to inhibit the generation > > of a netscape plugin. Take a look in the Makefile. > > > > Malcolm > > > > Malcolm > > I looked into the Makefile and I didn't see anything that had to do wit= h > a netscape plugin! I may have a different port version but the Makefile is labelled: # New ports collection makefile for: jdk13 # Date created: 10 October 2000 and at line 26: =2Eif !defined(WITHOUT_PLUGIN) BUILD_DEPENDS+=3D msgfmt:${PORTSDIR}/devel/gettext LIB_DEPENDS=3D glib12.3:$(PORTSDIR)/devel/glib12 \ gtk12.2:$(PORTSDIR)/x11-toolkits/gtk12 \ nspr4.1:$(PORTSDIR)/devel/nspr =2Eendif =20 and again at line 68: =2Eif !defined(WITHOUT_PLUGIN) MAKE_ENV +=3D LIBG_HDRS=3D"${LOCALBASE}/include/glib12" \ GTK_HDRS=3D"${X11BASE}/include/gtk12" \ LIBIDL_HDRS=3D =2Eendif and 73: =2Eif !defined(WITHOUT_PLUGIN) ALL_TARGET=3D all plugin images =2Eelse ALL_TARGET=3D all images =2Eendif and 100: =20 =2Eif defined(WITHOUT_PLUGIN)=20 PLIST_SUB+=3D PLUGIN:=3D"@comment " =2Eelse PLIST_SUB+=3D PLUGIN:=3D"" =2Eendif 201: =2Eif !defined(WITHOUT_PLUGIN) @${ECHO_MSG} @${ECHO_MSG} To use the Java plugin with Mozilla you must create a @${ECHO_MSG} symbolic link from @${ECHO_MSG} @${ECHO_MSG} ---long line--- @${ECHO_MSG} @${ECHO_MSG} to your Mozilla plugins directory, which is usually foun= d at @${ECHO_MSG} @${ECHO_MSG} ${X11BASE}/lib/mozilla/plugins @${ECHO_MSG} =2Eendif I imagine you want: # make -DWITHOUT_PLUGIN and=20 # make -DWITHOUT_PLUGIN install From owner-freebsd-questions@FreeBSD.ORG Thu May 22 20:55:58 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 839C437B404 for ; Thu, 22 May 2003 20:55:58 -0700 (PDT) Received: from wonkity.com (wonkity.com [65.173.111.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id B42ED43F3F for ; Thu, 22 May 2003 20:55:57 -0700 (PDT) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.12.9/8.12.9) with ESMTP id h4N3tuXk032915; Thu, 22 May 2003 21:55:56 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.12.9/8.12.9/Submit) with ESMTP id h4N3tuC0032912; Thu, 22 May 2003 21:55:56 -0600 (MDT) Date: Thu, 22 May 2003 21:55:56 -0600 (MDT) From: Warren Block To: Laszlo Vagner In-Reply-To: <3ECD8329.50005@vagner.com> Message-ID: <20030522215455.P32873@wonkity.com> References: <3ECD8329.50005@vagner.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: questions@freebsd.org Subject: Re: cant print Larger files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 03:55:58 -0000 On Thu, 22 May 2003, Laszlo Vagner wrote: > Trying to print to an HP 1200C postscript printer works > beautiful if the file is small enough, but if it is of > a larger size than say 1 meg the printer will start flashing > like its working on it but then the led will stop flashing after > some time about 10-15 minutes later, normal files continue to print ok. > > I am just using the generic lp printer in my printcap. Make sure you have an :mx#0: entry in your printcap. -Warren Block * Rapid City, South Dakota USA From owner-freebsd-questions@FreeBSD.ORG Thu May 22 21:14:33 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 23B0D37B404 for ; Thu, 22 May 2003 21:14:33 -0700 (PDT) Received: from mail.clubplus.net (mail.clubplus.net [216.191.22.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id D4FEC43F75 for ; Thu, 22 May 2003 21:14:31 -0700 (PDT) (envelope-from david@skytrackercanada.com) Received: from skytrackercanada.com (3s1.com [209.188.66.29]) by mail.clubplus.net (8.12.7/8.12.7) with ESMTP id h4N4IbZP025962 for ; Fri, 23 May 2003 00:18:38 -0400 Received: (from root@localhost) by skytrackercanada.com (8.12.9/8.12.6) id h4N4ELqV000784 for questions@freebsd.org; Fri, 23 May 2003 00:14:21 -0400 (EDT) (envelope-from david@skytrackercanada.com) Received: from skytrackercanada.com (localhost [127.0.0.1]) by skytrackercanada.com (8.12.9/8.12.6) with ESMTP id h4N4EJ49000731 for ; Fri, 23 May 2003 00:14:19 -0400 (EDT) (envelope-from david@skytrackercanada.com) Received: (from david@localhost) by skytrackercanada.com (8.12.9/8.12.6/Submit) id h4N4EJHQ000715 for questions@freebsd.org; Fri, 23 May 2003 00:14:19 -0400 (EDT) (envelope-from david) Date: Fri, 23 May 2003 00:14:19 -0400 From: David Banning To: questions@freebsd.org Message-ID: <20030523001419.A81785@skytrackercanada.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-scanner: scanned by Inflex 0.1.5c - (http://www.inflex.co.za/) X-RAVMilter-Version: 8.4.2(snapshot 20021217) (mail) Subject: ports versus packages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 04:14:33 -0000 I was talking to a debian Linux guy the other day who preferred debians' precompiled packages because, as he put it, "you just load it, and go, and it always works -." What is the benifit for us to compile versus just installing the package? - and how come we tend to use the pre-compiled packages less than some of our fellow *nix users? - (at least that's my perception) -- From owner-freebsd-questions@FreeBSD.ORG Thu May 22 21:18:11 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A250837B401 for ; Thu, 22 May 2003 21:18:11 -0700 (PDT) Received: from vengeful.webgods.net (vengeful.webgods.net [140.239.245.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id B36A643F85 for ; Thu, 22 May 2003 21:18:10 -0700 (PDT) (envelope-from listkeep@vitia.net) Received: from vengeful.webgods.net (localhost.webgods.net [127.0.0.1]) by vengeful.webgods.net (8.12.9/8.12.6) with ESMTP id h4N4I9hS057439 for ; Fri, 23 May 2003 00:18:09 -0400 (EDT) (envelope-from listkeep@vitia.net) Received: from localhost (listkeep@localhost)h4N4I9lZ057436 for ; Fri, 23 May 2003 00:18:09 -0400 (EDT) X-Authentication-Warning: vengeful.webgods.net: listkeep owned process doing -bs Date: Fri, 23 May 2003 00:18:09 -0400 (EDT) From: Aaron X-X-Sender: listkeep@vengeful.webgods.net To: freebsd-questions@freebsd.org Message-ID: <20030523001248.O57397@vengeful.webgods.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: A way to add multiple users at once? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 04:18:11 -0000 Greetings, I am sure this has been asked many times, but a search of the archives didn't turn up anything. Is there a script or program of sorts that will allow me to add multiple (about 150 users) with all the same permissions, shell, etc, as opposed to adding each one individually? Running 4.8-RELEASE FreeBSD 4.8-RELEASE #0 Thanking you in advance for any direction in this. Aaron From owner-freebsd-questions@FreeBSD.ORG Thu May 22 21:26:29 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 162D837B401 for ; Thu, 22 May 2003 21:26:29 -0700 (PDT) Received: from rawfire.torche.com (rawfire.torche.com [166.88.255.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A7B043FA3 for ; Thu, 22 May 2003 21:26:28 -0700 (PDT) (envelope-from freebsd@rawfire.torche.com) Received: from rawfire.torche.com (localhost [127.0.0.1]) by rawfire.torche.com (8.12.6/8.12.6) with ESMTP id h4N4QSVi001555; Thu, 22 May 2003 21:26:29 -0700 (PDT) (envelope-from freebsd@rawfire.torche.com) Received: from localhost (freebsd@localhost)h4N4QR3r001552; Thu, 22 May 2003 21:26:28 -0700 (PDT) Date: Thu, 22 May 2003 21:26:27 -0700 (PDT) From: Chris P To: Matthew Seaman In-Reply-To: <20030520083213.GB82706@happy-idiot-talk.infracaninophile.co.uk> Message-ID: <20030522212614.K1548@rawfire.torche.com> References: <20030519235744.H74439@rawfire.torche.com> <20030520083213.GB82706@happy-idiot-talk.infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: Caps with sendmail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 04:26:29 -0000 Thanks! I'll give it all a try.. C. On Tue, 20 May 2003, Matthew Seaman wrote: > On Tue, May 20, 2003 at 12:00:24AM -0700, Chris P wrote: > > > > I have 1 user that really prefers capital's for his account name. Only > > problem is email to that account does not seem to work. Does anyone know > > if sendmail has issues with capitals? When anyone emails that account, > > my machine replies with "user unknown". I've tried setting aliases, and > > everything I can think of.. Nothing gets through to that account. > > > > Any ideas? Not a real big deal.. Just would be nice to know. > > > > It was both on FreeBSD 4.8 and 5.0 > > Putting capital letters into Unix usernames is generally not > recommended --- as you've found out, sendmail will convert the name to > lowercase before trying to look it up in the password database. > That's not just sendmail being annoying: it does that because the > standards say that e-mail addressing should be case insensitive. You > can get round it with sendmail, but it may cause you grief in other > ways and with other software packages. > > Here's a suggestion: you can give your user a lower case username but > a capitalised e-mail address fairly easily. Look at > /usr/share/sendmail/cf/README, in particular the sections about > genericstable and virtusertable. In a nutshell, you add: > > FEATURE(genericstable, `hash -o /etc/mail/genericstable')dnl > GENERICS_DOMAIN(`your.domain.name.here')dnl > > to your /etc/mail/`hostname`.mc and say, put in a line: > > fred Fred.Bloggs > > into the /etc/mail/genericstable file -- this controls the conversion > fred@your.domain.name.here -> Fred.Bloggs@your.domain.name.here on the > outgoing mail. > > For incoming e-mail, you either need to use an alias: > > Fred.Blogs: fred > > or the equivalent in /etc/mail/virtusertable --- I wouldn't bother > with virtusertable unless you're running a complicated mail system > serving e-mail for several domains. > > Otherwise, if you really, really must have your user with uppercase > letters in their username, then you need to add 'u' to the local > mailer flags. In /etc/mail/`hostname`.mc add: > > MODIFY_MAILER_FLAGS(`LOCAL', `+u')dnl > > Cheers, > > Matthew > > -- > Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks > Savill Way > PGP: http://www.infracaninophile.co.uk/pgpkey Marlow > Tel: +44 1628 476614 Bucks., SL7 1TH UK > From owner-freebsd-questions@FreeBSD.ORG Thu May 22 21:37:40 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5973137B401 for ; Thu, 22 May 2003 21:37:40 -0700 (PDT) Received: from urchin.rlc.qld.edu.au (urchin.rlc.qld.edu.au [210.11.135.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 966ED43F3F for ; Thu, 22 May 2003 21:37:38 -0700 (PDT) (envelope-from ahelbig@rlc.qld.edu.au) Received: from mailbox.rlc.qld.edu.au (mailbox.unr.rlc.qld.edu.au [10.1.0.6]) by urchin.rlc.qld.edu.au (8.11.6/8.11.6) with ESMTP id h4N4bag38018 for ; Fri, 23 May 2003 14:37:36 +1000 (EST) (envelope-from ahelbig@rlc.qld.edu.au) Received: from redeemer-MTA by mailbox.rlc.qld.edu.au with Novell_GroupWise; Fri, 23 May 2003 14:37:31 +1000 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.0.2 Date: Fri, 23 May 2003 14:37:18 +1000 From: "Alex Helbig" To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Disposition: inline cc: achim.leubner@intel.com cc: boji.t.kannanthanam@intel.com Subject: Thoughts on Ultra 320 RAID Adapters X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 04:37:40 -0000 Hi: I am building a development box which must be able to run FreeBSD 4.8-RELEASE, Windows 2000 Server and Netware 6.0. Hopefully it will also be able to run FreeBSD 5.0. I don't ask for much do I ;-) The box is based on an Intel SE7500WV2 motherboard in an Intel SR2300 chassis. I orginally configured this box with an Adaptec 2120S raid adapter. I have been able to get this combination to work with all of the above OS's except Netware 6.0. The driver suplied by Adaptec will not work, and at this stage Adaptec have not been able to resolve the problem. In the short term I need to be able to progress with the project and therefore am looking for suggestions regarding an alternative Ultra 320 Raid adapter. My reseller has suggested I use the Intel® RAID Controller SRCU42L to keep the solution all intel - but I can find no reference to this adadpter (good or bad) on FreeBSD Questions. Has anyone had experience with this adapter under FreeBSD? If so, has this been good, bad or otherwise? Would someone be able to suggest an appropriate RAID adapter for my needs? I am interested in knowing what adapters you have had good levels of success with under FreeBSD 4.8 (and maybe 5.0). I will take my chances that I would not be so unlucky as to pick two different raid cards that both have broken Netware drivers. Thanks for any help/advice you can provide. Also please reply direct to my email address ahelbig@rlc.qld.edu.au, as I am not subscribed to this list. Best Regards Alex Helbig. ------------------------------------------------- Alex Helbig Head of IT Services Redeemer Lutheran College 745 Rochedale Rd Rochedale Q 4123 Australia Ph: +61 7 3341 4555 Fax: +61 7 3341 9143 From owner-freebsd-questions@FreeBSD.ORG Thu May 22 21:45:05 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 71D5137B401 for ; Thu, 22 May 2003 21:45:05 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id D4DEA43F93 for ; Thu, 22 May 2003 21:45:04 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.9/8.12.9) id h4N4j499077071; Thu, 22 May 2003 23:45:04 -0500 (CDT) (envelope-from dan) Date: Thu, 22 May 2003 23:45:04 -0500 From: Dan Nelson To: David Banning Message-ID: <20030523044504.GA64241@dan.emsphone.com> References: <20030523001419.A81785@skytrackercanada.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030523001419.A81785@skytrackercanada.com> X-OS: FreeBSD 5.1-BETA X-message-flag: Outlook Error User-Agent: Mutt/1.5.4i cc: questions@freebsd.org Subject: Re: ports versus packages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 04:45:05 -0000 In the last episode (May 23), David Banning said: > I was talking to a debian Linux guy the other day who preferred > debians' precompiled packages because, as he put it, "you just load > it, and go, and it always works -." Note that a FreeBSD user can do exactly the same thing by choosing to use packages, either by using "pkg_add -r" or "portupgrade -PP". Or a debian user can choose to download and build from source, using "apt-get source". I've done both myself. > What is the benifit for us to compile versus just installing the package? > - and how come we tend to use the pre-compiled packages less than some > of our fellow *nix users? - (at least that's my perception) I like it because it lets me pick my own settings for a particular package. uw-imap, for example, defaults to disallowing plaintext passwords, and you have to recompile to enable it. Or consider the mutt port, which has many optional patches that can be applied. Then there's the case of software that cannot be redistributed in binary format with modifications, like qmail. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Thu May 22 21:48:23 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 137EE37B401 for ; Thu, 22 May 2003 21:48:23 -0700 (PDT) Received: from mail.gmx.net (pop.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id BA50C43F75 for ; Thu, 22 May 2003 21:48:21 -0700 (PDT) (envelope-from blueeskimo@gmx.net) Received: (qmail 13552 invoked by uid 65534); 23 May 2003 04:48:20 -0000 Received: from i216-58-29-174.gta.igs.net (EHLO [216.58.29.174]) (216.58.29.174) by mail.gmx.net (mp018-rz3) with SMTP; 23 May 2003 06:48:20 +0200 From: Adam To: freebsd-questions@freebsd.org In-Reply-To: <20030523001419.A81785@skytrackercanada.com> References: <20030523001419.A81785@skytrackercanada.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-y0/HX6fdq5nlEWZRqJQf" Organization: Message-Id: <1053665297.35010.12.camel@jake> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.4 Date: 23 May 2003 00:48:18 -0400 Subject: Re: ports versus packages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 04:48:23 -0000 --=-y0/HX6fdq5nlEWZRqJQf Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2003-05-23 at 00:14, David Banning wrote: > I was talking to a debian Linux guy the other day who preferred debians' > precompiled packages because, as he put it, "you just load it, and go, > and it always works -." >=20 > What is the benifit for us to compile versus just installing the package? > - and how come we tend to use the pre-compiled packages less than some > of our fellow *nix users? - (at least that's my perception) To state the obvious, there are two reasons why someone would compile a port instead of installing a precompiled binary: 1) You get to customize how the software is compiled, as well as what modules are linked in (eg, Mozilla) 2) You feel comfortable that the resulting binary is the compiled version of the source you started with, which is directly reviewable. Both of these reasons are major aspects of the open software movement. I think the reason why Linux users prefer precompiled packages is that they've somewhat lost the spirit of open source software. The Linux community these days is flooded with Microsoft-bashing kiddies that just want to be cool, but don't really care much about the 'beauty' of *nix. This is why you see most people using Redhat, SuSE, and Mandrake. Of course, this is just my opinion. However, I do find that BSD people are much more intellectually and philosophically connected to the movement than our Linux friends. --=20 Adam --=-y0/HX6fdq5nlEWZRqJQf Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQA+zagRu3o4GBMSDL4RAupqAJ4g0IgvQMIcsYXHt7Kg4AQr6lANNwCgnHWI TD61D6te2Qu1ILLJSRNrubQ= =6IPp -----END PGP SIGNATURE----- --=-y0/HX6fdq5nlEWZRqJQf-- From owner-freebsd-questions@FreeBSD.ORG Thu May 22 21:52:30 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 78BAB37B401 for ; Thu, 22 May 2003 21:52:30 -0700 (PDT) Received: from imo-r01.mx.aol.com (imo-r01.mx.aol.com [152.163.225.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7206743FA3 for ; Thu, 22 May 2003 21:52:29 -0700 (PDT) (envelope-from edinho64@netscape.net) Received: from edinho64@netscape.net by imo-r01.mx.aol.com (mail_out_v36.3.) id o.1b4.5fcccad (16240); Fri, 23 May 2003 00:52:22 -0400 (EDT) Received: from netscape.net (pool-68-160-121-87.nwrk.east.verizon.net [68.160.121.87]) by air-in03.mx.aol.com (v93.12) with ESMTP id MAILININ34-3f703ecda90574; Fri, 23 May 2003 00:52:22 -0400 Message-ID: <3ECDA905.6030402@netscape.net> Date: Fri, 23 May 2003 00:52:21 -0400 From: "E. J. Cerejo" User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-us, en MIME-Version: 1.0 To: malcolm.kay@internode.on.net References: <3ECD6830.3060603@netscape.net> <200305231018.21796.malcolm.kay@internode.on.net> <3ECD9027.30606@netscape.net> <200305231322.18792.malcolm.kay@internode.on.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Mailer: Unknown (No Version) cc: FreeBSD-Questions Subject: Re: JDK13 fails to build X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 04:52:30 -0000 malcolm.kay@internode.on.net wrote: > On Fri, 23 May 2003 12:36, E. J. Cerejo wrote: > >>malcolm.kay@internode.on.net wrote: >> >>>On Fri, 23 May 2003 09:45, E. J. Cerejo wrote: >>> >>>>I forgot to mention that I'm running freebsd stable >>>> >>>> >>>> >>>>E. J. Cerejo wrote: >>>>I'm trying to install JDK13 and it fails to build, here's what I get: >>>> >>>>/src/motif/badapter -I../../../../src/share/javavm/export >>>>-I../../../../src/solaris/javavm/export -I/usr/X11R6/include >>>>-I/usr/local/include -I../../oji-plugin/src/share -o >>>>../../tmp/bsd/i386/stubs.o ../../oji-plugin/src/motif/common/stubs.c >>>>In file included from ../../oji-plugin/src/motif/common/stubs.c:29: >>>>/usr/X11R6/include/npapi.h:1: #error >>>>"/home/espenr/tmp/qt-3.1-espenr-14496/qt/extensions/nsplugin/src/npapi.h >>>>must be provided by Netscape" >>>>/usr/X11R6/include/npapi.h:2: #error "This file is just a placeholder. >>>>Please see the documentation" >>>>/usr/X11R6/include/npapi.h:3: #error "to learn how to obtain the real >>>>file" In file included from >>>>../../oji-plugin/src/motif/common/stubs.c:30: >>>>/usr/X11R6/include/npupp.h:1: #error >>>>"/home/espenr/tmp/qt-3.1-espenr-14496/qt/extensions/nsplugin/src/npupp.h >>>>must be provided by Netscape" >>>>/usr/X11R6/include/npupp.h:2: #error "This file is just a placeholder. >>>>Please see the documentation" >>>>/usr/X11R6/include/npupp.h:3: #error "to learn how to obtain the real >>>>file" gmake[1]: *** [../../tmp/bsd/i386/stubs.o] Error 1 >>>>gmake[1]: Leaving directory >>>>`/usr/ports/java/jdk13/work/j2sdk1.3.1/ext/plugin/build/solaris' >>>>gmake: *** [plugin-all] Error 1 >>>>*** Error code 2 >>>> >>>>Stop in /usr/ports/java/jdk13. >>>> >>>>Is it because of qt3? >>> >>>Have you read the actual error messages? >>>#error is a preprocessor command which reports and causes an >>>error to be generated. >>>In the first instance the encoded errors were: >>> >>>/home/espenr/tmp/qt-3.1-espenr-14496/qt/extensions/nsplugin/src/npapi.h >>>must be provided by Netscape >>> This file is just a placeholder. >>> Please see the documentation to learn how to obtain the real file >>> >>>The second is similar! >>> >>>Maybe there are make options to inhibit the generation >>>of a netscape plugin. Take a look in the Makefile. >>> >>>Malcolm >>> >>>Malcolm >> >>I looked into the Makefile and I didn't see anything that had to do with >>a netscape plugin! > > > I may have a different port version but the Makefile is labelled: > # New ports collection makefile for: jdk13 > # Date created: 10 October 2000 > > and at line 26: > > .if !defined(WITHOUT_PLUGIN) > BUILD_DEPENDS+= msgfmt:${PORTSDIR}/devel/gettext > LIB_DEPENDS= glib12.3:$(PORTSDIR)/devel/glib12 \ > gtk12.2:$(PORTSDIR)/x11-toolkits/gtk12 \ > nspr4.1:$(PORTSDIR)/devel/nspr > .endif > > and again at line 68: > > .if !defined(WITHOUT_PLUGIN) > MAKE_ENV += LIBG_HDRS="${LOCALBASE}/include/glib12" \ > GTK_HDRS="${X11BASE}/include/gtk12" \ > LIBIDL_HDRS= > .endif > > and 73: > > .if !defined(WITHOUT_PLUGIN) > ALL_TARGET= all plugin images > .else > ALL_TARGET= all images > .endif > > and 100: > > .if defined(WITHOUT_PLUGIN) > PLIST_SUB+= PLUGIN:="@comment " > .else > PLIST_SUB+= PLUGIN:="" > .endif > > 201: > > .if !defined(WITHOUT_PLUGIN) > @${ECHO_MSG} > @${ECHO_MSG} To use the Java plugin with Mozilla you must create a > @${ECHO_MSG} symbolic link from > @${ECHO_MSG} > @${ECHO_MSG} ---long line--- > @${ECHO_MSG} > @${ECHO_MSG} to your Mozilla plugins directory, which is usually found at > @${ECHO_MSG} > @${ECHO_MSG} ${X11BASE}/lib/mozilla/plugins > @${ECHO_MSG} > .endif > > I imagine you want: > # make -DWITHOUT_PLUGIN > and > # make -DWITHOUT_PLUGIN install I forced uninstall qt31 and tried building jdk13 and it built and installed succefully after that I rebuilt qt3. The thing is I need the plugin that is why I'm installing it in the first place. I can't understand as to why it builds fine without qt3 and it won't build with qt3 installed. From owner-freebsd-questions@FreeBSD.ORG Thu May 22 21:54:06 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E686337B401 for ; Thu, 22 May 2003 21:54:06 -0700 (PDT) Received: from smtp.prodigy.net.mx (dfproxy00.prodigy.net.mx [148.235.168.49]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F58E43F75 for ; Thu, 22 May 2003 21:54:06 -0700 (PDT) (envelope-from ibac@prodigy.net.mx) Received: from pc1 (du-200-67-41-120.prodigy.net.mx [200.67.41.120]) sims.4.0.2001.07.26.11.50.p9) with SMTP id <0HFB00ITZPJ5TE@SMTP.Prodigy.Net.mx>; Thu, 22 May 2003 23:52:18 -0500 (CDT) Date: Thu, 22 May 2003 23:54:49 -0500 From: Alfonso Romero To: freebsd-questions , Stephan Weaver Message-id: <004401c320e7$70a806a0$0100a8c0@ibac> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Mailer: Microsoft Outlook Express 5.50.4522.1200 Content-type: text/plain; charset="iso-8859-1" Content-transfer-encoding: 7bit X-Priority: 3 X-MSMail-priority: Normal References: Subject: Re: imap-wu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 04:54:07 -0000 Did you compile cclient and imap-uw with the WITH_SSL_AND_PLAINTEXT=yes option? ----- Original Message ----- From: "Stephan Weaver" To: Sent: Thursday, May 22, 2003 8:44 PM Subject: imap-wu > Hello! > I am having trouble logging into my imapd server. > the daemon is running according to sockstat. > i am using imap-wu. > I see logindisabled. > I am not getting any answers on my own. Any help appreciated. > > Please CC me (stephanweaver@hotmail.com) as i am not on the list > > Thanks in advance! > Stephan Weaver > > _________________________________________________________________ > The new MSN 8: advanced junk mail protection and 2 months FREE* > http://join.msn.com/?page=features/junkmail > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Thu May 22 22:45:36 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5ABD137B401 for ; Thu, 22 May 2003 22:45:36 -0700 (PDT) Received: from Gina.esfm.ipn.mx (esfm.ipn.mx [148.204.102.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B54643F75 for ; Thu, 22 May 2003 22:45:35 -0700 (PDT) (envelope-from mrspock@esfm.ipn.mx) Received: from Gina.esfm.ipn.mx (localhost [127.0.0.1]) by Gina.esfm.ipn.mx (8.12.6p2/8.12.6) with ESMTP id h4N5jMM2069832; Fri, 23 May 2003 00:45:22 -0500 (CDT) (envelope-from mrspock@esfm.ipn.mx) Received: from localhost (mrspock@localhost)h4N5jLrw069829; Fri, 23 May 2003 00:45:22 -0500 (CDT) X-Authentication-Warning: Gina.esfm.ipn.mx: mrspock owned process doing -bs Date: Fri, 23 May 2003 00:45:21 -0500 (CDT) From: Eduardo Viruena Silva To: Aaron In-Reply-To: <20030523001248.O57397@vengeful.webgods.net> Message-ID: <20030523003415.B69020@Gina.esfm.ipn.mx> References: <20030523001248.O57397@vengeful.webgods.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: A way to add multiple users at once? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 05:45:36 -0000 On Fri, 23 May 2003, Aaron wrote: > > Greetings, > > I am sure this has been asked many times, but a search of the archives > didn't turn up anything. > > Is there a script or program of sorts that will allow me to add multiple > (about 150 users) with all the same permissions, shell, etc, as opposed to > adding each one individually? you can use pw(8) in a script to create them. > > Running 4.8-RELEASE FreeBSD 4.8-RELEASE #0 > > Thanking you in advance for any direction in this. > > Aaron > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > - ______ _ * / /###\ / \ __ /\ /\ * / ./#### \ * \__|_/ | | / \/ \ | b#####| * _ | __ | | __ = .. \____ \ \_\#####/ / \| / \ | | /\_\/ = \_| * \___\###/ * \_/\_/\__/\__\/_/\__/ = \______/ _ | | From owner-freebsd-questions@FreeBSD.ORG Fri May 23 00:12:37 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C254337B401 for ; Fri, 23 May 2003 00:12:37 -0700 (PDT) Received: from gatekeeper.oremut01.us.wh.verio.net (gatekeeper.oremut01.us.wh.verio.net [198.65.168.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C20743F75 for ; Fri, 23 May 2003 00:12:37 -0700 (PDT) (envelope-from soukihei@leibnizcreations.com) Received: from proxy.dmz.orem.verio.net (proxy.dmz.orem.verio.net [10.1.1.11]) 8E2CD3BF384 for ; Fri, 23 May 2003 01:12:36 -0600 (MDT) Received: from jupiter (dhcp-3-128-125.office.orem.verio.net [10.3.128.125]) by proxy.dmz.orem.verio.net (Postfix) with ESMTP id 1A4757C004 for ; Fri, 23 May 2003 01:12:36 -0600 (MDT) From: "Chris Mutchler" To: Date: Fri, 23 May 2003 01:12:46 -0600 Message-ID: <000201c320fa$b601f400$7d80030a@jupiter> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: adding network aliases X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 07:12:38 -0000 I am running 4.7-RELEASE on a nameserver, and when I go to add around 250 aliases to the nic, it takes approx. 5s to add each one. Which makes for a rather tedious reboot. Does anyone have any ideas what could be occurring? I duplicated the problem on 2 separate boxes running the same kernel ... also it is working just fine on a box with 4.5 on it. ns1d# date && ifconfig em1 alias 192.168.1.2 netmask 255.255.255.255 && date Fri May 23 01:11:22 MDT 2003 Fri May 23 01:11:26 MDT 2003 -- chris mutchler soukihei@leibnizcreations.com From owner-freebsd-questions@FreeBSD.ORG Fri May 23 00:48:12 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 679EC37B401; Fri, 23 May 2003 00:48:12 -0700 (PDT) Received: from mail.dannysplace.net (allxs.xs4all.nl [194.109.223.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 235F643FB1; Fri, 23 May 2003 00:48:11 -0700 (PDT) (envelope-from danny@dannysplace.net) Received: from [192.168.1.3] (helo=localhost) by mail.dannysplace.net with esmtp (Exim 4.12) id 19J7Hc-0002wj-00; Fri, 23 May 2003 09:48:08 +0200 Received: from pr2.ing.nl (pr2.ing.nl [145.221.92.41]) by www.dannysplace.com (Horde) with HTTP for ; Fri, 23 May 2003 09:48:07 +0200 Message-ID: <1053676087.95fbe1caf5dcd@www.dannysplace.com> Date: Fri, 23 May 2003 09:48:07 +0200 From: danny@dannysplace.net To: freebsd-ipfw@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.0-cvs X-Scanner: exiscan for exim4 (http://duncanthrax.net/exiscan/) *19J7Hc-0002wj-00*rfOCa1XXKUU* cc: freebsd-questions@freebsd.org Subject: Strange natd problem. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 07:48:12 -0000 Hello all, I have a strange problem. At home I have a standard lan adsl setup. LAN 192.168.10.x ---- FreeBSD 4.8 with ipfw and natd ---- ADSL modem ---- Internet. The natd setup here is what you would expect, 1 IP address and several clients. A few specific port redirects for web/mail etc... Now, this week I setup quake on a box sitting at a hosted location. It's running on FreeBSD 4.8 as well. But there is another firewall before it. It looks like this: (4.3.2.1 to 4.3.2.10) Internet --- FreeBSD 4.4 with ipfw and natd --- FreeBSD 4.8 (192.168.1.1) (192.168.1.250) The natd setup here is simple, there are 10 public IP addresses (4.3.2.1 to 4.3.2.10) and a natd config forwarding these to similar internal ip's (4.3.2.1 = 192.168.1.1 and so on...) natd.conf is: interface xl0 same_ports yes punch_fw 1000:500 log_denied yes log_facility security redirect_address 192.168.1.10 4.3.2.10 redirect_address 192.168.1.1 4.3.2.1 redirect_address 192.168.1.2 4.3.2.2 redirect_address 192.168.1.3 4.3.2.3 redirect_address 192.168.1.4 4.3.2.4 redirect_address 192.168.1.5 4.3.2.5 redirect_address 192.168.1.6 4.3.2.6 redirect_address 192.168.1.7 4.3.2.7 redirect_address 192.168.1.8 4.3.2.8 Now, the firwall for the quake server has the following pertainent rules. These are not the real rules, just an example. 100 divert 8668 ip from any to any via xl0 200 allow udp from any to 4.3.2.1 27960 200 allow udp from 4.3.2.1 27960 to any 300 allow ip from any to 4.3.2.1 27960 300 allow ip from 4.3.2.1 27960 to any 65435 allow icmp from any to any 65535 deny ip from any to any Here is the strange bit... rule 100 matches and (re-inserts) rules 200 never match rules 300 match and allow the quake packets through. I've tried the following protocols specifically. tcp,udp,icmp But it will ONLY match when I say "ip" So could it be that the firewall on my home lan does something with natd, then the firewall on the quake servers lan does something *else* to the packets there by screwing them up? Or does quake just use some strange ip protocol?. From owner-freebsd-questions@FreeBSD.ORG Fri May 23 01:00:29 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1058137B401 for ; Fri, 23 May 2003 01:00:29 -0700 (PDT) Received: from postino.fi.infn.it (postino.fi.infn.it [192.84.145.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87A8643F3F for ; Fri, 23 May 2003 01:00:23 -0700 (PDT) (envelope-from Riccardo.Veraldi@fi.infn.it) Received: from dijkstra.fi.infn.it (dijkstra.fi.infn.it [192.84.145.13]) by postino.fi.infn.it (8.12.9/8.12.6) with ESMTP id h4N80Kuo043441 for ; Fri, 23 May 2003 10:00:21 +0200 (CEST) Received: by dijkstra.fi.infn.it (Postfix, from userid 1000) id C21AD36D81; Fri, 23 May 2003 10:00:19 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by dijkstra.fi.infn.it (Postfix) with ESMTP id 983F630C01 for ; Fri, 23 May 2003 10:00:19 +0200 (CEST) Date: Fri, 23 May 2003 10:00:19 +0200 (CEST) From: Riccardo.Veraldi@fi.infn.it X-X-Sender: fddi@dijkstra.fi.infn.it To: freebsd-questions@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-RAVMilter-Version: 8.4.1(snapshot 20020920) (postino.fi.infn.it) X-Spam-Status: No, hits=1.5 required=5.0 tests=NO_REAL_NAME,SPAM_PHRASE_00_01,USER_AGENT_PINE version=2.43 X-Spam-Level: * Subject: PF and FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 08:00:29 -0000 HEllo, I heard that there is a kernel module which implements PF (OpenBSD) into FreeBSD, this is a great news. anyone knows if it works fine in FreeBSD ? anyone knows if there is any project to include PF embedded in future FreeBSD lreleases (like ipf)? thanks Rick From owner-freebsd-questions@FreeBSD.ORG Fri May 23 01:03:01 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EEDEB37B401 for ; Fri, 23 May 2003 01:03:01 -0700 (PDT) Received: from slacknet.slacknet.com (slacknet.slacknet.com [204.228.135.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B71943FA3 for ; Fri, 23 May 2003 01:03:01 -0700 (PDT) (envelope-from rj45@slacknet.com) Received: from rj45 (helo=localhost) by slacknet.slacknet.com with local-esmtp (Exim 3.35 #1 (Debian)) id 19J7W0-0006ar-00 for ; Fri, 23 May 2003 02:03:00 -0600 Date: Fri, 23 May 2003 02:03:00 -0600 (MDT) From: RJ45 To: freebsd-questions@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: PF and FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 08:03:02 -0000 HEllo, I heard that there is a kernel module which implements PF (OpenBSD) into FreeBSD, this is a great news. anyone knows if it works fine in FreeBSD ? anyone knows if there is any project to include PF embedded in future FreeBSD releases (like ipf)? thanks Rick From owner-freebsd-questions@FreeBSD.ORG Fri May 23 01:14:43 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E7E4C37B401 for ; Fri, 23 May 2003 01:14:43 -0700 (PDT) Received: from pat.loc0.profero.com (gateway.profero.com [212.187.163.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9119C43F3F for ; Fri, 23 May 2003 01:14:40 -0700 (PDT) (envelope-from TimW@profero.com) Received: from jess.loc0.profero.com ([172.20.0.4] helo=jess.pro) by pat.loc0.profero.com with esmtp (Exim 3.36 #1) id 19J6zG-000OwT-00 for freebsd-questions@freebsd.org; Fri, 23 May 2003 08:29:10 +0100 Received: by jess.loc0.profero.com with Internet Mail Service (5.5.2653.19) id ; Fri, 23 May 2003 09:15:47 +0100 Message-ID: <46194AFECB77D6118B2C0020ED11082B3DCF@jess.loc0.profero.com> From: Tim Williams To: freebsd-questions@freebsd.org Date: Fri, 23 May 2003 09:15:37 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) X-Scanner: exiscan *19J6zG-000OwT-00*rS85obQgN3I* (Profero Ltd, London, UK) Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: FreeBSD 4.8 running on Dell 1655MC Blade Server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 08:14:44 -0000 Hi, We are thinking of purchasing a couple of Dell 1655MC Blade servers to replace a number of web servers. Can anyone confirm that FreeBSD 4.8 is compatible with this kit? Dell cannot confirm that it will work with FreeBSD. Any info on this would be appreciated. Cheers, Tim Williams From owner-freebsd-questions@FreeBSD.ORG Fri May 23 01:29:52 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 94D2537B401 for ; Fri, 23 May 2003 01:29:52 -0700 (PDT) Received: from supermail.mweb.co.za (supermail.mweb.co.za [196.2.53.171]) by mx1.FreeBSD.org (Postfix) with ESMTP id E639743F85 for ; Fri, 23 May 2003 01:29:50 -0700 (PDT) (envelope-from vikashb@mweb.co.za) Received: from [196.2.53.154] (helo=Debug) by supermail.mweb.co.za with smtp (Exim 3.22 #1) id 19J7mR-0001iG-00 for freebsd-questions@freebsd.org; Fri, 23 May 2003 10:19:59 +0200 To: freebsd-questions@freebsd.org From: vikashb@mweb.co.za Date: Fri, 23 May 2003 08:29:47 GMT X-Posting-IP: 196.29.130.251 X-Mailer: Endymion MailMan Standard Edition v3.2.18 Message-Id: Subject: NAT on two interfaces (SOLVED) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 08:29:52 -0000 My orignal question was : ==>Can i set up nat (or ipnat) to do nating on two interfaces ==>in the following manner and how : ==> ==>172.16.1.0/24 connects to 172.16.1.1 which should get redirected to ==>10.10.131.57 and have a source address of 10.10.10.6 I was able to solve this problem using ipnat and ipfilter. config as follows: =========== /etc/ipnat.rules =========== map xl0 10.10.0.0/16 -> 172.16.1.1/32 portmap tcp/udp auto map xl0 10.10.0.0/16 -> 172.16.1.1/32 map fxp0 from 172.16.1.0/24 to 10.10.131.57 port = 22 -> 10.10.10.6/32 rdr xl0 0.0.0.0/0 port 22 -> 198.54.253.209 port 22 ============ END ================ Vikash --------------------------------------------- This message was sent using M-Web Airmail - JUST LIKE THAT M-Web: S.A.'s most trusted and reliable Internet Service Provider. http://airmail.mweb.co.za/ From owner-freebsd-questions@FreeBSD.ORG Fri May 23 02:02:25 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6FD9737B401; Fri, 23 May 2003 02:02:25 -0700 (PDT) Received: from ns2.wananchi.com (ns2.wananchi.com [62.8.64.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id D823843FD7; Fri, 23 May 2003 02:02:18 -0700 (PDT) (envelope-from wash@wananchi.com) Received: from wash by ns2.wananchi.com with local (Exim 4.20 #5 (FreeBSD)) id 19J8Qt-000FRU-AN; Fri, 23 May 2003 12:01:47 +0300 Date: Fri, 23 May 2003 12:01:47 +0300 From: ODHIAMBO Washington To: phantom@FreeBSD.org Message-ID: <20030523090147.GI96496@ns2.wananchi.com> Mail-Followup-To: ODHIAMBO Washington , phantom@FreeBSD.org, FBSD-Q Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Disclaimer: Any views expressed in this message,where not explicitly attributed otherwise, are mine alone!. X-Fortune: Broad-mindedness, n.: The result of flattening high-mindedness out. X-Operating-System: FreeBSD 4.8-STABLE i386 X-Best-Window-Manager: Blackbox X-Mailer: Mutt 1.5.3i (2002-12-17) X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. X-Uptime: 12:00PM up 6 days, 12:09, 6 users, load averages: 0.46, 0.24, 0.23 User-Agent: Mutt/1.5.3i X-SA-Exim-Mail-From: wash@wananchi.com X-SA-Exim-Scanned: No; SAEximRunCond expanded to false cc: FBSD-Q Subject: Java Development Kit 1.4.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 09:02:25 -0000 Hello, I am attempting to install $subject on FreeBSD 5.0-RELEASE and it complains of libc_r as soon as I do make. beastie# make LIBC_R TEST FAILED: libc_r update required *** Error code 1 Stop in /usr/ports/java/jdk14. How do I go about this one?? -Wash -- Odhiambo Washington "The box said 'Requires Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,' Tel: +254 2 313985-9 +254 2 313922 so I installed FreeBSD." GSM: +254 72 743223 +254 733 744121 This sig is McQ! :-) "A witty saying proves nothing." -- Voltaire From owner-freebsd-questions@FreeBSD.ORG Fri May 23 02:32:35 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D8FE437B401 for ; Fri, 23 May 2003 02:32:35 -0700 (PDT) Received: from tina.la3sg.net (la3sg.net [217.13.29.172]) by mx1.FreeBSD.org (Postfix) with ESMTP id A4E9B43F75 for ; Fri, 23 May 2003 02:32:34 -0700 (PDT) (envelope-from tina@tina.la3sg.net) Received: from tina.la3sg.net (tina@localhost.la3sg.net [127.0.0.1]) by tina.la3sg.net (8.12.8p1/8.12.8) with ESMTP id h4N9WHBb001075; Fri, 23 May 2003 11:32:17 +0200 (CEST) (envelope-from tina@tina.la3sg.net) Received: (from tina@localhost) by tina.la3sg.net (8.12.8p1/8.12.8/Submit) id h4N9WHpZ001074; Fri, 23 May 2003 11:32:17 +0200 (CEST) Date: Fri, 23 May 2003 11:32:16 +0200 From: Kjell Midtseter To: Fernando Gleiser Message-ID: <20030523093216.GA396@tina.la3sg.net> References: <20030522165345.O35791-100000@cactus.fi.uba.ar> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030522165345.O35791-100000@cactus.fi.uba.ar> User-Agent: Mutt/1.4.1i cc: questions@freebsd.org Subject: Re: Maybe OT: Automatic CRLF conversion? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: kmidtset@c2i.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 09:32:36 -0000 On Thursday, 22 May 2003 at 17:05:11 -0300, Fernando Gleiser wrote: > Here's my problem: I have a FreeBSD server running an aplication. > The operators of the aplication (read: people who doesn't know Unix) > need to upload some files to the server, and the aplication reads them. > > The files are flat ASCII. > They where using FTP in ASCII mode for that, but they wanted it > to be "even easier", so I set up Samba on the server and they just > drag and drop the files. The problem is with the CRLF conversion, > because the app needs the files the unix way, but they upload them > the DOS way. > > I need an automatic way to handle the conversion, since there is nobody > who knows Unix there, and I can't tell them "run such command". They > have no shell access. > > > I was thinking of writing a little script which runs from cron, converts > the files and then moves them to the final dir, but maybe there is a way of May be this would be of help: Removing ^M at the end of each line perl -i.bak -npe 's/\r\n/\n/g' where is the name of the file you want to "clean". The original file is copied to .bak... Regards from Kjell > doing it from samba itself. > From owner-freebsd-questions@FreeBSD.ORG Fri May 23 04:03:09 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A3FFE37B401 for ; Fri, 23 May 2003 04:03:09 -0700 (PDT) Received: from MX1.estpak.ee (ld1.estpak.ee [194.126.101.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4629843FCB for ; Fri, 23 May 2003 04:03:08 -0700 (PDT) (envelope-from kalts@estpak.ee) Received: from kevad.internal (80-235-35-97-dsl.mus.estpak.ee [80.235.35.97]) by MX1.estpak.ee (Postfix) with ESMTP id 2206888890; Fri, 23 May 2003 14:01:13 +0300 (EEST) Received: by kevad.internal (Postfix, from userid 1000) id 7407915F306; Fri, 23 May 2003 14:03:10 +0300 (EEST) Date: Fri, 23 May 2003 14:03:10 +0300 From: Vallo Kallaste To: ODHIAMBO Washington , FBSD-Q Message-ID: <20030523110310.GA2280@kevad.internal> References: <20030523090147.GI96496@ns2.wananchi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030523090147.GI96496@ns2.wananchi.com> User-Agent: Mutt/1.5.4i Subject: Re: Java Development Kit 1.4.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: kalts@estpak.ee List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 11:03:10 -0000 On Fri, May 23, 2003 at 12:01:47PM +0300, ODHIAMBO Washington wrote: > I am attempting to install $subject on FreeBSD 5.0-RELEASE and it > complains of libc_r as soon as I do make. > > beastie# make > LIBC_R TEST FAILED: libc_r update required > *** Error code 1 > > Stop in /usr/ports/java/jdk14. > > How do I go about this one?? Upgrade your system to 5.1-BETA2. -- Vallo Kallaste From owner-freebsd-questions@FreeBSD.ORG Fri May 23 04:25:27 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E6C0237B401 for ; Fri, 23 May 2003 04:25:27 -0700 (PDT) Received: from ns2.wananchi.com (ns2.wananchi.com [62.8.64.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9646943F3F for ; Fri, 23 May 2003 04:25:26 -0700 (PDT) (envelope-from wash@wananchi.com) Received: from wash by ns2.wananchi.com with local (Exim 4.20 #5 (FreeBSD)) id 19JAfV-000BTo-4r; Fri, 23 May 2003 14:25:01 +0300 Date: Fri, 23 May 2003 14:25:01 +0300 From: ODHIAMBO Washington To: Vallo Kallaste Message-ID: <20030523112501.GO96496@ns2.wananchi.com> Mail-Followup-To: ODHIAMBO Washington , Vallo Kallaste , FBSD-Q References: <20030523090147.GI96496@ns2.wananchi.com> <20030523110310.GA2280@kevad.internal> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030523110310.GA2280@kevad.internal> X-Disclaimer: Any views expressed in this message,where not explicitly attributed otherwise, are mine alone!. X-Fortune: Broad-mindedness, n.: The result of flattening high-mindedness out. X-Operating-System: FreeBSD 4.8-STABLE i386 X-Best-Window-Manager: Blackbox X-Mailer: Mutt 1.5.3i (2002-12-17) X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. X-Uptime: 2:19PM up 6 days, 14:29, 4 users, load averages: 0.40, 0.22, 0.18 User-Agent: Mutt/1.5.3i X-SA-Exim-Mail-From: wash@wananchi.com X-SA-Exim-Scanned: No; SAEximRunCond expanded to false cc: FBSD-Q Subject: Re: Java Development Kit 1.4.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 11:25:28 -0000 * Vallo Kallaste [20030523 14:03]: wrote: > On Fri, May 23, 2003 at 12:01:47PM +0300, ODHIAMBO Washington > wrote: > > > I am attempting to install $subject on FreeBSD 5.0-RELEASE and it > > complains of libc_r as soon as I do make. > > > > beastie# make > > LIBC_R TEST FAILED: libc_r update required > > *** Error code 1 > > > > Stop in /usr/ports/java/jdk14. > > > > How do I go about this one?? > > Upgrade your system to 5.1-BETA2. > -- > Vallo Kallaste Is this the only solution available??? Best regards, Odhiambo Washington Wananchi Online Ltd. ___W_A_N_A_N_C_H_I__O_N_L_I_N_E__L_T_D___The People's Choice______ Wananchi Head Office |*| Tel: +254 2 313 985-9 1st Flr Loita, Loita St.|*| Fax: +254 2 313 922 10286-GPO, NAIROBI, KE |*| e-mail: ------------------------------------------------------------------ ++ A perverse man stirs up dissension, and a gossip separates close friends. Proverbs 16:28 From owner-freebsd-questions@FreeBSD.ORG Fri May 23 05:03:04 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F85E37B401 for ; Fri, 23 May 2003 05:03:04 -0700 (PDT) Received: from scully.biz (YahooBB219184138032.bbtec.net [219.184.138.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7904443FB1 for ; Fri, 23 May 2003 05:03:03 -0700 (PDT) (envelope-from bill@scully.biz) Received: by scully.biz (Postfix, from userid 1001) id 0F36024E; Fri, 23 May 2003 21:04:34 +0900 (JST) Date: Fri, 23 May 2003 21:04:33 +0900 From: William Scully To: questions@FreeBSD.org Message-ID: <20030523120433.GA2281@scully.biz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Subject: changing the default log in shell X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 12:03:04 -0000 When I installed 4.7, I chose bash as the default log in shell. I have come to prefer tcsh and would like to make that the default. What is the best way to go about that? Of course, I can switch shells on the fly, but I want to avoid that extra step of cahnging from bash to tcsh, and instead log straight into tcsh from the log- in prompt. After using Linux for a few years, I changed tp FreeBSD a bit more than a year ago and am very pleased. Thank you for making Unix a pleasure to use, even as a non-professional like me. I hope I can volunteer my services in some way in the future. Thanks in advance, Bill Scully From owner-freebsd-questions@FreeBSD.ORG Fri May 23 05:08:06 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED22437B401 for ; Fri, 23 May 2003 05:08:06 -0700 (PDT) Received: from interlude.mig15.net (mig15.net [150.101.230.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E59143F93 for ; Fri, 23 May 2003 05:08:05 -0700 (PDT) (envelope-from steven@mig15.net) Received: from mig15.net (shogun [10.0.0.1]) by interlude.mig15.net (8.12.9/8.12.3) with ESMTP id h4NC88YO023845 for ; Fri, 23 May 2003 21:38:10 +0930 (CST) (envelope-from steven@mig15.net) Message-ID: <3ECE0F21.1050307@mig15.net> Date: Fri, 23 May 2003 21:38:01 +0930 From: Steven Wiltshire User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20030523120433.GA2281@scully.biz> In-Reply-To: <20030523120433.GA2281@scully.biz> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: changing the default log in shell X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 12:08:07 -0000 Hi, chsh -s /path/to/new/shell :) --Steven William Scully wrote: >When I installed 4.7, I chose bash as the default log in shell. I have come >to prefer tcsh and would like to make that the default. What is the best >way to go about that? Of course, I can switch shells on the fly, but I >want to avoid that extra step of cahnging from bash to tcsh, and instead >log straight into tcsh from the log- in prompt. >After using Linux for a few years, I changed tp FreeBSD a bit more than >a year ago and am very pleased. Thank you for making Unix a pleasure >to use, even as a non-professional like me. I hope I can volunteer my >services in some way in the future. >Thanks in advance, >Bill Scully >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > From owner-freebsd-questions@FreeBSD.ORG Fri May 23 05:09:38 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4BE7037B401 for ; Fri, 23 May 2003 05:09:38 -0700 (PDT) Received: from demon.nl (seatle.demon.nl [195.173.228.191]) by mx1.FreeBSD.org (Postfix) with ESMTP id D751043F3F for ; Fri, 23 May 2003 05:09:36 -0700 (PDT) (envelope-from rotan@seatle.demon.nl) Received: from seatle.vredesdorp.nl (localhost [127.0.0.1]) by demon.nl (8.12.8p1/8.12.6) with ESMTP id h4NCBB7D060027 for ; Fri, 23 May 2003 14:11:11 +0200 (CEST) (envelope-from rotan@seatle.vredesdorp.nl) Received: (from rotan@localhost) by seatle.vredesdorp.nl (8.12.8p1/8.12.6/Submit) id h4NCBBke060026 for freebsd-questions@freebsd.org; Fri, 23 May 2003 14:11:11 +0200 (CEST) Date: Fri, 23 May 2003 14:11:11 +0200 From: robert t g tan To: freebsd-questions@freebsd.org Message-ID: <20030523121111.GA60004@seatle.vredesdorp.nl> Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Subject: p5-Mail-SpamAsssassin X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 12:09:38 -0000 Im having problems running spamassasin. After running say: spamassasin < some.folder, Im getting the following message: Can't locate object method "splitpath" via package "File::Spec" at /usr/local/bin/spamassassin line 20. BEGIN failed--compilation aborted at /usr/local/bin/spamassassin line 50. Tnx, -- Robert Tan From owner-freebsd-questions@FreeBSD.ORG Fri May 23 05:18:53 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8622C37B401 for ; Fri, 23 May 2003 05:18:53 -0700 (PDT) Received: from ns0.uk.circle.com (ns0.uk.circle.com [212.161.1.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 41ABC43FB1 for ; Fri, 23 May 2003 05:18:50 -0700 (PDT) (envelope-from Vince.Hoffman@uk.circle.com) Received: from mime-london.uk.circle.com (mime-london.uk.circle.com [10.20.0.101]) by ns0.uk.circle.com (8.12.8/8.12.8) with ESMTP id h4NCOx4j048991 for ; Fri, 23 May 2003 13:24:59 +0100 (BST) Received: from ex-london.uk.circle.com (unverified) by mime-london.uk.circle.com ; Fri, 23 May 2003 13:18:51 +0100 Received: by EX-LONDON with Internet Mail Service (5.5.2653.19) id ; Fri, 23 May 2003 13:18:52 +0100 Message-ID: <3500515B75D9D311948800508BA37955014BDB78@EX-LONDON> From: Vince Hoffman To: "'William Scully'" , questions@freebsd.org Date: Fri, 23 May 2003 13:18:50 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Subject: RE: changing the default log in shell X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 12:18:53 -0000 I'd use chsh to change it if i were you. > -----Original Message----- > From: William Scully [mailto:bill@scully.biz] > Sent: 23 May 2003 13:05 > To: questions@freebsd.org > Subject: changing the default log in shell > > > When I installed 4.7, I chose bash as the default log in > shell. I have come > to prefer tcsh and would like to make that the default. What > is the best > way to go about that? Of course, I can switch shells on the fly, but I > want to avoid that extra step of cahnging from bash to tcsh, > and instead > log straight into tcsh from the log- in prompt. > After using Linux for a few years, I changed tp FreeBSD a bit > more than > a year ago and am very pleased. Thank you for making Unix a pleasure > to use, even as a non-professional like me. I hope I can volunteer my > services in some way in the future. > Thanks in advance, > Bill Scully > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Fri May 23 05:36:57 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EBFCA37B401 for ; Fri, 23 May 2003 05:36:57 -0700 (PDT) Received: from hotmail.com (f32.law9.hotmail.com [64.4.9.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 97EA043F75 for ; Fri, 23 May 2003 05:36:57 -0700 (PDT) (envelope-from chaudharyanurag@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 23 May 2003 05:36:57 -0700 Received: from 202.144.62.166 by lw9fd.law9.hotmail.msn.com with HTTP; Fri, 23 May 2003 12:36:57 GMT X-Originating-IP: [202.144.62.166] X-Originating-Email: [chaudharyanurag@hotmail.com] From: "Anurag Chaudhary" To: freebsd-questions@freebsd.org Date: Fri, 23 May 2003 18:06:57 +0530 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 23 May 2003 12:36:57.0562 (UTC) FILETIME=[FFCDBBA0:01C32127] Subject: problem loading kld X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 12:36:58 -0000 i hav made a kld compilation was smooth and warning-free but kldload is not loading it, it says no such file or directory. ############################################### sust-bsd# kldload ./rbdr.ko kldload: can't load ./rbdr.ko: No such file or directory ################################################ This is the terminal response. rbdr.ko exists in the same directory can any buddy tell me whats goin rong Thanx in advance Anurag Chaudhary _________________________________________________________________ Technical writer? Earn more now. http://server1.msn.co.in/msnleads/tis/index.asp Click here. From owner-freebsd-questions@FreeBSD.ORG Fri May 23 05:41:37 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D060B37B401 for ; Fri, 23 May 2003 05:41:37 -0700 (PDT) Received: from lv.raad.tartu.ee (lv.raad.tartu.ee [194.126.106.110]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0419B43F85 for ; Fri, 23 May 2003 05:41:36 -0700 (PDT) (envelope-from toomas.aas@raad.tartu.ee) Received: Message by Barricade lv.raad.tartu.ee with ESMTP id h4NCfWB08108; Fri, 23 May 2003 15:41:32 +0300 Message-Id: <200305231241.h4NCfWB08108@lv.raad.tartu.ee> Received: from INFO/SpoolDir by raad.tartu.ee (Mercury 1.48); 23 May 03 15:41:36 +0300 Received: from SpoolDir by INFO (Mercury 1.48); 23 May 03 15:41:33 +0300 From: "Toomas Aas" Organization: Tartu City Government To: "W. J. Williams" Date: Fri, 23 May 2003 15:41:30 +0300 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Priority: normal In-reply-to: <20030520112457.75755.qmail@web13502.mail.yahoo.com> References: <1512.192.168.0.97.1053429418.squirrel@webmail.thilelli.net> cc: freebsd-questions@freebsd.org Subject: Re: CVSUP Treelist failed X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 12:41:38 -0000 Hi! > cvsup -l -L /etc/cvsupfile > > Connected to cvsup.de.FreeBSD.org > Updating collection ports-all/cvs > Edit ports/INDEX > > and then i get the error > > TreeList failed: Network write failure: ChannelMux.ProtocolError > Will retry at 11:24:42 > > Does this have something to do with my network? Or with CVSUP collection > or just the communication path between the two? I don't really know, but maybe your version of cvsup is too old compared to the server. -- Toomas Aas | toomas.aas@raad.tartu.ee | http://www.raad.tartu.ee/~toomas/ * Jesus has changed your life. Save changes (Y/N)? From owner-freebsd-questions@FreeBSD.ORG Fri May 23 05:46:48 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 41ACC37B405 for ; Fri, 23 May 2003 05:46:48 -0700 (PDT) Received: from mx1.lphp.org (APastourelles-107-1-4-179.w193-253.abo.wanadoo.fr [193.253.178.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 16A5C43FBD for ; Fri, 23 May 2003 05:46:46 -0700 (PDT) (envelope-from ajacoutot@lphp.org) Received: from sta01 (sta01.lphp.org.local [192.168.0.4]) by mx1.lphp.org (8.12.8p1/8.12.8) with ESMTP id h4NCkiUG095642 for ; Fri, 23 May 2003 14:46:44 +0200 (CEST) (envelope-from ajacoutot@lphp.org) From: Antoine Jacoutot To: freebsd-questions@freebsd.org Date: Fri, 23 May 2003 14:46:44 +0200 User-Agent: KMail/1.5.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200305231446.44125.ajacoutot@lphp.org> Subject: vmware bash problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 12:46:48 -0000 Hi ! I run FreeBSD-4.8-RELEASE I just installed vmware2-2.0.4.1142 from the ports collection, but each time I want to launch the configuration wizard from vmware, nothing happens. Instead, there's a 180kb bash core file in my homedir. Any idea what's happening ? Thanks in advance. Antoine From owner-freebsd-questions@FreeBSD.ORG Fri May 23 05:48:11 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A07E937B401 for ; Fri, 23 May 2003 05:48:04 -0700 (PDT) Received: from MX3.estpak.ee (ld1.estpak.ee [194.126.101.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id D22CD43F93 for ; Fri, 23 May 2003 05:48:02 -0700 (PDT) (envelope-from kalts@estpak.ee) Received: from kevad.internal (80-235-35-97-dsl.mus.estpak.ee [80.235.35.97]) by MX3.estpak.ee (Postfix) with ESMTP id CE0558801C; Fri, 23 May 2003 15:48:01 +0300 (EEST) Received: by kevad.internal (Postfix, from userid 1000) id CF1D115F306; Fri, 23 May 2003 15:48:21 +0300 (EEST) Date: Fri, 23 May 2003 15:48:21 +0300 From: Vallo Kallaste To: ODHIAMBO Washington , FBSD-Q Message-ID: <20030523124821.GA2538@kevad.internal> References: <20030523090147.GI96496@ns2.wananchi.com> <20030523110310.GA2280@kevad.internal> <20030523112501.GO96496@ns2.wananchi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030523112501.GO96496@ns2.wananchi.com> User-Agent: Mutt/1.5.4i Subject: Re: Java Development Kit 1.4.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: kalts@estpak.ee List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 12:48:11 -0000 On Fri, May 23, 2003 at 02:25:01PM +0300, ODHIAMBO Washington wrote: > > > beastie# make > > > LIBC_R TEST FAILED: libc_r update required > > > *** Error code 1 > > > > > > Stop in /usr/ports/java/jdk14. > > > > > > How do I go about this one?? > > > > Upgrade your system to 5.1-BETA2. > > Is this the only solution available??? Yes. Several base OS fixes needed for JDK1.4.1 aren't present in the earlier sources. The same goes for -stable, look into port Makefile for exact dates. -- Vallo Kallaste From owner-freebsd-questions@FreeBSD.ORG Fri May 23 05:59:34 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E7F237B401 for ; Fri, 23 May 2003 05:59:34 -0700 (PDT) Received: from web13406.mail.yahoo.com (web13406.mail.yahoo.com [216.136.175.64]) by mx1.FreeBSD.org (Postfix) with SMTP id 0CD9F43FB1 for ; Fri, 23 May 2003 05:59:34 -0700 (PDT) (envelope-from fehmifehmi@yahoo.fr) Message-ID: <20030523125933.21340.qmail@web13406.mail.yahoo.com> Received: from [193.95.33.28] by web13406.mail.yahoo.com via HTTP; Fri, 23 May 2003 14:59:33 CEST Date: Fri, 23 May 2003 14:59:33 +0200 (CEST) From: =?iso-8859-1?q?Fehmi?= To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Enable Dummynet X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 12:59:34 -0000 Excuse me if this sounds like newbie first class.. I tried to launch dummynet by an ipfw command but i found a "protocol not found" error ,it seems like i have to set an amount of options to enable ip firewalling or something like that? Thanks in advance . ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com From owner-freebsd-questions@FreeBSD.ORG Fri May 23 06:08:11 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7DB4537B401 for ; Fri, 23 May 2003 06:08:11 -0700 (PDT) Received: from cwnet5.q-space.de (cwnet5.wirelessnet.de [212.20.170.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6DA3243F3F for ; Fri, 23 May 2003 06:08:08 -0700 (PDT) (envelope-from usenet@esct.org) Received: from baldur.asgard (pd95134f3.dip.t-dialin.net [217.81.52.243]) by cwnet5.q-space.de (Postfix) with ESMTP id 8CAB2C571 for ; Fri, 23 May 2003 15:10:27 +0200 (CEST) Received: by baldur.asgard (Postfix, from userid 1001) id C7D3424D; Fri, 23 May 2003 15:08:05 +0200 (CEST) Date: Fri, 23 May 2003 15:08:05 +0200 From: Andreas Totlis To: freebsd-questions@freebsd.org Message-ID: <20030523130805.GG45311@baldur.asgard> Mail-Followup-To: freebsd-questions@freebsd.org References: <20030523125933.21340.qmail@web13406.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030523125933.21340.qmail@web13406.mail.yahoo.com> User-Agent: Mutt/1.4i Subject: Re: Enable Dummynet X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 13:08:11 -0000 Hello, * Fehmi [030523 14:59]: > > Excuse me if this sounds like newbie first class.. > I tried to launch dummynet by an ipfw command but i > found a "protocol not found" error ,it seems like i > have to set an amount of options to enable ip > firewalling or something like that? > Thanks in advance . Add the following option in your kernel options DUMMYNET an compile/install a new kernel. Andreas - From owner-freebsd-questions@FreeBSD.ORG Fri May 23 06:20:18 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C7C437B401 for ; Fri, 23 May 2003 06:20:18 -0700 (PDT) Received: from hermes.pressenter.com (hermes.pressenter.com [209.224.20.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA6B143FBF for ; Fri, 23 May 2003 06:20:17 -0700 (PDT) (envelope-from nospam@hiltonbsd.com) Received: from [209.224.36.144] (helo=daggar.sbgnet.net) by hermes.pressenter.com with smtp (Exim 3.16 #1) id 19JCSz-0007KB-00; Fri, 23 May 2003 08:20:13 -0500 Date: Fri, 23 May 2003 08:20:12 -0500 From: Stephen Hilton To: RJ45 Message-Id: <20030523082012.616d49da.nospam@hiltonbsd.com> In-Reply-To: References: X-Mailer: Sylpheed version 0.8.11 (GTK+ 1.2.10; i386-portbld-freebsd4.8) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: PF and FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 13:20:18 -0000 On Fri, 23 May 2003 02:03:00 -0600 (MDT) RJ45 wrote: > > HEllo, I heard that there is a kernel module which implements PF (OpenBSD) > into FreeBSD, this is a great news. > anyone knows if it works fine in FreeBSD ? anyone knows if there is any > project to include PF embedded in future FreeBSD releases (like ipf)? Rick, More info regarding your question at: http://pf4freebsd.love2party.net/index.html Regards, Stephen Hilton nospam@hiltonbsd.com From owner-freebsd-questions@FreeBSD.ORG Fri May 23 06:25:22 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8965637B401 for ; Fri, 23 May 2003 06:25:22 -0700 (PDT) Received: from sarov.ru (ns.sarov.ru [194.186.64.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8868143F3F for ; Fri, 23 May 2003 06:25:19 -0700 (PDT) (envelope-from vlad@unim.ru) Received: from unim.ru (www.unim.ru [194.186.64.163]) by sarov.ru (8.12.8/8.12.3+DrWeb-4.28) with ESMTP id h4NDPGNR063950 for ; Fri, 23 May 2003 17:25:16 +0400 (MSD) Received: from unim.ru (vlad [192.168.0.121]) by unim.ru (8.12.3/8.12.3) with ESMTP id h4NIeVpc059491 for ; Fri, 23 May 2003 18:40:32 GMT (envelope-from vlad@unim.ru) Message-ID: <3ECE2187.7030809@unim.ru> Date: Fri, 23 May 2003 17:26:31 +0400 From: Vladimir Sysoev User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.4a) Gecko/20030401 X-Accept-Language: en-us, en, ru MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: About semaphores X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 13:25:22 -0000 I install Iserverd on my FreeBSD 4.6 server and it reports to /var/log/messages : Not enough semaphores. change kernel parameters. I try to use sysctl kern.ipc... but these parameters are read only. 1. Does anybody know about how to increase maximum semaphores counts? 2. Where can I obtain information about kernel(sysctl) parameters (books manuals and others). Mail me. Thanks. Vladimir From owner-freebsd-questions@FreeBSD.ORG Fri May 23 06:31:31 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A09737B401 for ; Fri, 23 May 2003 06:31:31 -0700 (PDT) Received: from hermes.pressenter.com (hermes.pressenter.com [209.224.20.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61CD743F85 for ; Fri, 23 May 2003 06:31:30 -0700 (PDT) (envelope-from nospam@hiltonbsd.com) Received: from [209.224.36.144] (helo=daggar.sbgnet.net) by hermes.pressenter.com with smtp (Exim 3.16 #1) id 19JCdp-00017G-00; Fri, 23 May 2003 08:31:25 -0500 Date: Fri, 23 May 2003 08:31:23 -0500 From: Stephen Hilton To: William Scully Message-Id: <20030523083123.6d46ae19.nospam@hiltonbsd.com> In-Reply-To: <20030523120433.GA2281@scully.biz> References: <20030523120433.GA2281@scully.biz> X-Mailer: Sylpheed version 0.8.11 (GTK+ 1.2.10; i386-portbld-freebsd4.8) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: questions@freebsd.org Subject: Re: changing the default log in shell X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 13:31:31 -0000 On Fri, 23 May 2003 21:04:33 +0900 William Scully wrote: > When I installed 4.7, I chose bash as the default log in shell. I have come > to prefer tcsh and would like to make that the default. What is the best > way to go about that? Of course, I can switch shells on the fly, but I > want to avoid that extra step of cahnging from bash to tcsh, and instead > log straight into tcsh from the log- in prompt. Bill, You can use 'vipw' to edit the users account and change the reference to the users shell at the end of the users entry. Example: Change from myuser:xXxXxXxX:1002:1002::0:0:My User:/home/myuser:/bin/sh To myuser:xXxXxXxX:1002:1002::0:0:My User:/home/myuser:/bin/tcsh After this change the next time you log in as "myuser" you will have the shell "tcsh". Regards, Stephen Hilton nospam@hiltonbsd.com From owner-freebsd-questions@FreeBSD.ORG Fri May 23 06:37:57 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A2E9437B401 for ; Fri, 23 May 2003 06:37:57 -0700 (PDT) Received: from spxgate.servplex.com (ip66-105-58-82.z58-105-66.customer.algx.net [66.105.58.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7AC643F3F for ; Fri, 23 May 2003 06:37:56 -0700 (PDT) (envelope-from peter@servplex.com) Received: from peter.servplex.com ([192.168.0.10]) by spxgate.servplex.com (8.12.8/8.12.6) with ESMTP id h4NDn3eW029604; Fri, 23 May 2003 08:49:03 -0500 (CDT) (envelope-from peter@servplex.com) Message-Id: <5.2.0.9.2.20030523083737.017ad818@mail.servplex.com> X-Sender: peter@mail.servplex.com X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Fri, 23 May 2003 08:38:01 -0500 To: Aaron From: Peter Elsner In-Reply-To: <20030523001248.O57397@vengeful.webgods.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed cc: freebsd-questions@FreeBSD.ORG Subject: Re: A way to add multiple users at once? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 13:37:57 -0000 You would need to write one, using pw man pw (for more information)... Peter At 12:18 AM 5/23/2003 -0400, you wrote: >Greetings, > >I am sure this has been asked many times, but a search of the archives >didn't turn up anything. > >Is there a script or program of sorts that will allow me to add multiple >(about 150 users) with all the same permissions, shell, etc, as opposed to >adding each one individually? > >Running 4.8-RELEASE FreeBSD 4.8-RELEASE #0 > >Thanking you in advance for any direction in this. > >Aaron >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" ---------------------------------------------------------------------------------------------------------- Peter Elsner Vice President Of Customer Service (And System Administrator) 1835 S. Carrier Parkway Grand Prairie, Texas 75051 (972) 263-2080 - Voice (972) 263-2082 - Fax (972) 489-4838 - Cell Phone (425) 988-8061 - eFax I worry about my child and the Internet all the time, even though she's too young to have logged on yet. Here's what I worry about. I worry that 10 or 15 years from now, she will come to me and say "Daddy, where were you when they took freedom of the press away from the Internet?" -- Mike Godwin Unix IS user friendly... It's just selective about who its friends are. System Administration - It's a dirty job, but somebody said I had to do it. If you receive something that says 'Send this to everyone you know, pretend you don't know me. Standard $500/message proofreading fee applies for UCE. From owner-freebsd-questions@FreeBSD.ORG Fri May 23 06:42:53 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A592837B401 for ; Fri, 23 May 2003 06:42:53 -0700 (PDT) Received: from pa-plum1b-166.pit.adelphia.net (pa-plum1a-215.pit.adelphia.net [24.53.170.215]) by mx1.FreeBSD.org (Postfix) with ESMTP id E1EE843FAF for ; Fri, 23 May 2003 06:42:52 -0700 (PDT) (envelope-from wmoran@potentialtech.com) Received: from potentialtech.com (working [172.16.0.95]) h4NDgp0n019124; Fri, 23 May 2003 09:42:52 -0400 (EDT) (envelope-from wmoran@potentialtech.com) Message-ID: <3ECE255B.5080009@potentialtech.com> Date: Fri, 23 May 2003 09:42:51 -0400 From: Bill Moran User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3) Gecko/20030429 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Vladimir Sysoev References: <3ECE2187.7030809@unim.ru> In-Reply-To: <3ECE2187.7030809@unim.ru> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: About semaphores X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 13:42:54 -0000 Vladimir Sysoev wrote: > I install Iserverd on my FreeBSD 4.6 server and it reports to > /var/log/messages : Not enough semaphores. change kernel parameters. > > I try to use sysctl kern.ipc... but these parameters are read only. > > 1. Does anybody know about how to increase maximum semaphores counts? > 2. Where can I obtain information about kernel(sysctl) parameters (books > manuals and others). The only way I know of is to compile a custom kernel. See /usr/src/sys/i386/conf/LINT for information on semaphore settings. Also, the PostgreSQL folks use semaphores a lot and have some documentation on how to get enough semaphores (and other shared memory) on FreeBSD for different needs. If you install the PostgreSQL port, it installs the file /usr/local/pgsql/post-install-notes which has information on how to jack up shared memory usage (including semaphores). This file is likely to be available on the web as well. -- Bill Moran Potential Technologies http://www.potentialtech.com From owner-freebsd-questions@FreeBSD.ORG Fri May 23 07:05:17 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 93DF137B401 for ; Fri, 23 May 2003 07:05:17 -0700 (PDT) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id 86E0343F3F for ; Fri, 23 May 2003 07:05:16 -0700 (PDT) (envelope-from freebsd-questions@m.gmane.org) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19JD1L-0002xk-00 for ; Fri, 23 May 2003 15:55:43 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19JCzt-0002pq-00 for ; Fri, 23 May 2003 15:54:13 +0200 From: Ben Bullock Date: Fri, 23 May 2003 09:56:03 -0400 Lines: 14 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@main.gmane.org User-Agent: KNode/0.7.2 Sender: news Subject: Re: recs on a CD burner that works for FreeBSD 5.0? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: brb3@pobox.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 14:05:17 -0000 george donnelly wrote: > Can anyone recommend a CD burner that will work with FreeBSD 5.0? > > if not, how about one that works with 4.6, 4.7 or 4.8? > > or if not, can anyone recommend another storage device, brand, model > number etc that will work with any of these versions? I'm successfully using a LITE-ON LTR-52246S on a FreeBSD 4.8 system. -Ben From owner-freebsd-questions@FreeBSD.ORG Fri May 23 07:14:35 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A52637B401; Fri, 23 May 2003 07:14:35 -0700 (PDT) Received: from fed1mtao01.cox.net (fed1mtao01.cox.net [68.6.19.244]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F19D43F85; Fri, 23 May 2003 07:14:35 -0700 (PDT) (envelope-from ydg@cox.net) Received: from smtp.west.cox.net ([172.18.180.56]) by fed1mtao01.cox.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with SMTP id <20030523141433.REJU19153.fed1mtao01.cox.net@smtp.west.cox.net>; Fri, 23 May 2003 10:14:33 -0400 From: To: questions@freebsd.org Date: Fri, 23 May 2003 10:14:35 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-Id: <20030523141433.REJU19153.fed1mtao01.cox.net@smtp.west.cox.net> cc: mobile@freebsd.org Subject: sis dri support X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 14:14:35 -0000 I have a sis vga chipset [a relatively common laptop chipset] in my 4.8-stable system. I would like to see DRI support for it. DRI modules are available under linux, which tells me its both possible, and at least work has been started on the project. perhaps this is already available for fbsd, and i just missed information on it. if so pointing me in the right direction would be much appreciated. From owner-freebsd-questions@FreeBSD.ORG Fri May 23 07:15:47 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC47937B401 for ; Fri, 23 May 2003 07:15:47 -0700 (PDT) Received: from jive.SoftHome.net (jive.SoftHome.net [66.54.152.27]) by mx1.FreeBSD.org (Postfix) with SMTP id A253543F75 for ; Fri, 23 May 2003 07:15:46 -0700 (PDT) (envelope-from jason.stubbs@softhome.net) Received: (qmail 21575 invoked by uid 417); 23 May 2003 14:15:46 -0000 Received: from shunt-smtp-out-0 (HELO softhome.net) (172.16.3.12) by shunt-smtp-out-0 with SMTP; 23 May 2003 14:15:46 -0000 Received: from P061204092080.ppp.prin.ne.jp ([61.204.92.80]) by softhome.net with esmtp; Fri, 23 May 2003 08:15:35 -0600 From: Jason Stubbs To: freebsd-questions@freebsd.org Date: Fri, 23 May 2003 23:11:10 +0900 User-Agent: KMail/1.5.2 References: <200305222257.53472.jason.stubbs@softhome.net> In-Reply-To: <200305222257.53472.jason.stubbs@softhome.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200305232311.10731.jason.stubbs@softhome.net> Subject: Please help!! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 14:15:48 -0000 My apologies to anyone who is also subscribed to freebsd-mobile. All I want to know is how can I overide the irq that pccardd is allocating to my pcmcia modem. Can anyone enlighten me? Presently, I have removed M$ software from my machine and am using Gentoo Linux and am trying to set FreeBSD. There are only two things that are preventing me from getting rid of Gentoo (it is pretty good but not the most stable) and moving to a pure BSD system. One problem is that which I have described below; the other is my the system locking up ~5 seconds after getting into Xwindows. I have an Nvidia chipset and am trying to use the beta driver (for mesa support) and haven't had a chance to really figure out that problem yet, but if I can't get semi-decent speeds from my modem (really a wireless internet card) then I'll have to throw BSD away. PLEASE don't make me do that; it seems to be very stable and ridiculously fast. On Thursday 22 May 2003 23:04, Jason Stubbs wrote: > My apologies if this has already been received by the list, but there was > some problem with my subscription. > > I found some information after attempting to post this however. It > basically said that the behavious below was by design as freebsd supports > irq sharing. Also, after closer analysis of dmesg, I think the pcm device > may be on irq 3. Am I correct? Will specifying a different irq in the > kernel configuration force it to a different irq (hopefully freeing it up > for use by the modem)? > > ---------- Forwarded Message ---------- > > Subject: pccardd forces irq 9 on pcmcia modem > Date: Thursday 22 May 2003 13:26 > From: Jason Stubbs > To: freebsd-mobile@freebsd.org > > Hello, > > I'm having trouble with a pcmcia modem. It is actually detected and set up > as a "generic serial" but it runs very slowly. I should be able to get > about 3.4k/s but can only get about 1k/s. I had the same trouble with Linux > but was able to fix it; I found that the irq was being set to 0 and setting > it to 3 made everything run perfectly. Under FreeBSD, I tried setting up > /etc/pccard.conf as follows but it still forces it to irq 9: > > irq 3 > card "HONDA ELECTRON CO.,LTD" "AH-H401C" > config 0x9 "sio" 3 > > As you can see from the output of dmesg below, there is no other device on > irq 3. I also have another (lesser) problem; no pccardd entries appear in > /var/log/messages. If I run pccardd -d, they all show up fine on the > console. I tried uncommenting the "*.* /var/log/all.log" line in > /etc/syslog.conf, but they don't show up there either. > > The output of pccardc dumpcis is as follows: > > Configuration data for card in slot 1 > Tuple #1, code = 0x1 (Common memory descriptor), length = 3 > 000: 00 00 ff > Common memory device information: > Device number 1, type No device, WPS = OFF > Speed = No speed, Memory block size = 512b, 1 units > Tuple #2, code = 0x15 (Version 1 info), length = 35 > 000: 04 01 48 4f 4e 44 41 20 45 4c 45 43 54 52 4f 4e > 010: 20 43 4f 2e 2c 4c 54 44 00 41 48 2d 48 34 30 31 > 020: 43 00 ff > Version = 4.1, Manuf = [HONDA ELECTRON CO.,LTD], card vers = [AH-H401C] > Tuple #3, code = 0x20 (Manufacturer ID), length = 4 > 000: 36 c0 1a 00 > PCMCIA ID = 0xc036, OEM ID = 0x1a > Tuple #4, code = 0x21 (Functional ID), length = 2 > 000: 02 01 > Serial port/modem - POST initialize > Tuple #5, code = 0x22 (Functional EXT), length = 4 > 000: 00 02 0f 5c > Serial interface extension: > 16550 UART, Parity - Space,Mark,Odd,Even > Data bit - 7bit,8bit, Stop bit - 1bit,2bit > Tuple #6, code = 0x22 (Functional EXT), length = 9 > 000: 05 1f 0f 00 10 00 00 10 00 > Data modem interface capabilities: > Tuple #7, code = 0x22 (Functional EXT), length = 9 > 000: 06 1f 0f 00 10 00 00 10 00 > Fax/modem interface capabilities: > Tuple #8, code = 0x22 (Functional EXT), length = 12 > 000: 02 06 00 3b 0c 03 03 0f 02 00 00 00 > Data modem services available: > Tuple #9, code = 0x22 (Functional EXT), length = 8 > 000: 13 06 00 0f 00 02 00 00 > Fax1/modem services available: > Tuple #10, code = 0x22 (Functional EXT), length = 8 > 000: 23 06 00 0f 00 02 00 00 > Fax2/modem services available: > Tuple #11, code = 0x1a (Configuration map), length = 5 > 000: 01 2d 00 04 13 > Reg len = 2, config register addr = 0x400, last config = 0x2d > Registers: XX--X--- > Tuple #12, code = 0x1b (Configuration entry), length = 17 > 000: c9 01 99 17 55 4d 5d 2e ab 60 f8 02 07 30 bc 86 > 010: 00 > Config index = 0x9(default) > Interface byte = 0x1 (I/O) > Vcc pwr: > Nominal operating supply voltage: 5 x 1V > Minimum operating supply voltage: 4.5 x 1V > Maximum operating supply voltage: 5.5 x 1V > Max current average over 1 second: 2.5 x 100mA > Card decodes 11 address lines, 8 Bit I/O only > I/O address # 1: block start = 0x2f8 block length = 0x8 > IRQ modes: Level > IRQs: 2 3 4 5 7 9 10 15 > Max twin cards = 0 > Misc attr: > Tuple #13, code = 0x1b (Configuration entry), length = 10 > 000: 09 01 17 b5 1e b5 0e b5 2e 2e > Config index = 0x9 > Vcc pwr: > Nominal operating supply voltage: 3 x 1V, ext = 0x1e > Minimum operating supply voltage: 3 x 1V, ext = 0xe > Maximum operating supply voltage: 3 x 1V, ext = 0x2e > Max current average over 1 second: 2.5 x 100mA > Tuple #14, code = 0x1b (Configuration entry), length = 17 > 000: c8 01 99 17 55 4d 5d 2e ab 60 f8 03 07 30 bc 86 > 010: 00 > Config index = 0x8(default) > Interface byte = 0x1 (I/O) > Vcc pwr: > Nominal operating supply voltage: 5 x 1V > Minimum operating supply voltage: 4.5 x 1V > Maximum operating supply voltage: 5.5 x 1V > Max current average over 1 second: 2.5 x 100mA > Card decodes 11 address lines, 8 Bit I/O only > I/O address # 1: block start = 0x3f8 block length = 0x8 > IRQ modes: Level > IRQs: 2 3 4 5 7 9 10 15 > Max twin cards = 0 > Misc attr: > Tuple #15, code = 0x1b (Configuration entry), length = 10 > 000: 08 01 17 b5 1e b5 0e b5 2e 2e > Config index = 0x8 > Vcc pwr: > Nominal operating supply voltage: 3 x 1V, ext = 0x1e > Minimum operating supply voltage: 3 x 1V, ext = 0xe > Maximum operating supply voltage: 3 x 1V, ext = 0x2e > Max current average over 1 second: 2.5 x 100mA > Tuple #16, code = 0x1b (Configuration entry), length = 17 > 000: ca 01 99 17 55 4d 5d 2e ab 60 e8 03 07 30 bc 86 > 010: 00 > Config index = 0xa(default) > Interface byte = 0x1 (I/O) > Vcc pwr: > Nominal operating supply voltage: 5 x 1V > Minimum operating supply voltage: 4.5 x 1V > Maximum operating supply voltage: 5.5 x 1V > Max current average over 1 second: 2.5 x 100mA > Card decodes 11 address lines, 8 Bit I/O only > I/O address # 1: block start = 0x3e8 block length = 0x8 > IRQ modes: Level > IRQs: 2 3 4 5 7 9 10 15 > Max twin cards = 0 > Misc attr: > Tuple #17, code = 0x1b (Configuration entry), length = 10 > 000: 0a 01 17 b5 1e b5 0e b5 2e 2e > Config index = 0xa > Vcc pwr: > Nominal operating supply voltage: 3 x 1V, ext = 0x1e > Minimum operating supply voltage: 3 x 1V, ext = 0xe > Maximum operating supply voltage: 3 x 1V, ext = 0x2e > Max current average over 1 second: 2.5 x 100mA > Tuple #18, code = 0x1b (Configuration entry), length = 17 > 000: cb 01 99 17 55 4d 5d 2e ab 60 e8 02 07 30 bc 86 > 010: 00 > Config index = 0xb(default) > Interface byte = 0x1 (I/O) > Vcc pwr: > Nominal operating supply voltage: 5 x 1V > Minimum operating supply voltage: 4.5 x 1V > Maximum operating supply voltage: 5.5 x 1V > Max current average over 1 second: 2.5 x 100mA > Card decodes 11 address lines, 8 Bit I/O only > I/O address # 1: block start = 0x2e8 block length = 0x8 > IRQ modes: Level > IRQs: 2 3 4 5 7 9 10 15 > Max twin cards = 0 > Misc attr: > Tuple #19, code = 0x1b (Configuration entry), length = 10 > 000: 0b 01 17 b5 1e b5 0e b5 2e 2e > Config index = 0xb > Vcc pwr: > Nominal operating supply voltage: 3 x 1V, ext = 0x1e > Minimum operating supply voltage: 3 x 1V, ext = 0xe > Maximum operating supply voltage: 3 x 1V, ext = 0x2e > Max current average over 1 second: 2.5 x 100mA > Tuple #20, code = 0x1b (Configuration entry), length = 10 > 000: 2d 09 17 55 4d 5d 2e a3 40 07 > Config index = 0x2d > Vcc pwr: > Nominal operating supply voltage: 5 x 1V > Minimum operating supply voltage: 4.5 x 1V > Maximum operating supply voltage: 5.5 x 1V > Max current average over 1 second: 2.5 x 100mA > Card decodes 3 address lines, 8 Bit I/O only > I/O address # 1: block length = 0x8 > Tuple #21, code = 0x1b (Configuration entry), length = 10 > 000: 2d 01 17 b5 1e b5 0e b5 2e 2e > Config index = 0x2d > Vcc pwr: > Nominal operating supply voltage: 3 x 1V, ext = 0x1e > Minimum operating supply voltage: 3 x 1V, ext = 0xe > Maximum operating supply voltage: 3 x 1V, ext = 0x2e > Max current average over 1 second: 2.5 x 100mA > Tuple #22, code = 0x14 (No link), length = 0 > Tuple #23, code = 0xff (Terminator), length = 0 > 2 slots found > > The output of dmesg is as follows: > > Copyright (c) 1992-2003 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD 4.8-STABLE #1: Thu May 22 10:37:15 JST 2003 > root@localhost:/usr/obj/usr/src/sys/MYKERNEL > Timecounter "i8254" frequency 1193175 Hz > CPU: mobile AMD Athlon(tm) XP 1800+ (1533.38-MHz 686-class CPU) > Origin = "AuthenticAMD" Id = 0x681 Stepping = 1 > > Features=0x383f9ff,P AT,PSE36,MMX,FXSR,SSE> AMD Features=0xc0480000 real > memory = 267321344 (261056K bytes) > avail memory = 255954944 (249956K bytes) > Preloaded elf kernel "kernel" at 0xc0410000. > VESA: v3.0, 16384k memory, flags:0x1, mode table:0xc0392302 (1000022) > VESA: NVidia > netsmb_dev: loaded > Pentium Pro MTRR support enabled > md0: Malloc disk > Using $PIR table, 6 entries at 0xc00fdf60 > apm0: on motherboard > apm0: found APM BIOS v1.2, connected at v1.2 > npx0: on motherboard > npx0: INT 16 interface > pcib0: on motherboard > pci0: on pcib0 > agp0: mem 0xe8000000-0xefffffff at device > 0.0 on pci0 > pcib1: at device 1.0 on pci0 > pci1: on pcib1 > pci1: at 0.0 irq 11 > rl0: port 0x1400-0x14ff mem > 0xe0000000-0xe00001ff irq 9 at device 12.0 on pci0 > rl0: Ethernet address: 08:00:46:95:6d:53 > miibus0: on rl0 > rlphy0: on miibus0 > rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > pci_cfgintr_linked: linked (1) to hard-routed irq 9 > pci_cfgintr: 0:14 INTA routed to irq 9 > pcic0: irq 9 at device 14.0 on pci0 > pcic0: PCI Memory allocated: 0x88000000 > pccard0: on pcic0 > pci_cfgintr_linked: linked (2) to hard-routed irq 9 > pci_cfgintr: 0:14 INTB routed to irq 9 > pcic1: irq 9 at device 14.1 on pci0 > pcic1: PCI Memory allocated: 0x88001000 > pccard1: on pcic1 > pci0: (vendor=0x1180, dev=0x0552) at 14.2 > uhci0: port 0x1020-0x103f irq 9 at device 16.0 > on pci0 > usb0: on uhci0 > usb0: USB revision 1.0 > uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub0: 2 ports with 2 removable, self powered > uhci1: port 0x1040-0x105f irq 0 at device 16.1 > on pci0 > pci_cfgintr_search: linked (0) to configured irq 9 at 0:12:0 > pci_cfgintr: 0:16 INTB routed to irq 9 > usb1: on uhci1 > usb1: USB revision 1.0 > uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub1: 2 ports with 2 removable, self powered > uhci2: port 0x1060-0x107f irq 0 at device 16.2 > on pci0 > pci_cfgintr_search: linked (0) to configured irq 9 at 0:12:0 > pci_cfgintr: 0:16 INTC routed to irq 9 > usb2: on uhci2 > usb2: USB revision 1.0 > uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub2: 2 ports with 2 removable, self powered > pci0: at 16.3 > isab0: at device 17.0 on pci0 > isa0: on isab0 > atapci0: port 0x1000-0x100f irq 0 at device > 17.1 on pci0 > ata0: at 0x1f0 irq 14 on atapci0 > ata1: at 0x170 irq 15 on atapci0 > pcm0: port 0x1800-0x18ff at device 17.5 on pci0 > pci_cfgintr_search: linked (3) to configured irq 9 at 0:14:1 > pci_cfgintr: 0:17 INTC routed to irq 9 > pcm0: (id=0x41445372) > chip0: port 0x1c00-0x1cff at device 17.6 on pci0 > orm0: $config '=0A= . 'in cvsweb.cgi, or the environment variable '=0A= . 'CVSWEB_CONFIG, to your cvsweb.conf '=0A= . 'configuration file first.');=0A= }=0A= =0A= undef %input;=0A= if ($query =3D $ENV{'QUERY_STRING'}) {=0A= foreach (split(/&/, $query)) {=0A= y/+/ /;=0A= s/%(..)/sprintf("%c", hex($1))/ge; # unquote %-quoted=0A= if (/(\S+)=3D(.*)/) {=0A= $input{$1} =3D $2 if ($2 ne "");=0A= }=0A= else {=0A= $input{$_}++;=0A= }=0A= }=0A= }=0A= =0A= # For backwards compability, set only_with_tag to only_on_branch if set. =0A= $input{only_with_tag} =3D $input{only_on_branch}=0A= if (defined($input{only_on_branch}));=0A= =0A= foreach (keys %DEFAULTVALUE)=0A= {=0A= # replace not given parameters with the default parameters=0A= if (!defined($input{$_}) || $input{$_} eq "") {=0A= # Empty Checkboxes in forms return -- nothing. So we define a helper=0A= # variable in these forms (copt) which indicates that we just set=0A= # parameters with a checkbox=0A= if (!defined($input{"copt"})) {=0A= # 'copt' isn't defined --> empty input is not the result=0A= # of empty input checkbox --> set default=0A= $input{$_} =3D $DEFAULTVALUE{$_} if (defined($DEFAULTVALUE{$_}));=0A= }=0A= else {=0A= # 'copt' is defined -> the result of empty input checkbox=0A= # -> set to zero (disable) if default is a boolean (0|1).=0A= $input{$_} =3D 0=0A= if (defined($DEFAULTVALUE{$_})=0A= && ($DEFAULTVALUE{$_} eq "0" || $DEFAULTVALUE{$_} eq "1"));=0A= }=0A= }=0A= }=0A= =0A= $barequery =3D "";=0A= foreach (@stickyvars) {=0A= # construct a query string with the sticky non default parameters set=0A= if (defined($input{$_}) && ($input{$_} ne "") && =0A= (!defined($DEFAULTVALUE{$_}) || $input{$_} ne $DEFAULTVALUE{$_})) {=0A= if ($barequery) {=0A= $barequery =3D $barequery . "&";=0A= }=0A= my $thisval =3D urlencode($_) . "=3D" . urlencode($input{$_});=0A= $barequery .=3D $thisval;=0A= }=0A= }=0A= # is there any query ?=0A= if ($barequery) {=0A= $query =3D "?$barequery";=0A= $barequery =3D "&" . $barequery;=0A= }=0A= else {=0A= $query =3D "";=0A= }=0A= =0A= # get actual parameters=0A= $sortby =3D $input{"sortby"};=0A= $bydate =3D 0;=0A= $byrev =3D 0;=0A= $byauthor =3D 0;=0A= $bylog =3D 0;=0A= $byfile =3D 0;=0A= if ($sortby eq "date") {=0A= $bydate =3D 1;=0A= }=0A= elsif ($sortby eq "rev") {=0A= $byrev =3D 1;=0A= }=0A= elsif ($sortby eq "author") {=0A= $byauthor =3D 1;=0A= }=0A= elsif ($sortby eq "log") {=0A= $bylog =3D 1;=0A= }=0A= else {=0A= $byfile =3D 1;=0A= }=0A= =0A= $hr_default =3D $input{'f'} eq 'h';=0A= =0A= $logsort =3D $input{"logsort"};=0A= =0A= =0A= ## Default CVS-Tree=0A= if (!defined($CVSROOT{$cvstreedefault})) {=0A= &fatal("500 Internal Error",=0A= "\$cvstreedefault points to a repository = ($cvstreedefault)"=0A= . "not defined in %CVSROOT "=0A= . "(edit your configuration file $config)");=0A= }=0A= $cvstree =3D $cvstreedefault;=0A= $cvsroot =3D $CVSROOT{"$cvstree"};=0A= =0A= # alternate CVS-Tree, configured in cvsweb.conf=0A= if ($input{'cvsroot'}) {=0A= if ($CVSROOT{$input{'cvsroot'}}) {=0A= $cvstree =3D $input{'cvsroot'};=0A= $cvsroot =3D $CVSROOT{"$cvstree"};=0A= }=0A= }=0A= =0A= # create icons out of description=0A= foreach my $k (keys %ICONS) {=0A= no strict 'refs';=0A= my ($itxt,$ipath,$iwidth,$iheight) =3D @{$ICONS{$k}};=0A= if ($ipath) {=0A= $ {"${k}icon"} =3D "3D\"$itxt\"";=0A= }=0A= else {=0A= $ {"${k}icon"} =3D $itxt;=0A= }=0A= }=0A= =0A= # Do some special configuration for cvstrees=0A= do "$config-$cvstree" if (-f "$config-$cvstree");=0A= =0A= $fullname =3D $cvsroot . '/' . $where;=0A= $mimetype =3D &getMimeTypeFromSuffix ($fullname);=0A= $defaultTextPlain =3D ($mimetype eq "text/plain");=0A= $defaultViewable =3D $allow_markup && viewable($mimetype);=0A= =0A= # search for GZIP if compression allowed=0A= # We've to find out if the GZIP-binary exists .. otherwise=0A= # ge get an Internal Server Error if we try to pipe the=0A= # output through the nonexistent gzip .. =0A= # any more elegant ways to prevent this are welcome!=0A= if ($allow_compress && $maycompress && !$has_zlib) {=0A= foreach (split(/:/, $ENV{PATH})) {=0A= if (-x "$_/gzip") {=0A= $GZIPBIN =3D "$_/gzip";=0A= last;=0A= }=0A= }=0A= }=0A= =0A= if (-d $fullname) {=0A= #=0A= # ensure, that directories always end with (exactly) one '/'=0A= # to allow relative URL's. If they're not, make a redirect.=0A= ##=0A= my $pathinfo =3D defined($ENV{'PATH_INFO'}) ? $ENV{'PATH_INFO'} : "";=0A= if (!($pathinfo =3D~ m|/$|) || ($pathinfo =3D~ m |/{2,}$|)) {=0A= redirect ($scriptwhere . '/' . $query);=0A= }=0A= else {=0A= $where .=3D '/';=0A= $scriptwhere .=3D '/';=0A= }=0A= }=0A= =0A= if (!-d $cvsroot) {=0A= &fatal("500 Internal Error",'$CVSROOT not found!

The server on = which the CVS tree lives is probably down. Please try again in a few = minutes.');=0A= }=0A= =0A= #=0A= # See if the module is in our forbidden list.=0A= #=0A= $where =3D~ m:([^/]*):;=0A= $module =3D $1;=0A= if ($module && &forbidden_module($module)) {=0A= &fatal("403 Forbidden", "Access to $where forbidden.");=0A= }=0A= ##############################=0A= # View a directory=0A= ###############################=0A= elsif (-d $fullname) {=0A= my $dh =3D do {local(*DH);};=0A= opendir($dh, $fullname) || &fatal("404 Not Found","$where: $!");=0A= my @dir =3D readdir($dh);=0A= closedir($dh);=0A= my @subLevelFiles =3D findLastModifiedSubdirs(@dir)=0A= if ($show_subdir_lastmod);=0A= getDirLogs($cvsroot,$where,@subLevelFiles);=0A= =0A= if ($where eq '/') {=0A= html_header("$defaulttitle");=0A= print $long_intro;=0A= }=0A= else {=0A= html_header("$where");=0A= print $short_instruction;=0A= }=0A= =0A= my $descriptions;=0A= if (($use_descriptions) && open (DESC, = "<$cvsroot/CVSROOT/descriptions")) {=0A= while () {=0A= chomp;=0A= my ($dir,$description) =3D /(\S+)\s+(.*)/;=0A= $descriptions{$dir} =3D $description;=0A= }=0A= }=0A= =0A= print "

\n";=0A= # give direct access to dirs=0A= if ($where eq '/') {=0A= chooseMirror();=0A= chooseCVSRoot();=0A= }=0A= else {=0A= print "

Current directory: ", &clickablePath($where,0), = "\n";=0A= =0A= print "

Current tag: ", $input{only_with_tag}, "\n" if=0A= $input{only_with_tag};=0A= =0A= }=0A= =0A= =0A= print "


\n";=0A= # Using in this manner violates the HTML2.0 spec but=0A= # provides the results that I want in most browsers. Another=0A= # case of layout spooging up HTML.=0A= =0A= my $infocols =3D 0;=0A= if ($dirtable) {=0A= if (defined($tableBorderColor)) {=0A= # Can't this be done by defining the border for the inner table?=0A= print "
";=0A= }=0A= print "\n";=0A= $infocols++;=0A= print "";=0A= # do not display the other column-headers, if we do not have any = files=0A= # with revision information:=0A= if (scalar(%fileinfo)) {=0A= $infocols++;=0A= print "";=0A= $infocols++;=0A= print "";=0A= if ($show_author) {=0A= $infocols++;=0A= print "";=0A= }=0A= $infocols++;=0A= print "";=0A= }=0A= elsif ($use_descriptions) {=0A= print "\n";=0A= }=0A= else {=0A= print "\n";=0A= }=0A= my $dirrow =3D 0;=0A= =0A= my $i;=0A= lookingforattic:=0A= for ($i =3D 0; $i <=3D $#dir; $i++) {=0A= if ($dir[$i] eq "Attic") {=0A= last lookingforattic;=0A= }=0A= }=0A= if (!$input{'hideattic'} && ($i <=3D $#dir) &&=0A= opendir($dh, $fullname . "/Attic")) {=0A= splice(@dir, $i, 1,=0A= grep((s|^|Attic/|,!m|/\.|), readdir($dh)));=0A= closedir($dh);=0A= }=0A= =0A= my $hideAtticToggleLink =3D "[Hide]" if (!$input{'hideattic'});=0A= =0A= # Sort without the Attic/ pathname.=0A= # place directories first=0A= =0A= my $attic;=0A= my $url;=0A= my $fileurl;=0A= my $filesexists;=0A= my $filesfound;=0A= =0A= foreach (sort { &fileSortCmp } @dir) {=0A= if ($_ eq '.') {=0A= next;=0A= }=0A= # ignore CVS lock and stale NFS files=0A= next if (/^#cvs\.|^,|^\.nfs/);=0A= =0A= # Check whether to show the CVSROOT path=0A= next if ($input{'hidecvsroot'} && ($_ eq 'CVSROOT'));=0A= =0A= # Check whether the module is in the restricted list=0A= next if ($_ && &forbidden_module($_));=0A= =0A= # Ignore non-readable files=0A= next if ($input{'hidenonreadable'} && !(-r "$fullname/$_"));=0A= =0A= if (s|^Attic/||) {=0A= $attic =3D " (in the Attic) " . $hideAtticToggleLink;=0A= }=0A= else {=0A= $attic =3D "";=0A= }=0A= =0A= if ($_ eq '..' || -d "$fullname/$_") {=0A= next if ($_ eq '..' && $where eq '/');=0A= my ($rev,$date,$log,$author,$filename);=0A= ($rev,$date,$log,$author,$filename) =3D @{$fileinfo{$_}}=0A= if (defined($fileinfo{$_}));=0A= print "\n";=0A= }=0A= else {=0A= print "
\n";=0A= }=0A= $dirrow++;=0A= }=0A= elsif (s/,v$//) {=0A= $fileurl =3D ($attic ? "Attic/" : "") . urlencode($_);=0A= $url =3D $fileurl . $query;=0A= my $rev =3D '';=0A= my $date =3D '';=0A= my $log =3D '';=0A= my $author =3D '';=0A= $filesexists++;=0A= next if (!defined($fileinfo{$_}));=0A= ($rev,$date,$log,$author) =3D @{$fileinfo{$_}};=0A= $filesfound++;=0A= print "" if ($dirtable);=0A= print (($dirtable) ? "" : "
");=0A= $dirrow++;=0A= }=0A= print "\n";=0A= }=0A= if ($dirtable && defined($tableBorderColor)) {=0A= print "
";=0A= print "" if (!$byfile);=0A= print "File";=0A= print "" if (!$byfile);=0A= print "";=0A= print "" if (!$byrev);=0A= print "Rev.";=0A= print "" if (!$byrev);=0A= print "";=0A= print "" if (!$bydate);=0A= print "Age";=0A= print "" if (!$bydate);=0A= print "";=0A= print "" if (!$byauthor);=0A= print "Author";=0A= print "" if (!$byauthor);=0A= print "";=0A= print "" if = (!$bylog);=0A= print "Last log entry";=0A= print "" if (!$bylog);=0A= print "";=0A= print "Description";=0A= $infocols++;=0A= }=0A= print "
" if = ($dirtable);=0A= if ($_ eq '..') {=0A= $url =3D "../" . $query;=0A= if ($nofilelinks) {=0A= print $backicon;=0A= }=0A= else {=0A= print &link($backicon,$url);=0A= }=0A= print " ", &link("Previous Directory",$url);=0A= }=0A= else {=0A= $url =3D urlencode($_) . '/' . $query;=0A= print "";=0A= if ($nofilelinks) {=0A= print $diricon;=0A= }=0A= else {=0A= print &link($diricon,$url);=0A= }=0A= print " ", &link($_ . "/", $url), $attic;=0A= if ($_ eq "Attic") {=0A= print "  [Don't hide]";=0A= }=0A= } =0A= # Show last change in dir=0A= if ($filename) {=0A= print "  " if ($dirtable);=0A= if ($date) {=0A= print " " . readableTime(time() - $date,0) . "";=0A= }=0A= if ($show_author) {=0A= print " " if ($dirtable);=0A= print $author;=0A= }=0A= print " " if ($dirtable);=0A= $filename =3D~ s%^[^/]+/%%;=0A= print "$filename/$rev";=0A= print "
" if ($dirtable);=0A= if ($log) {=0A= print " "=0A= . &htmlify(substr($log,0,$shortLogLen));=0A= if (length $log > 80) {=0A= print "...";=0A= }=0A= print "";=0A= }=0A= }=0A= else {=0A= my ($dwhere) =3D ($where ne "/" ? $where : "") . $_;=0A= if ($use_descriptions && defined $descriptions{$dwhere}) {=0A= print "
 " if $dirtable;=0A= print $descriptions{$dwhere};=0A= } elsif ($dirtable && $infocols > 1) {=0A= # close the row with the appropriate number of=0A= # columns, so that the vertical seperators are visible=0A= my($cols) =3D $infocols;=0A= while ($cols > 1) {=0A= print " ";=0A= $cols--;=0A= }=0A= }=0A= }=0A= if ($dirtable) {=0A= print "
" if = ($dirtable);=0A= print "";=0A= if ($nofilelinks) {=0A= print $fileicon;=0A= }=0A= else {=0A= print &link($fileicon,$url);=0A= }=0A= print " ", &link($_, $url), $attic;=0A= print " " if ($dirtable);=0A= download_link($fileurl,=0A= $rev, $rev, =0A= $defaultViewable ? "text/x-cvsweb-markup" : undef);=0A= print " " if ($dirtable);=0A= if ($date) {=0A= print " " . readableTime(time() - $date,0) . "";=0A= }=0A= if ($show_author) {=0A= print " " if ($dirtable);=0A= print $author;=0A= }=0A= print " " if ($dirtable);=0A= if ($log) {=0A= print " " . &htmlify(substr($log,0,$shortLogLen));=0A= if (length $log > 80) {=0A= print "...";=0A= }=0A= print "";=0A= }=0A= print "
";=0A= }=0A= print "". ($dirtable =3D=3D 1) ? "
" : "
" . "\n";=0A= =0A= if ($filesexists && !$filesfound) {=0A= print "

NOTE: There are $filesexists files, but none = matches the current tag ($input{only_with_tag})\n";=0A= }=0A= if ($input{only_with_tag} && (!%tags || !$tags{$input{only_with_tag}})) = {=0A= %tags =3D %alltags=0A= }=0A= if (scalar %tags =0A= || $input{only_with_tag} =0A= || $edit_option_form=0A= || defined($input{"options"})) {=0A= print "


";=0A= }=0A= =0A= if (scalar %tags || $input{only_with_tag}) {=0A= print "
\n";=0A= foreach my $var (@stickyvars) {=0A= print "\n"=0A= if (defined($input{$var})=0A= && (!defined($DEFAULTVALUE{$var})=0A= || $input{$var} ne $DEFAULTVALUE{$var})=0A= && $input{$var} ne ""=0A= && $var ne "only_with_tag");=0A= }=0A= print "Show only files with tag:\n";=0A= print "\n";=0A= print "\n";=0A= print "
\n";=0A= }=0A= my $formwhere =3D $scriptwhere;=0A= $formwhere =3D~ s|Attic/?$|| if ($input{'hideattic'});=0A= =0A= if ($edit_option_form || defined($input{"options"})) {=0A= print "
\n";=0A= print "\n";=0A= if ($cvstree ne $cvstreedefault) {=0A= print "\n";=0A= }=0A= print "
";=0A= print "";=0A= print "";=0A= print "";=0A= print "";=0A= print "\n";=0A= print "
Preferences
Sort files by revisions by: \n";=0A= print "
Diff format: ";=0A= printDiffSelect(0);=0A= print "Show Attic files: ";=0A= print "
";=0A= print "
\n";=0A= }=0A= print &html_footer;=0A= print "\n";=0A= } =0A= =0A= ###############################=0A= # View Files=0A= ###############################=0A= elsif (-f $fullname . ',v') {=0A= if (defined($input{'rev'}) || $doCheckout) {=0A= &doCheckout($fullname, $input{'rev'});=0A= gzipclose();=0A= exit;=0A= }=0A= if (defined($input{'annotate'}) && $allow_annotate) {=0A= &doAnnotate($input{'annotate'});=0A= gzipclose();=0A= exit;=0A= }=0A= if (defined($input{'r1'}) && defined($input{'r2'})) {=0A= &doDiff($fullname, $input{'r1'}, $input{'tr1'},=0A= $input{'r2'}, $input{'tr2'}, $input{'f'});=0A= gzipclose();=0A= exit;=0A= }=0A= print("going to dolog($fullname)\n") if ($verbose);=0A= &doLog($fullname);=0A= ##############################=0A= # View Diff=0A= ##############################=0A= }=0A= elsif ($fullname =3D~ s/\.diff$// && -f $fullname . ",v" &&=0A= $input{'r1'} && $input{'r2'}) {=0A= =0A= # $where-diff-removal if 'cvs rdiff' is used=0A= # .. but 'cvs rdiff'doesn't support some options=0A= # rcsdiff does (-w and -p), so it is disabled=0A= # $where =3D~ s/\.diff$//;=0A= =0A= # Allow diffs using the ".diff" extension=0A= # so that browsers that default to the URL=0A= # for a save filename don't save diff's as=0A= # e.g. foo.c=0A= &doDiff($fullname, $input{'r1'}, $input{'tr1'},=0A= $input{'r2'}, $input{'tr2'}, $input{'f'});=0A= gzipclose();=0A= exit;=0A= }=0A= elsif (($newname =3D $fullname) =3D~ s|/([^/]+)$|/Attic/$1| &&=0A= -f $newname . ",v") {=0A= # The file has been removed and is in the Attic.=0A= # Send a redirect pointing to the file in the Attic.=0A= (my $newplace =3D $scriptwhere) =3D~ s|/([^/]+)$|/Attic/$1|;=0A= &redirect($newplace . "?" . $ENV{QUERY_STRING});=0A= exit;=0A= }=0A= elsif (0 && (my @files =3D &safeglob($fullname . ",v"))) {=0A= http_header("text/plain");=0A= print "You matched the following files:\n";=0A= print join("\n", @files);=0A= # Find the tags from each file=0A= # Display a form offering diffs between said tags=0A= }=0A= else {=0A= my $fh =3D do {local(*FH);};=0A= my ($xtra, $module);=0A= # Assume it's a module name with a potential path following it.=0A= $xtra =3D $& if (($module =3D $where) =3D~ s|/.*||);=0A= # Is there an indexed version of modules?=0A= if (open($fh, "$cvsroot/CVSROOT/modules")) {=0A= while (<$fh>) {=0A= if (/^(\S+)\s+(\S+)/o && $module eq $1=0A= && -d "${cvsroot}/$2" && $module ne $2) {=0A= &redirect($scriptname . '/' . $2 . $xtra);=0A= }=0A= }=0A= }=0A= &fatal("404 Not Found","$where: no such file or directory");=0A= }=0A= =0A= gzipclose();=0A= ## End MAIN=0A= =0A= sub printDiffSelect($) {=0A= my ($use_java_script) =3D @_;=0A= $use_java_script =3D 0 if (!defined($use_java_script));=0A= my ($f) =3D $input{'f'};=0A= print "";=0A= }=0A= =0A= sub findLastModifiedSubdirs(@) {=0A= my (@dirs) =3D @_;=0A= my ($dirname, @files);=0A= =0A= foreach $dirname (@dirs) {=0A= next if ($dirname eq ".");=0A= next if ($dirname eq "..");=0A= my ($dir) =3D "$fullname/$dirname";=0A= next if (!-d $dir);=0A= =0A= my ($lastmod) =3D undef;=0A= my ($lastmodtime) =3D undef;=0A= my $dh =3D do {local(*DH);};=0A= =0A= opendir($dh,$dir) || next;=0A= my (@filenames) =3D readdir($dh);=0A= closedir($dh);=0A= =0A= foreach my $filename (@filenames) {=0A= $filename =3D "$dirname/$filename";=0A= my ($file) =3D "$fullname/$filename";=0A= next if ($filename !~ /,v$/ || !-f $file);=0A= $filename =3D~ s/,v$//;=0A= my $modtime =3D -M $file;=0A= if (!defined($lastmod) || $modtime < $lastmodtime) {=0A= $lastmod =3D $filename;=0A= $lastmodtime =3D $modtime;=0A= }=0A= }=0A= push(@files, $lastmod) if (defined($lastmod));=0A= }=0A= return @files;=0A= }=0A= =0A= sub htmlify($) {=0A= my($string) =3D @_;=0A= =0A= # Special Characters; RFC 1866=0A= $string =3D~ s/&/&/g;=0A= $string =3D~ s/\"/"/g; =0A= $string =3D~ s//>/g;=0A= =0A= # get URL's as link ..=0A= $string =3D~ = s=A7(http|ftp|https)(://[-a-zA-Z0-9%.~:_/]+)([?&]([-a-zA-Z0-9%.~:_]+)=3D(= [-a-zA-Z0-9%.~:_])+)*=A7$1$2$3=A7;=0A= # get e-mails as link=0A= $string =3D~ s=A7([-a-zA-Z0-9_.]+@([-a-zA-Z0-9]+\.)+[A-Za-z]{2,4})=A7$1=A7;=0A= =0A= return $string;=0A= }=0A= =0A= sub spacedHtmlText($) {=0A= my($string) =3D @_;=0A= =0A= # Cut trailing spaces=0A= s/\s+$//;=0A= =0A= # Expand tabs=0A= $string =3D~ s/\t+/' ' x (length($&) * $tabstop - length($`) % = $tabstop)/e=0A= if (defined($tabstop));=0A= =0A= # replace and (=A7 is to protect us from htmlify)=0A= # gzip can make excellent use of this repeating pattern :-)=0A= $string =3D~ s/=A7/=A7%/g; #protect our & substitute=0A= if ($hr_breakable) {=0A= # make every other space 'breakable'=0A= $string =3D~ s/ / =A7nbsp; =A7nbsp; =A7nbsp; =A7nbsp;/g; # =0A= $string =3D~ s/ / =A7nbsp;/g; # 2 * = =0A= # leave single space as it is=0A= }=0A= else {=0A= $string =3D~ s/ = /=A7nbsp;=A7nbsp;=A7nbsp;=A7nbsp;=A7nbsp;=A7nbsp;=A7nbsp;=A7nbsp;/g; =0A= $string =3D~ s/ /=A7nbsp;/g;=0A= }=0A= =0A= $string =3D htmlify($string);=0A= =0A= # unescape=0A= $string =3D~ s/=A7([^%])/&$1/g;=0A= $string =3D~ s/=A7%/=A7/g;=0A= =0A= return $string;=0A= }=0A= =0A= sub link($$) {=0A= my($name, $where) =3D @_;=0A= =0A= return "$name\n";=0A= }=0A= =0A= sub revcmp($$) {=0A= my($rev1, $rev2) =3D @_;=0A= my(@r1) =3D split(/\./, $rev1);=0A= my(@r2) =3D split(/\./, $rev2);=0A= my($a,$b);=0A= =0A= while (($a =3D shift(@r1)) && ($b =3D shift(@r2))) {=0A= if ($a !=3D $b) {=0A= return $a <=3D> $b;=0A= }=0A= }=0A= if (@r1) { return 1; }=0A= if (@r2) { return -1; }=0A= return 0;=0A= }=0A= =0A= sub fatal($$) {=0A= my($errcode, $errmsg) =3D @_;=0A= if (defined($ENV{'MOD_PERL'})) {=0A= Apache->request->status((split(/ /, $errcode))[0]);=0A= }=0A= else {=0A= print "Status: $errcode\n";=0A= }=0A= html_header("Error");=0A= print "Error: $errmsg\n";=0A= print &html_footer;=0A= exit(1);=0A= }=0A= =0A= sub redirect($) {=0A= my($url) =3D @_;=0A= if (defined($ENV{'MOD_PERL'})) {=0A= Apache->request->status(301);=0A= Apache->request->header_out(Location =3D> $url);=0A= }=0A= else {=0A= print "Status: 301 Moved\r\n";=0A= print "Location: $url\r\n";=0A= }=0A= html_header("Moved");=0A= print "This document is located here.\n";=0A= print &html_footer;=0A= exit(1);=0A= }=0A= =0A= sub safeglob($) {=0A= my ($filename) =3D @_;=0A= my ($dirname);=0A= my (@results);=0A= my $dh =3D do {local(*DH);};=0A= =0A= ($dirname =3D $filename) =3D~ s|/[^/]+$||;=0A= $filename =3D~ s|.*/||;=0A= =0A= if (opendir($dh, $dirname)) {=0A= my $glob =3D $filename;=0A= my $t;=0A= # transform filename from glob to regex. Deal with:=0A= # [, {, ?, * as glob chars=0A= # make sure to escape all other regex chars=0A= $glob =3D~ s/([\.\(\)\|\+])/\\$1/g;=0A= $glob =3D~ s/\*/.*/g;=0A= $glob =3D~ s/\?/./g;=0A= $glob =3D~ s/{([^}]+)}/($t =3D $1) =3D~ s-,-|-g; "($t)"/eg;=0A= foreach (readdir($dh)) {=0A= if (/^${glob}$/) {=0A= push(@results, $dirname . "/" .$_);=0A= }=0A= }=0A= closedir($dh);=0A= }=0A= =0A= @results;=0A= }=0A= =0A= sub getMimeTypeFromSuffix($) {=0A= my ($fullname) =3D @_;=0A= my ($mimetype, $suffix);=0A= my $fh =3D do {local(*FH);};=0A= =0A= ($suffix =3D $fullname) =3D~ s/^.*\.([^.]*)$/$1/;=0A= $mimetype =3D $MTYPES{$suffix};=0A= $mimetype =3D $MTYPES{'*'} if (!$mimetype);=0A= =0A= if (!$mimetype && -f $mime_types) {=0A= # okey, this is something special - search the=0A= # mime.types database=0A= open ($fh, "<$mime_types");=0A= while (<$fh>) {=0A= if ($_ =3D~ /^\s*(\S+\/\S+).*\b$suffix\b/) {=0A= $mimetype =3D $1;=0A= last;=0A= }=0A= }=0A= close ($fh);=0A= }=0A= =0A= # okey, didn't find anything useful ..=0A= if (!($mimetype =3D~ /\S\/\S/)) {=0A= $mimetype =3D "text/plain";=0A= }=0A= return $mimetype;=0A= }=0A= =0A= ###############################=0A= # show Annotation=0A= ###############################=0A= sub doAnnotate ($$) {=0A= my ($rev) =3D @_;=0A= my ($pid);=0A= my ($pathname, $filename);=0A= my $reader =3D do {local(*FH);};=0A= my $writer =3D do {local(*FH);};=0A= =0A= # make sure the revisions are wellformed, for security=0A= # reasons ..=0A= if (!($rev =3D~ /^[\d\.]+$/)) {=0A= &fatal("404 Not Found",=0A= "Malformed query \"$ENV{'QUERY_STRING'}\"");=0A= }=0A= =0A= if (&forbidden_file($fullname)) {=0A= &fatal("403 Forbidden", "Access forbidden. This file is mentioned in = \@DissallowRead");=0A= return;=0A= }=0A= =0A= ($pathname =3D $where) =3D~ s/(Attic\/)?[^\/]*$//;=0A= ($filename =3D $where) =3D~ s/^.*\///;=0A= =0A= http_header();=0A= =0A= navigateHeader ($scriptwhere,$pathname,$filename,$rev, "annotate");=0A= print "

Annotation of $pathname$filename, Revision = $rev

\n";=0A= =0A= # this seems to be necessary=0A= $| =3D 1; $| =3D 0; # Flush=0A= =0A= # this annotate version is based on the=0A= # cvs annotate-demo Perl script by Cyclic Software=0A= # It was written by Cyclic Software, http://www.cyclic.com/, and is = in=0A= # the public domain.=0A= # we could abandon the use of rlog, rcsdiff and co using=0A= # the cvsserver in a similiar way one day (..after rewrite)=0A= $pid =3D open2($reader, $writer, "cvs server") || fatal ("500 = Internal Error", =0A= "Fatal Error - unable to open cvs for annotation");=0A= =0A= # OK, first send the request to the server. A simplified example is:=0A= # Root /home/kingdon/zwork/cvsroot=0A= # Argument foo/xx=0A= # Directory foo=0A= # /home/kingdon/zwork/cvsroot/foo=0A= # Directory .=0A= # /home/kingdon/zwork/cvsroot=0A= # annotate=0A= # although as you can see there are a few more details.=0A= =0A= print $writer "Root $cvsroot\n";=0A= print $writer "Valid-responses ok error Valid-requests Checked-in = Updated Merged Removed M E\n";=0A= # Don't worry about sending valid-requests, the server just needs to=0A= # support "annotate" and if it doesn't, there isn't anything to be = done.=0A= print $writer "UseUnchanged\n";=0A= print $writer "Argument -r\n";=0A= print $writer "Argument $rev\n";=0A= print $writer "Argument $where\n";=0A= =0A= # The protocol requires us to fully fake a working directory (at=0A= # least to the point of including the directories down to the one=0A= # containing the file in question).=0A= # So if $where is "dir/sdir/file", then @dirs will be = ("dir","sdir","file")=0A= my @dirs =3D split('/', $where);=0A= my $path =3D "";=0A= foreach (@dirs) {=0A= if ($path eq "") {=0A= # In our example, $_ is "dir".=0A= $path =3D $_;=0A= }=0A= else {=0A= print $writer "Directory $path\n";=0A= print $writer "$cvsroot/$path\n";=0A= # In our example, $_ is "sdir" and $path becomes "dir/sdir"=0A= # And the next time, "file" and "dir/sdir/file" (which then gets=0A= # ignored, because we don't need to send Directory for the file).=0A= $path .=3D "/$_";=0A= }=0A= }=0A= # And the last "Directory" before "annotate" is the top level.=0A= print $writer "Directory .\n";=0A= print $writer "$cvsroot\n";=0A= =0A= print $writer "annotate\n";=0A= # OK, we've sent our command to the server. Thing to do is to=0A= # close the writer side and get all the responses. If "cvs server"=0A= # were nicer about buffering, then we could just leave it open, I = think.=0A= close ($writer) || die "cannot close: $!";=0A= =0A= # Ready to get the responses from the server.=0A= # For example:=0A= # E Annotations for foo/xx=0A= # E ***************=0A= # M 1.3 (kingdon 06-Sep-97): hello =0A= # ok=0A= my ($lineNr) =3D 0;=0A= my ($oldLrev, $oldLusr) =3D ("", "");=0A= my ($revprint, $usrprint);=0A= if ($annTable) {=0A= print "\n";=0A= }=0A= else {=0A= print "
";=0A=
    }=0A=
    while (<$reader>) {=0A=
	my @words =3D split;=0A=
	# Adding one is for the (single) space which follows $words[0].=0A=
	my $rest =3D substr ($_, length ($words[0]) + 1);=0A=
	if ($words[0] eq "E") {=0A=
	    next;=0A=
	}=0A=
	elsif ($words[0] eq "M") {=0A=
	    $lineNr++;=0A=
	    my $lrev =3D substr ($_, 2, 13);=0A=
	    my $lusr =3D substr ($_, 16,  9);=0A=
	    my $line =3D substr ($_, 36);=0A=
	    # we should parse the date here ..=0A=
	    if ($lrev eq $oldLrev) {=0A=
		$revprint =3D "             ";=0A=
	    }=0A=
	    else {=0A=
		$revprint =3D $lrev; $oldLusr =3D "";=0A=
	    }=0A=
	    if ($lusr eq $oldLusr) {=0A=
		$usrprint =3D "         ";=0A=
	    }=0A=
	    else {=0A=
		$usrprint =3D $lusr;=0A=
	    }=0A=
	    $oldLrev =3D $lrev;=0A=
	    $oldLusr =3D $lusr;=0A=
	    # is there a less timeconsuming way to strip spaces ?=0A=
	    ($lrev =3D $lrev) =3D~ s/\s+//g;=0A=
	    my $isCurrentRev =3D ("$rev" eq "$lrev");=0A=
	    =0A=
	    print "" if ($isCurrentRev);=0A=
	    printf ("%8s%s%8s %4d:", $revprint, ($isCurrentRev ? "|" : " "), =
$usrprint, $lineNr);=0A=
	    print spacedHtmlText($line);=0A=
	    print "" if ($isCurrentRev);=0A=
	}=0A=
	elsif ($words[0] eq "ok") {=0A=
	    # We could complain about any text received after this, like the=0A=
	    # CVS command line client.  But for simplicity, we don't.=0A=
	}=0A=
	elsif ($words[0] eq "error") {=0A=
	    fatal ("500 Internal Error", "Error occured during annotate: =
$_");=0A=
	}=0A=
    }=0A=
    if ($annTable) {=0A=
	print "
";=0A= }=0A= else {=0A= print "";=0A= }=0A= close ($reader) || warn "cannot close: $!";=0A= wait;=0A= }=0A= =0A= ###############################=0A= # make Checkout=0A= ###############################=0A= sub doCheckout($$) {=0A= my ($fullname, $rev) =3D @_;=0A= my ($mimetype,$revopt);=0A= my $fh =3D do {local(*FH);};=0A= =0A= if ($rev eq 'HEAD' || $rev eq '.') {=0A= $rev =3D undef;=0A= }=0A= =0A= # make sure the revisions a wellformed, for security=0A= # reasons ..=0A= if (defined($rev) && !($rev =3D~ /^[\d\.]+$/)) {=0A= &fatal("404 Not Found",=0A= "Malformed query \"$ENV{'QUERY_STRING'}\"");=0A= }=0A= =0A= if (&forbidden_file($fullname)) {=0A= &fatal("403 Forbidden", "Access forbidden. This file is mentioned in = \@DissallowRead");=0A= return;=0A= }=0A= =0A= # get mimetype=0A= if (defined($input{"content-type"}) && ($input{"content-type"} =3D~ = /\S\/\S/)) {=0A= $mimetype =3D $input{"content-type"}=0A= }=0A= else {=0A= $mimetype =3D &getMimeTypeFromSuffix($fullname);=0A= }=0A= =0A= if (defined($rev)) {=0A= $revopt =3D "-r$rev";=0A= if ($use_moddate) {=0A= readLog($fullname,$rev);=0A= $moddate=3D$date{$rev};=0A= }=0A= }=0A= else {=0A= $revopt =3D "-rHEAD";=0A= if ($use_moddate) {=0A= readLog($fullname);=0A= $moddate=3D$date{$symrev{HEAD}};=0A= }=0A= }=0A= =0A= ### just for the record:=0A= ### 'cvs co' seems to have a bug regarding single checkout of=0A= ### directories/files having spaces in it;=0A= ### this is an issue that should be resolved on cvs's side=0A= #=0A= # Safely for a child process to read from.=0A= if (! open($fh, "-|")) { # child=0A= open(STDERR, ">&STDOUT"); # Redirect stderr to stdout=0A= exec("cvs", "-d", "$cvsroot", "co", "-p", "$revopt", "$where");=0A= } =0A= #=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A= #Checking out squid/src/ftp.c=0A= #RCS: /usr/src/CVS/squid/src/ftp.c,v=0A= #VERS: 1.1.1.28.6.2=0A= #***************=0A= =0A= # Parse CVS header=0A= my ($revision, $filename, $cvsheader);=0A= $filename =3D "";=0A= while(<$fh>) {=0A= last if (/^\*\*\*\*/);=0A= $revision =3D $1 if (/^VERS: (.*)$/);=0A= if (/^Checking out (.*)$/) {=0A= $filename =3D $1;=0A= $filename =3D~ s/^\.\/*//;=0A= }=0A= $cvsheader .=3D $_;=0A= }=0A= if ($filename ne $where) {=0A= &fatal("500 Internal Error",=0A= "Unexpected output from cvs co: $cvsheader"=0A= . "

Check whether the directory $cvsroot/CVSROOT exists "=0A= . "and the script has write-access to the CVSROOT/history "=0A= . "file if it exists."=0A= . "
The script needs to place lock files in the "=0A= . "directory the file is in as well.
");=0A= }=0A= $| =3D 1;=0A= =0A= if ($mimetype eq "text/x-cvsweb-markup") {=0A= &cvswebMarkup($fh,$fullname,$revision);=0A= }=0A= else {=0A= http_header($mimetype);=0A= print <$fh>;=0A= }=0A= close($fh);=0A= }=0A= =0A= sub cvswebMarkup($$$) {=0A= my ($filehandle,$fullname,$revision) =3D @_;=0A= my ($pathname, $filename);=0A= =0A= ($pathname =3D $where) =3D~ s/(Attic\/)?[^\/]*$//;=0A= ($filename =3D $where) =3D~ s/^.*\///;=0A= my ($fileurl) =3D urlencode($filename);=0A= =0A= http_header();=0A= =0A= navigateHeader ($scriptwhere, $pathname, $filename, $revision, = "view");=0A= print "


";=0A= print "
";=0A= print "File: ", &clickablePath($where, 1);=0A= print " ";=0A= &download_link(urlencode($fileurl), $revision, "(download)");=0A= if (!$defaultTextPlain) {=0A= print " ";=0A= &download_link(urlencode($fileurl), $revision, "(as text)", =0A= "text/plain");=0A= }=0A= print "
\n";=0A= if ($show_log_in_markup) {=0A= readLog($fullname); #,$revision);=0A= printLog($revision,0);=0A= }=0A= else {=0A= print "Version: $revision
\n";=0A= print "Tag: ", $input{only_with_tag}, "
\n" if=0A= $input{only_with_tag};=0A= }=0A= print "
";=0A= my @content =3D <$filehandle>;=0A= my $url =3D download_url($fileurl, $revision, $mimetype);=0A= print "
";=0A= if ($mimetype =3D~ /^image/) {=0A= print "
";=0A= }=0A= elsif ($mimetype =3D~ m%^application/pdf%) {=0A= print "
";=0A= }=0A= else {=0A= print "
";=0A=
	foreach (@content) {=0A=
	    print spacedHtmlText($_);=0A=
	}=0A=
	print "
";=0A= }=0A= }=0A= =0A= sub viewable($) {=0A= my ($mimetype) =3D @_;=0A= =0A= $mimetype =3D~ m%^text/% ||=0A= $mimetype =3D~ m%^image/% ||=0A= $mimetype =3D~ m%^application/pdf% ||=0A= 0;=0A= }=0A= =0A= ###############################=0A= # Show Colored Diff=0A= ###############################=0A= sub doDiff($$$$$$) {=0A= my($fullname, $r1, $tr1, $r2, $tr2, $f) =3D @_;=0A= my $fh =3D do {local(*FH);};=0A= my ($rev1, $rev2, $sym1, $sym2, @difftype, $diffname, $f1, $f2);=0A= =0A= if (&forbidden_file($fullname)) {=0A= &fatal("403 Forbidden", "Access forbidden. This file is mentioned = in \@DissallowRead");=0A= return;=0A= }=0A= =0A= if ($r1 =3D~ /([^:]+)(:(.+))?/) {=0A= $rev1 =3D $1;=0A= $sym1 =3D $3;=0A= }=0A= if ($r1 eq 'text') {=0A= $rev1 =3D $tr1;=0A= $sym1 =3D "";=0A= }=0A= if ($r2 =3D~ /([^:]+)(:(.+))?/) {=0A= $rev2 =3D $1;=0A= $sym2 =3D $3;=0A= }=0A= if ($r2 eq 'text') {=0A= $rev2 =3D $tr2;=0A= $sym2 =3D "";=0A= }=0A= # make sure the revisions a wellformed, for security=0A= # reasons ..=0A= if (!($rev1 =3D~ /^[\d\.]+$/) || !($rev2 =3D~ /^[\d\.]+$/)) {=0A= &fatal("404 Not Found",=0A= "Malformed query \"$ENV{'QUERY_STRING'}\"");=0A= }=0A= #=0A= # rev1 and rev2 are now both numeric revisions.=0A= # Thus we do a DWIM here and swap them if rev1 is after rev2.=0A= # XXX should we warn about the fact that we do this?=0A= if (&revcmp($rev1,$rev2) > 0) {=0A= my ($tmp1, $tmp2) =3D ($rev1, $sym1);=0A= ($rev1, $sym1) =3D ($rev2, $sym2);=0A= ($rev2, $sym2) =3D ($tmp1, $tmp2);=0A= }=0A= my $human_readable =3D 0;=0A= if ($f eq 'c') {=0A= @difftype =3D qw{-c};=0A= $diffname =3D "Context diff";=0A= }=0A= elsif ($f eq 's') {=0A= @difftype =3D qw{--side-by-side --width=3D164};=0A= $diffname =3D "Side by Side";=0A= }=0A= elsif ($f eq 'H') {=0A= $human_readable =3D 1;=0A= @difftype =3D qw{--unified=3D15};=0A= $diffname =3D "Long Human readable";=0A= }=0A= elsif ($f eq 'h') {=0A= @difftype =3Dqw{-u};=0A= $human_readable =3D 1;=0A= $diffname =3D "Human readable";=0A= }=0A= elsif ($f eq 'u') {=0A= @difftype =3D qw{-u};=0A= $diffname =3D "Unidiff";=0A= }=0A= else {=0A= fatal ("400 Bad arguments", "Diff format $f not understood");=0A= }=0A= =0A= # apply special options=0A= if ($human_readable) {=0A= if ($hr_funout) {=0A= push @difftype, '-p';=0A= }=0A= if ($hr_ignwhite) {=0A= push @difftype, '-w';=0A= }=0A= if ($hr_ignkeysubst) {=0A= push @difftype, '-kk';=0A= }=0A= }=0A= if (! open($fh, "-|")) { # child=0A= open(STDERR, ">&STDOUT"); # Redirect stderr to stdout=0A= exec("rcsdiff",@difftype,"-r$rev1","-r$rev2",$fullname);=0A= }=0A= if ($human_readable) {=0A= http_header();=0A= &human_readable_diff($fh, $rev2);=0A= gzipclose();=0A= exit;=0A= }=0A= else {=0A= http_header("text/plain");=0A= }=0A= #=0A= #=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A= #RCS file: /home/ncvs/src/sys/netinet/tcp_output.c,v=0A= #retrieving revision 1.16=0A= #retrieving revision 1.17=0A= #diff -c -r1.16 -r1.17=0A= #*** /home/ncvs/src/sys/netinet/tcp_output.c 1995/11/03 22:08:08 = 1.16=0A= #--- /home/ncvs/src/sys/netinet/tcp_output.c 1995/12/05 17:46:35 = 1.17=0A= #=0A= # Ideas:=0A= # - nuke the stderr output if it's what we expect it to be=0A= # - Add "no differences found" if the diff command supplied no output.=0A= #=0A= #*** src/sys/netinet/tcp_output.c 1995/11/03 22:08:08 1.16=0A= #--- src/sys/netinet/tcp_output.c 1995/12/05 17:46:35 1.17 = RELENG_2_1_0=0A= # (bogus example, but...)=0A= #=0A= if (grep { $_ eq '-u'} @difftype) {=0A= $f1 =3D '---';=0A= $f2 =3D '\+\+\+';=0A= }=0A= else {=0A= $f1 =3D '\*\*\*';=0A= $f2 =3D '---';=0A= }=0A= while (<$fh>) {=0A= if (m|^$f1 $cvsroot|o) {=0A= s|$cvsroot/||o;=0A= if ($sym1) {=0A= chop;=0A= $_ .=3D " $sym1\n";=0A= }=0A= }=0A= elsif (m|^$f2 $cvsroot|o) {=0A= s|$cvsroot/||o;=0A= if ($sym2) {=0A= chop;=0A= $_ .=3D " $sym2\n";=0A= }=0A= }=0A= print $_;=0A= }=0A= close($fh);=0A= }=0A= =0A= ###############################=0A= # Show Logs ..=0A= ###############################=0A= sub getDirLogs($$@) {=0A= my ($cvsroot,$dirname,@otherFiles) =3D @_;=0A= my ($state,$otherFiles,$tag, $file, $date, $branchpoint, $branch, = $log);=0A= my ($rev, $revision, $revwanted, $filename, $head, $author);=0A= =0A= $tag =3D $input{only_with_tag};=0A= =0A= my ($DirName) =3D "$cvsroot/$where";=0A= my (@files, @filetags);=0A= my $fh =3D do {local(*FH);};=0A= =0A= push(@files, &safeglob("$DirName/*,v"));=0A= push(@files, &safeglob("$DirName/Attic/*,v")) if = (!$input{'hideattic'});=0A= foreach $file (@otherFiles) {=0A= push(@files, "$DirName/$file");=0A= }=0A= =0A= # just execute rlog if there are any files=0A= if ($#files < 0) { =0A= return;=0A= }=0A= =0A= if (defined($tag)) {=0A= #can't use -r as - is allowed in tagnames, but misinterpreated by = rlog..=0A= if (! open($fh, "-|")) {=0A= open(STDERR, "> /dev/null"); # rlog may complain; ignore.=0A= exec("rlog",@files);=0A= }=0A= }=0A= else {=0A= my $kidpid =3D open($fh, "-|");=0A= if (! $kidpid) {=0A= open(STDERR, "> /dev/null"); # rlog may complain; ignore.=0A= exec("rlog","-r",@files);=0A= }=0A= }=0A= $state =3D "start";=0A= while (<$fh>) {=0A= if ($state eq "start") {=0A= #Next file. Initialize file variables=0A= $rev =3D undef;=0A= $revwanted =3D undef;=0A= $branch =3D undef;=0A= $branchpoint =3D undef;=0A= $filename =3D undef;=0A= $log =3D undef;=0A= $revision =3D undef;=0A= $branch =3D undef;=0A= %symrev =3D ();=0A= @filetags =3D ();=0A= #jump to head state=0A= $state =3D "head";=0A= }=0A= print "$state:$_" if ($verbose);=0A= again:=0A= if ($state eq "head") {=0A= #$rcsfile =3D $1 if (/^RCS file: (.+)$/); #not used (yet)=0A= $filename =3D $1 if (/^Working file: (.+)$/);=0A= $head =3D $1 if (/^head: (.+)$/);=0A= $branch =3D $1 if (/^branch: (.+)$/);=0A= }=0A= if ($state eq "head" && /^symbolic names/) {=0A= $state =3D "tags";=0A= ($branch =3D $head) =3D~ s/\.\d+$// if (!defined($branch)); =0A= $branch =3D~ s/(\.?)(\d+)$/${1}0.$2/;=0A= $symrev{MAIN} =3D $branch;=0A= $symrev{HEAD} =3D $branch;=0A= $alltags{MAIN} =3D 1;=0A= $alltags{HEAD} =3D 1;=0A= push (@filetags, "MAIN", "HEAD");=0A= next;=0A= }=0A= if ($state eq "tags" &&=0A= /^\s+(.+):\s+([\d\.]+)\s+$/) {=0A= push (@filetags, $1);=0A= $symrev{$1} =3D $2;=0A= $alltags{$1} =3D 1;=0A= next;=0A= }=0A= if ($state eq "tags" && /^\S/) {=0A= if (defined($tag) && (defined($symrev{$tag}) || $tag eq "HEAD")) {=0A= $revwanted =3D $tag eq "HEAD" ? $symrev{"MAIN"} : $symrev{$tag};=0A= ($branch =3D $revwanted) =3D~ s/\.0\././;=0A= ($branchpoint =3D $branch) =3D~ s/\.?\d+$//;=0A= $revwanted =3D undef if ($revwanted ne $branch);=0A= }=0A= elsif (defined($tag) && $tag ne "HEAD") {=0A= print "Tag not found, skip this file" if ($verbose);=0A= $state =3D "skip";=0A= next;=0A= }=0A= foreach my $tagfound (@filetags) {=0A= $tags{$tagfound} =3D 1;=0A= }=0A= $state =3D "head";=0A= goto again;=0A= }=0A= if ($state eq "head" && /^----------------------------$/) {=0A= $state =3D "log";=0A= $rev =3D undef;=0A= $date =3D undef;=0A= $log =3D "";=0A= # Try to reconstruct the relative filename if RCS spits out a full = path=0A= $filename =3D~ s%^\Q$DirName\E/%%;=0A= next;=0A= }=0A= if ($state eq "log") {=0A= if (/^----------------------------$/=0A= || = /^=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D/) {=0A= # End of a log entry.=0A= my $revbranch;=0A= ($revbranch =3D $rev) =3D~ s/\.\d+$//;=0A= print "$filename $rev Wanted: $revwanted "=0A= . "Revbranch: $revbranch Branch: $branch "=0A= . "Branchpoint: $branchpoint\n" if ($verbose);=0A= if (!defined($revwanted) && defined($branch)=0A= && $branch eq $revbranch || !defined($tag)) {=0A= print "File revision $rev found for branch $branch\n"=0A= if ($verbose);=0A= $revwanted =3D $rev;=0A= }=0A= if (defined($revwanted) ? $rev eq $revwanted :=0A= defined($branchpoint) ? $rev eq $branchpoint :=0A= 0 && ($rev eq $head)) { # Don't think head is needed here..=0A= print "File info $rev found for $filename\n" if ($verbose);=0A= my @finfo =3D ($rev,$date,$log,$author,$filename);=0A= my ($name);=0A= ($name =3D $filename) =3D~ s%/.*%%;=0A= $fileinfo{$name} =3D [ @finfo ];=0A= $state =3D "done" if (defined($revwanted) && $rev eq $revwanted);=0A= }=0A= $rev =3D undef;=0A= $date =3D undef;=0A= $log =3D "";=0A= }=0A= elsif (!defined($date) && = m|^date:\s+(\d+)/(\d+)/(\d+)\s+(\d+):(\d+):(\d+);|) {=0A= my $yr =3D $1;=0A= # damn 2-digit year routines :-)=0A= if ($yr > 100) {=0A= $yr -=3D 1900;=0A= }=0A= $date =3D &Time::Local::timegm($6,$5,$4,$3,$2 - 1,$yr);=0A= ($author) =3D /author: ([^;]+)/;=0A= $state =3D "log";=0A= $log =3D '';=0A= next;=0A= }=0A= elsif (!defined($rev) && m/^revision (.*)$/) {=0A= $rev =3D $1;=0A= next;=0A= }=0A= else {=0A= $log =3D $log . $_;=0A= }=0A= }=0A= if (/^=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D/) {=0A= $state =3D "start";=0A= next;=0A= }=0A= }=0A= if ($. =3D=3D 0) {=0A= fatal("500 Internal Error", =0A= "Failed to spawn GNU rlog on '".join(", ", = @files)."'

did you set the \$ENV{PATH} in your = configuration file correctly ?");=0A= }=0A= close($fh);=0A= }=0A= =0A= sub readLog($;$) {=0A= my($fullname,$revision) =3D @_;=0A= my ($symnames, $head, $rev, $br, $brp, $branch, $branchrev);=0A= my $fh =3D do {local(*FH);};=0A= =0A= if (defined($revision)) {=0A= $revision =3D "-r$revision";=0A= }=0A= else {=0A= $revision =3D "";=0A= }=0A= =0A= undef %symrev;=0A= undef %revsym;=0A= undef @allrevisions;=0A= undef %date;=0A= undef %author;=0A= undef %state;=0A= undef %difflines;=0A= undef %log;=0A= =0A= print("Going to rlog '$fullname'\n") if ($verbose);=0A= if (! open($fh, "-|")) { # child=0A= if ($revision ne '') {=0A= exec("rlog",$revision,$fullname);=0A= }=0A= else {=0A= exec("rlog",$fullname);=0A= }=0A= }=0A= while (<$fh>) {=0A= print if ($verbose);=0A= if ($symnames) {=0A= if (/^\s+([^:]+):\s+([\d\.]+)/) {=0A= $symrev{$1} =3D $2;=0A= }=0A= else {=0A= $symnames =3D 0;=0A= }=0A= }=0A= elsif (/^head:\s+([\d\.]+)/) {=0A= $head =3D $1;=0A= }=0A= elsif (/^branch:\s+([\d\.]+)/) {=0A= $curbranch =3D $1;=0A= }=0A= elsif (/^symbolic names/) {=0A= $symnames =3D 1;=0A= }=0A= elsif (/^-----/) {=0A= last;=0A= }=0A= }=0A= ($curbranch =3D $head) =3D~ s/\.\d+$// if (!defined($curbranch));=0A= =0A= # each log entry is of the form:=0A= # ----------------------------=0A= # revision 3.7.1.1=0A= # date: 1995/11/29 22:15:52; author: fenner; state: Exp; lines: +5 -3=0A= # log info=0A= # ----------------------------=0A= logentry:=0A= while (!/^=3D=3D=3D=3D=3D=3D=3D=3D=3D/) {=0A= $_ =3D <$fh>;=0A= last logentry if (!defined($_)); # EOF=0A= print "R:", $_ if ($verbose);=0A= if (/^revision ([\d\.]+)/) {=0A= $rev =3D $1;=0A= unshift(@allrevisions,$rev);=0A= }=0A= elsif (/^=3D=3D=3D=3D=3D=3D=3D=3D/ || = /^----------------------------$/) {=0A= next logentry;=0A= }=0A= else {=0A= # The rlog output is syntactically ambiguous. We must=0A= # have guessed wrong about where the end of the last log=0A= # message was.=0A= # Since this is likely to happen when people put rlog output=0A= # in their commit messages, don't even bother keeping=0A= # these lines since we don't know what revision they go with=0A= # any more.=0A= next logentry;=0A= # &fatal("500 Internal Error","Error parsing RCS output: $_");=0A= }=0A= $_ =3D <$fh>;=0A= print "D:", $_ if ($verbose);=0A= if = (m|^date:\s+(\d+)/(\d+)/(\d+)\s+(\d+):(\d+):(\d+);\s+author:\s+(\S+);\s+s= tate:\s+(\S+);\s+(lines:\s+([0-9\s+-]+))?|) {=0A= my $yr =3D $1;=0A= # damn 2-digit year routines :-)=0A= if ($yr > 100) {=0A= $yr -=3D 1900;=0A= }=0A= $date{$rev} =3D &Time::Local::timegm($6,$5,$4,$3,$2 - 1,$yr);=0A= $author{$rev} =3D $7;=0A= $state{$rev} =3D $8;=0A= $difflines{$rev} =3D $10;=0A= }=0A= else {=0A= &fatal("500 Internal Error", "Error parsing RCS output: $_");=0A= }=0A= line:=0A= while (<$fh>) {=0A= print "L:", $_ if ($verbose);=0A= next line if (/^branches:\s/);=0A= last line if (/^----------------------------$/ || = /^=3D=3D=3D=3D=3D=3D=3D=3D=3D/);=0A= $log{$rev} .=3D $_;=0A= }=0A= print "E:", $_ if ($verbose);=0A= }=0A= close($fh);=0A= print "Done reading RCS file\n" if ($verbose);=0A= =0A= @revorder =3D reverse sort {revcmp($a,$b)} @allrevisions;=0A= print "Done sorting revisions",join(" ",@revorder),"\n" if ($verbose);=0A= =0A= #=0A= # HEAD is an artificial tag which is simply the highest tag number on = the main=0A= # branch, unless there is a branch tag in the RCS file in which case = it's the=0A= # highest revision on that branch. Find it by looking through = @revorder; it=0A= # is the first commit listed on the appropriate branch.=0A= # This is not neccesary the same revision as marked as head in the RCS = file.=0A= my $headrev =3D $curbranch || "1";=0A= ($symrev{"MAIN"} =3D $headrev) =3D~ s/(\.?)(\d+)$/${1}0.$2/;=0A= revision:=0A= foreach $rev (@revorder) {=0A= if ($rev =3D~ /^(\S*)\.\d+$/ && $headrev eq $1) {=0A= $symrev{"HEAD"} =3D $rev;=0A= last revision;=0A= }=0A= }=0A= ($symrev{"HEAD"} =3D $headrev) =3D~ s/\.\d+$//=0A= if (!defined($symrev{"HEAD"}));=0A= print "Done finding HEAD\n" if ($verbose);=0A= #=0A= # Now that we know all of the revision numbers, we can associate=0A= # absolute revision numbers with all of the symbolic names, and=0A= # pass them to the form so that the same association doesn't have=0A= # to be built then.=0A= #=0A= undef @branchnames;=0A= undef %branchpoint;=0A= undef $sel;=0A= =0A= foreach (reverse sort keys %symrev) {=0A= $rev =3D $symrev{$_};=0A= if ($rev =3D~ /^((.*)\.)0\.(\d+)$/) {=0A= push(@branchnames, $_);=0A= #=0A= # A revision number of A.B.0.D really translates into=0A= # "the highest current revision on branch A.B.D".=0A= #=0A= # If there is no branch A.B.D, then it translates into=0A= # the head A.B .=0A= #=0A= # This reasoning also applies to the main branch A.B,=0A= # with the branch number 0.A, with the exception that=0A= # it has no head to translate to if there is nothing on=0A= # the branch, but I guess this can never happen?=0A= #=0A= # Since some stupid people actually import/check in=0A= # files with version 0.X we assume that the above cannot=0A= # happen, and regard 0.X(.*) as a revision and not a branch.=0A= #=0A= $head =3D defined($2) ? $2 : "";=0A= $branch =3D $3;=0A= $branchrev =3D $head . ($head ne "" ? "." : "") . $branch;=0A= my $regex;=0A= ($regex =3D $branchrev) =3D~ s/\./\\./g;=0A= $rev =3D $head;=0A= =0A= revision:=0A= foreach my $r (@revorder) {=0A= if ($r =3D~ /^${regex}\b/) {=0A= $rev =3D $branchrev;=0A= last revision;=0A= }=0A= }=0A= next if ($rev eq "");=0A= if ($rev ne $head && $head ne "") {=0A= $branchpoint{$head} .=3D ", " if ($branchpoint{$head});=0A= $branchpoint{$head} .=3D $_;=0A= }=0A= }=0A= $revsym{$rev} .=3D ", " if ($revsym{$rev});=0A= $revsym{$rev} .=3D $_;=0A= $sel .=3D "

\n";=0A=
	print &htmlify($log{$_});=0A=
	print "
\n";=0A= }=0A= =0A= sub doLog($) {=0A= my($fullname) =3D @_;=0A= my ($diffrev, $upwhere, $filename, $backurl);=0A= =0A= readLog($fullname);=0A= =0A= html_header("CVS log for $where");=0A= ($upwhere =3D $where) =3D~ s|(Attic/)?[^/]+$||;=0A= ($filename =3D $where) =3D~ s|^.*/||;=0A= $backurl =3D $scriptname . "/" . urlencode($upwhere) . $query;=0A= print &link($backicon, "$backurl#$filename"),=0A= " Up to ", &clickablePath($upwhere, 1), "

\n";=0A= print "Request diff between arbitrary = revisions\n";=0A= print "


\n";=0A= if ($curbranch) {=0A= print "Default branch: ";=0A= print ($revsym{$curbranch} || $curbranch);=0A= }=0A= else {=0A= print "No default branch";=0A= }=0A= print "
\n";=0A= if ($input{only_with_tag}) {=0A= print "Current tag: $input{only_with_tag}
\n";=0A= }=0A= =0A= undef %nameprinted;=0A= =0A= for (my $i =3D 0; $i <=3D $#revdisplayorder; $i++) {=0A= print "
";=0A= printLog($revdisplayorder[$i]);=0A= }=0A= =0A= print "
";=0A= print "\n";=0A= print "This form allows you to request diff's between any two\n";=0A= print "revisions of a file. You may select a symbolic revision\n";=0A= print "name using the selection box or you may type in a numeric\n";=0A= print "name using the type-in text box.\n";=0A= print "

\n";=0A= print "

\n";=0A= foreach (@stickyvars) {=0A= print "\n"=0A= if (defined($input{$_})=0A= && ((!defined($DEFAULTVALUE{$_})=0A= || $input{$_} ne $DEFAULTVALUE{$_})=0A= && $input{$_} ne ""));=0A= }=0A= print "Diffs between \n";=0A= print "\n";=0A= $diffrev =3D $revdisplayorder[$#revdisplayorder];=0A= $diffrev =3D $input{"r1"} if (defined($input{"r1"}));=0A= print "\n";=0A= print " and \n";=0A= print "\n";=0A= $diffrev =3D $revdisplayorder[0];=0A= $diffrev =3D $input{"r2"} if (defined($input{"r2"}));=0A= print "\n";=0A= print "
Type of Diff should be a ";=0A= printDiffSelect(0);=0A= print "\n";=0A= print "
\n";=0A= print "
\n";=0A= if (@branchnames) {=0A= print "\n";=0A= print "
\n";=0A= foreach (@stickyvars) {=0A= next if ($_ eq "only_with_tag");=0A= next if ($_ eq "logsort");=0A= print "\n"=0A= if (defined($input{$_})=0A= && (!defined($DEFAULTVALUE{$_})=0A= || $input{$_} ne $DEFAULTVALUE{$_})=0A= && $input{$_} ne "");=0A= }=0A= print "View only Branch: \n";=0A= print "\n";=0A= print "\n";=0A= print "
\n";=0A= }=0A= print "\n";=0A= print "
\n";=0A= foreach (@stickyvars) {=0A= next if ($_ eq "only_with_tag");=0A= next if ($_ eq "logsort");=0A= print "\n"=0A= if (defined($input{$_})=0A= && (!defined($DEFAULTVALUE{$_})=0A= || $input{$_} ne $DEFAULTVALUE{$_})=0A= && $input{$_} ne "");=0A= }=0A= print "Sort log by: \n";=0A= print "\n";=0A= print "
\n";=0A= print &html_footer;=0A= print "\n";=0A= }=0A= =0A= sub flush_diff_rows ($$$$)=0A= {=0A= my $j;=0A= my ($leftColRef,$rightColRef,$leftRow,$rightRow) =3D @_;=0A= =0A= if (!defined($state)) {=0A= return;=0A= }=0A= =0A= if ($state eq "PreChangeRemove") { # we just got = remove-lines before=0A= for ($j =3D 0 ; $j < $leftRow; $j++) {=0A= print "@$leftColRef[$j]";=0A= print " \n";=0A= }=0A= }=0A= elsif ($state eq "PreChange") { # state eq "PreChange"=0A= # we got removes with subsequent adds=0A= for ($j =3D 0; $j < $leftRow || $j < $rightRow ; $j++) { # dump = out both cols=0A= print "";=0A= if ($j < $leftRow) {=0A= print "@$leftColRef[$j]";=0A= }=0A= else {=0A= print " ";=0A= }=0A= if ($j < $rightRow) {=0A= print "@$rightColRef[$j]";=0A= }=0A= else {=0A= print " ";=0A= }=0A= print "\n";=0A= }=0A= }=0A= }=0A= =0A= ##=0A= # Function to generate Human readable diff-files=0A= # human_readable_diff(String revision_to_return_to);=0A= ##=0A= sub human_readable_diff($){=0A= my ($i,$difftxt, $where_nd, $filename, $pathname, $scriptwhere_nd);=0A= my ($fh, $rev) =3D @_;=0A= my ($date1, $date2, $r1d, $r2d, $r1r, $r2r, $rev1, $rev2, $sym1, = $sym2);=0A= my (@rightCol, @leftCol);=0A= =0A= ($where_nd =3D $where) =3D~ s/.diff$//;=0A= ($filename =3D $where_nd) =3D~ s/^.*\///;=0A= ($pathname =3D $where_nd) =3D~ s/(Attic\/)?[^\/]*$//;=0A= ($scriptwhere_nd =3D $scriptwhere) =3D~ s/.diff$//;=0A= =0A= navigateHeader ($scriptwhere_nd, $pathname, $filename, $rev, "diff");=0A= =0A= # Read header to pick up read revision and date, if possible=0A= while (<$fh>) {=0A= ($r1d,$r1r) =3D /\t(.*)\t(.*)$/ if (/^--- /);=0A= ($r2d,$r2r) =3D /\t(.*)\t(.*)$/ if (/^\+\+\+ /);=0A= last if (/^\+\+\+ /);=0A= }=0A= if (defined($r1r) && $r1r =3D~ /^(\d+\.)+\d+$/) {=0A= $rev1 =3D $r1r;=0A= $date1 =3D $r1d;=0A= }=0A= if (defined($r2r) && $r2r =3D~ /^(\d+\.)+\d+$/) {=0A= $rev2 =3D $r2r;=0A= $date2 =3D $r2d;=0A= }=0A= =0A= print "

Diff for /$where_nd between version $rev1 = and $rev2

\n";=0A= =0A= print "\n";=0A= print "\n";=0A= print "\n";=0A= print "\n";=0A= =0A= my $fs =3D "";=0A= my $fe =3D "";=0A= =0A= my $leftRow =3D 0;=0A= my $rightRow =3D 0;=0A= my ($oldline, $newline, $funname, $diffcode, $rest);=0A= =0A= # Process diff text=0A= # The diffrows are could make excellent use of=0A= # cascading style sheets because we've to set the=0A= # font and color for each row. anyone ...?=0A= ####=0A= while (<$fh>) {=0A= $difftxt =3D $_;=0A= =0A= if ($difftxt =3D~ /^@@/) {=0A= ($oldline,$newline,$funname) =3D $difftxt =3D~ /@@ = \-([0-9]+).*\+([0-9]+).*@@(.*)/;=0A= print "\n";=0A= $state =3D "dump";=0A= $leftRow =3D 0;=0A= $rightRow =3D 0;=0A= }=0A= else {=0A= ($diffcode,$rest) =3D $difftxt =3D~ /^([-+ ])(.*)/;=0A= $_ =3D spacedHtmlText ($rest);=0A= =0A= # Add fontface, size=0A= $_ =3D "$fs $_$fe";=0A= =0A= #########=0A= # little state machine to parse unified-diff output (Hen, = zeller@think.de)=0A= # in order to get some nice 'ediff'-mode output=0A= # states:=0A= # "dump" - just dump the value=0A= # "PreChangeRemove" - we began with '-' .. so this could be the = start of a 'change' area or just remove=0A= # "PreChange" - okey, we got several '-' lines and moved to = '+' lines -> this is a change block=0A= ##########=0A= =0A= if ($diffcode eq '+') {=0A= if ($state eq "dump") { # 'change' never begins with '+': just = dump out value=0A= print "\n";=0A= }=0A= else { # we got minus before=0A= $state =3D "PreChange";=0A= $rightCol[$rightRow++] =3D $_;=0A= }=0A= } =0A= elsif ($diffcode eq '-') {=0A= $state =3D "PreChangeRemove";=0A= $leftCol[$leftRow++] =3D $_;=0A= }=0A= else { # empty diffcode=0A= flush_diff_rows \@leftCol, \@rightCol, $leftRow, $rightRow;=0A= print "\n";=0A= $state =3D "dump";=0A= $leftRow =3D 0;=0A= $rightRow =3D 0;=0A= }=0A= }=0A= }=0A= flush_diff_rows \@leftCol, \@rightCol, $leftRow, $rightRow;=0A= =0A= # state is empty if we didn't have any change=0A= if (!$state) {=0A= print "";=0A= print "";=0A= print "";=0A= }=0A= print "
";=0A= print "version $rev1";=0A= print ", $date1" if (defined($date1));=0A= print "
Tag: $sym1\n" if ($sym1);=0A= print "
";=0A= print "version $rev2";=0A= print ", $date2" if (defined($date2));=0A= print "
Tag: $sym2\n" if ($sym1);=0A= print "
";=0A= print "
Line $oldline";=0A= print " $funname
";=0A= print "
";=0A= print "
Line $newline";=0A= print " $funname
";=0A= print "
 $_
$_$_
 
- No viewable Change = -
";=0A= close($fh);=0A= =0A= print "

\n";=0A= =0A= print "";=0A= =0A= print "";=0A= =0A= print "
";=0A= # print legend=0A= print "
";=0A= print "Legend:
\n";=0A= print "";=0A= print "";=0A= print "";=0A= print "
Removed = from v.$rev1 
changed lines
 Added in v.$rev2
\n";=0A= =0A= print "
";=0A= # Print format selector=0A= print "
\n";=0A= foreach my $var (keys %input) {=0A= next if ($var eq "f");=0A= next if (defined($DEFAULTVALUE{$var})=0A= && $DEFAULTVALUE{$var} eq $input{$var});=0A= print "\n";=0A= }=0A= printDiffSelect($use_java_script);=0A= print "\n";=0A= print "
\n";=0A= print "
";=0A= }=0A= =0A= sub navigateHeader ($$$$$) {=0A= my ($swhere,$path,$filename,$rev,$title) =3D @_;=0A= $swhere =3D "" if ($swhere eq $scriptwhere);=0A= $swhere =3D urlencode($filename) if ($swhere eq "");=0A= print "<\!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 = Transitional//EN\">";=0A= print "\n\n";=0A= print '';=0A= print "\n$path$filename - $title - $rev\n";=0A= print "\n";=0A= print "";=0A= print "";=0A= =0A= print "";=0A= print "
";=0A= print "$backicon";=0A= print " Return to ", = &link("$filename","$swhere$query#rev$rev")," CVS log";=0A= print " $fileicon$diricon Up to ", &clickablePath($path, = 1), "
";=0A= }=0A= =0A= sub plural_write ($$)=0A= {=0A= my ($num,$text) =3D @_;=0A= if ($num !=3D 1) {=0A= $text =3D $text . "s";=0A= }=0A= if ($num > 0) {=0A= return $num . " " . $text;=0A= }=0A= else {=0A= return "";=0A= }=0A= }=0A= =0A= ##=0A= # print readable timestamp in terms of=0A= # '..time ago'=0A= # H. Zeller =0A= ##=0A= sub readableTime($$) {=0A= my ($i, $break, $retval);=0A= my ($secs,$long) =3D @_;=0A= =0A= # this function works correct for time >=3D 2 seconds=0A= if ($secs < 2) {=0A= return "very little time";=0A= }=0A= =0A= my %desc =3D (1 , 'second',=0A= 60, 'minute',=0A= 3600, 'hour',=0A= 86400, 'day',=0A= 604800, 'week',=0A= 2628000, 'month',=0A= 31536000, 'year');=0A= my @breaks =3D sort {$a <=3D> $b} keys %desc;=0A= $i =3D 0;=0A= while ($i <=3D $#breaks && $secs >=3D 2 * $breaks[$i]) { =0A= $i++;=0A= }=0A= $i--;=0A= $break =3D $breaks[$i];=0A= $retval =3D plural_write(int ($secs / $break), $desc{"$break"});=0A= =0A= if ($long =3D=3D 1 && $i > 0) {=0A= my $rest =3D $secs % $break;=0A= $i--;=0A= $break =3D $breaks[$i];=0A= my $resttime =3D plural_write(int ($rest / $break), =0A= $desc{"$break"});=0A= if ($resttime) {=0A= $retval =3D $retval . ", " . $resttime;=0A= }=0A= }=0A= =0A= return $retval;=0A= }=0A= =0A= ##=0A= # clickablePath(String pathname, boolean last_item_clickable)=0A= #=0A= # returns a html-ified path whereas each directory is a link for=0A= # faster navigation. last_item_clickable controls whether the=0A= # basename (last directory/file) is a link as well=0A= ##=0A= sub clickablePath($$) {=0A= my ($pathname,$clickLast) =3D @_; =0A= my $retval =3D '';=0A= =0A= if ($pathname eq '/') {=0A= # this should never happen - chooseCVSRoot() is=0A= # intended to do this=0A= $retval =3D "[$cvstree]";=0A= }=0A= else {=0A= $retval =3D $retval . " [$cvstree]";=0A= my $wherepath =3D '';=0A= my ($lastslash) =3D $pathname =3D~ m|/$|;=0A= foreach (split(/\//, $pathname)) {=0A= $retval =3D $retval . " / ";=0A= $wherepath =3D $wherepath . '/' . $_;=0A= my ($last) =3D "$wherepath/" eq "/$pathname"=0A= || "$wherepath" eq "/$pathname";=0A= if ($clickLast || !$last) {=0A= $retval =3D $retval . "$_";=0A= }=0A= else { # do not make a link to the current dir=0A= $retval =3D $retval . $_;=0A= }=0A= }=0A= }=0A= return $retval;=0A= }=0A= =0A= sub chooseCVSRoot() {=0A= my @foo;=0A= foreach (sort keys %CVSROOT) {=0A= if (-d $CVSROOT{$_}) {=0A= push(@foo, $_);=0A= }=0A= }=0A= if (@foo > 1) {=0A= my ($k);=0A= print "
\n";=0A= foreach $k (keys %input) {=0A= print "\n" =0A= if ($input{$k}) && ($k ne "cvsroot");=0A= }=0A= # Form-Elements look wierd in Netscape if the background=0A= # isn't gray and the form elements are not placed=0A= # within a table ...=0A= print "";=0A= print "";=0A= print "";=0A= print "";=0A= print "
CVS Root:\n\n
";=0A= }=0A= else {=0A= # no choice ..=0A= print "CVS Root: [$cvstree]";=0A= }=0A= }=0A= =0A= sub chooseMirror() {=0A= my ($mirror,$moremirrors);=0A= $moremirrors =3D 0;=0A= # This code comes from the original BSD-cvsweb=0A= # and may not be useful for your site; If you don't=0A= # set %MIRRORS this won't show up, anyway=0A= #=0A= # Should perhaps exlude the current site somehow.. =0A= if (keys %MIRRORS) {=0A= print "\nThis cvsweb is mirrored in:\n";=0A= foreach $mirror (keys %MIRRORS) {=0A= print ", " if ($moremirrors);=0A= print qq($mirror\n);=0A= $moremirrors =3D 1;=0A= }=0A= print "

\n";=0A= }=0A= }=0A= =0A= sub fileSortCmp() {=0A= my ($comp) =3D 0;=0A= my ($c,$d,$af,$bf);=0A= =0A= ($af =3D $a) =3D~ s/,v$//;=0A= ($bf =3D $b) =3D~ s/,v$//;=0A= my ($rev1,$date1,$log1,$author1,$filename1) =3D @{$fileinfo{$af}}=0A= if (defined($fileinfo{$af}));=0A= my ($rev2,$date2,$log2,$author2,$filename2) =3D @{$fileinfo{$bf}}=0A= if (defined($fileinfo{$bf}));=0A= =0A= if (defined($filename1) && defined($filename2) && $af eq $filename1 = && $bf eq $filename2) {=0A= # Two files=0A= $comp =3D -revcmp($rev1, $rev2) if ($byrev && $rev1 && $rev2);=0A= $comp =3D ($date2 <=3D> $date1) if ($bydate && $date1 && $date2);=0A= $comp =3D ($log1 cmp $log2) if ($bylog && $log1 && $log2);=0A= $comp =3D ($author1 cmp $author2) if ($byauthor && $author1 && = $author2);=0A= }=0A= if ($comp =3D=3D 0) {=0A= # Directories first, then sorted on name if no other sort critera=0A= # available.=0A= my $ad =3D ((-d "$fullname/$a")?"D":"F");=0A= my $bd =3D ((-d "$fullname/$b")?"D":"F");=0A= ($c=3D$a) =3D~ s|.*/||;=0A= ($d=3D$b) =3D~ s|.*/||;=0A= $comp =3D ("$ad$c" cmp "$bd$d");=0A= }=0A= return $comp;=0A= }=0A= =0A= # make A url for downloading=0A= sub download_url($$$) {=0A= my ($url,$revision,$mimetype) =3D @_;=0A= =0A= $revision =3D~ s/\.0\././;=0A= =0A= if (defined($checkout_magic)=0A= && (!defined($mimetype) || $mimetype ne "text/x-cvsweb-markup")) {=0A= my ($path);=0A= ($path =3D $where) =3D~ s|/[^/]*$|/|;=0A= $url =3D "$scriptname/$checkoutMagic/${path}$url";=0A= }=0A= $url .=3D "?rev=3D$revision";=0A= $url .=3D "&content-type=3D$mimetype" if (defined($mimetype));=0A= =0A= return $url;=0A= }=0A= =0A= # Presents a link to download the =0A= # selected revision=0A= sub download_link($$$$) {=0A= my ($url,$revision,$textlink,$mimetype) =3D @_;=0A= my ($fullurl) =3D download_url($url,$revision,$mimetype);=0A= my ($paren) =3D $textlink =3D~ /^\(/;=0A= $textlink =3D~ s/^\(// if ($paren);=0A= $textlink =3D~ s/\)$// if ($paren);=0A= print "(" if ($paren);=0A= print "$textlink";=0A= print ")" if ($paren);=0A= }=0A= =0A= # Returns a Query string with the=0A= # specified parameter toggled=0A= sub toggleQuery($$) {=0A= my ($toggle,$value) =3D @_;=0A= my ($newquery,$var);=0A= my (%vars);=0A= %vars =3D %input;=0A= if (defined($value)) {=0A= $vars{$toggle} =3D $value;=0A= }=0A= else {=0A= $vars{$toggle} =3D $vars{$toggle} ? 0 : 1;=0A= }=0A= # Build a new query of non-default paramenters=0A= $newquery =3D "";=0A= foreach $var (@stickyvars) {=0A= my ($value) =3D defined($vars{$var}) ? $vars{$var} : "";=0A= my ($default) =3D defined($DEFAULTVALUE{$var}) ? $DEFAULTVALUE{$var} : = "";=0A= if ($value ne $default) {=0A= $newquery .=3D "&" if ($newquery ne "");=0A= $newquery .=3D urlencode($var) . "=3D" . urlencode($value);=0A= }=0A= }=0A= if ($newquery) {=0A= return '?' . $newquery;=0A= }=0A= return "";=0A= }=0A= =0A= sub urlencode($) {=0A= my ($in) =3D @_;=0A= my ($out);=0A= ($out =3D $in) =3D~ s/([\000-+{-\377])/sprintf("%%%02x", ord($1))/ge;=0A= return $out;=0A= }=0A= =0A= sub http_header(;$) {=0A= my $content_type =3D shift || "text/html";=0A= my $is_mod_perl =3D defined($ENV{'MOD_PERL'});=0A= if (defined($moddate)) {=0A= if ($is_mod_perl) {=0A= Apache->request->header_out("Last-Modified" =3D> scalar = gmtime($moddate) . " GMT");=0A= }=0A= else {=0A= print "Last-Modified: " . scalar gmtime($moddate) . " GMT\r\n";=0A= }=0A= }=0A= if ($is_mod_perl) {=0A= Apache->request->content_type($content_type);=0A= }=0A= else {=0A= print "Content-type: $content_type\r\n";=0A= }=0A= if ($allow_compress && $maycompress) {=0A= if ($has_zlib || (defined($GZIPBIN) && open(GZIP, "|$GZIPBIN -1 -c"))) {=0A= if ($is_mod_perl) {=0A= Apache->request->content_encoding("x-gzip");=0A= Apache->request->header_out(Vary =3D> "Accept-Encoding");=0A= Apache->request->send_http_header;=0A= }=0A= else {=0A= print "Content-encoding: x-gzip\r\n";=0A= print "Vary: Accept-Encoding\r\n"; #RFC 2068, 14.43=0A= print "\r\n"; # Close headers=0A= }=0A= $| =3D 1; $| =3D 0; # Flush header output=0A= if ($has_zlib) {=0A= tie *GZIP, __PACKAGE__, \*STDOUT;=0A= }=0A= select(GZIP);=0A= $gzip_open =3D 1;=0A= # print "" if ($content_type eq "text/html");=0A= }=0A= else {=0A= if ($is_mod_perl) {=0A= Apache->request->send_http_header;=0A= }=0A= else {=0A= print "\r\n"; # Close headers=0A= }=0A= print "Unable to find gzip binary in the \$PATH to = compress output
";=0A= }=0A= }=0A= else {=0A= if ($is_mod_perl) {=0A= Apache->request->send_http_header;=0A= }=0A= else {=0A= print "\r\n"; # Close headers=0A= }=0A= }=0A= }=0A= =0A= sub html_header($) {=0A= my ($title) =3D @_;=0A= my $version =3D '$Revision: 1.112 $';=0A= http_header();=0A= print <=0A= =0A= $title=0A= =0A= =0A= $body_tag=0A= $logo

$title

=0A= EOH=0A= }=0A= =0A= sub html_footer() {=0A= return "
$address
\n";=0A= }=0A= =0A= sub link_tags($)=0A= {=0A= my ($tags) =3D @_;=0A= my ($ret) =3D "";=0A= my ($fileurl,$filename);=0A= =0A= ($filename =3D $where) =3D~ s/^.*\///;=0A= $fileurl =3D urlencode($filename);=0A= =0A= foreach my $sym (split(", ", $tags)) {=0A= $ret .=3D ",\n" if ($ret ne "");=0A= $ret .=3D "$sym";=0A= }=0A= return $ret."\n";=0A= }=0A= =0A= #=0A= # See if a module is listed in the config file's @HideModule list.=0A= #=0A= sub forbidden_module($) {=0A= my($module) =3D @_;=0A= return checkForbidden($module, @HideModules);=0A= }=0A= =0A= sub forbidden_file($) {=0A= my($file) =3D @_;=0A= $file =3D~ s|^.*/||;=0A= return checkForbidden($file, @DissallowRead);=0A= }=0A= =0A= sub checkForbidden($@) {=0A= my($item, @list) =3D @_;=0A= for (my $i=3D0; $i < @list; $i++) {=0A= return 1 if $item =3D~ $list[$i];=0A= }=0A= return 0;=0A= }=0A= =0A= # Close the GZIP handle remove the tie.=0A= =0A= sub gzipclose() {=0A= if ($gzip_open) {=0A= select(STDOUT);=0A= close(GZIP);=0A= untie *GZIP;=0A= $gzip_open =3D 0;=0A= }=0A= }=0A= =0A= # implement a gzipped file handle via the Compress:Zlib compression=0A= # library.=0A= =0A= sub MAGIC1() { 0x1f }=0A= sub MAGIC2() { 0x8b }=0A= sub OSCODE() { 3 }=0A= =0A= sub TIEHANDLE {=0A= my ($class, $out) =3D @_;=0A= my ($d) =3D Compress::Zlib::deflateInit(-Level =3D> = Compress::Zlib::Z_BEST_COMPRESSION(),=0A= -WindowBits =3D> -Compress::Zlib::MAX_WBITS()) or return undef;=0A= my ($o) =3D {=0A= handle =3D> $out,=0A= dh =3D> $d,=0A= crc =3D> 0,=0A= len =3D> 0,=0A= };=0A= my ($header) =3D pack("c10", MAGIC1, MAGIC2, = Compress::Zlib::Z_DEFLATED(), 0,0,0,0,0,0, OSCODE);=0A= print {$o->{handle}} $header;=0A= return bless($o, $class);=0A= }=0A= =0A= sub PRINT {=0A= my ($o) =3D shift;=0A= my ($buf) =3D join(defined $, ? $, : "",@_);=0A= my ($len) =3D length($buf);=0A= my ($compressed, $status) =3D $o->{dh}->deflate($buf);=0A= print {$o->{handle}} $compressed if defined($compressed);=0A= $o->{crc} =3D Compress::Zlib::crc32($buf, $o->{crc});=0A= $o->{len} +=3D $len;=0A= return $len;=0A= }=0A= =0A= sub PRINTF {=0A= my ($o) =3D shift;=0A= my ($fmt) =3D shift;=0A= my ($buf) =3D sprintf($fmt, @_);=0A= my ($len) =3D length($buf);=0A= my ($compressed, $status) =3D $o->{dh}->deflate($buf);=0A= print {$o->{handle}} $compressed if defined($compressed);=0A= $o->{crc} =3D Compress::Zlib::crc32($buf, $o->{crc});=0A= $o->{len} +=3D $len;=0A= return $len;=0A= }=0A= =0A= sub WRITE {=0A= my ($o, $buf, $len, $off) =3D @_;=0A= my ($compressed, $status) =3D $o->{dh}->deflate(substr($buf, 0, $len));=0A= print {$o->{handle}} $compressed if defined($compressed);=0A= $o->{crc} =3D Compress::Zlib::crc32(substr($buf, 0, $len), $o->{crc});=0A= $o->{len} +=3D $len;=0A= return $len;=0A= }=0A= =0A= sub CLOSE {=0A= my ($o) =3D @_;=0A= return if !defined( $o->{dh});=0A= my ($buf) =3D $o->{dh}->flush();=0A= $buf .=3D pack("V V", $o->{crc}, $o->{len});=0A= print {$o->{handle}} $buf;=0A= undef $o->{dh};=0A= }=0A= =0A= sub DESTROY {=0A= my ($o) =3D @_;=0A= CLOSE($o);=0A= }=0A= ------=_NextPart_000_0003_01C32123.A2DEFAC0 Content-Type: application/octet-stream; name="cvsweb.conf" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="cvsweb.conf" # -*-perl-*-=0A= # Configuration of cvsweb.cgi, the=0A= # CGI interface to CVS Repositories.=0A= #=0A= # (c) 1998-1999 H. Zeller =0A= # 1999 H. Nordstr=F6m =0A= # based on work by Bill Fenner =0A= # $Id: cvsweb.conf,v 1.29 2001/07/23 09:14:52 hzeller Exp $=0A= #=0A= ###=0A= =0A= ##############=0A= # CVS Root=0A= ##############=0A= # CVSweb can handle several CVS-Repositories=0A= # at once. Enter a short symbolic names and the=0A= # full path of these repositories here.=0A= # NOTE that the symbolic names may not contain=0A= # whitespaces.=0A= # Note, that cvsweb.cgi currently needs to have physical access=0A= # to the CVS repository so :pserver:someone@xyz.com:/data/cvsroot=0A= # won't work!=0A= =0A= # 'symbolic_name' 'path_to_the_actual_repository'=0A= %CVSROOT =3D (=0A= 'Configuracion' =3D> '/cvs/repositorio',=0A= 'Desarrollo' =3D> '/tmp/cvsroot/conf'=0A= # 'HTML-files' =3D> '/tmp/upload'=0A= );=0A= =0A= # This tree is enabled by default when=0A= # you enter the page=0A= # $cvstreedefault =3D 'Development';=0A= $cvstreedefault =3D 'Configuracion';=0A= =0A= ##############=0A= # Defaults for UserSettings=0A= ##############=0A= %DEFAULTVALUE =3D (=0A= # sortby: File sort order=0A= # file Sort by filename=0A= # rev Sort by revision number=0A= # date Sort by commit date=0A= # author Sort by author=0A= # log Sort by log message=0A= =0A= "sortby" =3D> "file",=0A= =0A= # hideattic: Hide or show files in Attic=0A= # 1 Hide files in Attic=0A= # 0 Show files in Attic=0A= =0A= "hideattic" =3D> "0",=0A= =0A= # logsort: Sort order for CVS logs=0A= # date Sort revisions by date=0A= # rev Sort revision by revision number=0A= # cvs Don't sort them. Same order as CVS/RCS shows them.=0A= =0A= "logsort" =3D> "date",=0A= =0A= # f: Default diff format=0A= # h Human readable=0A= # u Unified diff=0A= # c Context diff=0A= # s Side by side=0A= "f" =3D> "h", =0A= =0A= # hidecvsroot: Don't show the CVSROOT directory=0A= # 1 Hide CVSROOT directory=0A= # 0 Show CVSROOT directory=0A= "hidecvsroot" =3D> "0",=0A= =0A= # hidenonreadable: Don't show entries which cannot be read=0A= # 1 Hide non-readable entries=0A= # 0 Show non-readable entries=0A= "hidenonreadable" =3D> "1",=0A= );=0A= =0A= ##############=0A= # some layout stuff=0A= ##############=0A= =0A= # color settings in the body-tag=0A= $body_tag =3D '';=0A= =0A= # Wanna have a logo on the page ?=0A= $logo =3D '';=0A= =0A= # The title of the Page on startup=0A= $defaulttitle =3D "CVS Repository";=0A= =0A= # The address is shown on the footer=0A= $address =3D "CVSweb by <zeller\@think.de>";=0A= =0A= # Default page background color for the diffs=0A= # and annotations=0A= $backcolor =3D "#eeeeee";=0A= =0A= # color of navigation Header for=0A= # diffs and annotations=0A= $navigationHeaderColor =3D '#9999ee';=0A= =0A= $long_intro =3D <=0A= This is a WWW interface for CVS Repositories.=0A= You can browse the file hierarchy by picking directories=0A= (which have slashes after them, e.g., src/).=0A= If you pick a file, you will see the revision history=0A= for that file.=0A= Selecting a revision number will download that revision of=0A= the file. There is a link at each revision to display=0A= diffs between that revision and the previous one, and=0A= a form at the bottom of the page that allows you to=0A= display diffs between arbitrary revisions.=0A=

=0A=

=0A= This script has been written by Bill Fenner=0A= <fenner\@freebsd.org>=0A= and improved by Henner Zeller=0A= <zeller\@think.de>,=0A= Henrik Nordström=0A= <hno\@hem.passagen.se>, and=0A= Ken Coar=0A= <Ken.Coar\@Golux.Com>;=0A= it is covered by the=0A= BSD-Licence<= /a>.=0A=

=0A=

=0A= If you would like to use this CGI script on your own web server and=0A= CVS tree, see Zeller's=0A= CVSweb distribution site. Bill's original script can be found=0A= here.=0A=

=0A=

=0A= Please send any suggestions, comments, etc. to=0A= Bill Fenner or, regarding the=0A= modifications, to=0A= Henner Zeller,=0A= Henrik Nordström, or=0A= Ken Coar.=0A=

=0A= EOT=0A= =0A= $short_instruction =3D <=0A= Click on a directory to enter that directory. Click on a file to display=0A= its revision history and to get a chance to display diffs between = revisions. =0A=

=0A= EOT=0A= =0A= # used icons; if icon-url is empty, the text representation is used; if=0A= # you do not want to have an ugly tooltip for the icon, remove the=0A= # text-representation.=0A= # The width and height of the icon allow the browser to correcly display=0A= # the table while still loading the icons.=0A= # These default icons are coming with apache.=0A= # If these icons are too large, check out the miniicons in the=0A= # icons/ directory; they have a width/height of 16/16=0A= # format: TEXT ICON-URL width height=0A= %ICONS =3D (=0A= back =3D> [ ("[BACK]", "/icons/back.gif", 20, 22) ],=0A= dir =3D> [ ("[DIR]", "/icons/dir.gif", 20, 22) ],=0A= file =3D> [ ("[TXT]", "/icons/text.gif", 20, 22) ],=0A= );=0A= =0A= # the length to which the last logentry should=0A= # be truncated when shown in the directory view=0A= $shortLogLen =3D 80;=0A= =0A= # Show author of last change=0A= $show_author =3D 1;=0A= =0A= ##############=0A= # table view for directories=0A= ##############=0A= =0A= # Show directory as table=0A= # this is much more readable but has one=0A= # drawback: the whole table has to be loaded=0A= # before common browsers display it which may=0A= # be annoying if you have a slow link - and a=0A= # large directory ..=0A= $dirtable =3D 1;=0A= =0A= # show different colors for even/odd rows=0A= @tabcolors =3D ('#ccccee', '#ffffff');=0A= $tablepadding =3D 2;=0A= =0A= # Color of Header=0A= $columnHeaderColorDefault =3D '#cccccc';=0A= $columnHeaderColorSorted =3D '#88ff88';=0A= =0A= # =0A= # If you want to have colored borders =0A= # around each row, uncomment this=0A= # $tableBorderColor =3D '#999999';=0A= =0A= #=0A= # Modules in the repository that should not be displayed, either by = default=0A= # nor by explicit path specification. Usually, you don't want to display=0A= # CVSROOT.=0A= #=0A= @HideModules =3D ( =0A= "CVSROOT",=0A= );=0A= =0A= #=0A= # Files matching this name shouldn't be checked out with cvsweb, since=0A= # they may contain sensitive information. Simple file name based=0A= # filter. Often, the CVSROOT/passwd is exposed and some people tend=0A= # to check in their .cvspass, though this is a bad idea. These files = shouldn't=0A= # be readable by default. Thanks to Damian Gryski to point this out.=0A= @DissallowRead =3D ( "\^.cvspass\$", "^passwd\$");=0A= =0A= #=0A= # Use CVSROOT/CVSROOT/descriptions for describing the directories/modules=0A= # See INSTALL section 8=0A= #=0A= $use_descriptions =3D 0;=0A= =0A= ##############=0A= # Human Readable Diff=0A= ##############=0A= =0A= # (c) 1998 H. Zeller =0A= #=0A= # Generates two columns of color encoded=0A= # diff; much like xdiff or emacs-ediff mode.=0A= #=0A= # The diff-stuff is a piece of code I once made for=0A= # cvs2html which is under GPL,=0A= # see http://www.sslug.dk/cvs2html=0A= # (c) 1997/98 Peter Toft =0A= #=0A= # some parameters to screw:=0A= ##=0A= =0A= # make lines breakable so that the columns do not=0A= # exceed the width of the browser=0A= $hr_breakable =3D 1;=0A= =0A= # give out function names in human readable diffs=0A= # this just makes sense if we have C-files, otherwise=0A= # diff's heuristic doesn't work well ..=0A= # ( '-p' option to diff)=0A= $hr_funout =3D 0;=0A= =0A= # ignore whitespaces for human readable diffs=0A= # (indendation and stuff ..)=0A= # ( '-w' option to diff)=0A= $hr_ignwhite =3D 1;=0A= =0A= # ignore diffs which are caused by=0A= # keyword-substitution like $Id - Stuff=0A= # ( '-kk' option to rcsdiff)=0A= $hr_ignkeysubst =3D 1;=0A= =0A= # Colors and font to show the diff type of code changes=0A= $diffcolorHeading =3D '#99cccc'; # color of 'Line'-head of each = diffed file=0A= $diffcolorEmpty =3D '#cccccc'; # color of 'empty' lines=0A= $diffcolorRemove =3D '#ff9999'; # Removed line(s) (left) ( - )=0A= $diffcolorChange =3D '#99ff99'; # Changed line(s) ( both )=0A= $diffcolorAdd =3D '#ccccff'; # Added line(s) ( - ) (right)=0A= $diffcolorDarkChange =3D '#99cc99'; # lines, which are empty in change=0A= $difffontface =3D "Helvetica,Arial";=0A= $difffontsize =3D "-1";=0A= =0A= # the width of the textinput of the=0A= # request-diff-form=0A= $inputTextSize =3D 12;=0A= =0A= ##############=0A= # Mime Types=0A= ##############=0A= =0A= # mapping to mimetypes to help=0A= # cvsweb to guess the correct mime-type on=0A= # checkout; you can use the mime.types from=0A= # apache here:=0A= $mime_types =3D '/usr/local/web/apache/conf/mime.types';=0A= =0A= # quick mime-type lookup; maps file-suffices to=0A= # mime-types for displaying checkouts in the browser.=0A= # Further MimeTypes will be found in the =0A= # file $mime_types (apache style mime.types - file)=0A= # - add common mappings here for faster lookup=0A= %MTYPES =3D (=0A= "html" =3D> "text/html",=0A= "shtml" =3D> "text/html",=0A= "gif" =3D> "image/gif",=0A= "jpeg" =3D> "image/jpeg",=0A= "jpg" =3D> "image/jpeg", =0A= "*" =3D> "text/plain",=0A= );=0A= =0A= ##############=0A= # Misc=0A= ##############=0A= # allow annotation of files=0A= # this requires rw-access to the=0A= # CVSROOT/history - file and rw-access=0A= # to the subdirectory to place the lock=0A= # so you maybe don't want it=0A= $allow_annotate =3D 1;=0A= =0A= # allow pretty-printed version of files=0A= $allow_markup =3D 1;=0A= =0A= # allow compression with gzip=0A= # of output if the Browser accepts=0A= # it (HTTP_ACCEPT_ENCODING=3Dgzip)=0A= # [make sure to have gzip in the path]=0A= $allow_compress =3D 1;=0A= =0A= # Make use of javascript functions.=0A= # This way you can select one of your CVSroot=0A= # without pressing 'Go' (.. if you do have more=0A= # than one CVSROOT defined)=0A= $use_java_script =3D 1;=0A= =0A= # open Download-Links in another window=0A= $open_extern_window =3D 1;=0A= =0A= # The size of this extern window; this size option=0A= # needs use_java_script to be defined=0A= # just comment them if you don't want to have a fixed=0A= # size=0A= #$extern_window_width =3D 600;=0A= #$extern_window_height =3D 440;=0A= =0A= # Edit Options=0A= # Enable form to edit your options (hideattic,sortbydate)=0A= # this isn't necessary if you've $dirtable defined 'cause=0A= # this allows editing of all your options more intuitive=0A= $edit_option_form =3D (not $dirtable);=0A= =0A= # remember to set the path to your=0A= # rcsutils: rlog, rcsdiff (gzip if you use compression)=0A= #$ENV{'PATH'} =3D '/usr/local/bin';=0A= =0A= # If you have files which automatically refers to other files=0A= # (such as HTML) then this allows you to browse the checked=0A= # out files as if outside CVS.=0A= $checkout_magic =3D 1;=0A= =0A= # Show last changelog message for sub directories=0A= # The current implementation makes many assumptions and may show the=0A= # incorrect file at some times. The main assumption is that the last=0A= # modified file has the newest filedate. But some CVS operations=0A= # touches the file without even when a new version is't checked in,=0A= # and TAG based browsing essientially puts this out of order, unless=0A= # the last checkin was on the same tag as you are viewing.=0A= # Enable this if you like the feature, but don't rely on correct results.=0A= $show_subdir_lastmod =3D 0;=0A= =0A= # Background color of logentry in markup=0A= $markupLogColor =3D "#ffffff";=0A= =0A= # Show CVS log when viewing file contents=0A= $show_log_in_markup =3D 1;=0A= =0A= # Tabstop used to expand tabs in colored diffs. If undefined then=0A= # tabs are always expanded to 8 spaces.=0A= $tabstop =3D 8;=0A= =0A= # if you wish to display absolute times in your local timezone,=0A= # then define mytz and fill in the strings for your standard and=0A= # daylight time. Note that you must also make sure the system=0A= # timezone is correctly set.=0A= # @mytz=3D("EST", "EDT");=0A= =0A= # cvsweb is friendly to caches by indicating a suitable=0A= # last-modified timestamp. Doing this uses slightly more=0A= # CPU so you might want to disable it if you have a slow=0A= # server=0A= $use_moddate =3D 1;=0A= =0A= #EOF=0A= ------=_NextPart_000_0003_01C32123.A2DEFAC0-- From owner-freebsd-questions@FreeBSD.ORG Fri May 23 10:46:18 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 02A1837B401 for ; Fri, 23 May 2003 10:46:18 -0700 (PDT) Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5DCDC43F93 for ; Fri, 23 May 2003 10:46:14 -0700 (PDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com[24.147.188.198]) by attbi.com (rwcrmhc53) with ESMTP id <2003052317461305300p5o3be>; Fri, 23 May 2003 17:46:14 +0000 Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [24.147.188.198] (may be forged)) by be-well.ilk.org (8.12.9/8.12.7) with ESMTP id h4NHkDFb010122; Fri, 23 May 2003 13:46:13 -0400 (EDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: (from lowell@localhost) by be-well.ilk.org (8.12.9/8.12.6/Submit) id h4NHkC6R010119; Fri, 23 May 2003 13:46:12 -0400 (EDT) X-Authentication-Warning: be-well.ilk.org: lowell set sender to freebsd-questions-local@be-well.ilk.org using -f Sender: lowell@be-well.no-ip.com To: Aleksandr Shapayev References: <441001862.20030522003349@front.ru> From: Lowell Gilbert Date: 23 May 2003 13:46:12 -0400 In-Reply-To: <441001862.20030522003349@front.ru> Message-ID: <44fzn5pndn.fsf@be-well.ilk.org> Lines: 16 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: Re: 'silo overflow' kernel messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 17:46:18 -0000 Aleksandr Shapayev writes: > FreeBSD 3.5-STABLE worked fine, but after installing 4.8-RELEASE I > begin receive 'sio1: 1 more silo overflow (total 12)' messages while > downloading large files. > > 3.5-STABLE produced such messages only after switching to another > console during file download. All connections were made to the same > ISP by pppd with same options. > > System configuration: Pentium III (600MHz) with 320Mb RAM, Courier > V.Everything 56K external modem at /dev/cuaa1. Something is blocking interrupts for too long. Make sure you've got decent FIFOs on your serial port... From owner-freebsd-questions@FreeBSD.ORG Fri May 23 10:50:18 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 886D537B401 for ; Fri, 23 May 2003 10:50:18 -0700 (PDT) Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id D451F43F3F for ; Fri, 23 May 2003 10:50:17 -0700 (PDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com[24.147.188.198]) by attbi.com (rwcrmhc53) with ESMTP id <2003052317501705300p5aate>; Fri, 23 May 2003 17:50:17 +0000 Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [24.147.188.198] (may be forged)) by be-well.ilk.org (8.12.9/8.12.7) with ESMTP id h4NHoGFb010172; Fri, 23 May 2003 13:50:16 -0400 (EDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: (from lowell@localhost) by be-well.ilk.org (8.12.9/8.12.6/Submit) id h4NHoGJK010169; Fri, 23 May 2003 13:50:16 -0400 (EDT) X-Authentication-Warning: be-well.ilk.org: lowell set sender to freebsd-questions-local@be-well.ilk.org using -f Sender: lowell@be-well.no-ip.com To: "John Straiton" References: <00c301c31fdf$59051820$1916c60a@win2k.clickcom.com> From: Lowell Gilbert Date: 23 May 2003 13:50:16 -0400 In-Reply-To: <00c301c31fdf$59051820$1916c60a@win2k.clickcom.com> Message-ID: <44brxtpn6v.fsf@be-well.ilk.org> Lines: 5 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: Re: SCP problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 17:50:18 -0000 "John Straiton" writes: > %scp testuser@HOST2:/tmp/file.txt /tmp/ Try the -v option and get more detail. From owner-freebsd-questions@FreeBSD.ORG Fri May 23 10:51:13 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 89DD137B401 for ; Fri, 23 May 2003 10:51:13 -0700 (PDT) Received: from smtp02.mrf.mail.rcn.net (smtp02.mrf.mail.rcn.net [207.172.4.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id E175E43F3F for ; Fri, 23 May 2003 10:51:12 -0700 (PDT) (envelope-from rjhalljr@starpower.net) Received: from 66-44-66-80.s80.tnt7.lnhva.md.dialup.rcn.com ([66.44.66.80] helo=sten.alder.net) by smtp02.mrf.mail.rcn.net with smtp (Exim 3.35 #4) id 19JGhB-0007cX-00 for freebsd-questions@freebsd.org; Fri, 23 May 2003 13:51:10 -0400 Received: by sten.alder.net (sSMTP sendmail emulation); Fri, 23 May 2003 13:48:36 -0400 Date: Fri, 23 May 2003 13:48:36 -0400 From: "Bob Hall" To: freebsd-questions@freebsd.org Message-ID: <20030523174836.GA700@sten.alder.net> Mail-Followup-To: Bob Hall , freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Subject: FBSD 4.8 & CLIENT firewall X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 17:51:13 -0000 I've just completed an upgrade from FBSD 4.4 to 4.8. I've got a cable connection to my ISP and therefore want a firewall that provides some protection. Since I'm not providing any services on the Internet, I'm using CLIENT (ipfw) instead of SIMPLE. However, if I choose anything except OPEN, I can't even ping on the LAN. I haven't modified rc.firewall except to enter info on the LAN, so the firewall script has the default rules. I don't see anything in the rules that suggests a problem to me. Can someone point me toward the cause of the problem? Relevent config info: uname -a ############################################# FreeBSD sten.alder.net 4.8-STABLE FreeBSD 4.8-STABLE #0: Fri May 23 01:30:50 EDT 2003 root@sten.alder.net:/usr/src/sys/compile/STEN0 i386 config ############################################# fxp0: flags=8843 mtu 1500 inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255 inet6 fe80::2a0:c9ff:fe72:e2df%fxp0 prefixlen 64 scopeid 0x1 ether 00:a0:c9:72:e2:df media: Ethernet autoselect (100baseTX ) status: active rl0: flags=8843 mtu 1500 inet6 fe80::240:5ff:fe80:444b%rl0 prefixlen 64 scopeid 0x2 inet XX.XX.XX.XX netmask 0xfffff000 broadcast 68.100.111.255 ether 00:40:05:80:44:4b media: Ethernet autoselect (100baseTX ) status: active lo0: flags=8049 mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet 127.0.0.1 netmask 0xff000000 ipfw ############################################# 00050 0 0 divert 8668 ip from any to any via rl0 00100 0 0 allow ip from any to any via lo0 00200 0 0 deny ip from any to 127.0.0.0/8 00300 0 0 deny ip from 127.0.0.0/8 to any 00400 0 0 allow ip from 192.168.0.1 to 192.168.0.0/24 00500 0 0 allow ip from 192.168.0.0/24 to 192.168.0.1 00600 0 0 allow tcp from any to any established 00700 0 0 allow ip from any to any frag 00800 0 0 allow tcp from any to 192.168.0.1 25 setup 00900 0 0 allow tcp from 192.168.0.1 to any setup 01000 0 0 deny tcp from any to any setup 01100 0 0 allow udp from 192.168.0.1 to any 53 keep-state 01200 0 0 allow udp from 192.168.0.1 to any 123 keep-state 65535 1 328 deny ip from any to any rc.conf ############################################# gateway_enable="YES" hostname="sten.alder.net" #------------------ # Network interfaces defaultrouter="192.168.0.1" network_interfaces="rl0 fxp0 lo0" ifconfig_rl0="DHCP" ifconfig_fxp0="inet 192.168.0.1 netmask 255.255.255.0" ifconfig_lo0="127.0.0.1" #------------------- # NAT natd_enable="YES" natd_interface="rl0" natd_flags="-dynamic" # Firewall #------------------ firewall_enable="YES" firewall_script="/etc/rc.firewall firewall_type="CLIENT" #------------------- # Security kern_securelevel_enable="NO" #------------------ # DNS named_enable="YES" From owner-freebsd-questions@FreeBSD.ORG Fri May 23 10:53:41 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ADB2837B401 for ; Fri, 23 May 2003 10:53:41 -0700 (PDT) Received: from sccrmhc01.attbi.com (sccrmhc01.attbi.com [204.127.202.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id E19FE43F3F for ; Fri, 23 May 2003 10:53:40 -0700 (PDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com[24.147.188.198]) by attbi.com (sccrmhc01) with ESMTP id <2003052317534000100s1fi8e>; Fri, 23 May 2003 17:53:40 +0000 Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [24.147.188.198] (may be forged)) by be-well.ilk.org (8.12.9/8.12.7) with ESMTP id h4NHrdFb010188; Fri, 23 May 2003 13:53:39 -0400 (EDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: (from lowell@localhost) by be-well.ilk.org (8.12.9/8.12.6/Submit) id h4NHrdmD010185; Fri, 23 May 2003 13:53:39 -0400 (EDT) X-Authentication-Warning: be-well.ilk.org: lowell set sender to freebsd-questions-local@be-well.ilk.org using -f Sender: lowell@be-well.no-ip.com To: Chris Young References: <3ECC33D6.3020406@ica.net> From: Lowell Gilbert Date: 23 May 2003 13:53:39 -0400 In-Reply-To: <3ECC33D6.3020406@ica.net> Message-ID: <447k8hpn18.fsf@be-well.ilk.org> Lines: 12 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: Re: XF86 screen resolution changes on a laptop X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 17:53:42 -0000 Chris Young writes: > I'm a complete newbie to FreeBSD who just installed 4.8 on an IBM 1161 > - > 41g laptop. I managed to get xf86 installed, up, and running. One > small problem; I can't seem to get the hotkey combo that changes the > screen resolution to work. I checked the PAO site docs for help but to > no avail. Any suggestions would be greatly appreciated. You mean the ctrl-alt-+ (and minus) combinations? Those only change the resolution if more than one screen mode passed the initial configuration as valid. From owner-freebsd-questions@FreeBSD.ORG Fri May 23 11:16:08 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E29637B401; Fri, 23 May 2003 11:16:08 -0700 (PDT) Received: from gs166.sp.cs.cmu.edu (GS166.SP.CS.CMU.EDU [128.2.205.169]) by mx1.FreeBSD.org (Postfix) with SMTP id BB4D343FAF; Fri, 23 May 2003 11:16:07 -0700 (PDT) (envelope-from dpelleg@gs166.sp.cs.cmu.edu) Sender: dpelleg@gs166.sp.cs.cmu.edu To: Nimrod Mesika References: <20030523144402.GA10897@localhost.bsd.net.il> From: Dan Pelleg Date: 23 May 2003 14:15:37 -0400 In-Reply-To: <20030523144402.GA10897@localhost.bsd.net.il> Message-ID: Lines: 33 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: ports@FreeBSD.org cc: questions@FreeBSD.org Subject: Re: gphoto2 / USB camera X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 18:16:08 -0000 Nimrod Mesika writes: > Hi all, > > Just got myself a Canon A70 digital camera. The camera connects > to the USB port and uses the standard PTP (picture transfer > protocol) to transfer pictures. > > However, it seems like gphoto2 (which supports PTP) on FreeBSD > crashes repeatedly or gives me some message about unexpected 0x2ff > message... > > The interface works OK under Windows XP (no need to install any > camera-specific software. XP supports PTP out of the box). > > I have also tried using libptp2 (latest 1.0-pre1 from sourceforge) > but to no avail... > > > Any help would be greatly appreciated. > > -- > Nimrod. Try the CVS version of gphoto2. You'll see on their mailing list that the last stable version doesn't work on FreeBSD for Canon cameras. This has been the situation for quite some time - maybe it's time to ask the port maintainer to consider upgrading the port (they haven't released a new stable version yet, so I can see this getting some objection). -- Dan Pelleg From owner-freebsd-questions@FreeBSD.ORG Fri May 23 11:43:03 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE1AB37B401 for ; Fri, 23 May 2003 11:43:03 -0700 (PDT) Received: from hotmail.com (f43.law11.hotmail.com [64.4.17.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 56AE943F3F for ; Fri, 23 May 2003 11:43:03 -0700 (PDT) (envelope-from nuckingfutsto@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 23 May 2003 11:43:03 -0700 Received: from 24.195.167.45 by lw11fd.law11.hotmail.msn.com with HTTP; Fri, 23 May 2003 18:42:59 GMT X-Originating-IP: [24.195.167.45] X-Originating-Email: [nuckingfutsto@hotmail.com] From: "Nucking Futs" To: freebsd-questions@FreeBSD.ORG Date: Fri, 23 May 2003 14:42:59 -0400 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 23 May 2003 18:43:03.0320 (UTC) FILETIME=[246A6980:01C3215B] Subject: PCMCIA NIC Trouble X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 18:43:04 -0000 I have installed FBSD 4.8 on my Dell notebook Inspiron 1100. The internal NIC is not recognized at all so I am trying to use a PCMCIA Linksys model PCM100 PC card. The card is on the supported hardware list found here http://www.freebsd.org/releases/4.8R/hardware-i386.html#ETHERNET As you might has guessed I'm writing because I cant get the card to function. During a normal install of FBSD on a workstation with a PCI NIC the DHCP scan finds the Road Runner connection from my router automatically and I'm set up with internet connectivity, end of story. The card was not recognized during install so after the install reboot I went back into the post install configuration via /stand/sysinstall and attempted to configure additional network interfaces and when doing so the choice "faith0 " showed up. I attempted to configure DHCP but it would not find my connection automatically and attempting to input any of the information would not help either. This is where I am and not really sure where to go next. The hardware support has a link to ed(4) driver which is used by the PCMCIA card NIC's. Is this something that I have to compile into the kernel? Hoping for some assistance to get this card up and running. _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus From owner-freebsd-questions@FreeBSD.ORG Fri May 23 12:01:34 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0EDA937B401 for ; Fri, 23 May 2003 12:01:34 -0700 (PDT) Received: from fmx5.freemail.hu (fmx5.freemail.hu [195.228.242.225]) by mx1.FreeBSD.org (Postfix) with SMTP id 92EF443FAF for ; Fri, 23 May 2003 12:01:32 -0700 (PDT) (envelope-from kovacspeter2@freemail.hu) Received: (qmail 69094 invoked from network); 23 May 2003 21:01:31 +0200 Received: from fm5.freemail.hu (195.228.242.205) by fmx5.freemail.hu with SMTP; 23 May 2003 21:01:31 +0200 Received: (qmail 4358 invoked by uid 3421979); 23 May 2003 21:01:31 +0200 Date: Fri, 23 May 2003 21:01:31 +0200 (CEST) From: =?ISO-8859-2?Q?Kov=E1cs_P=E9ter?= To: freebsd-questions@freebsd.org Message-ID: X-Originating-IP: [81.182.49.23] X-HTTP-User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-2 Subject: MakeWorld X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 19:01:34 -0000 Hi, I have run make world a couple of weeks ago and the following problems occurred. Now I have FreeBSD 4.8. I have found these errors in the /var/log/messgages file: 1. saslauthd[311]: FATAL: setting master lock on /var/state/saslauthd/mux.pid: Resource temporarily unavailable What is this? The file does exist and has the 216 value inside. 2. sshd[317]: FATAL ERROR: Creating listener failed: port 22 probably already in use! ? 3. sshd[373]: fatal: monitor_read: unsupported request: 24 ? 4. sshd[376]: error: PAM: Authentication failure ? I have run mergemaster after the make world with the -v option. What is the best option to use mergemaster with? Please help me I am a little bit newbie to this make world thing. Thanks... From owner-freebsd-questions@FreeBSD.ORG Fri May 23 12:13:19 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE93B37B401 for ; Fri, 23 May 2003 12:13:19 -0700 (PDT) Received: from 12-229-238-38.client.attbi.com (evrtwa1-ar17-4-47-114-001.evrtwa1.dsl-verizon.net [4.47.114.1]) by mx1.FreeBSD.org (Postfix) with SMTP id 220A243F85 for ; Fri, 23 May 2003 12:13:19 -0700 (PDT) (envelope-from ryallsd@datasphereweb.com) Received: (qmail 10041 invoked from network); 23 May 2003 19:13:18 -0000 Received: from unknown (HELO bartxp) (192.168.0.2) by 192.168.0.1 with SMTP; 23 May 2003 19:13:18 -0000 From: "Derrick Ryalls" To: Date: Fri, 23 May 2003 12:13:05 -0700 Message-ID: <009101c3215f$599a25b0$0200a8c0@bartxp> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: Ntop install issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 19:13:20 -0000 I am trying to install ntop and I am getting this error: cd ./config/imake && make -D INSTALLS_DEPENDS -D INSTALLS_DEPENDS -D INSTALLS_DEPENDS -f Makefile.ini BOOTSTRAPCFLAGS=3D"" CC=3D"cc" = bootstrap `bootstrap' is up to date. cd ./config/imake && make -f Makefile.proto all + rm -f xmakefile.bak + mv xmakefile xmakefile.bak make -D INSTALLS_DEPENDS -D INSTALLS_DEPENDS -D INSTALLS_DEPENDS xmakefile rm -f xmakefile ./config/imake/imake -I./config/cf -s xmakefile -DTOPDIR=3D. = -DCURDIR=3D. rm -f ./config/imake/Makefile.proto making Makefiles in include/bitmaps... imake: not found *** Error code 127 Stop in /usr/ports/x11/XFree86-4-libraries/work/xc/include. make: don't know how to make Makefiles. Stop making Makefiles in include/extensions... imake: not found *** Error code 127 Followed by pages of Error code 127 listings. Does anyone know for one why ntop needs XFree86 anyway and how to get around this. I just cvsup'ed my ports collection and did a portupgrade of nearly everything. Base system is still FreeBSD 4.7-STABLE #0 though. =20 When I attempt to install via sysinstall, it fails on freetype as my installed version is more current than what is attempting to being installed. -Derrick From owner-freebsd-questions@FreeBSD.ORG Fri May 23 12:18:00 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F44237B401 for ; Fri, 23 May 2003 12:18:00 -0700 (PDT) Received: from mail.speakeasy.net (mail11.speakeasy.net [216.254.0.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A9A643F3F for ; Fri, 23 May 2003 12:17:57 -0700 (PDT) (envelope-from jdarnold@buddydog.org) Received: (qmail 8804 invoked from network); 23 May 2003 19:17:56 -0000 Received: from unknown (HELO buddydog.org) ([66.92.76.225]) (envelope-sender ) by mail11.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 23 May 2003 19:17:56 -0000 Message-ID: <3ECE73E2.2080709@buddydog.org> Date: Fri, 23 May 2003 15:17:54 -0400 From: Jonathan Arnold User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3; MultiZilla v1.4.0.3G) Gecko/20030312 X-Accept-Language: en-us, en, ja MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG References: <009101c3215f$599a25b0$0200a8c0@bartxp> In-Reply-To: <009101c3215f$599a25b0$0200a8c0@bartxp> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Ntop install issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 19:18:00 -0000 > I am trying to install ntop and I am getting this error: > imake: not found Do you have imake installed? -- Jonathan Arnold (mailto:jdarnold@buddydog.org) Daemon Dancing in the Dark, a FreeBSD blog: http://freebsd.amazingdev.com/blog From owner-freebsd-questions@FreeBSD.ORG Fri May 23 12:24:28 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD9E837B401 for ; Fri, 23 May 2003 12:24:28 -0700 (PDT) Received: from truman.datasphereweb.com (12-212-67-226.client.attbi.com [12.212.67.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 08B8E43F85 for ; Fri, 23 May 2003 12:24:28 -0700 (PDT) (envelope-from davidd@datasphereweb.com) Received: (qmail 13620 invoked from network); 23 May 2003 19:24:27 -0000 Received: from unknown (HELO adavidd101) (207.46.228.98) by truman.datasphereweb.com with SMTP; 23 May 2003 19:24:27 -0000 From: "David Daugherty" To: "'Derrick Ryalls'" , Date: Fri, 23 May 2003 12:23:53 -0700 Message-ID: <40407D2F1E422A49B03C3437FEB986450103F3CF@RED-MSG-23.redmond.corp.microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal In-Reply-To: <009101c3215f$599a25b0$0200a8c0@bartxp> Subject: RE: Ntop install issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 19:24:29 -0000 Looks like one of the dependencies isn't being installed http://www.freebsd.org/cgi/ports.cgi?query=ntop&stype=all Try installing imake independently. David Daugherty Microsoft Business Solutions CRM Integration a-davidd@microsoft.com 425.722.1398 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of > Derrick Ryalls > Sent: Friday, May 23, 2003 12:13 PM > To: freebsd-questions@freebsd.org > Subject: Ntop install issue > > > I am trying to install ntop and I am getting this error: > > cd ./config/imake && make -D INSTALLS_DEPENDS -D INSTALLS_DEPENDS -D > INSTALLS_DEPENDS -f Makefile.ini BOOTSTRAPCFLAGS="" CC="cc" > bootstrap `bootstrap' is up to date. cd ./config/imake && > make -f Makefile.proto all > + rm -f xmakefile.bak > + mv xmakefile xmakefile.bak > make -D INSTALLS_DEPENDS -D INSTALLS_DEPENDS -D INSTALLS_DEPENDS > xmakefile > rm -f xmakefile > ./config/imake/imake -I./config/cf -s xmakefile -DTOPDIR=. > -DCURDIR=. rm -f ./config/imake/Makefile.proto making > Makefiles in include/bitmaps... > imake: not found > *** Error code 127 > > Stop in /usr/ports/x11/XFree86-4-libraries/work/xc/include. > make: don't know how to make Makefiles. Stop > making Makefiles in include/extensions... > imake: not found > *** Error code 127 > > Followed by pages of Error code 127 listings. Does anyone > know for one why ntop needs XFree86 anyway and how to get > around this. I just cvsup'ed my ports collection and did a > portupgrade of nearly everything. Base system is still > FreeBSD 4.7-STABLE #0 though. > > When I attempt to install via sysinstall, it fails on > freetype as my installed version is more current than what is > attempting to being installed. > > -Derrick > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/free> bsd-questions > > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Fri May 23 12:32:24 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 64C3637B401 for ; Fri, 23 May 2003 12:32:24 -0700 (PDT) Received: from out8.mx.nwbl.wi.voyager.net (out8.mx.nwbl.wi.voyager.net [169.207.3.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id C7DDF43F85 for ; Fri, 23 May 2003 12:32:23 -0700 (PDT) (envelope-from raiden@shell.core.com) Received: from shell.core.com (shell.core.com [169.207.1.89]) by out8.mx.nwbl.wi.voyager.net (Postfix) with ESMTP id B4FE23C3E8 for ; Fri, 23 May 2003 14:29:33 -0500 (CDT) Received: from localhost (raiden@localhost) by shell.core.com (8.11.6p2/8.11.6/1.3) with ESMTP id h4NJTXn24854 for ; Fri, 23 May 2003 14:29:33 -0500 (CDT) Date: Fri, 23 May 2003 14:29:33 -0500 (CDT) From: Steven Lake X-X-Sender: raiden@shell.core.com To: questions@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: hot keys in KDE? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 19:32:24 -0000 Anyone know the list of hotkeys in KDE and what they do? I'm specifically after the ones that lock the screen, but a comprehensive list would be cool too. Thanks. From owner-freebsd-questions@FreeBSD.ORG Fri May 23 12:34:40 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9FF1037B401 for ; Fri, 23 May 2003 12:34:40 -0700 (PDT) Received: from 12-229-238-38.client.attbi.com (evrtwa1-ar17-4-47-114-001.evrtwa1.dsl-verizon.net [4.47.114.1]) by mx1.FreeBSD.org (Postfix) with SMTP id 7F19A43FA3 for ; Fri, 23 May 2003 12:34:39 -0700 (PDT) (envelope-from ryallsd@datasphereweb.com) Received: (qmail 10072 invoked from network); 23 May 2003 19:34:36 -0000 Received: from unknown (HELO bartxp) (192.168.0.2) by 192.168.0.1 with SMTP; 23 May 2003 19:34:36 -0000 From: "Derrick Ryalls" To: "'Jonathan Arnold'" , Date: Fri, 23 May 2003 12:34:22 -0700 Message-ID: <009201c32162$5318ed40$0200a8c0@bartxp> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 In-reply-to: <3ECE73E2.2080709@buddydog.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: RE: Ntop install issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 19:34:40 -0000 > > I am trying to install ntop and I am getting this error: > > imake: not found >=20 > Do you have imake installed? Sure did. Two in fact. Uninstalled both and let it install the correct one. After I fixed a path issue things progressed. It is still building, but I am sure it will finish. Still don't understand why ntop needs X... Thanks >=20 > --=20 > Jonathan Arnold (mailto:jdarnold@buddydog.org) > Daemon Dancing in the Dark, a FreeBSD blog:=20 > http://freebsd.amazingdev.com/blog >=20 >=20 >=20 >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list=20 > http://lists.freebsd.org/mailman/listinfo/free> bsd-questions >=20 > To unsubscribe, send any mail to=20 > "freebsd-questions-unsubscribe@freebsd.org" >=20 From owner-freebsd-questions@FreeBSD.ORG Fri May 23 12:39:25 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 443DE37B401 for ; Fri, 23 May 2003 12:39:25 -0700 (PDT) Received: from webmail02.lax.untd.com (outbound-28.lax.untd.com [64.136.28.100]) by mx1.FreeBSD.org (Postfix) with SMTP id A3F7C43FA3 for ; Fri, 23 May 2003 12:39:24 -0700 (PDT) (envelope-from karim18@juno.com) Received: from cookie.untd.com by cookie.untd.com for <"9S+oBZPaDfBFXWQRc84DJJphWLth8Zf1QG4jhFEq4yS37q7CGmt6Lw==">; Fri, 23 May 2003 12:39:18 PDT Received: (from karim18@juno.com) by webmail02.lax.untd.com (jqueuemail) id HYVXKWCD; Fri, 23 May 2003 12:39:18 PDT Received: from [203.199.120.60] by webmail02.lax.untd.com with HTTP: Fri, 23 May 2003 19:38:12 GMT X-Originating-IP: [203.199.120.60] X-Original-From: karim18@juno.com Date: Fri, 23 May 2003 19:38:12 GMT To: freebsd-questions@FreeBSD.ORG X-Mailer: WebMail Version 1.0 Content-Type: text/plain From: karim18@juno.com Message-Id: <20030523.123918.16315.1683@webmail02.lax.untd.com> X-Mailman-Approved-At: Fri, 23 May 2003 12:42:53 -0700 Subject: Kernel?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 19:39:25 -0000 Hello there, My name is Karim, and me and a couple of friends are interested in developing an Open Source flavour of *nix (Not Linux though... its not fast enough) similar to Mac OS X in its look and feel (lotsa eye-candy), anyways we were wondering where we could get the source for the latest FreeBSD kernel (Without having to download the entire set of CD's, else we do have a set of 4.7 and you could just let me know on which CD the kernel resides), and if we were to design an OS around it besides the obvious (Giving credit to the FBSD dev team as stated under the BSD license) would there be any other issues in the copyright/copyleft?? any information/comments/suggestions would be greatly appreciated. also is there any online resource guides on the FreeBSD kernel?? Thanx in Advance, Karim F. Ali ________________________________________________________________ The best thing to hit the internet in years - Juno SpeedBand! Surf the web up to FIVE TIMES FASTER! Only $14.95/ month - visit www.juno.com to sign up today! From owner-freebsd-questions@FreeBSD.ORG Fri May 23 13:03:20 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 863EB37B401 for ; Fri, 23 May 2003 13:03:20 -0700 (PDT) Received: from dhumketu.homeunix.net (dialpool-210-214-64-213.maa.sify.net [210.214.64.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id C663443FBF for ; Fri, 23 May 2003 13:03:18 -0700 (PDT) (envelope-from freebsd@dhumketu.cjb.net) Received: by dhumketu.homeunix.net (Postfix, from userid 1000) id 9DEA768A; Sat, 24 May 2003 00:28:19 +0530 (IST) Date: Sat, 24 May 2003 00:28:19 +0530 From: Shantanu Mahajan To: Fernando Gleiser Message-ID: <20030523185819.GA1266@dhumketu.homeunix.net> Mail-Followup-To: Fernando Gleiser , freebsd-questions@freebsd.org References: <20030522165345.O35791-100000@cactus.fi.uba.ar> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030522165345.O35791-100000@cactus.fi.uba.ar> User-Agent: Mutt/1.4i Organization: Hmmm... I dunno X-OS: FreeBSD 4.8-STABLE i386 cc: freebsd-questions@freebsd.org Subject: Re: Maybe OT: Automatic CRLF conversion? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 20:03:20 -0000 +-- Fernando Gleiser [freebsd] [22-05-03 17:05 -0300]: | Here's my problem: I have a FreeBSD server running an aplication. | The operators of the aplication (read: people who doesn't know Unix) | need to upload some files to the server, and the aplication reads them. | | The files are flat ASCII. | They where using FTP in ASCII mode for that, but they wanted it | to be "even easier", so I set up Samba on the server and they just | drag and drop the files. The problem is with the CRLF conversion, | because the app needs the files the unix way, but they upload them | the DOS way. | | I need an automatic way to handle the conversion, since there is nobody | who knows Unix there, and I can't tell them "run such command". They | have no shell access. | | | I was thinking of writing a little script which runs from cron, converts | the files and then moves them to the final dir, but maybe there is a way of | doing it from samba itself. | | Does anybody have any idea? | | Thanks in advance and sorry for the OT. | | | Fer | ------------------------------ col -bx < file > newfile This will remove ^M from the file. Regards, Shantanu -- Madness has no purpose. Or reason. But it may have a goal. From owner-freebsd-questions@FreeBSD.ORG Fri May 23 13:26:22 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E974137B401 for ; Fri, 23 May 2003 13:26:22 -0700 (PDT) Received: from hotmail.com (oe63.law9.hotmail.com [64.4.8.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BE1F43FA3 for ; Fri, 23 May 2003 13:26:22 -0700 (PDT) (envelope-from gronec@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 23 May 2003 13:26:22 -0700 Received: from 130.49.222.181 by oe63.law9.hotmail.com with DAV; Fri, 23 May 2003 20:26:22 +0000 X-Originating-IP: [130.49.222.181] X-Originating-Email: [gronec@hotmail.com] From: "Corey Grone" To: Date: Fri, 23 May 2003 16:26:05 -0400 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: X-OriginalArrivalTime: 23 May 2003 20:26:22.0367 (UTC) FILETIME=[9355EAF0:01C32169] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: CFS in FreeBSD 5.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 20:26:23 -0000 I am trying to get the Cryptographic File System (CFS) to run under 5.0, = and there are several good guides, out there. However, they all refer = to the portmap program, and after a little looking, I found out this has = been deprecated in favor of rpcbind. I have added = single_mountd_enable=3D"YES" and mountf_flags=3D"-r" to my rc.conf file. = I have created the /null and /crypt directories. I have added /null = localhost to my /etc/exports file. However, when I try to mount the = /null directory with: mount_nfs -o port=3D3049,intr,nfsv2 localhost:/null /crypt I get the error: [upd6] localhost:/null : NFSPROC_NULL : RPC : Unable to receive; errno = =3D Connection refused I am at my wits end, and I would really appreciate any help with this. From owner-freebsd-questions@FreeBSD.ORG Fri May 23 13:29:23 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1520937B401 for ; Fri, 23 May 2003 13:29:23 -0700 (PDT) Received: from cactus.fi.uba.ar (cactus.fi.uba.ar [157.92.49.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id ACEA143F3F for ; Fri, 23 May 2003 13:29:20 -0700 (PDT) (envelope-from fgleiser@cactus.fi.uba.ar) Received: from cactus.fi.uba.ar (cactus.fi.uba.ar [157.92.49.108]) by cactus.fi.uba.ar (8.12.3/8.12.3) with ESMTP id h4NKRXRi050587 for ; Fri, 23 May 2003 17:27:33 -0300 (ART) (envelope-from fgleiser@cactus.fi.uba.ar) Date: Fri, 23 May 2003 17:27:33 -0300 (ART) From: Fernando Gleiser To: freebsd-questions@freebsd.org In-Reply-To: <20030523185819.GA1266@dhumketu.homeunix.net> Message-ID: <20030523171250.F35791-100000@cactus.fi.uba.ar> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=-110.4 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTE_TWICE_1,USER_IN_WHITELIST version=2.53 X-Spam-Checker-Version: SpamAssassin 2.53 (1.174.2.15-2003-03-30-exp) Subject: Re: Maybe OT: Automatic CRLF conversion? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 20:29:23 -0000 On Sat, 24 May 2003, Shantanu Mahajan wrote: > > col -bx < file > newfile > > This will remove ^M from the file. Some people replied with answers like that. I thank you very much for the help, but I already knew beforehand at least a dozen different ways of doing it by hand, including but not limited to: sed, perl, awk, dos2unix, vi, tr, ed and custom C code. As I said in my first mail people DON'T have shell access to the server, they don't know and don't want to know anything about Unix and I have many other things to do other than waiting for them to call me every time they upload a file (20-30 times a day) to fix things. I want to know if samba has the equivalent of FTP's ASCII transfer so it handles the conversion "on the fly". If it doesn't I'll go the cron or wait_on (thanks Chris for the pointer) way to monitor the directories and run the script every time people upload a file. Thanks again. Fer From owner-freebsd-questions@FreeBSD.ORG Fri May 23 13:39:32 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7ACAA37B401 for ; Fri, 23 May 2003 13:39:32 -0700 (PDT) Received: from smtp807.mail.sc5.yahoo.com (smtp807.mail.sc5.yahoo.com [66.163.168.186]) by mx1.FreeBSD.org (Postfix) with SMTP id 0AAB343FAF for ; Fri, 23 May 2003 13:39:32 -0700 (PDT) (envelope-from boxend@swbell.net) Received: from 12iron.chipshot.net (HELO 22bsh) (boxend@swbell.net@65.174.154.20 with login) by smtp-sbc-v1.mail.vip.sc5.yahoo.com with SMTP; 23 May 2003 20:39:31 -0000 From: boxend@swbell.net To: freebsd-questions@freebsd.org Date: Fri, 23 May 2003 15:43:00 -0500 MIME-Version: 1.0 Message-ID: <3ECE4184.12834.92438A@localhost> Priority: normal X-mailer: Pegasus Mail for Windows (v4.02) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Subject: nfs, buildworld X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 20:39:32 -0000 I have 2 "slow" computers running freebsd, I have setup nfs to share /usr/src and /usr/obj from a faster computer with the two slower. When updating is there a need to buildworld on the slower computers after buildworld on the fast? I think not, I have been skipping the buildworld, I build the new kernel (custom kernel file for each), install kernel, then installworld on the slower computers, without errors. The /etc/make.conf files are identical on the 3 computers. From owner-freebsd-questions@FreeBSD.ORG Fri May 23 14:13:59 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E11E37B401 for ; Fri, 23 May 2003 14:13:59 -0700 (PDT) Received: from mwinf0104.wanadoo.fr (smtp8.wanadoo.fr [193.252.22.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id C856943F3F for ; Fri, 23 May 2003 14:13:57 -0700 (PDT) (envelope-from david@landgren.net) Received: from landgren.net (unknown [193.252.200.87]) by mwinf0104.wanadoo.fr (SMTP Server) with ESMTP id 4C3DD1BFFF96; Fri, 23 May 2003 23:13:56 +0200 (CEST) Message-ID: <3ECE8F17.8010504@landgren.net> Date: Fri, 23 May 2003 23:13:59 +0200 From: David Landgren Organization: Oh smear this man across the walls/Like strawberries and cream/It's the only way to be User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030507 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Giorgos Keramidas References: <20030522093058.GA24261@igloo.linux.gr> In-Reply-To: <20030522093058.GA24261@igloo.linux.gr> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: Carolyn Longfoot cc: freebsd-questions@freebsd.org Subject: Re: Update Firewall Rules X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 21:13:59 -0000 Giorgos Keramidas wrote: > Doing thing on a remote machine that you cannot possibly access if > something goes wrong (i.e. a collcation server) is probably not a good > idea though. In cases like these, I usually follow the following > procedure when tinkering with firewall rules to avoid locking myself > out of a machine I can't login to afterwards: > > a) Schedule a reboot in 15 minutes or so. > > b) Load new firewall rules. > > c) Test rules. > > d) Unschedule the reboot if all goes well. That's a little bit savage. I hate rebooting machines if I'm not around to nurse them. People leaving bootable CDs in the drive, or floppies, bootable or otherwise, or configs that drift so that ssh fails to start up, or after the last ISP switch you forgot to set the defaultrouter to the new one... I've had all these things happen over the years. The ipfw man page has an excellent example that shows you have to create a set of rules, enable them and if you don't hit ^C in 15 seconds (or whatever time you need to test), it backs the set out and you retrieve your initial ruleset. I have used this approach on a couple of occasions, and it's very handy. Check the man page. David From owner-freebsd-questions@FreeBSD.ORG Fri May 23 14:41:42 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E91B37B401 for ; Fri, 23 May 2003 14:41:42 -0700 (PDT) Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9CD9F43F93 for ; Fri, 23 May 2003 14:41:41 -0700 (PDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com[24.147.188.198]) by attbi.com (rwcrmhc51) with ESMTP id <20030523214140051006d78je>; Fri, 23 May 2003 21:41:41 +0000 Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [24.147.188.198] (may be forged)) by be-well.ilk.org (8.12.9/8.12.7) with ESMTP id h4NLfdFb010743; Fri, 23 May 2003 17:41:39 -0400 (EDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: (from lowell@localhost) by be-well.ilk.org (8.12.9/8.12.6/Submit) id h4NLfddB010740; Fri, 23 May 2003 17:41:39 -0400 (EDT) X-Authentication-Warning: be-well.ilk.org: lowell set sender to freebsd-questions-local@be-well.ilk.org using -f Sender: lowell@be-well.no-ip.com To: boxend@swbell.net References: <3ECE4184.12834.92438A@localhost> From: Lowell Gilbert Date: 23 May 2003 17:41:38 -0400 In-Reply-To: <3ECE4184.12834.92438A@localhost> Message-ID: <44smr5xrvx.fsf@be-well.ilk.org> Lines: 11 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: Re: nfs, buildworld X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 21:41:42 -0000 boxend@swbell.net writes: > I have 2 "slow" computers running freebsd, I have setup nfs to share > /usr/src and /usr/obj from a faster computer with the two slower. > When updating is there a need to buildworld on the slower computers > after buildworld on the fast? I think not, I have been skipping the buildworld, > I build the new kernel (custom kernel file for each), install kernel, then installworld on > the slower computers, without errors. The /etc/make.conf files are identical on the 3 > computers. What you're doing is fine. From owner-freebsd-questions@FreeBSD.ORG Fri May 23 14:51:47 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 40CA437B401 for ; Fri, 23 May 2003 14:51:47 -0700 (PDT) Received: from apk01fe4.mail1.triara.com (apk01fe4.mail1.triara.com [200.57.129.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 75B3643F85 for ; Fri, 23 May 2003 14:51:43 -0700 (PDT) (envelope-from jgonzalezr@ultrasist.com.mx) Received: from satellite ([200.95.40.167]) by apk01fe4.mail1.triara.com with ESMTP id <20030523215133.UVII10317.apk01fe4@satellite> for ; Fri, 23 May 2003 16:51:33 -0500 From: "Jesus Gonzalez Rubio" To: Date: Fri, 23 May 2003 16:54:32 -0500 Message-ID: <001301c32175$e64b7160$42a09384@satellite> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0014_01C3214B.FD756960" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal Subject: FW: cvsweb X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 21:51:47 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_0014_01C3214B.FD756960 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit To whom it may concern: I received the next message tying to acces my repository files. I can see any directories in my repository structure but as there exist any file the program displays this error. How can i see the files in my repositry fiile or what am i doing wrong because i can see the directories. I send you my cvsweb configuration & cgi files.#! /usr/bin/perl -wsT instruction has beeing removed from cgi file. I'm working under Red-Hat 8.0. Error Error: Failed to spawn GNU rlog on '/cvs/repositorio/Matra.SCABD/actividades//PlanInicial.doc,v' did you set the $ENV{PATH} in your configuration file correctly ? Ultrasist, S.A. Tel. 5598 4660 5598 1633 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.478 / Virus Database: 275 - Release Date: 06/05/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.478 / Virus Database: 275 - Release Date: 06/05/2003 ------=_NextPart_000_0014_01C3214B.FD756960 Content-Type: application/octet-stream; name="cvsweb.conf" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="cvsweb.conf" # -*-perl-*-=0A= # Configuration of cvsweb.cgi, the=0A= # CGI interface to CVS Repositories.=0A= #=0A= # (c) 1998-1999 H. Zeller =0A= # 1999 H. Nordstr=F6m =0A= # based on work by Bill Fenner =0A= # $Id: cvsweb.conf,v 1.29 2001/07/23 09:14:52 hzeller Exp $=0A= #=0A= ###=0A= =0A= ##############=0A= # CVS Root=0A= ##############=0A= # CVSweb can handle several CVS-Repositories=0A= # at once. Enter a short symbolic names and the=0A= # full path of these repositories here.=0A= # NOTE that the symbolic names may not contain=0A= # whitespaces.=0A= # Note, that cvsweb.cgi currently needs to have physical access=0A= # to the CVS repository so :pserver:someone@xyz.com:/data/cvsroot=0A= # won't work!=0A= =0A= # 'symbolic_name' 'path_to_the_actual_repository'=0A= %CVSROOT =3D (=0A= 'Configuracion' =3D> '/cvs/repositorio',=0A= 'Desarrollo' =3D> '/tmp/cvsroot/conf'=0A= # 'HTML-files' =3D> '/tmp/upload'=0A= );=0A= =0A= # This tree is enabled by default when=0A= # you enter the page=0A= # $cvstreedefault =3D 'Development';=0A= $cvstreedefault =3D 'Configuracion';=0A= =0A= ##############=0A= # Defaults for UserSettings=0A= ##############=0A= %DEFAULTVALUE =3D (=0A= # sortby: File sort order=0A= # file Sort by filename=0A= # rev Sort by revision number=0A= # date Sort by commit date=0A= # author Sort by author=0A= # log Sort by log message=0A= =0A= "sortby" =3D> "file",=0A= =0A= # hideattic: Hide or show files in Attic=0A= # 1 Hide files in Attic=0A= # 0 Show files in Attic=0A= =0A= "hideattic" =3D> "0",=0A= =0A= # logsort: Sort order for CVS logs=0A= # date Sort revisions by date=0A= # rev Sort revision by revision number=0A= # cvs Don't sort them. Same order as CVS/RCS shows them.=0A= =0A= "logsort" =3D> "date",=0A= =0A= # f: Default diff format=0A= # h Human readable=0A= # u Unified diff=0A= # c Context diff=0A= # s Side by side=0A= "f" =3D> "h", =0A= =0A= # hidecvsroot: Don't show the CVSROOT directory=0A= # 1 Hide CVSROOT directory=0A= # 0 Show CVSROOT directory=0A= "hidecvsroot" =3D> "0",=0A= =0A= # hidenonreadable: Don't show entries which cannot be read=0A= # 1 Hide non-readable entries=0A= # 0 Show non-readable entries=0A= "hidenonreadable" =3D> "1",=0A= );=0A= =0A= ##############=0A= # some layout stuff=0A= ##############=0A= =0A= # color settings in the body-tag=0A= $body_tag =3D '';=0A= =0A= # Wanna have a logo on the page ?=0A= $logo =3D '';=0A= =0A= # The title of the Page on startup=0A= $defaulttitle =3D "CVS Repository";=0A= =0A= # The address is shown on the footer=0A= $address =3D "CVSweb by <zeller\@think.de>";=0A= =0A= # Default page background color for the diffs=0A= # and annotations=0A= $backcolor =3D "#eeeeee";=0A= =0A= # color of navigation Header for=0A= # diffs and annotations=0A= $navigationHeaderColor =3D '#9999ee';=0A= =0A= $long_intro =3D <=0A= This is a WWW interface for CVS Repositories.=0A= You can browse the file hierarchy by picking directories=0A= (which have slashes after them, e.g., src/).=0A= If you pick a file, you will see the revision history=0A= for that file.=0A= Selecting a revision number will download that revision of=0A= the file. There is a link at each revision to display=0A= diffs between that revision and the previous one, and=0A= a form at the bottom of the page that allows you to=0A= display diffs between arbitrary revisions.=0A=

=0A=

=0A= This script has been written by Bill Fenner=0A= <fenner\@freebsd.org>=0A= and improved by Henner Zeller=0A= <zeller\@think.de>,=0A= Henrik Nordström=0A= <hno\@hem.passagen.se>, and=0A= Ken Coar=0A= <Ken.Coar\@Golux.Com>;=0A= it is covered by the=0A= BSD-Licence<= /a>.=0A=

=0A=

=0A= If you would like to use this CGI script on your own web server and=0A= CVS tree, see Zeller's=0A= CVSweb distribution site. Bill's original script can be found=0A= here.=0A=

=0A=

=0A= Please send any suggestions, comments, etc. to=0A= Bill Fenner or, regarding the=0A= modifications, to=0A= Henner Zeller,=0A= Henrik Nordström, or=0A= Ken Coar.=0A=

=0A= EOT=0A= =0A= $short_instruction =3D <=0A= Click on a directory to enter that directory. Click on a file to display=0A= its revision history and to get a chance to display diffs between = revisions. =0A=

=0A= EOT=0A= =0A= # used icons; if icon-url is empty, the text representation is used; if=0A= # you do not want to have an ugly tooltip for the icon, remove the=0A= # text-representation.=0A= # The width and height of the icon allow the browser to correcly display=0A= # the table while still loading the icons.=0A= # These default icons are coming with apache.=0A= # If these icons are too large, check out the miniicons in the=0A= # icons/ directory; they have a width/height of 16/16=0A= # format: TEXT ICON-URL width height=0A= %ICONS =3D (=0A= back =3D> [ ("[BACK]", "/icons/back.gif", 20, 22) ],=0A= dir =3D> [ ("[DIR]", "/icons/dir.gif", 20, 22) ],=0A= file =3D> [ ("[TXT]", "/icons/text.gif", 20, 22) ],=0A= );=0A= =0A= # the length to which the last logentry should=0A= # be truncated when shown in the directory view=0A= $shortLogLen =3D 80;=0A= =0A= # Show author of last change=0A= $show_author =3D 1;=0A= =0A= ##############=0A= # table view for directories=0A= ##############=0A= =0A= # Show directory as table=0A= # this is much more readable but has one=0A= # drawback: the whole table has to be loaded=0A= # before common browsers display it which may=0A= # be annoying if you have a slow link - and a=0A= # large directory ..=0A= $dirtable =3D 1;=0A= =0A= # show different colors for even/odd rows=0A= @tabcolors =3D ('#ccccee', '#ffffff');=0A= $tablepadding =3D 2;=0A= =0A= # Color of Header=0A= $columnHeaderColorDefault =3D '#cccccc';=0A= $columnHeaderColorSorted =3D '#88ff88';=0A= =0A= # =0A= # If you want to have colored borders =0A= # around each row, uncomment this=0A= # $tableBorderColor =3D '#999999';=0A= =0A= #=0A= # Modules in the repository that should not be displayed, either by = default=0A= # nor by explicit path specification. Usually, you don't want to display=0A= # CVSROOT.=0A= #=0A= @HideModules =3D ( =0A= "CVSROOT",=0A= );=0A= =0A= #=0A= # Files matching this name shouldn't be checked out with cvsweb, since=0A= # they may contain sensitive information. Simple file name based=0A= # filter. Often, the CVSROOT/passwd is exposed and some people tend=0A= # to check in their .cvspass, though this is a bad idea. These files = shouldn't=0A= # be readable by default. Thanks to Damian Gryski to point this out.=0A= @DissallowRead =3D ( "\^.cvspass\$", "^passwd\$");=0A= =0A= #=0A= # Use CVSROOT/CVSROOT/descriptions for describing the directories/modules=0A= # See INSTALL section 8=0A= #=0A= $use_descriptions =3D 0;=0A= =0A= ##############=0A= # Human Readable Diff=0A= ##############=0A= =0A= # (c) 1998 H. Zeller =0A= #=0A= # Generates two columns of color encoded=0A= # diff; much like xdiff or emacs-ediff mode.=0A= #=0A= # The diff-stuff is a piece of code I once made for=0A= # cvs2html which is under GPL,=0A= # see http://www.sslug.dk/cvs2html=0A= # (c) 1997/98 Peter Toft =0A= #=0A= # some parameters to screw:=0A= ##=0A= =0A= # make lines breakable so that the columns do not=0A= # exceed the width of the browser=0A= $hr_breakable =3D 1;=0A= =0A= # give out function names in human readable diffs=0A= # this just makes sense if we have C-files, otherwise=0A= # diff's heuristic doesn't work well ..=0A= # ( '-p' option to diff)=0A= $hr_funout =3D 0;=0A= =0A= # ignore whitespaces for human readable diffs=0A= # (indendation and stuff ..)=0A= # ( '-w' option to diff)=0A= $hr_ignwhite =3D 1;=0A= =0A= # ignore diffs which are caused by=0A= # keyword-substitution like $Id - Stuff=0A= # ( '-kk' option to rcsdiff)=0A= $hr_ignkeysubst =3D 1;=0A= =0A= # Colors and font to show the diff type of code changes=0A= $diffcolorHeading =3D '#99cccc'; # color of 'Line'-head of each = diffed file=0A= $diffcolorEmpty =3D '#cccccc'; # color of 'empty' lines=0A= $diffcolorRemove =3D '#ff9999'; # Removed line(s) (left) ( - )=0A= $diffcolorChange =3D '#99ff99'; # Changed line(s) ( both )=0A= $diffcolorAdd =3D '#ccccff'; # Added line(s) ( - ) (right)=0A= $diffcolorDarkChange =3D '#99cc99'; # lines, which are empty in change=0A= $difffontface =3D "Helvetica,Arial";=0A= $difffontsize =3D "-1";=0A= =0A= # the width of the textinput of the=0A= # request-diff-form=0A= $inputTextSize =3D 12;=0A= =0A= ##############=0A= # Mime Types=0A= ##############=0A= =0A= # mapping to mimetypes to help=0A= # cvsweb to guess the correct mime-type on=0A= # checkout; you can use the mime.types from=0A= # apache here:=0A= $mime_types =3D '/usr/local/web/apache/conf/mime.types';=0A= =0A= # quick mime-type lookup; maps file-suffices to=0A= # mime-types for displaying checkouts in the browser.=0A= # Further MimeTypes will be found in the =0A= # file $mime_types (apache style mime.types - file)=0A= # - add common mappings here for faster lookup=0A= %MTYPES =3D (=0A= "html" =3D> "text/html",=0A= "shtml" =3D> "text/html",=0A= "gif" =3D> "image/gif",=0A= "jpeg" =3D> "image/jpeg",=0A= "jpg" =3D> "image/jpeg", =0A= "*" =3D> "text/plain",=0A= );=0A= =0A= ##############=0A= # Misc=0A= ##############=0A= # allow annotation of files=0A= # this requires rw-access to the=0A= # CVSROOT/history - file and rw-access=0A= # to the subdirectory to place the lock=0A= # so you maybe don't want it=0A= $allow_annotate =3D 1;=0A= =0A= # allow pretty-printed version of files=0A= $allow_markup =3D 1;=0A= =0A= # allow compression with gzip=0A= # of output if the Browser accepts=0A= # it (HTTP_ACCEPT_ENCODING=3Dgzip)=0A= # [make sure to have gzip in the path]=0A= $allow_compress =3D 1;=0A= =0A= # Make use of javascript functions.=0A= # This way you can select one of your CVSroot=0A= # without pressing 'Go' (.. if you do have more=0A= # than one CVSROOT defined)=0A= $use_java_script =3D 1;=0A= =0A= # open Download-Links in another window=0A= $open_extern_window =3D 1;=0A= =0A= # The size of this extern window; this size option=0A= # needs use_java_script to be defined=0A= # just comment them if you don't want to have a fixed=0A= # size=0A= #$extern_window_width =3D 600;=0A= #$extern_window_height =3D 440;=0A= =0A= # Edit Options=0A= # Enable form to edit your options (hideattic,sortbydate)=0A= # this isn't necessary if you've $dirtable defined 'cause=0A= # this allows editing of all your options more intuitive=0A= $edit_option_form =3D (not $dirtable);=0A= =0A= # remember to set the path to your=0A= # rcsutils: rlog, rcsdiff (gzip if you use compression)=0A= #$ENV{'PATH'} =3D '/usr/local/bin';=0A= =0A= # If you have files which automatically refers to other files=0A= # (such as HTML) then this allows you to browse the checked=0A= # out files as if outside CVS.=0A= $checkout_magic =3D 1;=0A= =0A= # Show last changelog message for sub directories=0A= # The current implementation makes many assumptions and may show the=0A= # incorrect file at some times. The main assumption is that the last=0A= # modified file has the newest filedate. But some CVS operations=0A= # touches the file without even when a new version is't checked in,=0A= # and TAG based browsing essientially puts this out of order, unless=0A= # the last checkin was on the same tag as you are viewing.=0A= # Enable this if you like the feature, but don't rely on correct results.=0A= $show_subdir_lastmod =3D 0;=0A= =0A= # Background color of logentry in markup=0A= $markupLogColor =3D "#ffffff";=0A= =0A= # Show CVS log when viewing file contents=0A= $show_log_in_markup =3D 1;=0A= =0A= # Tabstop used to expand tabs in colored diffs. If undefined then=0A= # tabs are always expanded to 8 spaces.=0A= $tabstop =3D 8;=0A= =0A= # if you wish to display absolute times in your local timezone,=0A= # then define mytz and fill in the strings for your standard and=0A= # daylight time. Note that you must also make sure the system=0A= # timezone is correctly set.=0A= # @mytz=3D("EST", "EDT");=0A= =0A= # cvsweb is friendly to caches by indicating a suitable=0A= # last-modified timestamp. Doing this uses slightly more=0A= # CPU so you might want to disable it if you have a slow=0A= # server=0A= $use_moddate =3D 1;=0A= =0A= #EOF=0A= ------=_NextPart_000_0014_01C3214B.FD756960 Content-Type: application/octet-stream; name="cvsweb.cgi" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="cvsweb.cgi" #=0A= # cvsweb - a CGI interface to CVS trees.=0A= #=0A= # Written in their spare time by=0A= # Bill Fenner (original work)=0A= # extended by Henner Zeller ,=0A= # Henrik Nordstr=F6m =0A= # Ken Coar =0A= # Dick Balaska =0A= # Jens-Uwe Mager =0A= #=0A= # Based on:=0A= # * Bill Fenners cvsweb.cgi revision 1.28 available from:=0A= # http://www.FreeBSD.org/cgi/cvsweb.cgi/www/en/cgi/cvsweb.cgi=0A= #=0A= # Copyright (c) 1996-1998 Bill Fenner=0A= # (c) 1998-1999 Henner Zeller=0A= # (c) 1999 Henrik Nordstr=F6m=0A= # All rights reserved.=0A= #=0A= # Redistribution and use in source and binary forms, with or without=0A= # modification, are permitted provided that the following conditions=0A= # are met:=0A= # 1. Redistributions of source code must retain the above copyright=0A= # notice, this list of conditions and the following disclaimer.=0A= # 2. Redistributions in binary form must reproduce the above copyright=0A= # notice, this list of conditions and the following disclaimer in the=0A= # documentation and/or other materials provided with the distribution.=0A= #=0A= # THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND=0A= # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE=0A= # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR = PURPOSE=0A= # ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE=0A= # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR = CONSEQUENTIAL=0A= # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS=0A= # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)=0A= # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, = STRICT=0A= # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY = WAY=0A= # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF=0A= # SUCH DAMAGE.=0A= #=0A= # $Id: cvsweb.cgi,v 1.112 2001/07/24 13:03:16 hzeller Exp $=0A= #=0A= ###=0A= require 5.000;=0A= =0A= use strict;=0A= =0A= use vars qw (=0A= $config $allow_version_select $verbose=0A= %CVSROOT %CVSROOTdescr %MIRRORS %DEFAULTVALUE %ICONS %MTYPES=0A= %alltags @tabcolors %fileinfo %tags @branchnames %nameprinted=0A= %symrev %revsym @allrevisions %date %author @revdisplayorder=0A= @revisions %state %difflines %log %branchpoint @revorder=0A= $checkoutMagic $doCheckout $scriptname $scriptwhere=0A= $where $Browser $nofilelinks $maycompress @stickyvars=0A= %input $query $barequery $sortby $bydate $byrev $byauthor=0A= $bylog $byfile $hr_default $logsort $cvstree $cvsroot=0A= $mimetype $defaultTextPlain $defaultViewable $allow_compress=0A= $GZIPBIN $backicon $diricon $fileicon $fullname $newname=0A= $cvstreedefault $body_tag $logo $defaulttitle $address=0A= $backcolor $long_intro $short_instruction $shortLogLen=0A= $show_author $dirtable $tablepadding $columnHeaderColorDefault=0A= $columnHeaderColorSorted $hr_breakable $hr_funout $hr_ignwhite=0A= $hr_ignkeysubst $diffcolorHeading $diffcolorEmpty $diffcolorRemove=0A= $diffcolorChange $diffcolorAdd $diffcolorDarkChange $difffontface=0A= $difffontsize $inputTextSize $mime_types $allow_annotate=0A= $allow_markup $use_java_script $open_extern_window=0A= $extern_window_width $extern_window_height $edit_option_form=0A= $checkout_magic $show_subdir_lastmod $show_log_in_markup $v=0A= $navigationHeaderColor $tableBorderColor $markupLogColor=0A= $tabstop $state $annTable $sel $curbranch @HideModules @DissallowRead=0A= $module $use_descriptions %descriptions @mytz $dwhere $moddate=0A= $use_moddate $has_zlib $gzip_open=0A= );=0A= =0A= ##### prototype declarations ########=0A= sub printDiffSelect($);=0A= sub findLastModifiedSubdirs(@);=0A= sub htmlify($);=0A= sub spacedHtmlText($);=0A= sub link($$);=0A= sub revcmp($$);=0A= sub fatal($$);=0A= sub redirect($);=0A= sub safeglob($);=0A= sub getMimeTypeFromSuffix($);=0A= sub doAnnotate ($$);=0A= sub doCheckout($$);=0A= sub cvswebMarkup($$$);=0A= sub viewable($);=0A= sub doDiff($$$$$$);=0A= sub getDirLogs($$@);=0A= sub readLog($;$);=0A= sub printLog($;$);=0A= sub doLog($);=0A= sub flush_diff_rows ($$$$);=0A= sub human_readable_diff($);=0A= sub navigateHeader ($$$$$);=0A= sub plural_write ($$);=0A= sub readableTime ($$);=0A= sub clickablePath($$);=0A= sub chooseCVSRoot();=0A= sub chooseMirror();=0A= sub fileSortCmp();=0A= sub download_url($$$);=0A= sub download_link($$$$);=0A= sub toggleQuery($$);=0A= sub urlencode($);=0A= sub http_header(;$);=0A= sub html_header($);=0A= sub html_footer();=0A= sub link_tags($);=0A= sub forbidden_module($);=0A= sub forbidden_file($);=0A= sub checkForbidden($@);=0A= sub gzipclose();=0A= sub MAGIC1();=0A= sub MAGIC2();=0A= sub OSCODE();=0A= =0A= ##### Start of Configuration Area ########=0A= # =3D=3D EDIT this =3D=3D =0A= # User configuration is stored in=0A= $config =3D $ENV{'CVSWEB_CONFIG'} || '/opt/apachessl/conf/cvsweb.conf';=0A= =0A= # =3D=3D Configuration defaults =3D=3D=0A= # Defaults for configuration variables that shouldn't need=0A= # to be configured..=0A= $allow_version_select =3D 1;=0A= =0A= ##### End of Configuration Area ########=0A= =0A= ######## Configuration variables #########=0A= # These are defined to allow checking with perl -cw=0A= %CVSROOT =3D %MIRRORS =3D %DEFAULTVALUE =3D %ICONS =3D %MTYPES =3D=0A= %tags =3D %alltags =3D @tabcolors =3D %fileinfo =3D ();=0A= $cvstreedefault =3D $body_tag =3D $logo =3D $defaulttitle =3D $address =3D=0A= $backcolor =3D $long_intro =3D $short_instruction =3D $shortLogLen =3D=0A= $show_author =3D $dirtable =3D $tablepadding =3D = $columnHeaderColorDefault =3D=0A= $columnHeaderColorSorted =3D $hr_breakable =3D $hr_funout =3D = $hr_ignwhite =3D=0A= $hr_ignkeysubst =3D $diffcolorHeading =3D $diffcolorEmpty =3D = $diffcolorRemove =3D=0A= $diffcolorChange =3D $diffcolorAdd =3D $diffcolorDarkChange =3D = $difffontface =3D=0A= $difffontsize =3D $inputTextSize =3D $mime_types =3D $allow_annotate =3D=0A= $allow_markup =3D $use_java_script =3D $open_extern_window =3D=0A= $extern_window_width =3D $extern_window_height =3D $edit_option_form =3D=0A= $checkout_magic =3D $show_subdir_lastmod =3D $show_log_in_markup =3D $v =3D=0A= $navigationHeaderColor =3D $tableBorderColor =3D $markupLogColor =3D =0A= $tabstop =3D $use_moddate =3D $moddate =3D $gzip_open =3D undef;=0A= =0A= ##### End of configuration variables #####=0A= =0A= use Time::Local;=0A= use IPC::Open2;=0A= =0A= # Check if the zlib C library interface is installed, and if yes=0A= # we can avoid using the extra gzip process.=0A= eval {=0A= require Compress::Zlib;=0A= };=0A= $has_zlib =3D !$@;=0A= =0A= $verbose =3D $v;=0A= $checkoutMagic =3D "~checkout~";=0A= $where =3D defined($ENV{'PATH_INFO'}) ? $ENV{'PATH_INFO'} : "";=0A= $doCheckout =3D ($where =3D~ /^\/$checkoutMagic/);=0A= $where =3D~ s|^/($checkoutMagic)?||;=0A= $where =3D~ s|/+$||;=0A= ($scriptname =3D $ENV{'SCRIPT_NAME'}) =3D~ s|^/?|/|;=0A= $scriptname =3D~ s|/+$||;=0A= if ($where) {=0A= $scriptwhere =3D $scriptname . '/' . urlencode($where);=0A= }=0A= else {=0A= $scriptwhere =3D $scriptname;=0A= }=0A= $scriptwhere =3D~ s|/+$||;=0A= =0A= # in lynx, it it very annoying to have two links=0A= # per file, so disable the link at the icon=0A= # in this case:=0A= $Browser =3D $ENV{'HTTP_USER_AGENT'};=0A= $nofilelinks =3D ($Browser =3D~ m'^Lynx/');=0A= =0A= # newer browsers accept gzip content encoding=0A= # and state this in a header=0A= # (netscape did always but didn't state it)=0A= # It has been reported that these=0A= # braindamaged MS-Internet Exploders claim that they=0A= # accept gzip .. but don't in fact and=0A= # display garbage then :-/=0A= # Turn off gzip if running under mod_perl and no zlib is available,=0A= # piping does not work as expected inside the server.=0A= $maycompress =3D (((defined($ENV{'HTTP_ACCEPT_ENCODING'})=0A= && $ENV{'HTTP_ACCEPT_ENCODING'} =3D~ m|gzip|)=0A= || $Browser =3D~ m%^Mozilla/3%)=0A= && ($Browser !~ m/MSIE/)=0A= && !(defined($ENV{'MOD_PERL'}) && !$has_zlib));=0A= =0A= # put here the variables we need in order=0A= # to hold our state - they will be added (with=0A= # their current value) to any link/query string=0A= # you construct=0A= @stickyvars =3D qw(cvsroot hideattic sortby logsort f only_with_tag);=0A= =0A= if (-f $config) {=0A= do "$config";=0A= }=0A= else {=0A= &fatal("500 Internal Error",=0A= 'Configuration not found. Set the variable $config '=0A= . 'in cvsweb.cgi, or the environment variable '=0A= . 'CVSWEB_CONFIG, to your cvsweb.conf '=0A= . 'configuration file first.');=0A= }=0A= =0A= undef %input;=0A= if ($query =3D $ENV{'QUERY_STRING'}) {=0A= foreach (split(/&/, $query)) {=0A= y/+/ /;=0A= s/%(..)/sprintf("%c", hex($1))/ge; # unquote %-quoted=0A= if (/(\S+)=3D(.*)/) {=0A= $input{$1} =3D $2 if ($2 ne "");=0A= }=0A= else {=0A= $input{$_}++;=0A= }=0A= }=0A= }=0A= =0A= # For backwards compability, set only_with_tag to only_on_branch if set. =0A= $input{only_with_tag} =3D $input{only_on_branch}=0A= if (defined($input{only_on_branch}));=0A= =0A= foreach (keys %DEFAULTVALUE)=0A= {=0A= # replace not given parameters with the default parameters=0A= if (!defined($input{$_}) || $input{$_} eq "") {=0A= # Empty Checkboxes in forms return -- nothing. So we define a helper=0A= # variable in these forms (copt) which indicates that we just set=0A= # parameters with a checkbox=0A= if (!defined($input{"copt"})) {=0A= # 'copt' isn't defined --> empty input is not the result=0A= # of empty input checkbox --> set default=0A= $input{$_} =3D $DEFAULTVALUE{$_} if (defined($DEFAULTVALUE{$_}));=0A= }=0A= else {=0A= # 'copt' is defined -> the result of empty input checkbox=0A= # -> set to zero (disable) if default is a boolean (0|1).=0A= $input{$_} =3D 0=0A= if (defined($DEFAULTVALUE{$_})=0A= && ($DEFAULTVALUE{$_} eq "0" || $DEFAULTVALUE{$_} eq "1"));=0A= }=0A= }=0A= }=0A= =0A= $barequery =3D "";=0A= foreach (@stickyvars) {=0A= # construct a query string with the sticky non default parameters set=0A= if (defined($input{$_}) && ($input{$_} ne "") && =0A= (!defined($DEFAULTVALUE{$_}) || $input{$_} ne $DEFAULTVALUE{$_})) {=0A= if ($barequery) {=0A= $barequery =3D $barequery . "&";=0A= }=0A= my $thisval =3D urlencode($_) . "=3D" . urlencode($input{$_});=0A= $barequery .=3D $thisval;=0A= }=0A= }=0A= # is there any query ?=0A= if ($barequery) {=0A= $query =3D "?$barequery";=0A= $barequery =3D "&" . $barequery;=0A= }=0A= else {=0A= $query =3D "";=0A= }=0A= =0A= # get actual parameters=0A= $sortby =3D $input{"sortby"};=0A= $bydate =3D 0;=0A= $byrev =3D 0;=0A= $byauthor =3D 0;=0A= $bylog =3D 0;=0A= $byfile =3D 0;=0A= if ($sortby eq "date") {=0A= $bydate =3D 1;=0A= }=0A= elsif ($sortby eq "rev") {=0A= $byrev =3D 1;=0A= }=0A= elsif ($sortby eq "author") {=0A= $byauthor =3D 1;=0A= }=0A= elsif ($sortby eq "log") {=0A= $bylog =3D 1;=0A= }=0A= else {=0A= $byfile =3D 1;=0A= }=0A= =0A= $hr_default =3D $input{'f'} eq 'h';=0A= =0A= $logsort =3D $input{"logsort"};=0A= =0A= =0A= ## Default CVS-Tree=0A= if (!defined($CVSROOT{$cvstreedefault})) {=0A= &fatal("500 Internal Error",=0A= "\$cvstreedefault points to a repository = ($cvstreedefault)"=0A= . "not defined in %CVSROOT "=0A= . "(edit your configuration file $config)");=0A= }=0A= $cvstree =3D $cvstreedefault;=0A= $cvsroot =3D $CVSROOT{"$cvstree"};=0A= =0A= # alternate CVS-Tree, configured in cvsweb.conf=0A= if ($input{'cvsroot'}) {=0A= if ($CVSROOT{$input{'cvsroot'}}) {=0A= $cvstree =3D $input{'cvsroot'};=0A= $cvsroot =3D $CVSROOT{"$cvstree"};=0A= }=0A= }=0A= =0A= # create icons out of description=0A= foreach my $k (keys %ICONS) {=0A= no strict 'refs';=0A= my ($itxt,$ipath,$iwidth,$iheight) =3D @{$ICONS{$k}};=0A= if ($ipath) {=0A= $ {"${k}icon"} =3D "3D\"$itxt\"";=0A= }=0A= else {=0A= $ {"${k}icon"} =3D $itxt;=0A= }=0A= }=0A= =0A= # Do some special configuration for cvstrees=0A= do "$config-$cvstree" if (-f "$config-$cvstree");=0A= =0A= $fullname =3D $cvsroot . '/' . $where;=0A= $mimetype =3D &getMimeTypeFromSuffix ($fullname);=0A= $defaultTextPlain =3D ($mimetype eq "text/plain");=0A= $defaultViewable =3D $allow_markup && viewable($mimetype);=0A= =0A= # search for GZIP if compression allowed=0A= # We've to find out if the GZIP-binary exists .. otherwise=0A= # ge get an Internal Server Error if we try to pipe the=0A= # output through the nonexistent gzip .. =0A= # any more elegant ways to prevent this are welcome!=0A= if ($allow_compress && $maycompress && !$has_zlib) {=0A= foreach (split(/:/, $ENV{PATH})) {=0A= if (-x "$_/gzip") {=0A= $GZIPBIN =3D "$_/gzip";=0A= last;=0A= }=0A= }=0A= }=0A= =0A= if (-d $fullname) {=0A= #=0A= # ensure, that directories always end with (exactly) one '/'=0A= # to allow relative URL's. If they're not, make a redirect.=0A= ##=0A= my $pathinfo =3D defined($ENV{'PATH_INFO'}) ? $ENV{'PATH_INFO'} : "";=0A= if (!($pathinfo =3D~ m|/$|) || ($pathinfo =3D~ m |/{2,}$|)) {=0A= redirect ($scriptwhere . '/' . $query);=0A= }=0A= else {=0A= $where .=3D '/';=0A= $scriptwhere .=3D '/';=0A= }=0A= }=0A= =0A= if (!-d $cvsroot) {=0A= &fatal("500 Internal Error",'$CVSROOT not found!

The server on = which the CVS tree lives is probably down. Please try again in a few = minutes.');=0A= }=0A= =0A= #=0A= # See if the module is in our forbidden list.=0A= #=0A= $where =3D~ m:([^/]*):;=0A= $module =3D $1;=0A= if ($module && &forbidden_module($module)) {=0A= &fatal("403 Forbidden", "Access to $where forbidden.");=0A= }=0A= ##############################=0A= # View a directory=0A= ###############################=0A= elsif (-d $fullname) {=0A= my $dh =3D do {local(*DH);};=0A= opendir($dh, $fullname) || &fatal("404 Not Found","$where: $!");=0A= my @dir =3D readdir($dh);=0A= closedir($dh);=0A= my @subLevelFiles =3D findLastModifiedSubdirs(@dir)=0A= if ($show_subdir_lastmod);=0A= getDirLogs($cvsroot,$where,@subLevelFiles);=0A= =0A= if ($where eq '/') {=0A= html_header("$defaulttitle");=0A= print $long_intro;=0A= }=0A= else {=0A= html_header("$where");=0A= print $short_instruction;=0A= }=0A= =0A= my $descriptions;=0A= if (($use_descriptions) && open (DESC, = "<$cvsroot/CVSROOT/descriptions")) {=0A= while () {=0A= chomp;=0A= my ($dir,$description) =3D /(\S+)\s+(.*)/;=0A= $descriptions{$dir} =3D $description;=0A= }=0A= }=0A= =0A= print "

\n";=0A= # give direct access to dirs=0A= if ($where eq '/') {=0A= chooseMirror();=0A= chooseCVSRoot();=0A= }=0A= else {=0A= print "

Current directory: ", &clickablePath($where,0), = "\n";=0A= =0A= print "

Current tag: ", $input{only_with_tag}, "\n" if=0A= $input{only_with_tag};=0A= =0A= }=0A= =0A= =0A= print "


\n";=0A= # Using in this manner violates the HTML2.0 spec but=0A= # provides the results that I want in most browsers. Another=0A= # case of layout spooging up HTML.=0A= =0A= my $infocols =3D 0;=0A= if ($dirtable) {=0A= if (defined($tableBorderColor)) {=0A= # Can't this be done by defining the border for the inner table?=0A= print "
";=0A= }=0A= print "\n";=0A= $infocols++;=0A= print "";=0A= # do not display the other column-headers, if we do not have any = files=0A= # with revision information:=0A= if (scalar(%fileinfo)) {=0A= $infocols++;=0A= print "";=0A= $infocols++;=0A= print "";=0A= if ($show_author) {=0A= $infocols++;=0A= print "";=0A= }=0A= $infocols++;=0A= print "";=0A= }=0A= elsif ($use_descriptions) {=0A= print "\n";=0A= }=0A= else {=0A= print "\n";=0A= }=0A= my $dirrow =3D 0;=0A= =0A= my $i;=0A= lookingforattic:=0A= for ($i =3D 0; $i <=3D $#dir; $i++) {=0A= if ($dir[$i] eq "Attic") {=0A= last lookingforattic;=0A= }=0A= }=0A= if (!$input{'hideattic'} && ($i <=3D $#dir) &&=0A= opendir($dh, $fullname . "/Attic")) {=0A= splice(@dir, $i, 1,=0A= grep((s|^|Attic/|,!m|/\.|), readdir($dh)));=0A= closedir($dh);=0A= }=0A= =0A= my $hideAtticToggleLink =3D "[Hide]" if (!$input{'hideattic'});=0A= =0A= # Sort without the Attic/ pathname.=0A= # place directories first=0A= =0A= my $attic;=0A= my $url;=0A= my $fileurl;=0A= my $filesexists;=0A= my $filesfound;=0A= =0A= foreach (sort { &fileSortCmp } @dir) {=0A= if ($_ eq '.') {=0A= next;=0A= }=0A= # ignore CVS lock and stale NFS files=0A= next if (/^#cvs\.|^,|^\.nfs/);=0A= =0A= # Check whether to show the CVSROOT path=0A= next if ($input{'hidecvsroot'} && ($_ eq 'CVSROOT'));=0A= =0A= # Check whether the module is in the restricted list=0A= next if ($_ && &forbidden_module($_));=0A= =0A= # Ignore non-readable files=0A= next if ($input{'hidenonreadable'} && !(-r "$fullname/$_"));=0A= =0A= if (s|^Attic/||) {=0A= $attic =3D " (in the Attic) " . $hideAtticToggleLink;=0A= }=0A= else {=0A= $attic =3D "";=0A= }=0A= =0A= if ($_ eq '..' || -d "$fullname/$_") {=0A= next if ($_ eq '..' && $where eq '/');=0A= my ($rev,$date,$log,$author,$filename);=0A= ($rev,$date,$log,$author,$filename) =3D @{$fileinfo{$_}}=0A= if (defined($fileinfo{$_}));=0A= print "\n";=0A= }=0A= else {=0A= print "
\n";=0A= }=0A= $dirrow++;=0A= }=0A= elsif (s/,v$//) {=0A= $fileurl =3D ($attic ? "Attic/" : "") . urlencode($_);=0A= $url =3D $fileurl . $query;=0A= my $rev =3D '';=0A= my $date =3D '';=0A= my $log =3D '';=0A= my $author =3D '';=0A= $filesexists++;=0A= next if (!defined($fileinfo{$_}));=0A= ($rev,$date,$log,$author) =3D @{$fileinfo{$_}};=0A= $filesfound++;=0A= print "" if ($dirtable);=0A= print (($dirtable) ? "" : "
");=0A= $dirrow++;=0A= }=0A= print "\n";=0A= }=0A= if ($dirtable && defined($tableBorderColor)) {=0A= print "
";=0A= print "" if (!$byfile);=0A= print "File";=0A= print "" if (!$byfile);=0A= print "";=0A= print "" if (!$byrev);=0A= print "Rev.";=0A= print "" if (!$byrev);=0A= print "";=0A= print "" if (!$bydate);=0A= print "Age";=0A= print "" if (!$bydate);=0A= print "";=0A= print "" if (!$byauthor);=0A= print "Author";=0A= print "" if (!$byauthor);=0A= print "";=0A= print "" if = (!$bylog);=0A= print "Last log entry";=0A= print "" if (!$bylog);=0A= print "";=0A= print "Description";=0A= $infocols++;=0A= }=0A= print "
" if = ($dirtable);=0A= if ($_ eq '..') {=0A= $url =3D "../" . $query;=0A= if ($nofilelinks) {=0A= print $backicon;=0A= }=0A= else {=0A= print &link($backicon,$url);=0A= }=0A= print " ", &link("Previous Directory",$url);=0A= }=0A= else {=0A= $url =3D urlencode($_) . '/' . $query;=0A= print "";=0A= if ($nofilelinks) {=0A= print $diricon;=0A= }=0A= else {=0A= print &link($diricon,$url);=0A= }=0A= print " ", &link($_ . "/", $url), $attic;=0A= if ($_ eq "Attic") {=0A= print "  [Don't hide]";=0A= }=0A= } =0A= # Show last change in dir=0A= if ($filename) {=0A= print "  " if ($dirtable);=0A= if ($date) {=0A= print " " . readableTime(time() - $date,0) . "";=0A= }=0A= if ($show_author) {=0A= print " " if ($dirtable);=0A= print $author;=0A= }=0A= print " " if ($dirtable);=0A= $filename =3D~ s%^[^/]+/%%;=0A= print "$filename/$rev";=0A= print "
" if ($dirtable);=0A= if ($log) {=0A= print " "=0A= . &htmlify(substr($log,0,$shortLogLen));=0A= if (length $log > 80) {=0A= print "...";=0A= }=0A= print "";=0A= }=0A= }=0A= else {=0A= my ($dwhere) =3D ($where ne "/" ? $where : "") . $_;=0A= if ($use_descriptions && defined $descriptions{$dwhere}) {=0A= print "
 " if $dirtable;=0A= print $descriptions{$dwhere};=0A= } elsif ($dirtable && $infocols > 1) {=0A= # close the row with the appropriate number of=0A= # columns, so that the vertical seperators are visible=0A= my($cols) =3D $infocols;=0A= while ($cols > 1) {=0A= print " ";=0A= $cols--;=0A= }=0A= }=0A= }=0A= if ($dirtable) {=0A= print "
" if = ($dirtable);=0A= print "";=0A= if ($nofilelinks) {=0A= print $fileicon;=0A= }=0A= else {=0A= print &link($fileicon,$url);=0A= }=0A= print " ", &link($_, $url), $attic;=0A= print " " if ($dirtable);=0A= download_link($fileurl,=0A= $rev, $rev, =0A= $defaultViewable ? "text/x-cvsweb-markup" : undef);=0A= print " " if ($dirtable);=0A= if ($date) {=0A= print " " . readableTime(time() - $date,0) . "";=0A= }=0A= if ($show_author) {=0A= print " " if ($dirtable);=0A= print $author;=0A= }=0A= print " " if ($dirtable);=0A= if ($log) {=0A= print " " . &htmlify(substr($log,0,$shortLogLen));=0A= if (length $log > 80) {=0A= print "...";=0A= }=0A= print "";=0A= }=0A= print "
";=0A= }=0A= print "". ($dirtable =3D=3D 1) ? "
" : "
" . "\n";=0A= =0A= if ($filesexists && !$filesfound) {=0A= print "

NOTE: There are $filesexists files, but none = matches the current tag ($input{only_with_tag})\n";=0A= }=0A= if ($input{only_with_tag} && (!%tags || !$tags{$input{only_with_tag}})) = {=0A= %tags =3D %alltags=0A= }=0A= if (scalar %tags =0A= || $input{only_with_tag} =0A= || $edit_option_form=0A= || defined($input{"options"})) {=0A= print "


";=0A= }=0A= =0A= if (scalar %tags || $input{only_with_tag}) {=0A= print "
\n";=0A= foreach my $var (@stickyvars) {=0A= print "\n"=0A= if (defined($input{$var})=0A= && (!defined($DEFAULTVALUE{$var})=0A= || $input{$var} ne $DEFAULTVALUE{$var})=0A= && $input{$var} ne ""=0A= && $var ne "only_with_tag");=0A= }=0A= print "Show only files with tag:\n";=0A= print "\n";=0A= print "\n";=0A= print "
\n";=0A= }=0A= my $formwhere =3D $scriptwhere;=0A= $formwhere =3D~ s|Attic/?$|| if ($input{'hideattic'});=0A= =0A= if ($edit_option_form || defined($input{"options"})) {=0A= print "
\n";=0A= print "\n";=0A= if ($cvstree ne $cvstreedefault) {=0A= print "\n";=0A= }=0A= print "
";=0A= print "";=0A= print "";=0A= print "";=0A= print "";=0A= print "\n";=0A= print "
Preferences
Sort files by revisions by: \n";=0A= print "
Diff format: ";=0A= printDiffSelect(0);=0A= print "Show Attic files: ";=0A= print "
";=0A= print "
\n";=0A= }=0A= print &html_footer;=0A= print "\n";=0A= } =0A= =0A= ###############################=0A= # View Files=0A= ###############################=0A= elsif (-f $fullname . ',v') {=0A= if (defined($input{'rev'}) || $doCheckout) {=0A= &doCheckout($fullname, $input{'rev'});=0A= gzipclose();=0A= exit;=0A= }=0A= if (defined($input{'annotate'}) && $allow_annotate) {=0A= &doAnnotate($input{'annotate'});=0A= gzipclose();=0A= exit;=0A= }=0A= if (defined($input{'r1'}) && defined($input{'r2'})) {=0A= &doDiff($fullname, $input{'r1'}, $input{'tr1'},=0A= $input{'r2'}, $input{'tr2'}, $input{'f'});=0A= gzipclose();=0A= exit;=0A= }=0A= print("going to dolog($fullname)\n") if ($verbose);=0A= &doLog($fullname);=0A= ##############################=0A= # View Diff=0A= ##############################=0A= }=0A= elsif ($fullname =3D~ s/\.diff$// && -f $fullname . ",v" &&=0A= $input{'r1'} && $input{'r2'}) {=0A= =0A= # $where-diff-removal if 'cvs rdiff' is used=0A= # .. but 'cvs rdiff'doesn't support some options=0A= # rcsdiff does (-w and -p), so it is disabled=0A= # $where =3D~ s/\.diff$//;=0A= =0A= # Allow diffs using the ".diff" extension=0A= # so that browsers that default to the URL=0A= # for a save filename don't save diff's as=0A= # e.g. foo.c=0A= &doDiff($fullname, $input{'r1'}, $input{'tr1'},=0A= $input{'r2'}, $input{'tr2'}, $input{'f'});=0A= gzipclose();=0A= exit;=0A= }=0A= elsif (($newname =3D $fullname) =3D~ s|/([^/]+)$|/Attic/$1| &&=0A= -f $newname . ",v") {=0A= # The file has been removed and is in the Attic.=0A= # Send a redirect pointing to the file in the Attic.=0A= (my $newplace =3D $scriptwhere) =3D~ s|/([^/]+)$|/Attic/$1|;=0A= &redirect($newplace . "?" . $ENV{QUERY_STRING});=0A= exit;=0A= }=0A= elsif (0 && (my @files =3D &safeglob($fullname . ",v"))) {=0A= http_header("text/plain");=0A= print "You matched the following files:\n";=0A= print join("\n", @files);=0A= # Find the tags from each file=0A= # Display a form offering diffs between said tags=0A= }=0A= else {=0A= my $fh =3D do {local(*FH);};=0A= my ($xtra, $module);=0A= # Assume it's a module name with a potential path following it.=0A= $xtra =3D $& if (($module =3D $where) =3D~ s|/.*||);=0A= # Is there an indexed version of modules?=0A= if (open($fh, "$cvsroot/CVSROOT/modules")) {=0A= while (<$fh>) {=0A= if (/^(\S+)\s+(\S+)/o && $module eq $1=0A= && -d "${cvsroot}/$2" && $module ne $2) {=0A= &redirect($scriptname . '/' . $2 . $xtra);=0A= }=0A= }=0A= }=0A= &fatal("404 Not Found","$where: no such file or directory");=0A= }=0A= =0A= gzipclose();=0A= ## End MAIN=0A= =0A= sub printDiffSelect($) {=0A= my ($use_java_script) =3D @_;=0A= $use_java_script =3D 0 if (!defined($use_java_script));=0A= my ($f) =3D $input{'f'};=0A= print "";=0A= }=0A= =0A= sub findLastModifiedSubdirs(@) {=0A= my (@dirs) =3D @_;=0A= my ($dirname, @files);=0A= =0A= foreach $dirname (@dirs) {=0A= next if ($dirname eq ".");=0A= next if ($dirname eq "..");=0A= my ($dir) =3D "$fullname/$dirname";=0A= next if (!-d $dir);=0A= =0A= my ($lastmod) =3D undef;=0A= my ($lastmodtime) =3D undef;=0A= my $dh =3D do {local(*DH);};=0A= =0A= opendir($dh,$dir) || next;=0A= my (@filenames) =3D readdir($dh);=0A= closedir($dh);=0A= =0A= foreach my $filename (@filenames) {=0A= $filename =3D "$dirname/$filename";=0A= my ($file) =3D "$fullname/$filename";=0A= next if ($filename !~ /,v$/ || !-f $file);=0A= $filename =3D~ s/,v$//;=0A= my $modtime =3D -M $file;=0A= if (!defined($lastmod) || $modtime < $lastmodtime) {=0A= $lastmod =3D $filename;=0A= $lastmodtime =3D $modtime;=0A= }=0A= }=0A= push(@files, $lastmod) if (defined($lastmod));=0A= }=0A= return @files;=0A= }=0A= =0A= sub htmlify($) {=0A= my($string) =3D @_;=0A= =0A= # Special Characters; RFC 1866=0A= $string =3D~ s/&/&/g;=0A= $string =3D~ s/\"/"/g; =0A= $string =3D~ s//>/g;=0A= =0A= # get URL's as link ..=0A= $string =3D~ = s=A7(http|ftp|https)(://[-a-zA-Z0-9%.~:_/]+)([?&]([-a-zA-Z0-9%.~:_]+)=3D(= [-a-zA-Z0-9%.~:_])+)*=A7$1$2$3=A7;=0A= # get e-mails as link=0A= $string =3D~ s=A7([-a-zA-Z0-9_.]+@([-a-zA-Z0-9]+\.)+[A-Za-z]{2,4})=A7$1=A7;=0A= =0A= return $string;=0A= }=0A= =0A= sub spacedHtmlText($) {=0A= my($string) =3D @_;=0A= =0A= # Cut trailing spaces=0A= s/\s+$//;=0A= =0A= # Expand tabs=0A= $string =3D~ s/\t+/' ' x (length($&) * $tabstop - length($`) % = $tabstop)/e=0A= if (defined($tabstop));=0A= =0A= # replace and (=A7 is to protect us from htmlify)=0A= # gzip can make excellent use of this repeating pattern :-)=0A= $string =3D~ s/=A7/=A7%/g; #protect our & substitute=0A= if ($hr_breakable) {=0A= # make every other space 'breakable'=0A= $string =3D~ s/ / =A7nbsp; =A7nbsp; =A7nbsp; =A7nbsp;/g; # =0A= $string =3D~ s/ / =A7nbsp;/g; # 2 * = =0A= # leave single space as it is=0A= }=0A= else {=0A= $string =3D~ s/ = /=A7nbsp;=A7nbsp;=A7nbsp;=A7nbsp;=A7nbsp;=A7nbsp;=A7nbsp;=A7nbsp;/g; =0A= $string =3D~ s/ /=A7nbsp;/g;=0A= }=0A= =0A= $string =3D htmlify($string);=0A= =0A= # unescape=0A= $string =3D~ s/=A7([^%])/&$1/g;=0A= $string =3D~ s/=A7%/=A7/g;=0A= =0A= return $string;=0A= }=0A= =0A= sub link($$) {=0A= my($name, $where) =3D @_;=0A= =0A= return "$name\n";=0A= }=0A= =0A= sub revcmp($$) {=0A= my($rev1, $rev2) =3D @_;=0A= my(@r1) =3D split(/\./, $rev1);=0A= my(@r2) =3D split(/\./, $rev2);=0A= my($a,$b);=0A= =0A= while (($a =3D shift(@r1)) && ($b =3D shift(@r2))) {=0A= if ($a !=3D $b) {=0A= return $a <=3D> $b;=0A= }=0A= }=0A= if (@r1) { return 1; }=0A= if (@r2) { return -1; }=0A= return 0;=0A= }=0A= =0A= sub fatal($$) {=0A= my($errcode, $errmsg) =3D @_;=0A= if (defined($ENV{'MOD_PERL'})) {=0A= Apache->request->status((split(/ /, $errcode))[0]);=0A= }=0A= else {=0A= print "Status: $errcode\n";=0A= }=0A= html_header("Error");=0A= print "Error: $errmsg\n";=0A= print &html_footer;=0A= exit(1);=0A= }=0A= =0A= sub redirect($) {=0A= my($url) =3D @_;=0A= if (defined($ENV{'MOD_PERL'})) {=0A= Apache->request->status(301);=0A= Apache->request->header_out(Location =3D> $url);=0A= }=0A= else {=0A= print "Status: 301 Moved\r\n";=0A= print "Location: $url\r\n";=0A= }=0A= html_header("Moved");=0A= print "This document is located here.\n";=0A= print &html_footer;=0A= exit(1);=0A= }=0A= =0A= sub safeglob($) {=0A= my ($filename) =3D @_;=0A= my ($dirname);=0A= my (@results);=0A= my $dh =3D do {local(*DH);};=0A= =0A= ($dirname =3D $filename) =3D~ s|/[^/]+$||;=0A= $filename =3D~ s|.*/||;=0A= =0A= if (opendir($dh, $dirname)) {=0A= my $glob =3D $filename;=0A= my $t;=0A= # transform filename from glob to regex. Deal with:=0A= # [, {, ?, * as glob chars=0A= # make sure to escape all other regex chars=0A= $glob =3D~ s/([\.\(\)\|\+])/\\$1/g;=0A= $glob =3D~ s/\*/.*/g;=0A= $glob =3D~ s/\?/./g;=0A= $glob =3D~ s/{([^}]+)}/($t =3D $1) =3D~ s-,-|-g; "($t)"/eg;=0A= foreach (readdir($dh)) {=0A= if (/^${glob}$/) {=0A= push(@results, $dirname . "/" .$_);=0A= }=0A= }=0A= closedir($dh);=0A= }=0A= =0A= @results;=0A= }=0A= =0A= sub getMimeTypeFromSuffix($) {=0A= my ($fullname) =3D @_;=0A= my ($mimetype, $suffix);=0A= my $fh =3D do {local(*FH);};=0A= =0A= ($suffix =3D $fullname) =3D~ s/^.*\.([^.]*)$/$1/;=0A= $mimetype =3D $MTYPES{$suffix};=0A= $mimetype =3D $MTYPES{'*'} if (!$mimetype);=0A= =0A= if (!$mimetype && -f $mime_types) {=0A= # okey, this is something special - search the=0A= # mime.types database=0A= open ($fh, "<$mime_types");=0A= while (<$fh>) {=0A= if ($_ =3D~ /^\s*(\S+\/\S+).*\b$suffix\b/) {=0A= $mimetype =3D $1;=0A= last;=0A= }=0A= }=0A= close ($fh);=0A= }=0A= =0A= # okey, didn't find anything useful ..=0A= if (!($mimetype =3D~ /\S\/\S/)) {=0A= $mimetype =3D "text/plain";=0A= }=0A= return $mimetype;=0A= }=0A= =0A= ###############################=0A= # show Annotation=0A= ###############################=0A= sub doAnnotate ($$) {=0A= my ($rev) =3D @_;=0A= my ($pid);=0A= my ($pathname, $filename);=0A= my $reader =3D do {local(*FH);};=0A= my $writer =3D do {local(*FH);};=0A= =0A= # make sure the revisions are wellformed, for security=0A= # reasons ..=0A= if (!($rev =3D~ /^[\d\.]+$/)) {=0A= &fatal("404 Not Found",=0A= "Malformed query \"$ENV{'QUERY_STRING'}\"");=0A= }=0A= =0A= if (&forbidden_file($fullname)) {=0A= &fatal("403 Forbidden", "Access forbidden. This file is mentioned in = \@DissallowRead");=0A= return;=0A= }=0A= =0A= ($pathname =3D $where) =3D~ s/(Attic\/)?[^\/]*$//;=0A= ($filename =3D $where) =3D~ s/^.*\///;=0A= =0A= http_header();=0A= =0A= navigateHeader ($scriptwhere,$pathname,$filename,$rev, "annotate");=0A= print "

Annotation of $pathname$filename, Revision = $rev

\n";=0A= =0A= # this seems to be necessary=0A= $| =3D 1; $| =3D 0; # Flush=0A= =0A= # this annotate version is based on the=0A= # cvs annotate-demo Perl script by Cyclic Software=0A= # It was written by Cyclic Software, http://www.cyclic.com/, and is = in=0A= # the public domain.=0A= # we could abandon the use of rlog, rcsdiff and co using=0A= # the cvsserver in a similiar way one day (..after rewrite)=0A= $pid =3D open2($reader, $writer, "cvs server") || fatal ("500 = Internal Error", =0A= "Fatal Error - unable to open cvs for annotation");=0A= =0A= # OK, first send the request to the server. A simplified example is:=0A= # Root /home/kingdon/zwork/cvsroot=0A= # Argument foo/xx=0A= # Directory foo=0A= # /home/kingdon/zwork/cvsroot/foo=0A= # Directory .=0A= # /home/kingdon/zwork/cvsroot=0A= # annotate=0A= # although as you can see there are a few more details.=0A= =0A= print $writer "Root $cvsroot\n";=0A= print $writer "Valid-responses ok error Valid-requests Checked-in = Updated Merged Removed M E\n";=0A= # Don't worry about sending valid-requests, the server just needs to=0A= # support "annotate" and if it doesn't, there isn't anything to be = done.=0A= print $writer "UseUnchanged\n";=0A= print $writer "Argument -r\n";=0A= print $writer "Argument $rev\n";=0A= print $writer "Argument $where\n";=0A= =0A= # The protocol requires us to fully fake a working directory (at=0A= # least to the point of including the directories down to the one=0A= # containing the file in question).=0A= # So if $where is "dir/sdir/file", then @dirs will be = ("dir","sdir","file")=0A= my @dirs =3D split('/', $where);=0A= my $path =3D "";=0A= foreach (@dirs) {=0A= if ($path eq "") {=0A= # In our example, $_ is "dir".=0A= $path =3D $_;=0A= }=0A= else {=0A= print $writer "Directory $path\n";=0A= print $writer "$cvsroot/$path\n";=0A= # In our example, $_ is "sdir" and $path becomes "dir/sdir"=0A= # And the next time, "file" and "dir/sdir/file" (which then gets=0A= # ignored, because we don't need to send Directory for the file).=0A= $path .=3D "/$_";=0A= }=0A= }=0A= # And the last "Directory" before "annotate" is the top level.=0A= print $writer "Directory .\n";=0A= print $writer "$cvsroot\n";=0A= =0A= print $writer "annotate\n";=0A= # OK, we've sent our command to the server. Thing to do is to=0A= # close the writer side and get all the responses. If "cvs server"=0A= # were nicer about buffering, then we could just leave it open, I = think.=0A= close ($writer) || die "cannot close: $!";=0A= =0A= # Ready to get the responses from the server.=0A= # For example:=0A= # E Annotations for foo/xx=0A= # E ***************=0A= # M 1.3 (kingdon 06-Sep-97): hello =0A= # ok=0A= my ($lineNr) =3D 0;=0A= my ($oldLrev, $oldLusr) =3D ("", "");=0A= my ($revprint, $usrprint);=0A= if ($annTable) {=0A= print "\n";=0A= }=0A= else {=0A= print "
";=0A=
    }=0A=
    while (<$reader>) {=0A=
	my @words =3D split;=0A=
	# Adding one is for the (single) space which follows $words[0].=0A=
	my $rest =3D substr ($_, length ($words[0]) + 1);=0A=
	if ($words[0] eq "E") {=0A=
	    next;=0A=
	}=0A=
	elsif ($words[0] eq "M") {=0A=
	    $lineNr++;=0A=
	    my $lrev =3D substr ($_, 2, 13);=0A=
	    my $lusr =3D substr ($_, 16,  9);=0A=
	    my $line =3D substr ($_, 36);=0A=
	    # we should parse the date here ..=0A=
	    if ($lrev eq $oldLrev) {=0A=
		$revprint =3D "             ";=0A=
	    }=0A=
	    else {=0A=
		$revprint =3D $lrev; $oldLusr =3D "";=0A=
	    }=0A=
	    if ($lusr eq $oldLusr) {=0A=
		$usrprint =3D "         ";=0A=
	    }=0A=
	    else {=0A=
		$usrprint =3D $lusr;=0A=
	    }=0A=
	    $oldLrev =3D $lrev;=0A=
	    $oldLusr =3D $lusr;=0A=
	    # is there a less timeconsuming way to strip spaces ?=0A=
	    ($lrev =3D $lrev) =3D~ s/\s+//g;=0A=
	    my $isCurrentRev =3D ("$rev" eq "$lrev");=0A=
	    =0A=
	    print "" if ($isCurrentRev);=0A=
	    printf ("%8s%s%8s %4d:", $revprint, ($isCurrentRev ? "|" : " "), =
$usrprint, $lineNr);=0A=
	    print spacedHtmlText($line);=0A=
	    print "" if ($isCurrentRev);=0A=
	}=0A=
	elsif ($words[0] eq "ok") {=0A=
	    # We could complain about any text received after this, like the=0A=
	    # CVS command line client.  But for simplicity, we don't.=0A=
	}=0A=
	elsif ($words[0] eq "error") {=0A=
	    fatal ("500 Internal Error", "Error occured during annotate: =
$_");=0A=
	}=0A=
    }=0A=
    if ($annTable) {=0A=
	print "
";=0A= }=0A= else {=0A= print "";=0A= }=0A= close ($reader) || warn "cannot close: $!";=0A= wait;=0A= }=0A= =0A= ###############################=0A= # make Checkout=0A= ###############################=0A= sub doCheckout($$) {=0A= my ($fullname, $rev) =3D @_;=0A= my ($mimetype,$revopt);=0A= my $fh =3D do {local(*FH);};=0A= =0A= if ($rev eq 'HEAD' || $rev eq '.') {=0A= $rev =3D undef;=0A= }=0A= =0A= # make sure the revisions a wellformed, for security=0A= # reasons ..=0A= if (defined($rev) && !($rev =3D~ /^[\d\.]+$/)) {=0A= &fatal("404 Not Found",=0A= "Malformed query \"$ENV{'QUERY_STRING'}\"");=0A= }=0A= =0A= if (&forbidden_file($fullname)) {=0A= &fatal("403 Forbidden", "Access forbidden. This file is mentioned in = \@DissallowRead");=0A= return;=0A= }=0A= =0A= # get mimetype=0A= if (defined($input{"content-type"}) && ($input{"content-type"} =3D~ = /\S\/\S/)) {=0A= $mimetype =3D $input{"content-type"}=0A= }=0A= else {=0A= $mimetype =3D &getMimeTypeFromSuffix($fullname);=0A= }=0A= =0A= if (defined($rev)) {=0A= $revopt =3D "-r$rev";=0A= if ($use_moddate) {=0A= readLog($fullname,$rev);=0A= $moddate=3D$date{$rev};=0A= }=0A= }=0A= else {=0A= $revopt =3D "-rHEAD";=0A= if ($use_moddate) {=0A= readLog($fullname);=0A= $moddate=3D$date{$symrev{HEAD}};=0A= }=0A= }=0A= =0A= ### just for the record:=0A= ### 'cvs co' seems to have a bug regarding single checkout of=0A= ### directories/files having spaces in it;=0A= ### this is an issue that should be resolved on cvs's side=0A= #=0A= # Safely for a child process to read from.=0A= if (! open($fh, "-|")) { # child=0A= open(STDERR, ">&STDOUT"); # Redirect stderr to stdout=0A= exec("cvs", "-d", "$cvsroot", "co", "-p", "$revopt", "$where");=0A= } =0A= #=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A= #Checking out squid/src/ftp.c=0A= #RCS: /usr/src/CVS/squid/src/ftp.c,v=0A= #VERS: 1.1.1.28.6.2=0A= #***************=0A= =0A= # Parse CVS header=0A= my ($revision, $filename, $cvsheader);=0A= $filename =3D "";=0A= while(<$fh>) {=0A= last if (/^\*\*\*\*/);=0A= $revision =3D $1 if (/^VERS: (.*)$/);=0A= if (/^Checking out (.*)$/) {=0A= $filename =3D $1;=0A= $filename =3D~ s/^\.\/*//;=0A= }=0A= $cvsheader .=3D $_;=0A= }=0A= if ($filename ne $where) {=0A= &fatal("500 Internal Error",=0A= "Unexpected output from cvs co: $cvsheader"=0A= . "

Check whether the directory $cvsroot/CVSROOT exists "=0A= . "and the script has write-access to the CVSROOT/history "=0A= . "file if it exists."=0A= . "
The script needs to place lock files in the "=0A= . "directory the file is in as well.
");=0A= }=0A= $| =3D 1;=0A= =0A= if ($mimetype eq "text/x-cvsweb-markup") {=0A= &cvswebMarkup($fh,$fullname,$revision);=0A= }=0A= else {=0A= http_header($mimetype);=0A= print <$fh>;=0A= }=0A= close($fh);=0A= }=0A= =0A= sub cvswebMarkup($$$) {=0A= my ($filehandle,$fullname,$revision) =3D @_;=0A= my ($pathname, $filename);=0A= =0A= ($pathname =3D $where) =3D~ s/(Attic\/)?[^\/]*$//;=0A= ($filename =3D $where) =3D~ s/^.*\///;=0A= my ($fileurl) =3D urlencode($filename);=0A= =0A= http_header();=0A= =0A= navigateHeader ($scriptwhere, $pathname, $filename, $revision, = "view");=0A= print "


";=0A= print "
";=0A= print "File: ", &clickablePath($where, 1);=0A= print " ";=0A= &download_link(urlencode($fileurl), $revision, "(download)");=0A= if (!$defaultTextPlain) {=0A= print " ";=0A= &download_link(urlencode($fileurl), $revision, "(as text)", =0A= "text/plain");=0A= }=0A= print "
\n";=0A= if ($show_log_in_markup) {=0A= readLog($fullname); #,$revision);=0A= printLog($revision,0);=0A= }=0A= else {=0A= print "Version: $revision
\n";=0A= print "Tag: ", $input{only_with_tag}, "
\n" if=0A= $input{only_with_tag};=0A= }=0A= print "
";=0A= my @content =3D <$filehandle>;=0A= my $url =3D download_url($fileurl, $revision, $mimetype);=0A= print "
";=0A= if ($mimetype =3D~ /^image/) {=0A= print "
";=0A= }=0A= elsif ($mimetype =3D~ m%^application/pdf%) {=0A= print "
";=0A= }=0A= else {=0A= print "
";=0A=
	foreach (@content) {=0A=
	    print spacedHtmlText($_);=0A=
	}=0A=
	print "
";=0A= }=0A= }=0A= =0A= sub viewable($) {=0A= my ($mimetype) =3D @_;=0A= =0A= $mimetype =3D~ m%^text/% ||=0A= $mimetype =3D~ m%^image/% ||=0A= $mimetype =3D~ m%^application/pdf% ||=0A= 0;=0A= }=0A= =0A= ###############################=0A= # Show Colored Diff=0A= ###############################=0A= sub doDiff($$$$$$) {=0A= my($fullname, $r1, $tr1, $r2, $tr2, $f) =3D @_;=0A= my $fh =3D do {local(*FH);};=0A= my ($rev1, $rev2, $sym1, $sym2, @difftype, $diffname, $f1, $f2);=0A= =0A= if (&forbidden_file($fullname)) {=0A= &fatal("403 Forbidden", "Access forbidden. This file is mentioned = in \@DissallowRead");=0A= return;=0A= }=0A= =0A= if ($r1 =3D~ /([^:]+)(:(.+))?/) {=0A= $rev1 =3D $1;=0A= $sym1 =3D $3;=0A= }=0A= if ($r1 eq 'text') {=0A= $rev1 =3D $tr1;=0A= $sym1 =3D "";=0A= }=0A= if ($r2 =3D~ /([^:]+)(:(.+))?/) {=0A= $rev2 =3D $1;=0A= $sym2 =3D $3;=0A= }=0A= if ($r2 eq 'text') {=0A= $rev2 =3D $tr2;=0A= $sym2 =3D "";=0A= }=0A= # make sure the revisions a wellformed, for security=0A= # reasons ..=0A= if (!($rev1 =3D~ /^[\d\.]+$/) || !($rev2 =3D~ /^[\d\.]+$/)) {=0A= &fatal("404 Not Found",=0A= "Malformed query \"$ENV{'QUERY_STRING'}\"");=0A= }=0A= #=0A= # rev1 and rev2 are now both numeric revisions.=0A= # Thus we do a DWIM here and swap them if rev1 is after rev2.=0A= # XXX should we warn about the fact that we do this?=0A= if (&revcmp($rev1,$rev2) > 0) {=0A= my ($tmp1, $tmp2) =3D ($rev1, $sym1);=0A= ($rev1, $sym1) =3D ($rev2, $sym2);=0A= ($rev2, $sym2) =3D ($tmp1, $tmp2);=0A= }=0A= my $human_readable =3D 0;=0A= if ($f eq 'c') {=0A= @difftype =3D qw{-c};=0A= $diffname =3D "Context diff";=0A= }=0A= elsif ($f eq 's') {=0A= @difftype =3D qw{--side-by-side --width=3D164};=0A= $diffname =3D "Side by Side";=0A= }=0A= elsif ($f eq 'H') {=0A= $human_readable =3D 1;=0A= @difftype =3D qw{--unified=3D15};=0A= $diffname =3D "Long Human readable";=0A= }=0A= elsif ($f eq 'h') {=0A= @difftype =3Dqw{-u};=0A= $human_readable =3D 1;=0A= $diffname =3D "Human readable";=0A= }=0A= elsif ($f eq 'u') {=0A= @difftype =3D qw{-u};=0A= $diffname =3D "Unidiff";=0A= }=0A= else {=0A= fatal ("400 Bad arguments", "Diff format $f not understood");=0A= }=0A= =0A= # apply special options=0A= if ($human_readable) {=0A= if ($hr_funout) {=0A= push @difftype, '-p';=0A= }=0A= if ($hr_ignwhite) {=0A= push @difftype, '-w';=0A= }=0A= if ($hr_ignkeysubst) {=0A= push @difftype, '-kk';=0A= }=0A= }=0A= if (! open($fh, "-|")) { # child=0A= open(STDERR, ">&STDOUT"); # Redirect stderr to stdout=0A= exec("rcsdiff",@difftype,"-r$rev1","-r$rev2",$fullname);=0A= }=0A= if ($human_readable) {=0A= http_header();=0A= &human_readable_diff($fh, $rev2);=0A= gzipclose();=0A= exit;=0A= }=0A= else {=0A= http_header("text/plain");=0A= }=0A= #=0A= #=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A= #RCS file: /home/ncvs/src/sys/netinet/tcp_output.c,v=0A= #retrieving revision 1.16=0A= #retrieving revision 1.17=0A= #diff -c -r1.16 -r1.17=0A= #*** /home/ncvs/src/sys/netinet/tcp_output.c 1995/11/03 22:08:08 = 1.16=0A= #--- /home/ncvs/src/sys/netinet/tcp_output.c 1995/12/05 17:46:35 = 1.17=0A= #=0A= # Ideas:=0A= # - nuke the stderr output if it's what we expect it to be=0A= # - Add "no differences found" if the diff command supplied no output.=0A= #=0A= #*** src/sys/netinet/tcp_output.c 1995/11/03 22:08:08 1.16=0A= #--- src/sys/netinet/tcp_output.c 1995/12/05 17:46:35 1.17 = RELENG_2_1_0=0A= # (bogus example, but...)=0A= #=0A= if (grep { $_ eq '-u'} @difftype) {=0A= $f1 =3D '---';=0A= $f2 =3D '\+\+\+';=0A= }=0A= else {=0A= $f1 =3D '\*\*\*';=0A= $f2 =3D '---';=0A= }=0A= while (<$fh>) {=0A= if (m|^$f1 $cvsroot|o) {=0A= s|$cvsroot/||o;=0A= if ($sym1) {=0A= chop;=0A= $_ .=3D " $sym1\n";=0A= }=0A= }=0A= elsif (m|^$f2 $cvsroot|o) {=0A= s|$cvsroot/||o;=0A= if ($sym2) {=0A= chop;=0A= $_ .=3D " $sym2\n";=0A= }=0A= }=0A= print $_;=0A= }=0A= close($fh);=0A= }=0A= =0A= ###############################=0A= # Show Logs ..=0A= ###############################=0A= sub getDirLogs($$@) {=0A= my ($cvsroot,$dirname,@otherFiles) =3D @_;=0A= my ($state,$otherFiles,$tag, $file, $date, $branchpoint, $branch, = $log);=0A= my ($rev, $revision, $revwanted, $filename, $head, $author);=0A= =0A= $tag =3D $input{only_with_tag};=0A= =0A= my ($DirName) =3D "$cvsroot/$where";=0A= my (@files, @filetags);=0A= my $fh =3D do {local(*FH);};=0A= =0A= push(@files, &safeglob("$DirName/*,v"));=0A= push(@files, &safeglob("$DirName/Attic/*,v")) if = (!$input{'hideattic'});=0A= foreach $file (@otherFiles) {=0A= push(@files, "$DirName/$file");=0A= }=0A= =0A= # just execute rlog if there are any files=0A= if ($#files < 0) { =0A= return;=0A= }=0A= =0A= if (defined($tag)) {=0A= #can't use -r as - is allowed in tagnames, but misinterpreated by = rlog..=0A= if (! open($fh, "-|")) {=0A= open(STDERR, "> /dev/null"); # rlog may complain; ignore.=0A= exec("rlog",@files);=0A= }=0A= }=0A= else {=0A= my $kidpid =3D open($fh, "-|");=0A= if (! $kidpid) {=0A= open(STDERR, "> /dev/null"); # rlog may complain; ignore.=0A= exec("rlog","-r",@files);=0A= }=0A= }=0A= $state =3D "start";=0A= while (<$fh>) {=0A= if ($state eq "start") {=0A= #Next file. Initialize file variables=0A= $rev =3D undef;=0A= $revwanted =3D undef;=0A= $branch =3D undef;=0A= $branchpoint =3D undef;=0A= $filename =3D undef;=0A= $log =3D undef;=0A= $revision =3D undef;=0A= $branch =3D undef;=0A= %symrev =3D ();=0A= @filetags =3D ();=0A= #jump to head state=0A= $state =3D "head";=0A= }=0A= print "$state:$_" if ($verbose);=0A= again:=0A= if ($state eq "head") {=0A= #$rcsfile =3D $1 if (/^RCS file: (.+)$/); #not used (yet)=0A= $filename =3D $1 if (/^Working file: (.+)$/);=0A= $head =3D $1 if (/^head: (.+)$/);=0A= $branch =3D $1 if (/^branch: (.+)$/);=0A= }=0A= if ($state eq "head" && /^symbolic names/) {=0A= $state =3D "tags";=0A= ($branch =3D $head) =3D~ s/\.\d+$// if (!defined($branch)); =0A= $branch =3D~ s/(\.?)(\d+)$/${1}0.$2/;=0A= $symrev{MAIN} =3D $branch;=0A= $symrev{HEAD} =3D $branch;=0A= $alltags{MAIN} =3D 1;=0A= $alltags{HEAD} =3D 1;=0A= push (@filetags, "MAIN", "HEAD");=0A= next;=0A= }=0A= if ($state eq "tags" &&=0A= /^\s+(.+):\s+([\d\.]+)\s+$/) {=0A= push (@filetags, $1);=0A= $symrev{$1} =3D $2;=0A= $alltags{$1} =3D 1;=0A= next;=0A= }=0A= if ($state eq "tags" && /^\S/) {=0A= if (defined($tag) && (defined($symrev{$tag}) || $tag eq "HEAD")) {=0A= $revwanted =3D $tag eq "HEAD" ? $symrev{"MAIN"} : $symrev{$tag};=0A= ($branch =3D $revwanted) =3D~ s/\.0\././;=0A= ($branchpoint =3D $branch) =3D~ s/\.?\d+$//;=0A= $revwanted =3D undef if ($revwanted ne $branch);=0A= }=0A= elsif (defined($tag) && $tag ne "HEAD") {=0A= print "Tag not found, skip this file" if ($verbose);=0A= $state =3D "skip";=0A= next;=0A= }=0A= foreach my $tagfound (@filetags) {=0A= $tags{$tagfound} =3D 1;=0A= }=0A= $state =3D "head";=0A= goto again;=0A= }=0A= if ($state eq "head" && /^----------------------------$/) {=0A= $state =3D "log";=0A= $rev =3D undef;=0A= $date =3D undef;=0A= $log =3D "";=0A= # Try to reconstruct the relative filename if RCS spits out a full = path=0A= $filename =3D~ s%^\Q$DirName\E/%%;=0A= next;=0A= }=0A= if ($state eq "log") {=0A= if (/^----------------------------$/=0A= || = /^=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D/) {=0A= # End of a log entry.=0A= my $revbranch;=0A= ($revbranch =3D $rev) =3D~ s/\.\d+$//;=0A= print "$filename $rev Wanted: $revwanted "=0A= . "Revbranch: $revbranch Branch: $branch "=0A= . "Branchpoint: $branchpoint\n" if ($verbose);=0A= if (!defined($revwanted) && defined($branch)=0A= && $branch eq $revbranch || !defined($tag)) {=0A= print "File revision $rev found for branch $branch\n"=0A= if ($verbose);=0A= $revwanted =3D $rev;=0A= }=0A= if (defined($revwanted) ? $rev eq $revwanted :=0A= defined($branchpoint) ? $rev eq $branchpoint :=0A= 0 && ($rev eq $head)) { # Don't think head is needed here..=0A= print "File info $rev found for $filename\n" if ($verbose);=0A= my @finfo =3D ($rev,$date,$log,$author,$filename);=0A= my ($name);=0A= ($name =3D $filename) =3D~ s%/.*%%;=0A= $fileinfo{$name} =3D [ @finfo ];=0A= $state =3D "done" if (defined($revwanted) && $rev eq $revwanted);=0A= }=0A= $rev =3D undef;=0A= $date =3D undef;=0A= $log =3D "";=0A= }=0A= elsif (!defined($date) && = m|^date:\s+(\d+)/(\d+)/(\d+)\s+(\d+):(\d+):(\d+);|) {=0A= my $yr =3D $1;=0A= # damn 2-digit year routines :-)=0A= if ($yr > 100) {=0A= $yr -=3D 1900;=0A= }=0A= $date =3D &Time::Local::timegm($6,$5,$4,$3,$2 - 1,$yr);=0A= ($author) =3D /author: ([^;]+)/;=0A= $state =3D "log";=0A= $log =3D '';=0A= next;=0A= }=0A= elsif (!defined($rev) && m/^revision (.*)$/) {=0A= $rev =3D $1;=0A= next;=0A= }=0A= else {=0A= $log =3D $log . $_;=0A= }=0A= }=0A= if (/^=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D/) {=0A= $state =3D "start";=0A= next;=0A= }=0A= }=0A= if ($. =3D=3D 0) {=0A= fatal("500 Internal Error", =0A= "Failed to spawn GNU rlog on '".join(", ", = @files)."'

did you set the \$ENV{PATH} in your = configuration file correctly ?");=0A= }=0A= close($fh);=0A= }=0A= =0A= sub readLog($;$) {=0A= my($fullname,$revision) =3D @_;=0A= my ($symnames, $head, $rev, $br, $brp, $branch, $branchrev);=0A= my $fh =3D do {local(*FH);};=0A= =0A= if (defined($revision)) {=0A= $revision =3D "-r$revision";=0A= }=0A= else {=0A= $revision =3D "";=0A= }=0A= =0A= undef %symrev;=0A= undef %revsym;=0A= undef @allrevisions;=0A= undef %date;=0A= undef %author;=0A= undef %state;=0A= undef %difflines;=0A= undef %log;=0A= =0A= print("Going to rlog '$fullname'\n") if ($verbose);=0A= if (! open($fh, "-|")) { # child=0A= if ($revision ne '') {=0A= exec("rlog",$revision,$fullname);=0A= }=0A= else {=0A= exec("rlog",$fullname);=0A= }=0A= }=0A= while (<$fh>) {=0A= print if ($verbose);=0A= if ($symnames) {=0A= if (/^\s+([^:]+):\s+([\d\.]+)/) {=0A= $symrev{$1} =3D $2;=0A= }=0A= else {=0A= $symnames =3D 0;=0A= }=0A= }=0A= elsif (/^head:\s+([\d\.]+)/) {=0A= $head =3D $1;=0A= }=0A= elsif (/^branch:\s+([\d\.]+)/) {=0A= $curbranch =3D $1;=0A= }=0A= elsif (/^symbolic names/) {=0A= $symnames =3D 1;=0A= }=0A= elsif (/^-----/) {=0A= last;=0A= }=0A= }=0A= ($curbranch =3D $head) =3D~ s/\.\d+$// if (!defined($curbranch));=0A= =0A= # each log entry is of the form:=0A= # ----------------------------=0A= # revision 3.7.1.1=0A= # date: 1995/11/29 22:15:52; author: fenner; state: Exp; lines: +5 -3=0A= # log info=0A= # ----------------------------=0A= logentry:=0A= while (!/^=3D=3D=3D=3D=3D=3D=3D=3D=3D/) {=0A= $_ =3D <$fh>;=0A= last logentry if (!defined($_)); # EOF=0A= print "R:", $_ if ($verbose);=0A= if (/^revision ([\d\.]+)/) {=0A= $rev =3D $1;=0A= unshift(@allrevisions,$rev);=0A= }=0A= elsif (/^=3D=3D=3D=3D=3D=3D=3D=3D/ || = /^----------------------------$/) {=0A= next logentry;=0A= }=0A= else {=0A= # The rlog output is syntactically ambiguous. We must=0A= # have guessed wrong about where the end of the last log=0A= # message was.=0A= # Since this is likely to happen when people put rlog output=0A= # in their commit messages, don't even bother keeping=0A= # these lines since we don't know what revision they go with=0A= # any more.=0A= next logentry;=0A= # &fatal("500 Internal Error","Error parsing RCS output: $_");=0A= }=0A= $_ =3D <$fh>;=0A= print "D:", $_ if ($verbose);=0A= if = (m|^date:\s+(\d+)/(\d+)/(\d+)\s+(\d+):(\d+):(\d+);\s+author:\s+(\S+);\s+s= tate:\s+(\S+);\s+(lines:\s+([0-9\s+-]+))?|) {=0A= my $yr =3D $1;=0A= # damn 2-digit year routines :-)=0A= if ($yr > 100) {=0A= $yr -=3D 1900;=0A= }=0A= $date{$rev} =3D &Time::Local::timegm($6,$5,$4,$3,$2 - 1,$yr);=0A= $author{$rev} =3D $7;=0A= $state{$rev} =3D $8;=0A= $difflines{$rev} =3D $10;=0A= }=0A= else {=0A= &fatal("500 Internal Error", "Error parsing RCS output: $_");=0A= }=0A= line:=0A= while (<$fh>) {=0A= print "L:", $_ if ($verbose);=0A= next line if (/^branches:\s/);=0A= last line if (/^----------------------------$/ || = /^=3D=3D=3D=3D=3D=3D=3D=3D=3D/);=0A= $log{$rev} .=3D $_;=0A= }=0A= print "E:", $_ if ($verbose);=0A= }=0A= close($fh);=0A= print "Done reading RCS file\n" if ($verbose);=0A= =0A= @revorder =3D reverse sort {revcmp($a,$b)} @allrevisions;=0A= print "Done sorting revisions",join(" ",@revorder),"\n" if ($verbose);=0A= =0A= #=0A= # HEAD is an artificial tag which is simply the highest tag number on = the main=0A= # branch, unless there is a branch tag in the RCS file in which case = it's the=0A= # highest revision on that branch. Find it by looking through = @revorder; it=0A= # is the first commit listed on the appropriate branch.=0A= # This is not neccesary the same revision as marked as head in the RCS = file.=0A= my $headrev =3D $curbranch || "1";=0A= ($symrev{"MAIN"} =3D $headrev) =3D~ s/(\.?)(\d+)$/${1}0.$2/;=0A= revision:=0A= foreach $rev (@revorder) {=0A= if ($rev =3D~ /^(\S*)\.\d+$/ && $headrev eq $1) {=0A= $symrev{"HEAD"} =3D $rev;=0A= last revision;=0A= }=0A= }=0A= ($symrev{"HEAD"} =3D $headrev) =3D~ s/\.\d+$//=0A= if (!defined($symrev{"HEAD"}));=0A= print "Done finding HEAD\n" if ($verbose);=0A= #=0A= # Now that we know all of the revision numbers, we can associate=0A= # absolute revision numbers with all of the symbolic names, and=0A= # pass them to the form so that the same association doesn't have=0A= # to be built then.=0A= #=0A= undef @branchnames;=0A= undef %branchpoint;=0A= undef $sel;=0A= =0A= foreach (reverse sort keys %symrev) {=0A= $rev =3D $symrev{$_};=0A= if ($rev =3D~ /^((.*)\.)0\.(\d+)$/) {=0A= push(@branchnames, $_);=0A= #=0A= # A revision number of A.B.0.D really translates into=0A= # "the highest current revision on branch A.B.D".=0A= #=0A= # If there is no branch A.B.D, then it translates into=0A= # the head A.B .=0A= #=0A= # This reasoning also applies to the main branch A.B,=0A= # with the branch number 0.A, with the exception that=0A= # it has no head to translate to if there is nothing on=0A= # the branch, but I guess this can never happen?=0A= #=0A= # Since some stupid people actually import/check in=0A= # files with version 0.X we assume that the above cannot=0A= # happen, and regard 0.X(.*) as a revision and not a branch.=0A= #=0A= $head =3D defined($2) ? $2 : "";=0A= $branch =3D $3;=0A= $branchrev =3D $head . ($head ne "" ? "." : "") . $branch;=0A= my $regex;=0A= ($regex =3D $branchrev) =3D~ s/\./\\./g;=0A= $rev =3D $head;=0A= =0A= revision:=0A= foreach my $r (@revorder) {=0A= if ($r =3D~ /^${regex}\b/) {=0A= $rev =3D $branchrev;=0A= last revision;=0A= }=0A= }=0A= next if ($rev eq "");=0A= if ($rev ne $head && $head ne "") {=0A= $branchpoint{$head} .=3D ", " if ($branchpoint{$head});=0A= $branchpoint{$head} .=3D $_;=0A= }=0A= }=0A= $revsym{$rev} .=3D ", " if ($revsym{$rev});=0A= $revsym{$rev} .=3D $_;=0A= $sel .=3D "

\n";=0A=
	print &htmlify($log{$_});=0A=
	print "
\n";=0A= }=0A= =0A= sub doLog($) {=0A= my($fullname) =3D @_;=0A= my ($diffrev, $upwhere, $filename, $backurl);=0A= =0A= readLog($fullname);=0A= =0A= html_header("CVS log for $where");=0A= ($upwhere =3D $where) =3D~ s|(Attic/)?[^/]+$||;=0A= ($filename =3D $where) =3D~ s|^.*/||;=0A= $backurl =3D $scriptname . "/" . urlencode($upwhere) . $query;=0A= print &link($backicon, "$backurl#$filename"),=0A= " Up to ", &clickablePath($upwhere, 1), "

\n";=0A= print "Request diff between arbitrary = revisions\n";=0A= print "


\n";=0A= if ($curbranch) {=0A= print "Default branch: ";=0A= print ($revsym{$curbranch} || $curbranch);=0A= }=0A= else {=0A= print "No default branch";=0A= }=0A= print "
\n";=0A= if ($input{only_with_tag}) {=0A= print "Current tag: $input{only_with_tag}
\n";=0A= }=0A= =0A= undef %nameprinted;=0A= =0A= for (my $i =3D 0; $i <=3D $#revdisplayorder; $i++) {=0A= print "
";=0A= printLog($revdisplayorder[$i]);=0A= }=0A= =0A= print "
";=0A= print "\n";=0A= print "This form allows you to request diff's between any two\n";=0A= print "revisions of a file. You may select a symbolic revision\n";=0A= print "name using the selection box or you may type in a numeric\n";=0A= print "name using the type-in text box.\n";=0A= print "

\n";=0A= print "

\n";=0A= foreach (@stickyvars) {=0A= print "\n"=0A= if (defined($input{$_})=0A= && ((!defined($DEFAULTVALUE{$_})=0A= || $input{$_} ne $DEFAULTVALUE{$_})=0A= && $input{$_} ne ""));=0A= }=0A= print "Diffs between \n";=0A= print "\n";=0A= $diffrev =3D $revdisplayorder[$#revdisplayorder];=0A= $diffrev =3D $input{"r1"} if (defined($input{"r1"}));=0A= print "\n";=0A= print " and \n";=0A= print "\n";=0A= $diffrev =3D $revdisplayorder[0];=0A= $diffrev =3D $input{"r2"} if (defined($input{"r2"}));=0A= print "\n";=0A= print "
Type of Diff should be a ";=0A= printDiffSelect(0);=0A= print "\n";=0A= print "
\n";=0A= print "
\n";=0A= if (@branchnames) {=0A= print "\n";=0A= print "
\n";=0A= foreach (@stickyvars) {=0A= next if ($_ eq "only_with_tag");=0A= next if ($_ eq "logsort");=0A= print "\n"=0A= if (defined($input{$_})=0A= && (!defined($DEFAULTVALUE{$_})=0A= || $input{$_} ne $DEFAULTVALUE{$_})=0A= && $input{$_} ne "");=0A= }=0A= print "View only Branch: \n";=0A= print "\n";=0A= print "\n";=0A= print "
\n";=0A= }=0A= print "\n";=0A= print "
\n";=0A= foreach (@stickyvars) {=0A= next if ($_ eq "only_with_tag");=0A= next if ($_ eq "logsort");=0A= print "\n"=0A= if (defined($input{$_})=0A= && (!defined($DEFAULTVALUE{$_})=0A= || $input{$_} ne $DEFAULTVALUE{$_})=0A= && $input{$_} ne "");=0A= }=0A= print "Sort log by: \n";=0A= print "\n";=0A= print "
\n";=0A= print &html_footer;=0A= print "\n";=0A= }=0A= =0A= sub flush_diff_rows ($$$$)=0A= {=0A= my $j;=0A= my ($leftColRef,$rightColRef,$leftRow,$rightRow) =3D @_;=0A= =0A= if (!defined($state)) {=0A= return;=0A= }=0A= =0A= if ($state eq "PreChangeRemove") { # we just got = remove-lines before=0A= for ($j =3D 0 ; $j < $leftRow; $j++) {=0A= print "@$leftColRef[$j]";=0A= print " \n";=0A= }=0A= }=0A= elsif ($state eq "PreChange") { # state eq "PreChange"=0A= # we got removes with subsequent adds=0A= for ($j =3D 0; $j < $leftRow || $j < $rightRow ; $j++) { # dump = out both cols=0A= print "";=0A= if ($j < $leftRow) {=0A= print "@$leftColRef[$j]";=0A= }=0A= else {=0A= print " ";=0A= }=0A= if ($j < $rightRow) {=0A= print "@$rightColRef[$j]";=0A= }=0A= else {=0A= print " ";=0A= }=0A= print "\n";=0A= }=0A= }=0A= }=0A= =0A= ##=0A= # Function to generate Human readable diff-files=0A= # human_readable_diff(String revision_to_return_to);=0A= ##=0A= sub human_readable_diff($){=0A= my ($i,$difftxt, $where_nd, $filename, $pathname, $scriptwhere_nd);=0A= my ($fh, $rev) =3D @_;=0A= my ($date1, $date2, $r1d, $r2d, $r1r, $r2r, $rev1, $rev2, $sym1, = $sym2);=0A= my (@rightCol, @leftCol);=0A= =0A= ($where_nd =3D $where) =3D~ s/.diff$//;=0A= ($filename =3D $where_nd) =3D~ s/^.*\///;=0A= ($pathname =3D $where_nd) =3D~ s/(Attic\/)?[^\/]*$//;=0A= ($scriptwhere_nd =3D $scriptwhere) =3D~ s/.diff$//;=0A= =0A= navigateHeader ($scriptwhere_nd, $pathname, $filename, $rev, "diff");=0A= =0A= # Read header to pick up read revision and date, if possible=0A= while (<$fh>) {=0A= ($r1d,$r1r) =3D /\t(.*)\t(.*)$/ if (/^--- /);=0A= ($r2d,$r2r) =3D /\t(.*)\t(.*)$/ if (/^\+\+\+ /);=0A= last if (/^\+\+\+ /);=0A= }=0A= if (defined($r1r) && $r1r =3D~ /^(\d+\.)+\d+$/) {=0A= $rev1 =3D $r1r;=0A= $date1 =3D $r1d;=0A= }=0A= if (defined($r2r) && $r2r =3D~ /^(\d+\.)+\d+$/) {=0A= $rev2 =3D $r2r;=0A= $date2 =3D $r2d;=0A= }=0A= =0A= print "

Diff for /$where_nd between version $rev1 = and $rev2

\n";=0A= =0A= print "\n";=0A= print "\n";=0A= print "\n";=0A= print "\n";=0A= =0A= my $fs =3D "";=0A= my $fe =3D "";=0A= =0A= my $leftRow =3D 0;=0A= my $rightRow =3D 0;=0A= my ($oldline, $newline, $funname, $diffcode, $rest);=0A= =0A= # Process diff text=0A= # The diffrows are could make excellent use of=0A= # cascading style sheets because we've to set the=0A= # font and color for each row. anyone ...?=0A= ####=0A= while (<$fh>) {=0A= $difftxt =3D $_;=0A= =0A= if ($difftxt =3D~ /^@@/) {=0A= ($oldline,$newline,$funname) =3D $difftxt =3D~ /@@ = \-([0-9]+).*\+([0-9]+).*@@(.*)/;=0A= print "\n";=0A= $state =3D "dump";=0A= $leftRow =3D 0;=0A= $rightRow =3D 0;=0A= }=0A= else {=0A= ($diffcode,$rest) =3D $difftxt =3D~ /^([-+ ])(.*)/;=0A= $_ =3D spacedHtmlText ($rest);=0A= =0A= # Add fontface, size=0A= $_ =3D "$fs $_$fe";=0A= =0A= #########=0A= # little state machine to parse unified-diff output (Hen, = zeller@think.de)=0A= # in order to get some nice 'ediff'-mode output=0A= # states:=0A= # "dump" - just dump the value=0A= # "PreChangeRemove" - we began with '-' .. so this could be the = start of a 'change' area or just remove=0A= # "PreChange" - okey, we got several '-' lines and moved to = '+' lines -> this is a change block=0A= ##########=0A= =0A= if ($diffcode eq '+') {=0A= if ($state eq "dump") { # 'change' never begins with '+': just = dump out value=0A= print "\n";=0A= }=0A= else { # we got minus before=0A= $state =3D "PreChange";=0A= $rightCol[$rightRow++] =3D $_;=0A= }=0A= } =0A= elsif ($diffcode eq '-') {=0A= $state =3D "PreChangeRemove";=0A= $leftCol[$leftRow++] =3D $_;=0A= }=0A= else { # empty diffcode=0A= flush_diff_rows \@leftCol, \@rightCol, $leftRow, $rightRow;=0A= print "\n";=0A= $state =3D "dump";=0A= $leftRow =3D 0;=0A= $rightRow =3D 0;=0A= }=0A= }=0A= }=0A= flush_diff_rows \@leftCol, \@rightCol, $leftRow, $rightRow;=0A= =0A= # state is empty if we didn't have any change=0A= if (!$state) {=0A= print "";=0A= print "";=0A= print "";=0A= }=0A= print "
";=0A= print "version $rev1";=0A= print ", $date1" if (defined($date1));=0A= print "
Tag: $sym1\n" if ($sym1);=0A= print "
";=0A= print "version $rev2";=0A= print ", $date2" if (defined($date2));=0A= print "
Tag: $sym2\n" if ($sym1);=0A= print "
";=0A= print "
Line $oldline";=0A= print " $funname
";=0A= print "
";=0A= print "
Line $newline";=0A= print " $funname
";=0A= print "
 $_
$_$_
 
- No viewable Change = -
";=0A= close($fh);=0A= =0A= print "

\n";=0A= =0A= print "";=0A= =0A= print "";=0A= =0A= print "
";=0A= # print legend=0A= print "
";=0A= print "Legend:
\n";=0A= print "";=0A= print "";=0A= print "";=0A= print "
Removed = from v.$rev1 
changed lines
 Added in v.$rev2
\n";=0A= =0A= print "
";=0A= # Print format selector=0A= print "
\n";=0A= foreach my $var (keys %input) {=0A= next if ($var eq "f");=0A= next if (defined($DEFAULTVALUE{$var})=0A= && $DEFAULTVALUE{$var} eq $input{$var});=0A= print "\n";=0A= }=0A= printDiffSelect($use_java_script);=0A= print "\n";=0A= print "
\n";=0A= print "
";=0A= }=0A= =0A= sub navigateHeader ($$$$$) {=0A= my ($swhere,$path,$filename,$rev,$title) =3D @_;=0A= $swhere =3D "" if ($swhere eq $scriptwhere);=0A= $swhere =3D urlencode($filename) if ($swhere eq "");=0A= print "<\!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 = Transitional//EN\">";=0A= print "\n\n";=0A= print '';=0A= print "\n$path$filename - $title - $rev\n";=0A= print "\n";=0A= print "";=0A= print "";=0A= =0A= print "";=0A= print "
";=0A= print "$backicon";=0A= print " Return to ", = &link("$filename","$swhere$query#rev$rev")," CVS log";=0A= print " $fileicon$diricon Up to ", &clickablePath($path, = 1), "
";=0A= }=0A= =0A= sub plural_write ($$)=0A= {=0A= my ($num,$text) =3D @_;=0A= if ($num !=3D 1) {=0A= $text =3D $text . "s";=0A= }=0A= if ($num > 0) {=0A= return $num . " " . $text;=0A= }=0A= else {=0A= return "";=0A= }=0A= }=0A= =0A= ##=0A= # print readable timestamp in terms of=0A= # '..time ago'=0A= # H. Zeller =0A= ##=0A= sub readableTime($$) {=0A= my ($i, $break, $retval);=0A= my ($secs,$long) =3D @_;=0A= =0A= # this function works correct for time >=3D 2 seconds=0A= if ($secs < 2) {=0A= return "very little time";=0A= }=0A= =0A= my %desc =3D (1 , 'second',=0A= 60, 'minute',=0A= 3600, 'hour',=0A= 86400, 'day',=0A= 604800, 'week',=0A= 2628000, 'month',=0A= 31536000, 'year');=0A= my @breaks =3D sort {$a <=3D> $b} keys %desc;=0A= $i =3D 0;=0A= while ($i <=3D $#breaks && $secs >=3D 2 * $breaks[$i]) { =0A= $i++;=0A= }=0A= $i--;=0A= $break =3D $breaks[$i];=0A= $retval =3D plural_write(int ($secs / $break), $desc{"$break"});=0A= =0A= if ($long =3D=3D 1 && $i > 0) {=0A= my $rest =3D $secs % $break;=0A= $i--;=0A= $break =3D $breaks[$i];=0A= my $resttime =3D plural_write(int ($rest / $break), =0A= $desc{"$break"});=0A= if ($resttime) {=0A= $retval =3D $retval . ", " . $resttime;=0A= }=0A= }=0A= =0A= return $retval;=0A= }=0A= =0A= ##=0A= # clickablePath(String pathname, boolean last_item_clickable)=0A= #=0A= # returns a html-ified path whereas each directory is a link for=0A= # faster navigation. last_item_clickable controls whether the=0A= # basename (last directory/file) is a link as well=0A= ##=0A= sub clickablePath($$) {=0A= my ($pathname,$clickLast) =3D @_; =0A= my $retval =3D '';=0A= =0A= if ($pathname eq '/') {=0A= # this should never happen - chooseCVSRoot() is=0A= # intended to do this=0A= $retval =3D "[$cvstree]";=0A= }=0A= else {=0A= $retval =3D $retval . " [$cvstree]";=0A= my $wherepath =3D '';=0A= my ($lastslash) =3D $pathname =3D~ m|/$|;=0A= foreach (split(/\//, $pathname)) {=0A= $retval =3D $retval . " / ";=0A= $wherepath =3D $wherepath . '/' . $_;=0A= my ($last) =3D "$wherepath/" eq "/$pathname"=0A= || "$wherepath" eq "/$pathname";=0A= if ($clickLast || !$last) {=0A= $retval =3D $retval . "$_";=0A= }=0A= else { # do not make a link to the current dir=0A= $retval =3D $retval . $_;=0A= }=0A= }=0A= }=0A= return $retval;=0A= }=0A= =0A= sub chooseCVSRoot() {=0A= my @foo;=0A= foreach (sort keys %CVSROOT) {=0A= if (-d $CVSROOT{$_}) {=0A= push(@foo, $_);=0A= }=0A= }=0A= if (@foo > 1) {=0A= my ($k);=0A= print "
\n";=0A= foreach $k (keys %input) {=0A= print "\n" =0A= if ($input{$k}) && ($k ne "cvsroot");=0A= }=0A= # Form-Elements look wierd in Netscape if the background=0A= # isn't gray and the form elements are not placed=0A= # within a table ...=0A= print "";=0A= print "";=0A= print "";=0A= print "";=0A= print "
CVS Root:\n\n
";=0A= }=0A= else {=0A= # no choice ..=0A= print "CVS Root: [$cvstree]";=0A= }=0A= }=0A= =0A= sub chooseMirror() {=0A= my ($mirror,$moremirrors);=0A= $moremirrors =3D 0;=0A= # This code comes from the original BSD-cvsweb=0A= # and may not be useful for your site; If you don't=0A= # set %MIRRORS this won't show up, anyway=0A= #=0A= # Should perhaps exlude the current site somehow.. =0A= if (keys %MIRRORS) {=0A= print "\nThis cvsweb is mirrored in:\n";=0A= foreach $mirror (keys %MIRRORS) {=0A= print ", " if ($moremirrors);=0A= print qq($mirror\n);=0A= $moremirrors =3D 1;=0A= }=0A= print "

\n";=0A= }=0A= }=0A= =0A= sub fileSortCmp() {=0A= my ($comp) =3D 0;=0A= my ($c,$d,$af,$bf);=0A= =0A= ($af =3D $a) =3D~ s/,v$//;=0A= ($bf =3D $b) =3D~ s/,v$//;=0A= my ($rev1,$date1,$log1,$author1,$filename1) =3D @{$fileinfo{$af}}=0A= if (defined($fileinfo{$af}));=0A= my ($rev2,$date2,$log2,$author2,$filename2) =3D @{$fileinfo{$bf}}=0A= if (defined($fileinfo{$bf}));=0A= =0A= if (defined($filename1) && defined($filename2) && $af eq $filename1 = && $bf eq $filename2) {=0A= # Two files=0A= $comp =3D -revcmp($rev1, $rev2) if ($byrev && $rev1 && $rev2);=0A= $comp =3D ($date2 <=3D> $date1) if ($bydate && $date1 && $date2);=0A= $comp =3D ($log1 cmp $log2) if ($bylog && $log1 && $log2);=0A= $comp =3D ($author1 cmp $author2) if ($byauthor && $author1 && = $author2);=0A= }=0A= if ($comp =3D=3D 0) {=0A= # Directories first, then sorted on name if no other sort critera=0A= # available.=0A= my $ad =3D ((-d "$fullname/$a")?"D":"F");=0A= my $bd =3D ((-d "$fullname/$b")?"D":"F");=0A= ($c=3D$a) =3D~ s|.*/||;=0A= ($d=3D$b) =3D~ s|.*/||;=0A= $comp =3D ("$ad$c" cmp "$bd$d");=0A= }=0A= return $comp;=0A= }=0A= =0A= # make A url for downloading=0A= sub download_url($$$) {=0A= my ($url,$revision,$mimetype) =3D @_;=0A= =0A= $revision =3D~ s/\.0\././;=0A= =0A= if (defined($checkout_magic)=0A= && (!defined($mimetype) || $mimetype ne "text/x-cvsweb-markup")) {=0A= my ($path);=0A= ($path =3D $where) =3D~ s|/[^/]*$|/|;=0A= $url =3D "$scriptname/$checkoutMagic/${path}$url";=0A= }=0A= $url .=3D "?rev=3D$revision";=0A= $url .=3D "&content-type=3D$mimetype" if (defined($mimetype));=0A= =0A= return $url;=0A= }=0A= =0A= # Presents a link to download the =0A= # selected revision=0A= sub download_link($$$$) {=0A= my ($url,$revision,$textlink,$mimetype) =3D @_;=0A= my ($fullurl) =3D download_url($url,$revision,$mimetype);=0A= my ($paren) =3D $textlink =3D~ /^\(/;=0A= $textlink =3D~ s/^\(// if ($paren);=0A= $textlink =3D~ s/\)$// if ($paren);=0A= print "(" if ($paren);=0A= print "$textlink";=0A= print ")" if ($paren);=0A= }=0A= =0A= # Returns a Query string with the=0A= # specified parameter toggled=0A= sub toggleQuery($$) {=0A= my ($toggle,$value) =3D @_;=0A= my ($newquery,$var);=0A= my (%vars);=0A= %vars =3D %input;=0A= if (defined($value)) {=0A= $vars{$toggle} =3D $value;=0A= }=0A= else {=0A= $vars{$toggle} =3D $vars{$toggle} ? 0 : 1;=0A= }=0A= # Build a new query of non-default paramenters=0A= $newquery =3D "";=0A= foreach $var (@stickyvars) {=0A= my ($value) =3D defined($vars{$var}) ? $vars{$var} : "";=0A= my ($default) =3D defined($DEFAULTVALUE{$var}) ? $DEFAULTVALUE{$var} : = "";=0A= if ($value ne $default) {=0A= $newquery .=3D "&" if ($newquery ne "");=0A= $newquery .=3D urlencode($var) . "=3D" . urlencode($value);=0A= }=0A= }=0A= if ($newquery) {=0A= return '?' . $newquery;=0A= }=0A= return "";=0A= }=0A= =0A= sub urlencode($) {=0A= my ($in) =3D @_;=0A= my ($out);=0A= ($out =3D $in) =3D~ s/([\000-+{-\377])/sprintf("%%%02x", ord($1))/ge;=0A= return $out;=0A= }=0A= =0A= sub http_header(;$) {=0A= my $content_type =3D shift || "text/html";=0A= my $is_mod_perl =3D defined($ENV{'MOD_PERL'});=0A= if (defined($moddate)) {=0A= if ($is_mod_perl) {=0A= Apache->request->header_out("Last-Modified" =3D> scalar = gmtime($moddate) . " GMT");=0A= }=0A= else {=0A= print "Last-Modified: " . scalar gmtime($moddate) . " GMT\r\n";=0A= }=0A= }=0A= if ($is_mod_perl) {=0A= Apache->request->content_type($content_type);=0A= }=0A= else {=0A= print "Content-type: $content_type\r\n";=0A= }=0A= if ($allow_compress && $maycompress) {=0A= if ($has_zlib || (defined($GZIPBIN) && open(GZIP, "|$GZIPBIN -1 -c"))) {=0A= if ($is_mod_perl) {=0A= Apache->request->content_encoding("x-gzip");=0A= Apache->request->header_out(Vary =3D> "Accept-Encoding");=0A= Apache->request->send_http_header;=0A= }=0A= else {=0A= print "Content-encoding: x-gzip\r\n";=0A= print "Vary: Accept-Encoding\r\n"; #RFC 2068, 14.43=0A= print "\r\n"; # Close headers=0A= }=0A= $| =3D 1; $| =3D 0; # Flush header output=0A= if ($has_zlib) {=0A= tie *GZIP, __PACKAGE__, \*STDOUT;=0A= }=0A= select(GZIP);=0A= $gzip_open =3D 1;=0A= # print "" if ($content_type eq "text/html");=0A= }=0A= else {=0A= if ($is_mod_perl) {=0A= Apache->request->send_http_header;=0A= }=0A= else {=0A= print "\r\n"; # Close headers=0A= }=0A= print "Unable to find gzip binary in the \$PATH to = compress output
";=0A= }=0A= }=0A= else {=0A= if ($is_mod_perl) {=0A= Apache->request->send_http_header;=0A= }=0A= else {=0A= print "\r\n"; # Close headers=0A= }=0A= }=0A= }=0A= =0A= sub html_header($) {=0A= my ($title) =3D @_;=0A= my $version =3D '$Revision: 1.112 $';=0A= http_header();=0A= print <=0A= =0A= $title=0A= =0A= =0A= $body_tag=0A= $logo

$title

=0A= EOH=0A= }=0A= =0A= sub html_footer() {=0A= return "
$address
\n";=0A= }=0A= =0A= sub link_tags($)=0A= {=0A= my ($tags) =3D @_;=0A= my ($ret) =3D "";=0A= my ($fileurl,$filename);=0A= =0A= ($filename =3D $where) =3D~ s/^.*\///;=0A= $fileurl =3D urlencode($filename);=0A= =0A= foreach my $sym (split(", ", $tags)) {=0A= $ret .=3D ",\n" if ($ret ne "");=0A= $ret .=3D "$sym";=0A= }=0A= return $ret."\n";=0A= }=0A= =0A= #=0A= # See if a module is listed in the config file's @HideModule list.=0A= #=0A= sub forbidden_module($) {=0A= my($module) =3D @_;=0A= return checkForbidden($module, @HideModules);=0A= }=0A= =0A= sub forbidden_file($) {=0A= my($file) =3D @_;=0A= $file =3D~ s|^.*/||;=0A= return checkForbidden($file, @DissallowRead);=0A= }=0A= =0A= sub checkForbidden($@) {=0A= my($item, @list) =3D @_;=0A= for (my $i=3D0; $i < @list; $i++) {=0A= return 1 if $item =3D~ $list[$i];=0A= }=0A= return 0;=0A= }=0A= =0A= # Close the GZIP handle remove the tie.=0A= =0A= sub gzipclose() {=0A= if ($gzip_open) {=0A= select(STDOUT);=0A= close(GZIP);=0A= untie *GZIP;=0A= $gzip_open =3D 0;=0A= }=0A= }=0A= =0A= # implement a gzipped file handle via the Compress:Zlib compression=0A= # library.=0A= =0A= sub MAGIC1() { 0x1f }=0A= sub MAGIC2() { 0x8b }=0A= sub OSCODE() { 3 }=0A= =0A= sub TIEHANDLE {=0A= my ($class, $out) =3D @_;=0A= my ($d) =3D Compress::Zlib::deflateInit(-Level =3D> = Compress::Zlib::Z_BEST_COMPRESSION(),=0A= -WindowBits =3D> -Compress::Zlib::MAX_WBITS()) or return undef;=0A= my ($o) =3D {=0A= handle =3D> $out,=0A= dh =3D> $d,=0A= crc =3D> 0,=0A= len =3D> 0,=0A= };=0A= my ($header) =3D pack("c10", MAGIC1, MAGIC2, = Compress::Zlib::Z_DEFLATED(), 0,0,0,0,0,0, OSCODE);=0A= print {$o->{handle}} $header;=0A= return bless($o, $class);=0A= }=0A= =0A= sub PRINT {=0A= my ($o) =3D shift;=0A= my ($buf) =3D join(defined $, ? $, : "",@_);=0A= my ($len) =3D length($buf);=0A= my ($compressed, $status) =3D $o->{dh}->deflate($buf);=0A= print {$o->{handle}} $compressed if defined($compressed);=0A= $o->{crc} =3D Compress::Zlib::crc32($buf, $o->{crc});=0A= $o->{len} +=3D $len;=0A= return $len;=0A= }=0A= =0A= sub PRINTF {=0A= my ($o) =3D shift;=0A= my ($fmt) =3D shift;=0A= my ($buf) =3D sprintf($fmt, @_);=0A= my ($len) =3D length($buf);=0A= my ($compressed, $status) =3D $o->{dh}->deflate($buf);=0A= print {$o->{handle}} $compressed if defined($compressed);=0A= $o->{crc} =3D Compress::Zlib::crc32($buf, $o->{crc});=0A= $o->{len} +=3D $len;=0A= return $len;=0A= }=0A= =0A= sub WRITE {=0A= my ($o, $buf, $len, $off) =3D @_;=0A= my ($compressed, $status) =3D $o->{dh}->deflate(substr($buf, 0, $len));=0A= print {$o->{handle}} $compressed if defined($compressed);=0A= $o->{crc} =3D Compress::Zlib::crc32(substr($buf, 0, $len), $o->{crc});=0A= $o->{len} +=3D $len;=0A= return $len;=0A= }=0A= =0A= sub CLOSE {=0A= my ($o) =3D @_;=0A= return if !defined( $o->{dh});=0A= my ($buf) =3D $o->{dh}->flush();=0A= $buf .=3D pack("V V", $o->{crc}, $o->{len});=0A= print {$o->{handle}} $buf;=0A= undef $o->{dh};=0A= }=0A= =0A= sub DESTROY {=0A= my ($o) =3D @_;=0A= CLOSE($o);=0A= }=0A= ------=_NextPart_000_0014_01C3214B.FD756960-- From owner-freebsd-questions@FreeBSD.ORG Fri May 23 14:58:33 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD96C37B401 for ; Fri, 23 May 2003 14:58:33 -0700 (PDT) Received: from ms-smtp-01.southeast.rr.com (ms-smtp-01.southeast.rr.com [24.93.67.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF2A043F75 for ; Fri, 23 May 2003 14:58:32 -0700 (PDT) (envelope-from ms@probsd.org) Received: from probsd.org (rrcs-midsouth-24-172-108-90.biz.rr.com [24.172.108.90])h4NLrKsb024239 for ; Fri, 23 May 2003 17:53:21 -0400 (EDT) Message-ID: <3ECE9996.5060900@probsd.org> Date: Fri, 23 May 2003 17:58:46 -0400 From: Michael User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030509 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: mod_php4.3.2* X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 21:58:34 -0000 Just did the mod_php4 upgrade 17:30 EST. I'm running apache2. After the upgrade from 4.3.1 ( doing the same make args ) when I try to start apache: Cannot load /usr/local/libexec/apache2/libphp4.so into server: /usr/local/libexec/apache2/libphp4.so: Undefined symbol "ssl_onceonlyinit" mod_php was built with OpenSSL support. Michael From owner-freebsd-questions@FreeBSD.ORG Fri May 23 15:02:36 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A678237B401 for ; Fri, 23 May 2003 15:02:36 -0700 (PDT) Received: from lerami.lerctr.org (lerami.lerctr.org [207.158.72.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD4E643F3F for ; Fri, 23 May 2003 15:02:35 -0700 (PDT) (envelope-from ler@lerctr.org) Received: from lerlaptop.lerctr.org (lerlaptop.lerctr.org [207.158.72.14]) (authenticated bits=0)h4NM2W9J002318; Fri, 23 May 2003 17:02:32 -0500 (CDT) Date: Fri, 23 May 2003 17:02:32 -0500 From: Larry Rosenman To: Michael , freebsd-questions@freebsd.org Message-ID: <32290000.1053727352@lerlaptop.lerctr.org> In-Reply-To: <3ECE9996.5060900@probsd.org> References: <3ECE9996.5060900@probsd.org> X-Mailer: Mulberry/3.0.3 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: by amavisd-milter (http://amavis.org/) Subject: Re: mod_php4.3.2* X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 22:02:36 -0000 --On Friday, May 23, 2003 17:58:46 -0400 Michael wrote: > Just did the mod_php4 upgrade 17:30 EST. I'm running apache2. After the > upgrade from 4.3.1 ( doing the same make args ) when I try to start > apache: > > Cannot load /usr/local/libexec/apache2/libphp4.so into server: > /usr/local/libexec/apache2/libphp4.so: Undefined symbol "ssl_onceonlyinit" > > mod_php was built with OpenSSL support. was imap? Did you ask for IMAP-SSL? > > Michael > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 E-Mail: ler@lerctr.org US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749 From owner-freebsd-questions@FreeBSD.ORG Fri May 23 15:10:08 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 46FA737B401 for ; Fri, 23 May 2003 15:10:08 -0700 (PDT) Received: from probsd.org (rrcs-midsouth-24-172-108-90.biz.rr.com [24.172.108.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id B482043F75 for ; Fri, 23 May 2003 15:10:07 -0700 (PDT) (envelope-from ms@probsd.org) Received: from probsd.org (probsd.org [192.168.1.4]) by probsd.org (Postfix) with SMTP id 07F03465FA; Fri, 23 May 2003 18:10:21 -0400 (EDT) Received: from 192.168.1.4 (SquirrelMail authenticated user ms) by probsd.org with HTTP; Fri, 23 May 2003 18:10:21 -0400 (EDT) Message-ID: <1890.192.168.1.4.1053727821.squirrel@probsd.org> In-Reply-To: <32290000.1053727352@lerlaptop.lerctr.org> References: <3ECE9996.5060900@probsd.org> <32290000.1053727352@lerlaptop.lerctr.org> Date: Fri, 23 May 2003 18:10:21 -0400 (EDT) From: "Michael Sharp" To: "Larry Rosenman" User-Agent: SquirrelMail/1.4.0 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 X-Priority: 3 Importance: Normal cc: freebsd-questions@FreeBSD.ORG Subject: Re: mod_php4.3.2* X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 22:10:08 -0000 hehe, yeap, it was. Just as soon as I hit enter to my previous email it hit me and I was just about to send back to the list explaining how much of a dumb a$$ I am. Thx Larry Michael > --On Friday, May 23, 2003 17:58:46 -0400 Michael wrote: > >> Just did the mod_php4 upgrade 17:30 EST. I'm running apache2. After the >> upgrade from 4.3.1 ( doing the same make args ) when I try to start >> apache: >> >> Cannot load /usr/local/libexec/apache2/libphp4.so into server: >> /usr/local/libexec/apache2/libphp4.so: Undefined symbol >> "ssl_onceonlyinit" >> >> mod_php was built with OpenSSL support. > was imap? Did you ask for IMAP-SSL? > > >> >> Michael >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> > > > > -- > Larry Rosenman http://www.lerctr.org/~ler > Phone: +1 972-414-9812 E-Mail: ler@lerctr.org > US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749 > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Fri May 23 16:32:00 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C682837B401 for ; Fri, 23 May 2003 16:32:00 -0700 (PDT) Received: from mail2.bluewin.ch (mail2.bluewin.ch [195.186.4.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id C4C6B43F75 for ; Fri, 23 May 2003 16:31:59 -0700 (PDT) (envelope-from raphael@computer-rental.ch) Received: from computer-rental.ch (62.202.83.247) by mail2.bluewin.ch (Bluewin AG 6.7.018) id 3EBB9B01001C0FA4; Fri, 23 May 2003 23:31:58 +0000 Date: Sat, 24 May 2003 01:30:29 +0200 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Mime-Version: 1.0 (Apple Message framework v552) To: karim18@juno.com From: =?ISO-8859-1?Q?Rapha=EBl_Marmier?= In-Reply-To: <20030523.123918.16315.1683@webmail02.lax.untd.com> Message-Id: <8A50FEDD-8D76-11D7-B7F8-000393D67E4A@computer-rental.ch> Content-Transfer-Encoding: quoted-printable X-Mailer: Apple Mail (2.552) cc: freebsd-questions@FreeBSD.ORG Subject: Re: Kernel?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 23:32:01 -0000 If your goal is to compete with MacOSX, you'll be better of reusing the=20= whole of FreeBSD rather than just the kernel, and concentrate on=20 building a powerfull, consistent API and user friendly environment on=20 top of it. However, before you start such huge enterprise, you might want to take=20= a look at the Gnustep project (www.gnustep.org), which aims at fully=20 reimplementing the OpenSTEP/Cocoa API and most system applications such=20= a proper Finder, development tools, etc... This is advancing well and=20 will provide the closest open source match to MacOSX. Actually, you can=20= build applications for Gnustep or for MacOSX from the same source code. just my two cents Raphael Le vendredi, 23 mai 2003, =E0 21:38 Europe/Zurich, karim18@juno.com a=20 =E9crit : > > Hello there, > > My name is Karim, and me and a couple of friends are interested in=20 > developing an Open Source flavour of *nix (Not Linux though... its not=20= > fast enough) similar to Mac OS X in its look and feel (lotsa=20 > eye-candy), anyways we were wondering where we could get the source=20 > for the latest FreeBSD kernel (Without having to download the entire=20= > set of CD's, else we do have a set of 4.7 and you could just let me=20 > know on which CD the kernel resides), and if we were to design an OS=20= > around it besides the obvious (Giving credit to the FBSD dev team as=20= > stated under the BSD license) would there be any other issues in the=20= > copyright/copyleft?? any information/comments/suggestions would be=20 > greatly appreciated. also is there any online resource guides on the=20= > FreeBSD kernel?? > > Thanx in Advance, > Karim F. Ali > > ________________________________________________________________ > The best thing to hit the internet in years - Juno SpeedBand! > Surf the web up to FIVE TIMES FASTER! > Only $14.95/ month - visit www.juno.com to sign up today! > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to=20 > "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Fri May 23 16:59:46 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 706F337B401 for ; Fri, 23 May 2003 16:59:46 -0700 (PDT) Received: from cronos.tht.net (cronos2.tht.net [216.126.88.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84F7643F93 for ; Fri, 23 May 2003 16:59:45 -0700 (PDT) (envelope-from mlist@beholder.homeunix.net) Received: from calvin.unios.ca (static-90-91.dsl.tht.net [216.126.90.91]) by cronos.tht.net (8.11.3nb1/8.11.3) with ESMTP id h4NNloR22157; Fri, 23 May 2003 19:47:54 -0400 (EDT) From: Pat Wendorf Organization: Retinal Nova To: robert t g tan , freebsd-questions@freebsd.org Date: Fri, 23 May 2003 19:59:18 -0400 User-Agent: KMail/1.5.2 References: <20030523121111.GA60004@seatle.vredesdorp.nl> In-Reply-To: <20030523121111.GA60004@seatle.vredesdorp.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200305231959.18253.mlist@beholder.homeunix.net> Subject: Re: p5-Mail-SpamAsssassin X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 23:59:46 -0000 Also install the p5-File-Spec package. For some reason the port does not include this as a dependency - Pat On May 23, 2003 08:11 am, robert t g tan wrote: > Im having problems running spamassasin. After > running say: spamassasin < some.folder, Im getting > the following message: > > Can't locate object method "splitpath" via package "File::Spec" at > /usr/local/bin/spamassassin line 20. BEGIN failed--compilation aborted at > /usr/local/bin/spamassassin line 50. > > Tnx, From owner-freebsd-questions@FreeBSD.ORG Fri May 23 17:02:00 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 645) id C1D7937B401; Fri, 23 May 2003 17:02:00 -0700 (PDT) To: FreeBSD-questions@FreeBSD.org Message-Id: <20030524000200.C1D7937B401@hub.freebsd.org> Date: Fri, 23 May 2003 17:02:00 -0700 (PDT) From: grog@FreeBSD.ORG (Greg Lehey) Subject: How to get best results from FreeBSD-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2003 00:02:01 -0000 How to get the best results from FreeBSD questions. =================================================== Last update $Date: 2003/03/09 22:09:31 $ This is a regular posting to the FreeBSD questions mailing list. If you got it in answer to a message you sent, it means that the sender thinks that at least one of the following things was wrong with your message: - You left out a subject line, or the subject line was not appropriate. - You formatted it in such a way that it was difficult to read. - You asked more than one unrelated question in one message. - You sent out a message with an incorrect date, time or time zone. - You sent out the same message more than once. - You sent an 'unsubscribe' message to FreeBSD-questions. If you have done any of these things, there is a good chance that you will get more than one copy of this message from different people. Read on, and your next message will be more successful. This document is also available on the web at http://www.lemis.com/questions.html. ===================================================================== Contents: I: Introduction II: How to unsubscribe from FreeBSD-questions III: Should I ask -questions, -newbies or -hackers? IV: How to submit a question to FreeBSD-questions V: How to answer a question to FreeBSD-questions I: Introduction =============== This is a regular posting aimed to help both those seeking advice from FreeBSD-questions (the "newcomers"), and also those who answer the questions (the "hackers"). Note that the term "hacker" has nothing to do with breaking into other people's computers. The correct term for the latter activity is "cracker", but the popular press hasn't found out yet. The FreeBSD hackers disapprove strongly of cracking security, and have nothing to do with it. In the past, there has been some friction which stems from the different viewpoints of the two groups. The newcomers accused the hackers of being arrogant, stuck-up, and unhelpful, while the hackers accused the newcomers of being stupid, unable to read plain English, and expecting everything to be handed to them on a silver platter. Of course, there's an element of truth in both these claims, but for the most part these viewpoints come from a sense of frustration. In this document, I'd like to do something to relieve this frustration and help everybody get better results from FreeBSD-questions. In the following section, I recommend how to submit a question; after that, we'll look at how to answer one. II: How to unsubscribe from FreeBSD-questions ============================================== When you subscribed to FreeBSD-questions, you got a welcome message from Majordomo@FreeBSD.ORG. In this message, amongst other things, it told you how to unsubscribe. Here's a typical message: Welcome to the freebsd-questions mailing list! If you ever want to remove yourself from this mailing list, you can send mail to "Majordomo@FreeBSD.ORG" with the following command in the body of your email message: unsubscribe freebsd-questions Greg Lehey Here's the general information for the list you've subscribed to, in case you don't already have it: FREEBSD-QUESTIONS User questions This is the mailing list for questions about FreeBSD. You should not send "how to" questions to the technical lists unless you consider the question to be pretty technical. Normally, unsubscribing is even simpler than the message suggests: you don't need to specify your mail ID unless it is different from the one which you specified when you subscribed. If Majordomo replies and tells you (incorrectly) that you're not on the list, this may mean one of two things: 1. You have changed your mail ID since you subscribed. That's where keeping the original message from majordomo comes in handy. For example, the sample message above shows my mail ID as grog@lemis.de. Since then, I have changed it to grog@lemis.com. If I were to try to remove grog@lemis.com from the list, it would fail: I would have to specify the name with which I joined. 2. You're subscribed to a mailing list which is subscribed to FreeBSD-questions. If that's the case, you'll have to figure out which one it is and get your name taken off that one. If you're not sure which one it might be, check the headers of the messages you receive from freebsd-questions: maybe there's a clue there. If you've done all this, and you still can't figure out what's going on, send a message to Postmaster@FreeBSD.org, and he will sort things out for you. Don't send a message to FreeBSD-questions: they can't help you. III: Should I ask -questions, -newbies or -hackers? =================================================== Two mailing lists handle general questions about FreeBSD, FreeBSD-questions and FreeBSD-hackers. In addition, the FreeBSD-newbies list caters specifically for people who are new to FreeBSD and may be having trouble getting used to the environment. In some cases, it's not really clear which group you should ask. The following criteria should help for 99% of all questions, however: If the question is of a general nature, first check whether this isn't a Frequently Asked Question (FAQ). There's a list of these questions at http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/index.html, and also on your own system (once you've installed it) at /usr/share/doc/en/books/faq/index.html. Check there, and if you don't find an answer, ask FreeBSD-questions. Examples might be questions about installing FreeBSD or the use of a particular UNIX utility. If you think the question relates to a bug, but you're not sure, or you don't know how to look for it, send the message to FreeBSD-questions. If the question relates to a bug, and you're almost sure that it's a bug (for example, you can pinpoint the place in the code where it happens, and you maybe have a fix), then send the message to FreeBSD-hackers. You should also enter a problem report with the send-pr utility. If the question relates to enhancements to FreeBSD, and you can make suggestions about how to implement them, then send the message to FreeBSD-hackers. If the question is of particularly technical nature, such as implementation details or suggestions for improvements, then send the message to FreeBSD-hackers. If you're new to FreeBSD, and the message is about your own relationship to FreeBSD, send the message to FreeBSD-newbies. There are also a number of other specialized mailing lists, for example FreeBSD-isp, which caters to the interests of ISPs (Internet Service Providers) who run FreeBSD. If you happen to be an ISP, this doesn't mean you should automatically send your questions to FreeBSD-isp. The criteria above still apply, and it's in your interest to stick to them, since you're more likely to get good results that way. IV: How to submit a question ============================= When submitting a question to FreeBSD-questions, consider the following points: 1. Remember that nobody gets paid for answering a FreeBSD question. They do it of their own free will. You can influence this free will positively by submitting a well-formulated question supplying as much relevant information as possible. You can influence this free will negatively by submitting an incomplete, illegible, or rude question. It's perfectly possible to send a message to FreeBSD-questions and not get an answer even if you follow these rules. It's much more possible to not get an answer if you don't. In the rest of this document, we'll look at how to get the most out of your question to FreeBSD-questions. 2. Not everybody who answers FreeBSD questions reads every message: they look at the subject line and decide whether it interests them. Clearly, it's in your interest to specify a subject. ``FreeBSD problem'' or ``Help'' aren't enough. If you provide no subject at all, many people won't bother reading it. If your subject isn't specific enough, the people who can answer it may not read it. 3. When sending a new message, well, send a new message. Don't reply to some other message, erase the old content and change the subject line. That leaves an In-reply-to: header which many mail readers use to thread messages, so your message shows up as a reply to some other message. People often delete messages a whole thread at a time, so apart from irritating people, you also run a chance of having the message deleted unread. 4. Format your message so that it is legible, and PLEASE DON'T SHOUT!!!!!. We appreciate that a lot of people don't speak English as their first language, and we try to make allowances for that, but it's really painful to try to read a message written full of typos or without any line breaks. A lot of badly formatted messages come from bad mailers or badly configured mailers. The following mailers are known to send out badly formatted messages without you finding out about them: Eudora exmh Microsoft Exchange Microsoft Internet Mail Microsoft Outlook Netscape As you can see, the mailers in the Microsoft world are frequent offenders. If at all possible, use a UNIX mailer. If you must use a mailer under Microsoft environments, make sure it is set up correctly. Try not to use MIME: a lot of people use mailers which don't get on very well with MIME. For further information on this subject, check out http://www.lemis.com/email.html. 5. Make sure your time and time zone are set correctly. This may seem a little silly, since your message still gets there, but many of the people you are trying to reach get several hundred messages a day. They frequently sort the incoming messages by subject and by date, and if your message doesn't come before the first answer, they may assume they missed it and not bother to look. 6. Don't include unrelated questions in the same message. Firstly, a long message tends to scare people off, and secondly, it's more difficult to get all the people who can answer all the questions to read the message. 7. Specify as much information as possible. This is a difficult area, and we need to expand on what information you need to submit, but here's a start: If you get error messages, don't say ``I get error messages'', say (for example) ``I get the error message 'No route to host'''. If your system panics, don't say ``My system panicked'', say (for example) ``my system panicked with the message 'free vnode isn't'''. If you have difficulty installing FreeBSD, please tell us what hardware you have. In particular, it's important to know the IRQs and I/O addresses of the boards installed in your machine. If you have difficulty getting PPP to run, describe the configuration. Which version of PPP do you use? What kind of authentication do you have? Do you have a static or dynamic IP address? What kind of messages do you get in the log file? 8. If you don't get an answer immediately, or if you don't even see your own message appear on the list immediately, don't resend the message. Wait at least 24 hours. The FreeBSD mailer offloads messages to a number of subordinate mailers around the world, and sometimes it can take several hours for the mail to get through. And once it gets through, the one person who might know the answer will probably just have gone to bed in his part of the world. 9. If you do all this, and you still don't get an answer, there could be other reasons. For example, the problem is so complicated that nobody knows the answer, or the person who does know the answer was offline. If you don't get an answer after, say, a week, it might help to re-send the message. If you don't get an answer to your second message, though, you're probably not going to get one from this forum. Resending the same message again and again will only make you unpopular. To summarize, let's assume you know the answer to the following question (yes, it's the same one in each case :-). You choose which of these two questions you would be more prepared to answer: Message 1: Subject: (none) I just can't get hits damn silly FereBSD system to workd, and Im really good at this tsuff, but I have never seen anythign sho difficult to install, it jst wont work whatever I try so why don't y9ou guys tell me what I doing wrong. ---------------------------------------------------------------------- Message 2: Subject: Problems installing FreeBSD I've just got the FreeBSD 2.1.5 CD-ROM from Walnut Creek, and I'm having a lot of difficulty installing it. I have a 66 MHz 486 with 16 MB of memory and an Adaptec 1540A SCSI board, a 1.2GB Quantum Fireball disk and a Toshiba 3501XA CD-ROM drive. The installation works just fine, but when I try to reboot the system, I get the message "Missing Operating System". ---------------------------------------------------------------------- V: How to follow up to a question ================================= Often you will want to send in additional information to a question you have already sent. The best way to do this is to reply to your original message. This has three advantages: 1. You include the original message text, so people will know what you're talking about. Don't forget to trim unnecessary text out, though. 2. The text in the subject line stays the same (you did remember to put one in, didn't you?). Many mailers will sort messages by subject. This helps group messages together. 3. The message reference numbers in the header will refer to the previous message. Some mailers, such as mutt, can thread messages, showing the exact relationships between the messages. VI: How to answer a question ============================ Before you answer a question to FreeBSD-questions, consider: 1. A lot of the points on submitting questions also apply to answering questions. Read them. 2. Has somebody already answered the question? The easiest way to check this is to sort your incoming mail by subject: then (hopefully) you'll see the question followed by any answers, all together. If somebody has already answered it, it doesn't automatically mean that you shouldn't send another answer. But it makes sense to read all the other answers first. 3. Do you have something to contribute beyond what has already been said? In general, "Yeah, me too" answers don't help much, although there are exceptions, like when somebody is describing a problem he's having, and he doesn't know whether it's his fault or whether there's something wrong with the hardware or software. If you do send a "me too" answer, you should also include any further relevant information. 4. Are you sure you understand the question? Very frequently, the person who asks the question is confused or doesn't express himself very well. Even with the best understanding of the system, it's easy to send a reply which doesn't answer the question. This doesn't help: you'll leave the person who submitted the question more frustrated or confused than ever. If nobody else answers, and you're not too sure either, you can always ask for more information. 5. Are you sure your answer is correct? If not, wait a day or so. If nobody else comes up with a better answer, you can still reply and say, for example, "I don't know if this is correct, but since nobody else has replied, why don't you try replacing your ATAPI CD-ROM with a frog?". 6. Unless there's a good reason to do otherwise, reply to the sender and to FreeBSD-questions. Many people on the FreeBSD-questions are "lurkers": they learn by reading messages sent and replied to by others. If you take a message which is of general interest off the list, you're depriving these people of their information. Be careful with group replies; lots of people send messages with hundreds of CCs. If this is the case, be sure to trim the Cc: lines appropriately. 7. Include relevant text from the original message. Trim it to the minimum, but don't overdo it. It should still be possible for somebody who didn't read the original message to understand what you're talking about. 8. Use some technique to identify which text came from the original message, and which text you add. I personally find that prepending ``> '' to the original message works best. Leaving white space after the ``> '' and leave empty lines between your text and the original text both make the result more readable. 9. Put your response in the correct place (after the text to which it replies). It's very difficult to read a thread of responses where each reply comes before the text to which it replies. 10. Most mailers change the subject line on a reply by prepending a text such as ``Re: ''. If your mailer doesn't do it automatically, you should do it manually. 11. If the submitter didn't abide by format conventions (lines too long, inappropriate subject line), please fix it. In the case of an incorrect subject line (such as ``HELP!!??''), change the subject line to (say) ``Re: Difficulties with sync PPP (was: HELP!!??)''. That way other people trying to follow the thread will have less difficulty following it. In such cases, it's appropriate to say what you did and why you did it, but try not to be rude. If you find you can't answer without being rude, don't answer. If you just want to reply to a message because of its bad format, just reply to the submitter, not to the list. You can just send him this message in reply, if you like. $Id: Howto-ask-questions,v 1.4 2003/03/09 22:09:31 grog Exp $ From owner-freebsd-questions@FreeBSD.ORG Fri May 23 17:02:01 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 645) id C519A37B404; Fri, 23 May 2003 17:02:00 -0700 (PDT) To: FreeBSD-questions@FreeBSD.org Message-Id: <20030524000200.C519A37B404@hub.freebsd.org> Date: Fri, 23 May 2003 17:02:00 -0700 (PDT) From: grog@FreeBSD.ORG (Greg Lehey) Subject: "The Complete FreeBSD", third edition: errata and addenda X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2003 00:02:01 -0000 Errata and addenda for the Complete FreeBSD, third edition Last revision: 2 August 1999 The trouble with books is that you can't update them the way you can a web page or any other online documentation. The result is that most leading edge computer books are out of date almost before they are printed. Unfortunately, ``The Complete FreeBSD'', published by Walnut Creek, is no exception. In- evitably, a number of bugs and changes have surfaced. The following is a list of modifications which go beyond simple typos. They relate to the third edition, formatted on 17 May 1999. You'll find this information on page iv (the page before the beginning of the Table of Contents). See the end of this document for instructions on how to find the errata for an older version. You can get the current document in four forms: o A PostScript version, suitable for printing out, at ftp://ftp.lemis.com/pub/cfbsd/errata-3.ps. See page 302 of the third edition to find out how to print out PostScript. If at all possible, please take this document: it's closest to the original text. Be careful selecting this file with a web browser: it is often impossible to reload the document, and you may see a previously cached version. o An enhanced ASCII version at ftp://ftp.lemis.com/pub/cfbsd/errata-3.txt. When viewed with more or less, this version will show some highlighting and underlining. It's not suitable for direct viewing. o An ASCII-only version at ftp://ftp.lemis.com/pub/cfbsd/errata-3.ascii. This version is posted every week to the FreeBSD-questions mailing list. Only take this version if you have real problems with PostScript: I can't be sure that the lack of different fonts won't confuse the meaning. o A web version at http://www.lemis.com/errata-3.html. All these modifications have been applied to the ongoing source text of the book, so if you buy a later edition, they will be in it as well. If you find a Page 1 The Complete FreeBSD bug or a suspected bug in the book, please contact me at Page ii _______ The instructions on page ii (opposite the title page) tell you to look at ftp://ftp.lemis.com/pub/cfbsd/errata-2 for the errata list. That's wrong. Look at this list. Pages 190 and 191 _________________ The description is not very clear about which text appears when booting from floppy for initial install, and which appears when booting normally. The procedure is very similar, but there are some differences. Add the following text after the heading Boot messages: You'll boot your system in at least two different ways: initially you'll boot from floppy or CD-ROM in order to install the system. Later, after the system is installed, you'll boot from hard disk. The procedure is almost identical, so we'll look at both versions in the following examples. Replace the text from the middle of page 191 with: If you're booting from 1.44 MB floppies, you will then see: Please insert MFS root floppy and press enter: When you insert the MFS root floppy and press Enter, you see more twirling batons, then the UserConfig screen appears. UserConfig: Modifying the boot configuration ____________________________________________ After the kernel has been loaded, the following screen will appear if you are installing the system, or if you have requested it with the -c option to the boot loader: Page 206 ________ The bottom two lines on this page should be in bold constant font, indicating that this is input for your /etc/rc.config file Page 2 Errata and addenda for the Complete FreeBSD, third edition nfs_client_enable="YES" # This host is an NFS client (or NO). nfs_server_enable="YES" # This host is an NFS server (or NO). Page 265 ________ The example on the second half of the page refers to the old SCSI driver. The scsi program is no longer available in FreeBSD 3.x. Instead, use the camcontrol program. Replace the text with:. Modern disks make provisions for recovering from such errors by allocating an alternate sector for the data. IDE drives do this automatically, but with SCSI drives you have the option of enabling or disabling reallocation. Usually it is turned on when you buy them, but occasionally it is not. When installing a new disk, you should check that the parameters ARRE (Auto Read Reallocation Enable) and AWRE (Auto Write Reallocation Enable) are turned on. For example, to check and set the values for disk da1, you would enter: # camcontrol modepage da1 -m 1 -e -P 3 # scsi -f /dev/rda1c -m 1 -e -P 3 This command will start up your favourite editor (either the one specified in the EDITOR environment variable, or vi by default) with the following data: AWRE (Auto Write Reallocation Enbld): 0 ARRE (Auto Read Reallocation Enbld): 1 TB (Transfer Block): 0 RC (Read Continuous): 0 EER (Enable Early Recovery): 0 PER (Post Error): 0 DTE (Disable Transfer on Error): 0 DCR (Disable Correction): 0 Read Retry Count: 16 Correction Span: 41 Head Offset Count: 0 Data Strobe Offset Count: 0 Write Retry Count: 16 Recovery Time Limit: 0 The values for AWRE and ARRE should both be 1. If they aren't, as in this case, where AWRE is 0, change the data with the editor, save it, and exit. The camcontrol program will write the data back to the disk and enable the option. Page 3 The Complete FreeBSD Page 331 ________ The description of the config refers to the SCSI drive sd0. This is the old name; in FreeBSD version 3, SCSI drives are called da, so this reference should be da0. Thanks to Francisco Reyes for pointing out this problem. Page 362 ________ Replace the text at the top of the page with: Next, change to the build directory and build the kernel: # cd ../../compile/FREEBIE # make depend # make The make depend is needed even if the directory has just been created: apart from creating dependency information, it also creates some files needed for the build. Thanks to Mark Ovens for drawing this to my attention, and to Francisco Reyes and Bill Fumerola for pointing out that it still wasn't fixed in the third edition. Page 409 ________ The information on setting the default routers specified the wrong end of the PPP links in some places. It should always be the ``far'' end of the link. Replace the second example on page 409, and the text following it, with this text: defaultrouter="139.130.136.129" # Set to default gateway (or NO). static_routes="" # Set to static route list (or leave empty). gateway_enable="YES" # Set to YES if this host will be a gateway. This is the normal way to set the default route on a point-to-point interface. In fact, for PPP you don't need to specify the default address: the PPP packages will set it for you when the link comes up. This makes it possible to Page 4 Errata and addenda for the Complete FreeBSD, third edition set default routes when you're forced to use dynamic IP addresses, where you don't know the address at this point. We'll see how PPP does this on page 446. In the first example on page 410, the sixth example on page 412 and the second example on page 413, replace the defaultrouter definition with: defaultrouter="139.130.237.65" # Set to default gateway (or NO). Thanks to Andreas Longwitz for pointing out this error. Getting errata for older editions of the book _____________________________________________ There have been a total of five different versions of ``The Complete FreeBSD''. The most accurate way to distinguish them is by the format date, which you'll find at the bottom of page iv (the page before the beginning of the Table of Contents) in all versions of the book. 1. The first was titled ``Installing and running FreeBSD'', and was formatted on 24 February 1996. No errata list exists for this book. 2. For the first edition (19 July 1996), get ftp://ftp.lemis.com/pub/cfbsd/er- rata-1. This same file is also available via the web link http://www.lemis.com/errata-1. I am no longer updating this errata list. 3. The list for the second edition (16 December 1997) is available in four forms: o A PostScript version, suitable for printing out, at ftp://ftp.lemis.com/pub/cfbsd/errata-2.ps. See page 222 of the second edition to find out how to print out PostScript. If at all possible, please take this document: it's closest to the original text. Be careful selecting this file with a web browser: it is often impossible to reload the document, and you may see a previously cached version. o An enhanced ASCII version at ftp://ftp.lemis.com/pub/cfbsd/errata-2.txt. When viewed with more or less, this version will show some highlighting and underlining. It's not suitable for direct viewing. o An ASCII-only version at ftp://ftp.lemis.com/pub/cfbsd/errata-2.ascii. This version is posted every week to the FreeBSD-questions mailing list. Only Page 5 Getting errata for older editions of the book take this version if you have real problems with PostScript: I can't be sure that the lack of different fonts won't confuse the meaning. o A web version at http://www.lemis.com/errata-2.html. 4. The revised second edition was formatted on 11 February 1999. As the name suggests, it's not a complete new edition: in fact, only three chapters are different: o The chapter ``Setting up X11'' has been brought up to date. o Appendix D (``Contents of the Ports Collection'') has been replaced by two appendixes, ``Errata and Addenda'' (the errata list up to date at the time) and ``FreeBSD 3.0'', which describes the differences between FreeBSD 2.x and FreeBSD 3.x. There is no separate errata list for this book. Refer to the second edition errata list. 5. The current, third edition, formatted on 17 May 1999. This is the correct list for this edition. Page 6 From owner-freebsd-questions@FreeBSD.ORG Fri May 23 17:06:34 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA17437B404 for ; Fri, 23 May 2003 17:06:34 -0700 (PDT) Received: from hotmail.com (f95.sea1.hotmail.com [207.68.163.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F4DB43FD7 for ; Fri, 23 May 2003 17:06:30 -0700 (PDT) (envelope-from crollins666@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 23 May 2003 17:06:29 -0700 Received: from 216.19.22.118 by sea1fd.sea1.hotmail.msn.com with HTTP; Sat, 24 May 2003 00:06:29 GMT X-Originating-IP: [216.19.22.118] X-Originating-Email: [crollins666@hotmail.com] From: "clayton rollins" To: freebsd-questions@freebsd.org Date: Sat, 24 May 2003 00:06:29 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 24 May 2003 00:06:29.0784 (UTC) FILETIME=[5391D180:01C32188] cc: raiden@shell.core.com Subject: Re: hotkeys in KDE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2003 00:06:35 -0000 On Fri, 23 May 2003 14:29:33 Steven Lake wrote: > > > Anyone know the list of hotkeys in KDE and what they do? I'm >specifically after the ones that lock the screen, but a comprehensive list >would be cool too. Thanks. > Control Center -> Regional and Accessibility -> Keyboard Shortcuts Peace, Clayton _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus From owner-freebsd-questions@FreeBSD.ORG Fri May 23 17:10:45 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 24D3C37B401 for ; Fri, 23 May 2003 17:10:45 -0700 (PDT) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A6B043F85 for ; Fri, 23 May 2003 17:10:44 -0700 (PDT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: from clunix.cl.msu.edu (localhost [127.0.0.1]) by clunix.cl.msu.edu (8.12.9/8.12.9) with ESMTP id h4O0AhOg016994; Fri, 23 May 2003 20:10:43 -0400 (EDT) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.12.9/8.12.9/Submit) id h4O0AhOQ016993; Fri, 23 May 2003 20:10:43 -0400 (EDT) From: Jerry McAllister Message-Id: <200305240010.h4O0AhOQ016993@clunix.cl.msu.edu> To: karim18@juno.com Date: Fri, 23 May 2003 20:10:42 -0400 (EDT) In-Reply-To: <20030523.123918.16315.1683@webmail02.lax.untd.com> from "karim18@juno.com" at May 23, 2003 07:38:12 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: questions@freebsd.org Subject: Re: Kernel?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2003 00:10:45 -0000 > > Hello there, > First either set your Email client to break lines (insert a LF) at about 72 characters, or learn to hit the RETURN/ENTER key regularly. You make it hard to respond. > My name is Karim, and me and a couple of friends are interested in > developing an Open Source flavour of *nix (Not Linux though... its not > fast enough) similar to Mac OS X in its look and feel (lotsa eye-candy), > anyways we were wondering where we could get the source for the latest > FreeBSD kernel (Without having to download the entire set of CD's, else > we do have a set of 4.7 and you could just let me know on which CD the > kernel resides), The kernel is made up of many parts. It is not a single thing at the source level Try going to /usr/src/sys/i386/conf (home of kernel config files) cd /usr/src/sys/i386/conf copy the file GENERIC to something - say G2 for this example cp GENERIC G2 then build the kernel as follows /usr/sbin/config G2 cd ../../compile/G2 make depend make You will see the kernel built in front of your eyes. For even more fun stuff rolling by on the screen, copy the file called LINT instead of GENERIC and then do the build. it's got more stuff - but they might have conflicts. Check the Makefiles upon Makefiles and you will see what files are used. Then, try thinking building your system as some kind of "shell" for the existing whole FreeBSD instead of just grabbing the kernel. You'll get better results. Have fun, ////jerry and if we were to design an OS around it besides the obvious (Giving credit to the FBSD dev team as stated under the BSD license) would there be any other issues in the copyright/copyleft?? any information/comments/suggestions would be greatly appreciated. also is there any online resource guides on the FreeBSD kernel?? > > Thanx in Advance, > Karim F. Ali > From owner-freebsd-questions@FreeBSD.ORG Fri May 23 17:52:39 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 506B437B401 for ; Fri, 23 May 2003 17:52:39 -0700 (PDT) Received: from mail.skiltech.com (bunning.skiltech.com [216.235.79.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id 980E143FAF for ; Fri, 23 May 2003 17:52:38 -0700 (PDT) (envelope-from minter@lunenburg.org) Received: from localhost (localhost [127.0.0.1]) by mail.skiltech.com (Postfix) with ESMTP id 0C24157A3D for ; Fri, 23 May 2003 20:52:38 -0400 (EDT) Received: from lunenburg.org (rdu57-90-057.nc.rr.com [66.57.90.57]) (using TLSv1 with cipher DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by mail.skiltech.com (Postfix) with ESMTP id 5E370579BC for ; Fri, 23 May 2003 20:52:36 -0400 (EDT) Date: Fri, 23 May 2003 20:52:35 -0400 Mime-Version: 1.0 (Apple Message framework v552) Content-Type: text/plain; charset=US-ASCII; format=flowed From: H.Wade Minter To: questions@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: <022A3DDE-8D82-11D7-8241-000393C3212A@lunenburg.org> X-Mailer: Apple Mail (2.552) X-Virus-Scanned: by AMaViS snapshot-20020531 Subject: IPSec Pass-thru? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2003 00:52:39 -0000 I've got a FreeBSD RELENG_4 firewall/NAT box on my home network. I need to use a Cisco Pix VPN client from within the NAT'd network, through the FreeBSD box, out to the corporate gateway. Can any of the FreeBSD firewalls (ipfw/ipf/etc) allow this pass-thru? Or do I need to look at a Linksys appliance or something else? Thanks, Wade From owner-freebsd-questions@FreeBSD.ORG Fri May 23 18:14:06 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD0D337B401 for ; Fri, 23 May 2003 18:14:06 -0700 (PDT) Received: from sage.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id D540D43F3F for ; Fri, 23 May 2003 18:14:05 -0700 (PDT) (envelope-from kline@thought.org) Received: from thought.org (root@tao [10.0.0.247]) by sage.thought.org (8.12.9/8.11.4) with ESMTP id h4O1E3G4023941 for ; Fri, 23 May 2003 18:14:04 -0700 (PDT) (envelope-from kline@thought.org) Received: (from kline@localhost) by thought.org (8.12.6/8.11.3) id h4O1E32j036917 for freebsd-questions@FreeBSD.ORG; Fri, 23 May 2003 18:14:03 -0700 (PDT) (envelope-from kline) Date: Fri, 23 May 2003 18:14:03 -0700 From: Gary D Kline To: FreeBSD Mailing List Message-ID: <20030524011403.GA36906@tao.thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing 16 years of service to the Unix community User-Agent: Mutt/1.5.3i Subject: php err: comments? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2003 01:14:07 -0000 Hm... After installing the newst mod_php4, this err started showing up with phpbb: Fatal error: Call to undefined function: preg_match() in /usr/local/www/data/phpBB2/install/install.php on line 206 comments, anyody? gary -- Gary Kline kline@thought.org www.thought.org Public service Unix From owner-freebsd-questions@FreeBSD.ORG Fri May 23 18:18:02 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9158537B401 for ; Fri, 23 May 2003 18:18:02 -0700 (PDT) Received: from postit.adam.com.au (postit.adam.com.au [203.2.124.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id 42B7443F75 for ; Fri, 23 May 2003 18:18:01 -0700 (PDT) (envelope-from bastill@adam.com.au) Received: from lightning.adam.com.au (lightning.adam.com.au [203.2.124.20]) by postit.adam.com.au (8.12.9/8.12.9) with SMTP id h4O1IVqM032369 for ; Sat, 24 May 2003 10:48:32 +0930 (CST) Received: (qmail 73743 invoked from network); 24 May 2003 01:17:59 -0000 Received: from 202-6-151-143.ip.adam.com.au (HELO BAPhD.gihon.org.au) (202.6.151.143) by eden.adam.com.au with SMTP; 24 May 2003 01:17:59 -0000 Content-Type: text/plain; charset="us-ascii" From: Brian Astill To: freebsd-questions@freebsd.org Date: Sat, 24 May 2003 10:49:05 +0930 User-Agent: KMail/1.4.3 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200305241049.05211.bastill@adam.com.au> Subject: Printer compatibility X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2003 01:18:02 -0000 There is/was a listing of printers compatible with FBSD? Danged if I can find it! :-( Can anyone point me in the right direction? Thanks. --=20 Regards, Brian From owner-freebsd-questions@FreeBSD.ORG Fri May 23 18:18:19 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3878D37B404 for ; Fri, 23 May 2003 18:18:19 -0700 (PDT) Received: from ginsberg.uol.com.br (ginsberg.uol.com.br [200.221.29.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4701A43F3F for ; Fri, 23 May 2003 18:18:17 -0700 (PDT) (envelope-from fallenbr@uol.com.br) Received: from uol.com.br ([200.161.255.33]) by ginsberg.uol.com.br (8.9.1/8.9.1) with ESMTP id WAA13192 for ; Fri, 23 May 2003 22:18:14 -0300 (BRT) Message-ID: <3ECEC835.6030409@uol.com.br> Date: Fri, 23 May 2003 22:17:41 -0300 From: Konrad Scorciapino User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030511 X-Accept-Language: pt-br, en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Lilypond X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2003 01:18:19 -0000 Hello, Does anyone uses Lilypond? How can I configure it on FreeBSD? `ly2dvi` works fine here, but `lilypond` doesn't: Thanks From owner-freebsd-questions@FreeBSD.ORG Fri May 23 18:32:44 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AABE237B401 for ; Fri, 23 May 2003 18:32:44 -0700 (PDT) Received: from smtp.monmouth.com (smtp.monmouth.com [209.191.58.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA7B343FA3 for ; Fri, 23 May 2003 18:32:43 -0700 (PDT) (envelope-from markov@monmouth.com) Received: from happy.markov.net (bg-tc-ppp1444.monmouth.com [209.191.17.59]) by smtp.monmouth.com (8.12.9/8.12.9) with ESMTP id h4O1WaD4029739 for ; Fri, 23 May 2003 21:32:40 -0400 (EDT) Received: from happy.markov.net (happy.markov.net [192.168.0.5]) by happy.markov.net (Postfix) with SMTP id B22DB3FF9 for ; Fri, 23 May 2003 21:32:30 -0400 (EDT) Date: Fri, 23 May 2003 21:32:30 -0400 From: "Vlad D.Markov" To: freebsd-questions@freebsd.org Message-Id: <20030523213230.72d24b39.markov@monmouth.com> In-Reply-To: <447k8hpn18.fsf@be-well.ilk.org> References: <3ECC33D6.3020406@ica.net> <447k8hpn18.fsf@be-well.ilk.org> X-Mailer: Sylpheed version 0.8.11 (GTK+ 1.2.10; i386-portbld-freebsd4.8) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: XF86 screen resolution changes on a laptop X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2003 01:32:45 -0000 I had a similar problem. I forgot to enter the horizontal and Vertical refresh rates of the monitor after I had XFree86 build the config file. I am still surprised X worked at all. It was one ugly display. On 23 May 2003 13:53:39 -0400 Lowell Gilbert wrote: > Chris Young writes: > > > I'm a complete newbie to FreeBSD who just installed 4.8 on an IBM > > 1161- > > 41g laptop. I managed to get xf86 installed, up, and running. One > > small problem; I can't seem to get the hotkey combo that changes the > > screen resolution to work. I checked the PAO site docs for help but > > to no avail. Any suggestions would be greatly appreciated. > > You mean the ctrl-alt-+ (and minus) combinations? > Those only change the resolution if more than one screen mode passed > the initial configuration as valid. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Fri May 23 18:46:47 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4970837B401 for ; Fri, 23 May 2003 18:46:47 -0700 (PDT) Received: from web41208.mail.yahoo.com (web41208.mail.yahoo.com [66.218.93.41]) by mx1.FreeBSD.org (Postfix) with SMTP id 9923243F93 for ; Fri, 23 May 2003 18:46:46 -0700 (PDT) (envelope-from phaza7@yahoo.com) Message-ID: <20030524014646.60014.qmail@web41208.mail.yahoo.com> Received: from [66.138.147.118] by web41208.mail.yahoo.com via HTTP; Fri, 23 May 2003 18:46:46 PDT Date: Fri, 23 May 2003 18:46:46 -0700 (PDT) From: pat bey To: Bill Moran In-Reply-To: <3ECD4CC6.7010004@potentialtech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: FREEBSD Subject: Re: lan problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2003 01:46:47 -0000 I can't ping the xp box from the bsd one or vice versa :) But while looking in the router config files I notice in the dhcp clients list that the xp box isn't listed in the client list but it was before I installed namedb. Could this be the problem. Basically I have a router connect to the two machines with the router set as the dhcp server. is also has built-in NAT. i can open my browser in the FBSD box but I can't go beyond the home page. Looking at the router's web page I have to have at least Mozilla 5.0 or higher, Opera lastet browser or It will never happen the M$ Internet Explorer 6.0 for it to work with the router. I try a dig www.freebsdforum.org and I got a reply but if I dig anything else I get no response. I'm at the point now where I just want to experience and enjoy the joy of FBSD on the internet. Bill Moran wrote: pat bey wrote: > # netstat -rn > Internet: > Destination Gateway Flags Ref Use Netif > default 192.168.0.1 UGSc 2 1 sis0 > 127.0.0.1 127.0.0.1 UH 0 382 lo0 > 192.168.0 link#1 UC 4 0 sis0 > 192.168.0.105 00:09:5b:1b:89:0d UHLW 1 241 lo0 > 192.168.0.184 link#1 UHLW 0 5 sis0 > 192.168.0.255 ff:ff:ff:ff:ff:ff:ff:ff UHLWb 1 77 sis0 > I left out the expire part sense their was nothing under it. > I left out the Internet6 part cause when installing I configured it for ipv4. > I don't know if I have ICMP enable on the router or not I have ports 20-2999 open on the router. Strange thou the router says 192.168.0.184 is the win xp box why is it in my my netstat. I tried telneting to the router it won't let me Do you see this eighty-foot line ^^^^^ Do you think you can learn to use the "enter" key? 192.168.0.184 shows up in the list because the FreeBSD box heard it on the local network and thus created an ephemeral route so it knows where to find it. This is A Good Thing. Cany you ping 192.168.0.184 from the FreeBSD box? Can you ping FreeBSD from the XP box? If so, it sounds like your "router" is misconfigured. > > pat bey wrote: > >>Can anyone help me solve this problem?? >> >>I have two boxes win xp and FreeBSD 4.6 and a DLink 704P router which has built-in >>nat and dhcp server. Here is a diagram of my setup. > > [code] ----------------------------- > >>| dsl modem | >>------------------------------- >>| >>-------------------------------- >>| router | >>------------------------------- >>| | > > --------------------------------| |------------------------------ > | | > ---------------------- ------------------ ------------------- | |Win XP box | | FBSD4.6 box | > ---------------------- ------------------------- [/code] > >>I followed the online handbook to setup this box, everything is configured for dhcp. >>Using the GENERIC kernel. I tried pinging 127.0.0.1 & my nic >>which had 0% packet loss. But when I try to ping the router I get a message of route >>to host down. I have Bind running as a caching server . I updated the firmware for >>a unix sys and I can't get out to the world from this box. The windows box have no >>problem getting out to the world. On the router I have ports tcp,udp 20-2999 open >>for both mac address. The router sees both MAC's but the FBSD box can't even access >>the routers web page. I have another nic card should I install it and put the BSD >>box in front of the router. Or can anyone help me solve this problem. > > > Can you ping 192.168.0.105? > > Can you ping the IP of the Win XP machine? > > Do you have ICMP packets blocked on the "router"? > > Are you pinging IP addys or names? (start with IPs, once that works, then try names) > > Can you post the output of 'netstat -rn'? > > >>:D-------------------------------------------------------------------------------------------------:D >># ifconfig >>sis0: flags=8843 mtu 1500 >>inet 192.168.0.105 netmask 0xffffff00 broadcast 192.168.0.255 >>ether 00:12:34:56:78 >>media: Ethernet autoselect (100baseTX ) >>status: active >>lo0: flags=8049 mtu 16384 >>inet 127.0.0.1 netmask 0xff000000 >>------------------------------------------------------------------------------------------------------- >># rc.conf >>blanktime="300" >>hostname="phaza" >>ifconfig_sis0="DHCP" >>defaultrouter="192.168.0.1" >>named_enable="YES" >>inetd_enable="YES" >>kernel_secure_level_enable="YES" >>kepmap="us.unix" >>keyrate="normal" >>linux_enable="YES" >>and the rest is just set to the default. >>I had Redhat Linux 7.2 installed before and it work with no problem straight >>out of the box. I been working on this for a 2 months with no luck. Can >>anyone help me out. I chose the 4.6 version cause it was all that my local >>comp had as far as BSD that came with a handbook. > > -- Bill Moran Potential Technologies http://www.potentialtech.com _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" Suppressed minds have no Freedom of Choice --------------------------------- Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. From owner-freebsd-questions@FreeBSD.ORG Fri May 23 18:53:11 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA1B337B401; Fri, 23 May 2003 18:53:11 -0700 (PDT) Received: from mail1.tpgi.com.au (mail.tpgi.com.au [203.12.160.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02B3343FE5; Fri, 23 May 2003 18:53:10 -0700 (PDT) (envelope-from agh@tpg.com.au) Received: from pen-ts2-2600-207.tpgi.com.au (pen-ts2-2600-207.tpgi.com.au [202.7.172.207]) by mail1.tpgi.com.au (8.11.6/8.11.6) with ESMTP id h4O1qYd12178 (using TLSv1/SSLv3 with cipher RC4-MD5 (128 bits) verified NO); Sat, 24 May 2003 11:52:56 +1000 From: "Alastair G. Hogge" To: , questions@freebsd.org Date: Sat, 24 May 2003 11:52:46 +0000 User-Agent: KMail/1.5.1 References: <20030523141433.REJU19153.fed1mtao01.cox.net@smtp.west.cox.net> In-Reply-To: <20030523141433.REJU19153.fed1mtao01.cox.net@smtp.west.cox.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200305241152.46427.agh@tpg.com.au> cc: mobile@freebsd.org Subject: Re: sis dri support X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2003 01:53:12 -0000 On Friday, 23 May 2003 14:14, ydg@cox.net wrote: > I have a sis vga chipset [a relatively common laptop chipset] in my > 4.8-stable system. I would like to see DRI support for it. DRI modules are > available under linux, which tells me its both possible, and at least work > has been started on the project. perhaps this is already available for > fbsd, and i just missed information on it. if so pointing me in the right > direction would be much appreciated. Goto: http://people.freebsd.org/~anholt/dri/ for DRI on FreeBSD. HTH -Al From owner-freebsd-questions@FreeBSD.ORG Fri May 23 19:25:45 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CD29637B401 for ; Fri, 23 May 2003 19:25:45 -0700 (PDT) Received: from hotmail.com (f70.sea1.hotmail.com [207.68.163.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5776E43F93 for ; Fri, 23 May 2003 19:25:45 -0700 (PDT) (envelope-from crollins666@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 23 May 2003 19:25:45 -0700 Received: from 216.19.22.118 by sea1fd.sea1.hotmail.msn.com with HTTP; Sat, 24 May 2003 02:25:44 GMT X-Originating-IP: [216.19.22.118] X-Originating-Email: [crollins666@hotmail.com] From: "clayton rollins" To: freebsd-questions@freebsd.org Date: Sat, 24 May 2003 02:25:44 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 24 May 2003 02:25:45.0148 (UTC) FILETIME=[C7C12FC0:01C3219B] cc: nuckingfutsto@hotmail.com Subject: Re: PCMCIA NIC Trouble X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2003 02:25:46 -0000 On Fri, 23 May 2003 14:42:59 "Nucking Futs" wrote: > > I have installed FBSD 4.8 on my Dell notebook Inspiron 1100. The >internal NIC is not recognized at all so I am trying to use a PCMCIA >Linksys >model PCM100 PC card. The card is on the supported hardware list found >here >http://www.freebsd.org/releases/4.8R/hardware-i386.html#ETHERNET As you >might has guessed I'm writing because I cant get the card to function. >During a normal install of FBSD on a workstation with a PCI NIC the DHCP >scan finds the Road Runner connection from my router automatically and I'm >set up with internet connectivity, end of story. > > The card was not recognized during install so after the install reboot >I >went back into the post install configuration via /stand/sysinstall and >attempted to configure additional network interfaces and when doing so the >choice "faith0 " showed up. I attempted to >configure DHCP but it would not find my connection automatically and >attempting to input any of the information would not help either. > man faith. > This is where I am and not really sure where to go next. The hardware >support has a link to ed(4) driver which is used by the PCMCIA card NIC's. >Is this something that I have to compile into the kernel? Hoping for some >assistance to get this card up and running. > See 'man 4 ed' for a description of kernel options. (it is in generic, but you might need to tinker with it...) Do you get a line during boot saying that it found the hardware? Looking over the man page for rc.conf, there are a variety of pccard options. You may need to set one of them... (pccard_enable needs to be set to yes, as an example.) What is your rc.conf now? (pccard_ifconfig_ed0="DHCP" might be the right line to create the interface. man ifconfig and rc.conf for more details.) (You might want to bring the interface down by default if you start the computer without the card often.) Good Luck, Clayton _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail From owner-freebsd-questions@FreeBSD.ORG Fri May 23 20:16:56 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D9F637B401 for ; Fri, 23 May 2003 20:16:56 -0700 (PDT) Received: from zoon.lafn.org (zoon.lafn.org [206.117.18.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE58843F93 for ; Fri, 23 May 2003 20:16:55 -0700 (PDT) (envelope-from bc979@lafn.org) Received: from lafn.org (host-66-81-193-239.rev.o1.com [66.81.193.239]) by zoon.lafn.org (8.12.3/8.11.3) with ESMTP id h4O3Ga6m040918 for ; Fri, 23 May 2003 20:16:45 -0700 (PDT) (envelope-from bc979@lafn.org) Date: Fri, 23 May 2003 20:16:28 -0700 Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) From: Doug Hardie To: freebsd-questions@freebsd.org Content-Transfer-Encoding: 7bit In-Reply-To: <20030524014646.60014.qmail@web41208.mail.yahoo.com> Message-Id: <1BFC1FE0-8D96-11D7-8A86-000393681B06@lafn.org> X-Mailer: Apple Mail (2.552) Subject: Fixit disk without a floppy drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2003 03:16:56 -0000 I just encountered a situation where a system without a floppy drive failed with some disk corruption within files (not fsck issues). In the process of trying to recover it, I found I needed to use the fixit disk. I have used the floppy version successfully several times before, but this machine doesn't have a floppy drive. Sysinstall indicated there was an equivallent fixit cd. Where do you find that? I found a back door to get this machine corrected, but I need to be better prepared for the next failure. From owner-freebsd-questions@FreeBSD.ORG Fri May 23 20:17:47 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3019437B401 for ; Fri, 23 May 2003 20:17:47 -0700 (PDT) Received: from zoon.lafn.org (zoon.lafn.org [206.117.18.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 88B7043F85 for ; Fri, 23 May 2003 20:17:46 -0700 (PDT) (envelope-from bc979@lafn.org) Received: from lafn.org (host-66-81-193-239.rev.o1.com [66.81.193.239]) by zoon.lafn.org (8.12.3/8.11.3) with ESMTP id h4O3HR6m040962 for ; Fri, 23 May 2003 20:17:36 -0700 (PDT) (envelope-from bc979@lafn.org) Date: Fri, 23 May 2003 20:17:22 -0700 Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) From: Doug Hardie To: freebsd-questions@freebsd.org Content-Transfer-Encoding: 7bit In-Reply-To: <20030524014646.60014.qmail@web41208.mail.yahoo.com> Message-Id: <3C74172A-8D96-11D7-8A86-000393681B06@lafn.org> X-Mailer: Apple Mail (2.552) Subject: Fixit disk without a floppy drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2003 03:17:47 -0000 I just encountered a situation where a system without a floppy drive failed with some disk corruption within files (not fsck issues). In the process of trying to recover it, I found I needed to use the fixit disk. I have used the floppy version successfully several times before, but this machine doesn't have a floppy drive. Sysinstall indicated there was an equivallent fixit cd. Where do you find that? I found a back door to get this machine corrected, but I need to be better prepared for the next failure. FreeBSD 4.6. -- Doug From owner-freebsd-questions@FreeBSD.ORG Fri May 23 21:02:43 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 743F637B401 for ; Fri, 23 May 2003 21:02:43 -0700 (PDT) Received: from Mail1.KONTENT.De (Mail1.KONTENT.De [81.88.34.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6701E43F85 for ; Fri, 23 May 2003 21:02:42 -0700 (PDT) (envelope-from neo@gothic-chat.de) Received: from NEUROMANCER (port-213-20-152-188.reverse.qdsl-home.de [213.20.152.188]) by Mail1.KONTENT.De (Postfix) with ESMTP id DA1BF131935 for ; Sat, 24 May 2003 06:02:43 +0200 (CEST) Message-ID: <002701c321a9$52f16fd0$0400a8c0@NEUROMANCER> From: "Neo" To: Date: Sat, 24 May 2003 06:02:41 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: simple way to mount a ramdisk? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2003 04:02:43 -0000 Hi, can anyone tell me please, how to "mount a mfs-filesystem for dummies"? My hdd is /dev/ad0 with two slices /dev/ad0s1a as / and /dev/ad0s1b as swap, the ramdisk (for example 8 megs in size) should become /ram. Thanks, Thomas 'Neo' Weber --- thomas@youngarts.org neo@gothic-chat.de From owner-freebsd-questions@FreeBSD.ORG Fri May 23 21:38:18 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C41A537B401 for ; Fri, 23 May 2003 21:38:18 -0700 (PDT) Received: from franka.aracnet.com (franka.aracnet.com [216.99.193.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 50DB543F85 for ; Fri, 23 May 2003 21:38:18 -0700 (PDT) (envelope-from dcf@aracnet.com) Received: from shell1.aracnet.com (shell1.aracnet.com [216.99.193.21]) by franka.aracnet.com (8.12.9/8.12.9) with ESMTP id h4O4aTlD009391 for ; Fri, 23 May 2003 21:36:29 -0700 Received: (from dcf@localhost) by shell1.aracnet.com (8.12.9/8.12.9/Submit) id h4O4cMph008332; Fri, 23 May 2003 21:38:22 -0700 Date: Fri, 23 May 2003 21:38:22 -0700 (PDT) From: David Fleck To: freebsd-questions@freebsd.org In-Reply-To: <1BFC1FE0-8D96-11D7-8A86-000393681B06@lafn.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Can't fsck disk - now what? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2003 04:38:19 -0000 Using 4.6 release. OK, I was browsing happily in Mozilla when the system became completely unresponsive - couldn't ping it, couldn't get a response from any of the VTs. So I reboot: Automatic boot in progress... [... Several filesystems found clean, messages deleted ... ] /dev/ad0s1f: clean, 1201402 free (522 frags, 150110 blocks, 0.0% fragmentation) /dev/ad0s1f: UNKNOWN FILE TYPE I=1640145 /dev/ad0s1f: UNEXPECTED SOFT UPDATE INCONSISTENCY; RUN fsck MANUALLY. THE FOLLOWING FILE SYSTEM HAD AN UNEXPECTED INCONSISTENCY: /dev/ad0s1f (/usr) Automatic file system check failed . . . help! "Help", indeed. /usr is not a partition I want to be without. I drop to /bin/sh, and discover, to my great unhappy surprise, that I don't have fsck in /bin. WTF??? OK, fine. I fire up the live filesystem CD. I go to the main menu, then the Fixit option. I start the live filesystem, then try to fsck: Fixit# fsck /dev/ad0s1f Can't stat /dev/ad0s1f: no such file or directory oh joy. sure enough, in /dev, there's an ad0s1, but that's it. no /dev/ad0s1f. Maybe if I copy fsck to one of the partitions that still mount? Tried that... $ ./fsck /dev/ad0s1f WARNING: R/W mount of /usr denied. Filesystem is not clean - run fsck fsck: /dev/ad0s1f: Operation not permitted Right. The fsck on the CD works, but can't see the partition; the fsck on the drive sees the partition, but won't fsck the damned thing. In short, what the f*** do I do now? -- David Fleck dcf@aracnet.com From owner-freebsd-questions@FreeBSD.ORG Fri May 23 21:50:33 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 470D137B401 for ; Fri, 23 May 2003 21:50:33 -0700 (PDT) Received: from sage.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5796543F75 for ; Fri, 23 May 2003 21:50:32 -0700 (PDT) (envelope-from kline@thought.org) Received: from thought.org (root@tao [10.0.0.247]) by sage.thought.org (8.12.9/8.11.4) with ESMTP id h4O4oUG4033013 for ; Fri, 23 May 2003 21:50:30 -0700 (PDT) (envelope-from kline@thought.org) Received: (from kline@localhost) by thought.org (8.12.6/8.11.3) id h4O4oU7P037312 for freebsd-questions@FreeBSD.ORG; Fri, 23 May 2003 21:50:30 -0700 (PDT) (envelope-from kline) Date: Fri, 23 May 2003 21:50:29 -0700 From: Gary D Kline To: FreeBSD Mailing List Message-ID: <20030524045029.GA37297@tao.thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing 16 years of service to the Unix community User-Agent: Mutt/1.5.3i Subject: lang/php4 files directory? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2003 04:50:33 -0000 Can someone who has not cvsup'd in the past 48 hours please send me the patches from lang/php4? I'm trying to rebuild php4-4.3.1 and need the former patchfiles. thanks much! gary -- Gary Kline kline@thought.org www.thought.org Public service Unix From owner-freebsd-questions@FreeBSD.ORG Fri May 23 21:57:51 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 97F6837B401 for ; Fri, 23 May 2003 21:57:51 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id E3F1743F3F for ; Fri, 23 May 2003 21:57:50 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.9/8.12.9) id h4O4vnxJ066009; Fri, 23 May 2003 23:57:49 -0500 (CDT) (envelope-from dan) Date: Fri, 23 May 2003 23:57:49 -0500 From: Dan Nelson To: David Fleck Message-ID: <20030524045749.GD46907@dan.emsphone.com> References: <1BFC1FE0-8D96-11D7-8A86-000393681B06@lafn.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 5.1-BETA X-message-flag: Outlook Error User-Agent: Mutt/1.5.4i cc: freebsd-questions@freebsd.org Subject: Re: Can't fsck disk - now what? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2003 04:57:51 -0000 In the last episode (May 23), David Fleck said: > Using 4.6 release. > > OK, I was browsing happily in Mozilla when the system became completely > unresponsive - couldn't ping it, couldn't get a response from any of the > VTs. So I reboot: > > Automatic boot in progress... > [... Several filesystems found clean, messages deleted ... ] > /dev/ad0s1f: clean, 1201402 free (522 frags, 150110 blocks, 0.0% > fragmentation) > /dev/ad0s1f: UNKNOWN FILE TYPE I=1640145 > /dev/ad0s1f: UNEXPECTED SOFT UPDATE INCONSISTENCY; RUN fsck MANUALLY. > THE FOLLOWING FILE SYSTEM HAD AN UNEXPECTED INCONSISTENCY: > /dev/ad0s1f (/usr) > Automatic file system check failed . . . help! > > "Help", indeed. /usr is not a partition I want to be without. > I drop to /bin/sh, and discover, to my great unhappy surprise, that > I don't have fsck in /bin. WTF??? Fsck lives in /sbin, not bin. Answer yes to all the questions (should only be a couple). -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Fri May 23 23:15:05 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3378B37B401 for ; Fri, 23 May 2003 23:15:05 -0700 (PDT) Received: from web9501.mail.yahoo.com (web9501.mail.yahoo.com [216.136.129.131]) by mx1.FreeBSD.org (Postfix) with SMTP id D0DE643F93 for ; Fri, 23 May 2003 23:15:04 -0700 (PDT) (envelope-from oop02000@yahoo.com) Message-ID: <20030524061504.47601.qmail@web9501.mail.yahoo.com> Received: from [66.185.84.68] by web9501.mail.yahoo.com via HTTP; Sat, 24 May 2003 02:15:04 EDT Date: Sat, 24 May 2003 02:15:04 -0400 (EDT) From: john lee To: questions@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Need help installing freebsd 5 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2003 06:15:05 -0000 Hi, I'm new to freebsd, could someone please help me in installing freebsd verson 5 or tell where i could get help. I follow the installation's guide in the www.freebsd.org website, but i still have problems, in some of the steps in the installation guide. PROBLEMS: Step1: when I boot my computer with the cd-rom, I couldn't get to the kernel configuration menu. I even try the following command at prompt: BOOT DKAO -FLAG " -FILE " (I also try this without cd boot up. with "boot: " prompt) but I get message of: DKAO not find When skip the kernel configuration step install standard installation. I have: "port can't assigned " error message in " vitty" please let me where I could find some help. thank! ______________________________________________________________________ Post your free ad now! http://personals.yahoo.ca From owner-freebsd-questions@FreeBSD.ORG Sat May 24 00:07:01 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 225BF37B401 for ; Sat, 24 May 2003 00:07:01 -0700 (PDT) Received: from nycsmtp5out-eri0.rdc-nyc.rr.com (nycsmtp5out-eri0.rdc-nyc.rr.com [24.29.99.228]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3045243F85 for ; Sat, 24 May 2003 00:07:00 -0700 (PDT) (envelope-from asolomon15@nyc.rr.com) Received: from [192.168.1.100] (24-193-64-140.nyc.rr.com [24.193.64.140]) 1.0) with ESMTP id h4O76xRq018018 for ; Sat, 24 May 2003 03:06:59 -0400 (EDT) From: Antoine To: freebsd-questions@FreeBSD.ORG Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 (1.0.8-11) Date: 23 May 2003 23:09:22 -0400 Message-Id: <1053745762.10025.0.camel@localhost.localdomain> Mime-Version: 1.0 Subject: X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2003 07:07:01 -0000 From owner-freebsd-questions@FreeBSD.ORG Sat May 24 00:15:31 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 517E837B401 for ; Sat, 24 May 2003 00:15:31 -0700 (PDT) Received: from smtp0.adl1.internode.on.net (smtp0.adl1.internode.on.net [203.16.214.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 164EC43FAF for ; Sat, 24 May 2003 00:15:30 -0700 (PDT) (envelope-from malcolm.kay@internode.on.net) Received: from beta.home (ppp1969.sa.padsl.internode.on.net [150.101.26.176]) h4O7FPMO010378; Sat, 24 May 2003 16:45:25 +0930 (CST) Content-Type: text/plain; charset="iso-8859-1" From: Malcolm Kay Organization: At home To: Brian Astill , freebsd-questions@freebsd.org Date: Sat, 24 May 2003 16:45:25 +0930 User-Agent: KMail/1.4.3 References: <200305241049.05211.bastill@adam.com.au> In-Reply-To: <200305241049.05211.bastill@adam.com.au> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200305241645.25372.malcolm.kay@internode.on.net> Subject: Re: Printer compatibility X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2003 07:15:31 -0000 On Sat, 24 May 2003 10:49, Brian Astill wrote: > There is/was a listing of printers compatible with FBSD? > Danged if I can find it! :-( > Can anyone point me in the right direction? > Thanks. Mostly what will work on any of the open unix like systems. The problem is often just how to set it up. Many will need=20 ghostscript to translate from the normal postscript format used for output by most unix applications. The GNU=20 ghostscript distribution with the stp device caters for high=20 performance (I believe) on a wider range of printers. http://www.linuxprinting.org/ is an excellent starting point. Malcolm From owner-freebsd-questions@FreeBSD.ORG Sat May 24 02:55:26 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D506C37B401 for ; Sat, 24 May 2003 02:55:26 -0700 (PDT) Received: from postit.adam.com.au (postit.adam.com.au [203.2.124.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id C6DE643F85 for ; Sat, 24 May 2003 02:55:25 -0700 (PDT) (envelope-from bastill@adam.com.au) Received: from lightning.adam.com.au (lightning.adam.com.au [203.2.124.20]) by postit.adam.com.au (8.12.9/8.12.9) with SMTP id h4O9u0qM061838 for ; Sat, 24 May 2003 19:26:01 +0930 (CST) Received: (qmail 3944 invoked from network); 24 May 2003 09:55:24 -0000 Received: from 202-6-151-143.ip.adam.com.au (HELO BAPhD.gihon.org.au) (202.6.151.143) by eden.adam.com.au with SMTP; 24 May 2003 09:55:24 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Brian Astill To: Malcolm Kay , freebsd-questions@freebsd.org Date: Sat, 24 May 2003 19:26:15 +0930 User-Agent: KMail/1.4.3 References: <200305241049.05211.bastill@adam.com.au> <200305241645.25372.malcolm.kay@internode.on.net> In-Reply-To: <200305241645.25372.malcolm.kay@internode.on.net> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200305241926.15364.bastill@adam.com.au> Subject: Re: Printer compatibility X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2003 09:55:27 -0000 On Sat, 24 May 2003 04:45 pm, Malcolm Kay wrote: > Mostly what will work on any of the open unix like systems. > The problem is often just how to set it up. Many will need > ghostscript to translate from the normal postscript format > used for output by most unix applications. The GNU > ghostscript distribution with the stp device caters for high > performance (I believe) on a wider range of printers. > > http://www.linuxprinting.org/ > is an excellent starting point. It is indeed! Thanks for that. I reckon that was what I was thinking=20 of originally - but the "linux" tag made it look too specific. --=20 Regards, Brian From owner-freebsd-questions@FreeBSD.ORG Sat May 24 03:18:13 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 874BD37B401 for ; Sat, 24 May 2003 03:18:13 -0700 (PDT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A27543F3F for ; Sat, 24 May 2003 03:18:12 -0700 (PDT) (envelope-from bsd@bluemail.ch) Received: from [212.227.126.205] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 19JW6N-0001RT-00 for freebsd-questions@freebsd.org; Sat, 24 May 2003 12:18:11 +0200 Received: from [217.81.9.67] (helo=pD9510943.dip.t-dialin.net) by mrelayng.kundenserver.de with asmtp (TLSv1:RC4-MD5:128) (Exim 3.35 #1) id 19JW6N-0003KC-00 for freebsd-questions@freebsd.org; Sat, 24 May 2003 12:18:11 +0200 From: Claude de Guille To: freebsd-questions@freebsd.org Date: Sat, 24 May 2003 12:18:09 +0200 User-Agent: KMail/1.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200305241218.09515.bsd@bluemail.ch> Subject: systemsettings and update X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: bsd@bluemail.ch List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2003 10:18:13 -0000 Hi, after upgrading 5.0 to 5.1beta via cvs the system seems to ignore my settings in /etc/rc.conf and /etc/sysctl.conf. That means: no hostname is set, no if aliases, no ip adresses assigned, no kernel ctl's set, etc... After switching the settings by hand everything work's as expected. I'm new to freeBSD so i think i forgot something stupid during that updateprozess. Any Tip's ? Thank's Claude From owner-freebsd-questions@FreeBSD.ORG Sat May 24 03:18:14 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB8A437B401 for ; Sat, 24 May 2003 03:18:14 -0700 (PDT) Received: from doriath.saers.com (doriath.religion.no [193.156.192.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1BE9643F3F for ; Sat, 24 May 2003 03:18:14 -0700 (PDT) (envelope-from niklasmls@doriath.saers.com) Received: by doriath.saers.com (Postfix, from userid 1001) id 6866B4099; Sat, 24 May 2003 12:18:12 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by doriath.saers.com (Postfix) with ESMTP id 61B0E4091 for ; Sat, 24 May 2003 12:18:12 +0200 (CEST) Date: Sat, 24 May 2003 12:18:12 +0200 (CEST) From: Niklas Saers Mailinglistaccount To: freebsd-questions@freebsd.org Message-ID: <20030524120545.P53897@doriath.saers.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: natd & passive FTP not working X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2003 10:18:15 -0000 Hi, I'm running a FreeBSD firewall and have a FTP server on the inside of this (the firewall is the outer firewall of a dmz, and yes, I need the FTP). My problem is that passive connections from the outside seem to die, but active connections live. I wasn't expecting active connections to live, but I don't mind that. But please, how do I connect with passive FTP? This is what happens from an outside box: $ ftp ftp://user:pass@193.212.204.46:/ Connected to 193.212.204.46. 220 www.registrar.no FTP server (Version 6.00LS) ready. 331 Password required for user. 230 User user logged in, access restrictions apply. 200 Type set to I. 250 CWD command successful. ftp> ls ftp: connect: Operation timed out ftp> passive Passive mode off. ftp> ls 200 PORT command successful. 150 Opening ASCII mode data connection for '/bin/ls'. total 12 drwxr-xr-x 2 user users 512 May 17 16:10 bin 226 Transfer complete. ftp> My firewall has the following in it's natd.config: interface fxp0 punch_fw 9000:800 deny_incoming yes log_ipfw_denied yes log yes redirect_port tcp 192.168.1.10:20 193.212.204.46:20 redirect_port tcp 192.168.1.10:21 193.212.204.46:21 redirect_port udp 192.168.1.10:20 193.212.204.46:20 redirect_port udp 192.168.1.10:21 193.212.204.46:21 My fxp0 has IP 193.212.204.46 and my fxp2 has IP 192.168.1.1 My firewall rules are for the moment: 00100 51820 26378787 divert 8668 ip from any to any via fxp0 00200 179730 75469049 allow ip from any to any (I'll tighten them more as soon as I've got all of this running. But I figure natd takes most already) So again, how do I make passive FTP work for this setup? Cheers Nik From owner-freebsd-questions@FreeBSD.ORG Sat May 24 04:00:34 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 12F5C37B401 for ; Sat, 24 May 2003 04:00:34 -0700 (PDT) Received: from web11804.mail.yahoo.com (web11804.mail.yahoo.com [216.136.172.158]) by mx1.FreeBSD.org (Postfix) with SMTP id AFC2A43F75 for ; Sat, 24 May 2003 04:00:33 -0700 (PDT) (envelope-from h_saro@yahoo.com) Message-ID: <20030524110033.15918.qmail@web11804.mail.yahoo.com> Received: from [212.113.164.98] by web11804.mail.yahoo.com via HTTP; Sat, 24 May 2003 04:00:33 PDT Date: Sat, 24 May 2003 04:00:33 -0700 (PDT) From: Hugo Saro To: freebsd-questions@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: Can't fsck disk - now what? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2003 11:00:34 -0000 try mount -a -t ufs then /sbin/fsck in single user --- David Fleck wrote: > Using 4.6 release. > > OK, I was browsing happily in Mozilla when the > system became completely > unresponsive - couldn't ping it, couldn't get a > response from any of the > VTs. So I reboot: > > Automatic boot in progress... > [... Several filesystems found clean, messages > deleted ... ] > /dev/ad0s1f: clean, 1201402 free (522 frags, 150110 > blocks, 0.0% > fragmentation) > /dev/ad0s1f: UNKNOWN FILE TYPE I=1640145 > /dev/ad0s1f: UNEXPECTED SOFT UPDATE INCONSISTENCY; > RUN fsck MANUALLY. > THE FOLLOWING FILE SYSTEM HAD AN UNEXPECTED > INCONSISTENCY: > /dev/ad0s1f (/usr) > Automatic file system check failed . . . help! > > "Help", indeed. /usr is not a partition I want to be > without. > I drop to /bin/sh, and discover, to my great unhappy > surprise, that > I don't have fsck in /bin. WTF??? > > OK, fine. I fire up the live filesystem CD. > I go to the main menu, then the Fixit option. I > start the live > filesystem, then try to fsck: > > Fixit# fsck /dev/ad0s1f > Can't stat /dev/ad0s1f: no such file or directory > > oh joy. sure enough, in /dev, there's an ad0s1, but > that's it. no > /dev/ad0s1f. > > Maybe if I copy fsck to one of the partitions that > still mount? Tried > that... > $ ./fsck /dev/ad0s1f > WARNING: R/W mount of /usr denied. Filesystem is not > clean - run fsck > fsck: /dev/ad0s1f: Operation not permitted > > > Right. The fsck on the CD works, but can't see the > partition; the fsck on > the drive sees the partition, but won't fsck the > damned thing. In short, > what the f*** do I do now? > > > -- > David Fleck > dcf@aracnet.com > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com From owner-freebsd-questions@FreeBSD.ORG Sat May 24 04:44:54 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 62E1D37B401 for ; Sat, 24 May 2003 04:44:54 -0700 (PDT) Received: from msr44.hinet.net (msr44.hinet.net [168.95.4.144]) by mx1.FreeBSD.org (Postfix) with ESMTP id 55B6D43F75 for ; Sat, 24 May 2003 04:44:53 -0700 (PDT) (envelope-from y2kbug@ms25.hinet.net) Received: from pro.utopia.com (61-227-219-205.HINET-IP.hinet.net [61.227.219.205]) by msr44.hinet.net (8.9.3/8.9.3) with ESMTP id TAA23214 for ; Sat, 24 May 2003 19:45:33 +0800 (CST) Content-Type: text/plain; charset="us-ascii" From: Robert Storey To: freebsd-questions@freebsd.org Date: Sat, 24 May 2003 20:16:21 +0800 User-Agent: KMail/1.4.3 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200305242016.21540.y2kbug@ms25.hinet.net> Subject: bad kernel fried motherboard??? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2003 11:44:54 -0000 I've been offline for a few days because it seems my motherboard is fried= =2E I'm=20 sending this message from another machine. The really WEIRD thing - I had just recompiled a Linux kernel, then reboo= ted,=20 got a "kernel panic". Tried rebooting again into single-user mode, but ke= rnel=20 panic again. Next attempt to reboot into the old kernel, but this time=20 nothing at all - no video, the motherboard just died. My question - is there any possibility that a misconfigured kernel could = harm=20 the hardware? Or is it just a strange coincidence that "kernel panic" was= =20 followed by real hardware failure? Sorry, I know this is off-topic, it was Linux not FreeBSD, but I'm still = sort=20 of dazed. regards, Robert From owner-freebsd-questions@FreeBSD.ORG Sat May 24 05:09:42 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D605A37B401 for ; Sat, 24 May 2003 05:09:42 -0700 (PDT) Received: from pa-plum1b-166.pit.adelphia.net (pa-plum1a-215.pit.adelphia.net [24.53.170.215]) by mx1.FreeBSD.org (Postfix) with ESMTP id 00FDE43F85 for ; Sat, 24 May 2003 05:09:42 -0700 (PDT) (envelope-from wmoran@potentialtech.com) Received: from potentialtech.com (working [172.16.0.95]) h4OC9eRp000270; Sat, 24 May 2003 08:09:41 -0400 (EDT) (envelope-from wmoran@potentialtech.com) Message-ID: <3ECF6104.4010803@potentialtech.com> Date: Sat, 24 May 2003 08:09:40 -0400 From: Bill Moran User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3) Gecko/20030429 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gary D Kline References: <20030524011403.GA36906@tao.thought.org> In-Reply-To: <20030524011403.GA36906@tao.thought.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: FreeBSD Mailing List Subject: Re: php err: comments? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2003 12:09:43 -0000 Gary D Kline wrote: > Hm... After installing the newst mod_php4, this err started > showing up with phpbb: > > > Fatal error: Call to undefined function: preg_match() in > /usr/local/www/data/phpBB2/install/install.php on line 206 > > comments, anyody? Did you choose not to install perl compatable regular expression support on the option screen? It appears as though this is required for installation. If this turns out to be the case, you should submit a PR as dependencies should be handled by the ports system. -- Bill Moran Potential Technologies http://www.potentialtech.com From owner-freebsd-questions@FreeBSD.ORG Sat May 24 05:12:24 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 237F837B401 for ; Sat, 24 May 2003 05:12:24 -0700 (PDT) Received: from pa-plum1b-166.pit.adelphia.net (pa-plum1a-215.pit.adelphia.net [24.53.170.215]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C68543FAF for ; Sat, 24 May 2003 05:12:23 -0700 (PDT) (envelope-from wmoran@potentialtech.com) Received: from potentialtech.com (working [172.16.0.95]) h4OCCMRp000274; Sat, 24 May 2003 08:12:23 -0400 (EDT) (envelope-from wmoran@potentialtech.com) Message-ID: <3ECF61A6.30701@potentialtech.com> Date: Sat, 24 May 2003 08:12:22 -0400 From: Bill Moran User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3) Gecko/20030429 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pat bey References: <20030524014646.60014.qmail@web41208.mail.yahoo.com> In-Reply-To: <20030524014646.60014.qmail@web41208.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: FREEBSD Subject: Re: lan problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2003 12:12:24 -0000 Can you ping www.yahoo.com from the FreeBSD box? Can you ping 64.58.76.231 from the FreeBSD box? pat bey wrote: > > I can't ping the xp box from the bsd one or vice versa :) > But while looking in the router config files I notice in the dhcp > clients list that the xp box isn't listed in the client list but it was > before I installed namedb. Could this be the problem. Basically I have > a router connect to the two machines with the router set as the dhcp > server. is also has built-in NAT. i can open my browser in the FBSD box > but I can't go beyond the home page. Looking at the router's web page I > have to have at least Mozilla 5.0 or higher, Opera lastet browser or It > will never happen the M$ Internet Explorer 6.0 for it to work with the > router. I try a dig www.freebsdforum.org > and I got a reply but if I dig anything else I get no response. I'm at > the point now where I just want to experience and enjoy the joy of FBSD > on the internet. > */Bill Moran /* wrote: > > pat bey wrote: > > # netstat -rn > > Internet: > > Destination Gateway Flags Ref Use Netif > > default 192.168.0.1 UGSc 2 1 sis0 > > 127.0.0.1 127.0.0.1 UH 0 382 lo0 > > 192.168.0 link#1 UC 4 0 sis0 > > 192.168.0.105 00:09:5b:1b:89:0d UHLW 1 241 lo0 > > 192.168.0.184 link#1 UHLW 0 5 sis0 > > 192.168.0.255 ff:ff:ff:ff:ff:ff:ff:ff UHLWb 1 77 sis0 > > I left out the expire part sense their was nothing under it. > > I left out the Internet6 part cause when installing I configured > it for ipv4. > > I don't know if I have ICMP enable on the router or not I have > ports 20-2999 open on the router. Strange thou the router says > 192.168.0.184 is the win xp box why is it in my my netstat. I tried > telneting to the router it won't let me > > Do you see this eighty-foot line ^^^^^ > > Do you think you can learn to use the "enter" key? > > 192.168.0.184 shows up in the list because the FreeBSD box heard it > on the local > network and thus created an ephemeral route so it knows where to > find it. This > is A Good Thing. > > Cany you ping 192.168.0.184 from the FreeBSD box? Can you ping > FreeBSD from > the XP box? If so, it sounds like your "router" is misconfigured. > > > > > pat bey wrote: > > > >>Can anyone help me solve this problem?? > >> > >>I have two boxes win xp and FreeBSD 4.6 and a DLink 704P router > which has built-in > >>nat and dhcp server. Here is a diagram of my setup. > > > > [code] ----------------------------- > > > >>| dsl modem | > >>------------------------------- > >>| > >>-------------------------------- > >>| router | > >>------------------------------- > >>| | > > > > --------------------------------| |------------------------------ > > | | > > ---------------------- ------------------ ------------------- | > |Win XP box | | FBSD4.6 box | > > ---------------------- ------------------------- [/code] > > > >>I followed the online handbook to setup this box, everything is > configured for dhcp. > >>Using the GENERIC kernel. I tried pinging 127.0.0.1 & my nic > >>which had 0% packet loss. But when I try to ping the router I get > a message of route > >>to host down. I have Bind running as a caching server . I updated > the firmware for > >>a unix sys and I can't get out to the world from this box. The > windows box have no > >>problem getting out to the world. On the router I have ports > tcp,udp 20-2999 open > >>for both mac address. The router sees both MAC's but the FBSD box > can't even access > >>the routers web page. I have another nic card should I install it > and put the BSD > >>box in front of the router. Or can anyone help me solve this problem. > > > > > > Can you ping 192.168.0.105? > > > > Can you ping the IP of the Win XP machine? > > > > Do you have ICMP packets blocked on the "router"? > > > > Are you pinging IP addys or names? (start with IPs, once that > works, then try names) > > > > Can you post the output of 'netstat -rn'? > > > > > >>:D-------------------------------------------------------------------------------------------------:D > >># ifconfig > >>sis0: flags=8843 mtu 1500 > >>inet 192.168.0.105 netmask 0xffffff00 broadcast 192.168.0.255 > >>ether 00:12:34:56:78 > >>media: Ethernet autoselect (100baseTX ) > >>status: active > >>lo0: flags=8049 mtu 16384 > >>inet 127.0.0.1 netmask 0xff000000 > >>------------------------------------------------------------------------------------------------------- > >># rc.conf > >>blanktime="300" > >>hostname="phaza" > >>ifconfig_sis0="DHCP" > >>defaultrouter="192.168.0.1" > >>named_enable="YES" > >>inetd_enable="YES" > >>kernel_secure_level_enable="YES" > >>kepmap="us.unix" > >>keyrate="normal" > >>linux_enable="YES" > >>and the rest is just set to the default. > >>I had Redhat Linux 7.2 installed before and it work with no > problem straight > >>out of the box. I been working on this for a 2 months with no > luck. Can > >>anyone help me out. I chose the 4.6 version cause it was all that > my local > >>comp had as far as BSD that came with a handbook. > > > > > > > -- > Bill Moran > Potential Technologies > http://www.potentialtech.com > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > > > _Suppressed minds have no Freedom of Choice_ > > ------------------------------------------------------------------------ > Do you Yahoo!? > The New Yahoo! Search > - > Faster. Easier. Bingo. -- Bill Moran Potential Technologies http://www.potentialtech.com From owner-freebsd-questions@FreeBSD.ORG Sat May 24 05:27:18 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B647F37B401 for ; Sat, 24 May 2003 05:27:18 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 125E443F75 for ; Sat, 24 May 2003 05:27:17 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) h4OCRDAe087959 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 24 May 2003 13:27:13 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)h4OCRDio087958; Sat, 24 May 2003 13:27:13 +0100 (BST) (envelope-from matthew) Date: Sat, 24 May 2003 13:27:13 +0100 From: Matthew Seaman To: Robert Storey Message-ID: <20030524122713.GA29846@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Robert Storey , freebsd-questions@freebsd.org References: <200305242016.21540.y2kbug@ms25.hinet.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2oS5YaxWCcQjTEyO" Content-Disposition: inline In-Reply-To: <200305242016.21540.y2kbug@ms25.hinet.net> User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-7.5 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_MUTT version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: freebsd-questions@freebsd.org Subject: Re: bad kernel fried motherboard??? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2003 12:27:19 -0000 --2oS5YaxWCcQjTEyO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, May 24, 2003 at 08:16:21PM +0800, Robert Storey wrote: > I've been offline for a few days because it seems my motherboard is fried= =2E I'm=20 > sending this message from another machine. >=20 > The really WEIRD thing - I had just recompiled a Linux kernel, then reboo= ted,=20 > got a "kernel panic". Tried rebooting again into single-user mode, but ke= rnel=20 > panic again. Next attempt to reboot into the old kernel, but this time=20 > nothing at all - no video, the motherboard just died. >=20 > My question - is there any possibility that a misconfigured kernel could = harm=20 > the hardware? Or is it just a strange coincidence that "kernel panic" was= =20 > followed by real hardware failure? >=20 > Sorry, I know this is off-topic, it was Linux not FreeBSD, but I'm still = sort=20 > of dazed. It's highly unlikely that booting up a FreeBSD or Linux kernel will lead to hardware failure due to bad or malicious coding --- the core people of both groups have too much invested in their products to knowingly permit such a thing, and they are not going to be easy to trick into accepting it either. On the other hand, compiling a kernel will exercise your system, raising the temperature of the CPU and memory, which tends to make failure more likely. Similarly rebooting a system (especially if you power it off) is a vulnerable time. But you could achieve the same effect by compiling any large package, or rebooting for some other reason. It's also the case that kit which does fail in this way is probably pretty marginal anyhow, and all you've really done is hasten the inevitable by a few days or weeks. Oh -- the kernel panic is the symptom of the failure, not the cause. Chances are it's the memory or CPU or video card that will fail before the motherboard, which you may be able to diagnose by judicious swapping of components. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --2oS5YaxWCcQjTEyO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE+z2UhdtESqEQa7a0RAjPKAJ9j2NqSU7UX/75gAjBw8KZVn2s96gCdHXes VQoxoD6BQGt0SpyNd4S8gWU= =JYx0 -----END PGP SIGNATURE----- --2oS5YaxWCcQjTEyO-- From owner-freebsd-questions@FreeBSD.ORG Sat May 24 05:44:03 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 977F537B401 for ; Sat, 24 May 2003 05:44:03 -0700 (PDT) Received: from mail.liwing.de (mail.liwing.de [213.70.188.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8542343F85 for ; Sat, 24 May 2003 05:44:02 -0700 (PDT) (envelope-from rehsack@liwing.de) Received: (qmail 29698 invoked from network); 24 May 2003 12:44:00 -0000 Received: from stingray.liwing.de (HELO liwing.de) ([213.70.188.164]) (envelope-sender ) by mail.liwing.de (qmail-ldap-1.03) with SMTP for ; 24 May 2003 12:44:00 -0000 Message-ID: <3ECF690F.8050707@liwing.de> Date: Sat, 24 May 2003 14:43:59 +0200 From: Jens Rehsack Organization: LiWing IT-Services User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 (Compact - Build 2) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gary D Kline References: <20030524045029.GA37297@tao.thought.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: FreeBSD Mailing List Subject: Re: lang/php4 files directory? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2003 12:44:06 -0000 On 5/24/2003 6:50 AM, Gary D Kline wrote: > Can someone who has not cvsup'd in the past 48 hours please > send me the patches from lang/php4? I'm trying to rebuild > php4-4.3.1 and need the former patchfiles. > > thanks much! There is no lang/php4 port for php4.3.0 and 4.3.1. Ports in lang/php4 is until 4.2.x and came back with new entirely rewritten port from Alex Dupre with 4.3.2rc4, which is a very stable version (runs here since 4.3.2rc3 without any problems). Regards, Jens From owner-freebsd-questions@FreeBSD.ORG Sat May 24 05:51:21 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D0EC37B401 for ; Sat, 24 May 2003 05:51:21 -0700 (PDT) Received: from toole.uol.com.br (toole.uol.com.br [200.221.29.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id D42C343FA3 for ; Sat, 24 May 2003 05:51:19 -0700 (PDT) (envelope-from fallenbr@uol.com.br) Received: from uol.com.br ([200.161.253.67]) by toole.uol.com.br (8.9.1/8.9.1) with ESMTP id JAA03415 for ; Sat, 24 May 2003 09:51:17 -0300 (BRT) Message-ID: <3ECF6AA2.7020704@uol.com.br> Date: Sat, 24 May 2003 09:50:42 -0300 From: Konrad Scorciapino User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030511 X-Accept-Language: pt-br, en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Installing an old port X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2003 12:51:21 -0000 Hi, LyX current version is 1.3.2, however, since Qt version doesn't work with 1.3.2, I need to install 1.3.0. Is it possible? Thanks From owner-freebsd-questions@FreeBSD.ORG Sat May 24 06:09:38 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 73D0F37B401 for ; Sat, 24 May 2003 06:09:38 -0700 (PDT) Received: from snickers.hotpop.com (snickers.hotpop.com [204.57.55.49]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF49943F75 for ; Sat, 24 May 2003 06:09:37 -0700 (PDT) (envelope-from teilhk@phreaker.net) Received: from phreaker.net (kubrick.hotpop.com [204.57.55.16]) by snickers.hotpop.com (Postfix) with SMTP id 2376970DF5 for ; Sat, 24 May 2003 13:09:36 +0000 (UTC) Received: from dsl-200-95-25-129.prodigy.net.mx (dsl-200-95-25-129.prodigy.net.mx [200.95.25.129]) by smtp-1.hotpop.com (Postfix) with ESMTP id 571D61A0144 for ; Sat, 24 May 2003 13:09:35 +0000 (UTC) From: Teilhard Knight To: Date: Sat, 24 May 2003 08:09:46 -0500 User-Agent: KMail/1.5 References: <20030524061504.47601.qmail@web9501.mail.yahoo.com> In-Reply-To: <20030524061504.47601.qmail@web9501.mail.yahoo.com> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200305240447.36532.teilhk@coolmail.com> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-HotPOP: ----------------------------------------------- Sent By HotPOP.com FREE Email Get your FREE POP email at www.HotPOP.com ----------------------------------------------- Subject: Re: Need help installing freebsd 5 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2003 13:09:38 -0000 On Saturday 24 May 2003 01:15, john lee wrote: > Hi, I'm new to freebsd, could someone please help me > in installing freebsd verson 5 or tell where i could > get help. I follow the installation's guide in the > www.freebsd.org website, but i still have problems, in > some of the steps in the installation guide. > > PROBLEMS: > Step1: when I boot my computer with the cd-rom, I > couldn't get to the kernel configuration menu. > > I even try the following command at prompt: BOOT DKAO > -FLAG " -FILE " > (I also try this without cd boot up. with "boot: " > prompt) > but I get message of: DKAO not find > > When skip the kernel configuration step install > standard installation. > I have: "port can't assigned " error message in " > vitty" > > please let me where I could find some help. thank! As for question 1, there is no kernel configuration menu in the installation of 5.0. As for the second question I can only make a suggestion. Disable "plug and play support" (set it to "no") in the BIOS, before you attempt to do anything. UNIX systems simply do not detect things OK when that option is enabled. Good luck. Teilhard Knight The Extraterrestrial Who ate my sandwich? From owner-freebsd-questions@FreeBSD.ORG Sat May 24 07:02:58 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 57BCF37B401 for ; Sat, 24 May 2003 07:02:58 -0700 (PDT) Received: from web13403.mail.yahoo.com (web13403.mail.yahoo.com [216.136.175.61]) by mx1.FreeBSD.org (Postfix) with SMTP id 0D5D843F85 for ; Sat, 24 May 2003 07:02:58 -0700 (PDT) (envelope-from fehmifehmi@yahoo.fr) Message-ID: <20030524140257.32491.qmail@web13403.mail.yahoo.com> Received: from [193.95.33.28] by web13403.mail.yahoo.com via HTTP; Sat, 24 May 2003 16:02:57 CEST Date: Sat, 24 May 2003 16:02:57 +0200 (CEST) From: =?iso-8859-1?q?Fehmi?= To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Running Dummynet X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2003 14:02:58 -0000 I launched dummynet with "kldload dummynet" Dummyunet is running, itried to set a pipe : ipfw add pipe 1 ip from any to any ipfw pipe 1 config bw 1kbit/s I tested with an ftp session (LAN) but the throughtput was at the maximum (1Mbit/s ) So is there anything going wrong somewhere??? Thank you very much ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com From owner-freebsd-questions@FreeBSD.ORG Sat May 24 07:19:04 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F009637B401 for ; Sat, 24 May 2003 07:19:04 -0700 (PDT) Received: from pa-plum1b-166.pit.adelphia.net (pa-plum1a-215.pit.adelphia.net [24.53.170.215]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE6C443FA3 for ; Sat, 24 May 2003 07:19:03 -0700 (PDT) (envelope-from wmoran@potentialtech.com) Received: from potentialtech.com (working [172.16.0.95]) h4OEJ2Rp000342; Sat, 24 May 2003 10:19:03 -0400 (EDT) (envelope-from wmoran@potentialtech.com) Message-ID: <3ECF7F56.3070608@potentialtech.com> Date: Sat, 24 May 2003 10:19:02 -0400 From: Bill Moran User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3) Gecko/20030429 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Fehmi References: <20030524140257.32491.qmail@web13403.mail.yahoo.com> In-Reply-To: <20030524140257.32491.qmail@web13403.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: Running Dummynet X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2003 14:19:05 -0000 Fehmi wrote: > I launched dummynet with "kldload dummynet" > Dummyunet is running, itried to set a pipe : > ipfw add pipe 1 ip from any to any > ipfw pipe 1 config bw 1kbit/s > I tested with an ftp session (LAN) > but the throughtput was at the maximum (1Mbit/s ) > So is there anything going wrong somewhere??? > Thank you very much Send the output of "ipfw show" It's impossible to diagnoses such a problem without seeing the entire firewall ruleset. -- Bill Moran Potential Technologies http://www.potentialtech.com From owner-freebsd-questions@FreeBSD.ORG Sat May 24 07:28:38 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6250E37B401 for ; Sat, 24 May 2003 07:28:38 -0700 (PDT) Received: from web14102.mail.yahoo.com (web14102.mail.yahoo.com [216.136.172.132]) by mx1.FreeBSD.org (Postfix) with SMTP id 0087643F85 for ; Sat, 24 May 2003 07:28:38 -0700 (PDT) (envelope-from haifa_t@yahoo.fr) Message-ID: <20030524142837.36336.qmail@web14102.mail.yahoo.com> Received: from [193.95.33.28] by web14102.mail.yahoo.com via HTTP; Sat, 24 May 2003 16:28:37 CEST Date: Sat, 24 May 2003 16:28:37 +0200 (CEST) From: =?iso-8859-1?q?haifa=20touati?= To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Collecting Congestion window and ssthresh traces X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2003 14:28:38 -0000 Hi, I want to collect tcp congestion window and threshold fluctuations, I'm using a Free BSD 4.5 machine. With sysctl command, I set the parameter "net.inet.tcp.trace_cwin" to 1 (to enable it). I wonder if there is any tool to retrieve these traces. Thanks, --------------------------------- Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Testez le nouveau Yahoo! Mail From owner-freebsd-questions@FreeBSD.ORG Sat May 24 07:30:13 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 40A4437B401 for ; Sat, 24 May 2003 07:30:13 -0700 (PDT) Received: from franka.aracnet.com (franka.aracnet.com [216.99.193.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id A463C43F75 for ; Sat, 24 May 2003 07:30:12 -0700 (PDT) (envelope-from dcf@aracnet.com) Received: from shell1.aracnet.com (shell1.aracnet.com [216.99.193.21]) by franka.aracnet.com (8.12.9/8.12.9) with ESMTP id h4OESJlD016209; Sat, 24 May 2003 07:28:19 -0700 Received: (from dcf@localhost) by shell1.aracnet.com (8.12.9/8.12.9/Submit) id h4OEU8ms025434; Sat, 24 May 2003 07:30:08 -0700 Date: Sat, 24 May 2003 07:30:08 -0700 (PDT) From: David Fleck To: Dan Nelson In-Reply-To: <20030524045749.GD46907@dan.emsphone.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: Can't fsck disk - now what? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2003 14:30:13 -0000 On Fri, 23 May 2003, Dan Nelson wrote: > Fsck lives in /sbin, not bin. Answer yes to all the questions (should > only be a couple). Bloody hell, of course. What a moron I am... all fixed now. Thanks to everyone who replied. -- David Fleck dcf@aracnet.com From owner-freebsd-questions@FreeBSD.ORG Sat May 24 07:39:02 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A50A537B401 for ; Sat, 24 May 2003 07:39:02 -0700 (PDT) Received: from lily.ezo.net (nsc.ezo.net [68.23.200.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id E26F143F3F for ; Sat, 24 May 2003 07:39:01 -0700 (PDT) (envelope-from jflowers@ezo.net) Received: from new.ezo.net (peony.ezo.net [68.23.200.11]) by lily.ezo.net (8.12.6/8.12.6) with ESMTP id h4OEd4Fa095321 for ; Sat, 24 May 2003 10:39:04 -0400 (EDT) (envelope-from jflowers@ezo.net) From: "Jim Flowers" To: freebsd-questions@freebsd.org Date: Sat, 24 May 2003 09:39:03 -0500 Message-Id: <20030524142346.M92078@ezo.net> X-Mailer: Open WebMail 1.90 20030310 X-OriginatingIP: 24.93.231.122 (jflowers) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Subject: pkg_create error help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2003 14:39:02 -0000 I run a number of FreeBSD 4.X servers going back to 4.4. When I download a port that wasn't included in the release, it makes and make installs OK until I get the error below. Then I rm -r /var/db/pkg/portname to get rid of the partial record (else it causes reporting problems) and the port works fine. Is there anything I can do to get around this without updating the OS (these are production servers)? Looks like it is just a wrong parameter or a missing set of quotes wherever pkg_create is called from (/usr/ports/Mk/bsd.port.mk?). Thanks Jim -------------typical error message---------------------------- ===> Registering installation for sarg-1.4.1 pkg_create: only one package name allowed ('analyzer' extraneous) usage: pkg_create [-YNOhvy] [-P pkgs] [-p prefix] [-f contents] [-i iscript] [-I piscript] [-k dscript] [-K pdscript] [-r rscript] [-t template] [-X excludefile] [-D displayfile] [-m mtreefile] [-o origin] -c comment -d description -f packlist pkg-filename pkg_create [-YNhvy] -b pkg-name [pkg-filename] -- Jim Flowers From owner-freebsd-questions@FreeBSD.ORG Sat May 24 07:49:42 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 32A3037B401 for ; Sat, 24 May 2003 07:49:42 -0700 (PDT) Received: from boston3.g4.net (boston3.G4.NET [216.177.0.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E97843F75 for ; Sat, 24 May 2003 07:49:39 -0700 (PDT) (envelope-from dave@bsdadmins.net) Received: from hades ([216.177.0.160]) by boston3.g4.net (8.11.3/8.11.3) with SMTP id h4OEne838581 for ; Sat, 24 May 2003 10:49:40 -0400 (EDT) (envelope-from dave@bsdadmins.net) Message-ID: <001901c32202$f884af30$65fefe0a@hades> From: "David Loszewski" To: Date: Sat, 24 May 2003 10:44:07 -0400 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: var used space is not right X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2003 14:49:42 -0000 I have a troubling problem that I can't seem to figure out. For the = past week my /var has been keep filling up on me, mostly because I have = a 500MB /var partition and it says that 452MB of it is used but only = 772K is available. For one I did a du -sh /var and I'm only taking up = 5.9MB in the var directory and I tried adding up space elsewhere to see = if the space is going anywhere else but it's still not adding up. And = Even if I have 452MB used, which I don't, I should still have like 48MB = left to use. Ideas on what's going on here? Please send replies to this address, I'm not sure if I'm still = subscribed to this list. David Loszewski From owner-freebsd-questions@FreeBSD.ORG Sat May 24 07:58:17 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BB06737B401 for ; Sat, 24 May 2003 07:58:17 -0700 (PDT) Received: from mx1.au.itouchnet.net (nat2.au.itouchnet.net [144.135.23.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC46443F75 for ; Sat, 24 May 2003 07:58:16 -0700 (PDT) (envelope-from ajthomson@optushome.com.au) Received: from nobody by mx1.au.itouchnet.net with scanned_ok (Exim 3.36 #1) id 19JaTN-000JVi-00 for freebsd-questions@freebsd.org; Sun, 25 May 2003 00:58:13 +1000 X-TLS: TLSv1:DES-CBC3-SHA:168 athomson.prv.au.itouchnet.net -> mx1.au.itouchnet.net Received: from athomson.prv.au.itouchnet.net ([192.168.13.55]) by mx1.au.itouchnet.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 3.36 #1) id 19JaTN-000JVb-00 for freebsd-questions@freebsd.org; Sun, 25 May 2003 00:58:13 +1000 Received: from localhost ([127.0.0.1] helo=athomson.prv.au.itouchnet.net) by athomson.prv.au.itouchnet.net with esmtp (Exim 4.20) id 19JaTN-000ITu-3X for freebsd-questions@freebsd.org; Sun, 25 May 2003 00:58:13 +1000 Received: (from ajt@localhost)h4OEwC43071045 for freebsd-questions@freebsd.org; Sun, 25 May 2003 00:58:12 +1000 (EST) X-Authentication-Warning: athomson.prv.au.itouchnet.net: ajt set sender to ajthomson@optushome.com.au using -f Date: Sun, 25 May 2003 00:58:11 +1000 From: Andrew Thomson To: freebsd-questions@freebsd.org Message-ID: <20030524145811.GA71001@athomson.prv.au.itouchnet.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Checked: Scanned for any viruses and unauthorized attachments at mx1.au.itouchnet.net X-iScan-ID: 74998-1053788293-07051@mx1.au.itouchnet.net version $Name: REL_2_0_2 $ Subject: 5.1 beta 2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2003 14:58:18 -0000 hmm.. just did a fresh install of 5.1 beta 2 on my ibm x24 thinkpad. first thing I did was install cvsup from the cd... then when i try to cvsup my ports, i get the following: Fatal trap 18: integer divide fault while in kernel mode ..... doesn't look so good.. it does this every time so far.. thoughts. ajt. From owner-freebsd-questions@FreeBSD.ORG Sat May 24 08:05:57 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D2F8B37B404 for ; Sat, 24 May 2003 08:05:57 -0700 (PDT) Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F97043FA3 for ; Sat, 24 May 2003 08:05:56 -0700 (PDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com[24.147.188.198]) by attbi.com (rwcrmhc53) with ESMTP id <2003052415055505300r5f0se>; Sat, 24 May 2003 15:05:55 +0000 Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [24.147.188.198] (may be forged)) by be-well.ilk.org (8.12.9/8.12.7) with ESMTP id h4OF5sFb015218; Sat, 24 May 2003 11:05:54 -0400 (EDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: (from lowell@localhost) by be-well.ilk.org (8.12.9/8.12.6/Submit) id h4OF5sqB015215; Sat, 24 May 2003 11:05:54 -0400 (EDT) X-Authentication-Warning: be-well.ilk.org: lowell set sender to freebsd-questions-local@be-well.ilk.org using -f Sender: lowell@be-well.no-ip.com To: Doug Hardie References: <3C74172A-8D96-11D7-8A86-000393681B06@lafn.org> From: Lowell Gilbert Date: 24 May 2003 11:05:54 -0400 In-Reply-To: <3C74172A-8D96-11D7-8A86-000393681B06@lafn.org> Message-ID: <448yswz8od.fsf@be-well.ilk.org> Lines: 13 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: Re: Fixit disk without a floppy drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2003 15:05:58 -0000 Doug Hardie writes: > I just encountered a situation where a system without a floppy drive > failed with some disk corruption within files (not fsck issues). In > the process of trying to recover it, I found I needed to use the fixit > disk. I have used the floppy version successfully several times > before, but this machine doesn't have a floppy drive. Sysinstall > indicated there was an equivallent fixit cd. Where do you find that? > I found a back door to get this machine corrected, but I need to be > better prepared for the next failure. FreeBSD 4.6. Isn't that just the install disk? "Fixit" is a menu option... From owner-freebsd-questions@FreeBSD.ORG Sat May 24 08:52:02 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4CCE237B401 for ; Sat, 24 May 2003 08:52:02 -0700 (PDT) Received: from smtp0.adl1.internode.on.net (smtp0.adl1.internode.on.net [203.16.214.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3AD8A43F85 for ; Sat, 24 May 2003 08:52:01 -0700 (PDT) (envelope-from malcolm.kay@internode.on.net) Received: from beta.home (ppp1969.sa.padsl.internode.on.net [150.101.26.176]) h4OFptMO057702; Sun, 25 May 2003 01:21:55 +0930 (CST) Content-Type: text/plain; charset="iso-8859-1" From: Malcolm Kay Organization: At home To: Lowell Gilbert , Doug Hardie Date: Sun, 25 May 2003 01:22:00 +0930 User-Agent: KMail/1.4.3 References: <3C74172A-8D96-11D7-8A86-000393681B06@lafn.org> <448yswz8od.fsf@be-well.ilk.org> In-Reply-To: <448yswz8od.fsf@be-well.ilk.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200305250122.00054.malcolm.kay@internode.on.net> cc: freebsd-questions@freebsd.org Subject: Re: Fixit disk without a floppy drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2003 15:52:02 -0000 On Sun, 25 May 2003 00:35, Lowell Gilbert wrote: > Doug Hardie writes: > > I just encountered a situation where a system without a floppy drive > > failed with some disk corruption within files (not fsck issues). In > > the process of trying to recover it, I found I needed to use the fixi= t > > disk. I have used the floppy version successfully several times > > before, but this machine doesn't have a floppy drive. Sysinstall > > indicated there was an equivallent fixit cd. Where do you find that? > > I found a back door to get this machine corrected, but I need to be > > better prepared for the next failure. FreeBSD 4.6. > > Isn't that just the install disk? > "Fixit" is a menu option... Normally the "live file system" CD which in the past has been disk 2 of t= he=20 set. (I don't know for FBSD 5.x) Malcolm=20 From owner-freebsd-questions@FreeBSD.ORG Sat May 24 08:58:59 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C34837B401 for ; Sat, 24 May 2003 08:58:59 -0700 (PDT) Received: from smtp05.wxs.nl (smtp05.wxs.nl [195.121.6.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 86FAC43FA3 for ; Sat, 24 May 2003 08:58:57 -0700 (PDT) (envelope-from mschut@wxs.nl) Received: from mshome (ip503c4f1e.speed.planet.nl [80.60.79.30]) by smtp05.wxs.nl (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0HFE0063IF7AIE@smtp05.wxs.nl> for freebsd-questions@freebsd.org; Sat, 24 May 2003 18:02:08 +0200 (MEST) Date: Sat, 24 May 2003 17:58:57 +0200 From: Martin Schut To: freebsd-questions@freebsd.org Message-id: <002201c3220d$656dcdc0$0301a8c0@mshome> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Mailer: Microsoft Outlook, Build 10.0.2627 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal Subject: cdrom rejects and ejects X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2003 15:58:59 -0000 Amice, Can someone help me with the following. After installing a new BIOS (v 8.0) on my Toshiba Satellite Pro 490XCDT laptop and FreeBSD 4.9 Stable, I am fighting with my CDRom. De thing rejects and ejects CD's other than the installation CD. When trying to play an audio CD in Gnome 2 with XMMS it succeeds the first time and after changing the CD it doesn't accepts the new CD. It doesn't accepts CD's at all with MP3 files (data) on it. I didn't encountered problem before with FBSD 4.5 and Gnome 1.4 on the laptop. I already tried to change the BIOS settings and disabled amd. When I try to mount CD's in Root I receive an Input / Output error. Below you'll find a copy of my dmesg log. Please note the ata1 slave message! Thanks in advance for your help! Martin Schut Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.8-RELEASE #2: Sun May 18 21:26:15 CEST 2003 root@BSDMobiel.HOME:/usr/obj/usr/src/sys/CUSTOM Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II/Pentium II Xeon/Celeron (266.62-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x650 Stepping = 0 Features=0x183f9ff real memory = 67043328 (65472K bytes) avail memory = 59682816 (58284K bytes) Preloaded elf kernel "kernel" at 0xc0574000. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 5 entries at 0xc00f72f0 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 agp0: mem 0xe0000000-0xefffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 3.0 irq 11 isab0: at device 5.0 on pci0 isa0: on isab0 atapci0: port 0xfe60-0xfe6f at device 5.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xffe0-0xffff irq 11 at device 5.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered chip0: port 0xfe70-0xfe7f at device 5.3 on pci0 chip1: port 0xff80-0xff9f irq 11 at device 9.0 on pci0 pcic0: irq 11 at device 11.0 on pci0 pcic0: PCI Memory allocated: 0x88000000 pccard0: on pcic0 pcic1: irq 11 at device 11.1 on pci0 pcic1: PCI Memory allocated: 0x88001000 pccard1: on pcic1 orm0: