From owner-freebsd-questions@FreeBSD.ORG Sun May 30 02:43:33 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA8261065678 for ; Sun, 30 May 2010 02:43:33 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id C8FF38FC1B for ; Sun, 30 May 2010 02:43:33 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1OIYUv-0008Vm-66 for freebsd-questions@freebsd.org; Sat, 29 May 2010 19:43:33 -0700 Message-ID: <28719810.post@talk.nabble.com> Date: Sat, 29 May 2010 19:43:33 -0700 (PDT) From: zaxis To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: z_axis@163.com Subject: FireFox problem ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2010 02:43:34 -0000 >uname -a FreeBSD mybsd.zsoft.com 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #9: Sat Mar 2= 7 15:06:39 CST 2010 root@mybsd.zsoft.com:/usr/obj/usr/src/sys/MYKERNEL=20 i386 >pkg_version -vIL=3D | grep -i firefox firefox-3.5.9,1 < needs updating (index has 3.5.9_1,1= ) Sometimes when i close one page tab, firefox will exit automatically ! Sincerely! ----- e^(=CF=80=E2=8B=85i) + 1 =3D 0 --=20 View this message in context: http://old.nabble.com/FireFox-problem---tp287= 19810p28719810.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Sun May 30 02:46:55 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 32A561065673 for ; Sun, 30 May 2010 02:46:55 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email1.allantgroup.com (email1.emsphone.com [199.67.51.115]) by mx1.freebsd.org (Postfix) with ESMTP id EE08B8FC13 for ; Sun, 30 May 2010 02:46:54 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email1.allantgroup.com (8.14.0/8.14.0) with ESMTP id o4U2ksG3018696 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 29 May 2010 21:46:54 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.4/8.14.4) with ESMTP id o4U2krUE056591 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 29 May 2010 21:46:54 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.4/8.14.3/Submit) id o4U2kr31056590; Sat, 29 May 2010 21:46:53 -0500 (CDT) (envelope-from dan) Date: Sat, 29 May 2010 21:46:53 -0500 From: Dan Nelson To: zaxis Message-ID: <20100530024653.GF8866@dan.emsphone.com> References: <28719810.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <28719810.post@talk.nabble.com> X-OS: FreeBSD 8.0-STABLE User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: clamav-milter 0.96 at email1.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email1.allantgroup.com [199.67.51.78]); Sat, 29 May 2010 21:46:54 -0500 (CDT) X-Scanned-By: MIMEDefang 2.45 Cc: freebsd-questions@freebsd.org Subject: Re: FireFox problem ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2010 02:46:55 -0000 In the last episode (May 29), zaxis said: > > >uname -a > FreeBSD mybsd.zsoft.com 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #9: Sat Mar 27 15:06:39 CST 2010 root@mybsd.zsoft.com:/usr/obj/usr/src/sys/MYKERNEL i386 > > >pkg_version -vIL= | grep -i firefox > firefox-3.5.9,1 < needs updating (index has 3.5.9_1,1) > > Sometimes when i close one page tab, firefox will exit automatically ! Please make sure you are running the most recent version before reporting problems. 3.5.9_1,1: date: 2010/05/18 14:17:31; author: beat; state: Exp; lines: +1 -0 - Fix crash when closing tab after recent cairo update - Bump PORTREVISION -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Sun May 30 02:48:41 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E96E91065675 for ; Sun, 30 May 2010 02:48:41 +0000 (UTC) (envelope-from aiza21@comclark.com) Received: from avmxsmtp1.comclark.com (avmxsmtp1.comclark.com [202.69.191.115]) by mx1.freebsd.org (Postfix) with ESMTP id 7D2A58FC16 for ; Sun, 30 May 2010 02:48:40 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiQgAIJuAUzKRa1aPGdsb2JhbAAHnj8BAQEBNScDiDOzboUWBING X-IronPort-AV: E=Sophos;i="4.53,325,1272816000"; d="scan'208";a="987165" Received: from unknown (HELO [10.0.10.3]) ([202.69.173.90]) by avmxsmtp5.comclark.com with ESMTP; 30 May 2010 10:48:38 +0800 Message-ID: <4C01D204.8050907@comclark.com> Date: Sun, 30 May 2010 10:48:36 +0800 From: Aiza User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: "questions@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: FreeBSD 8.1-BETA1 Available X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2010 02:48:42 -0000 http://www.daemonforums.org/showthread.php?t=4797 From owner-freebsd-questions@FreeBSD.ORG Sun May 30 03:36:37 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4E2EE106564A for ; Sun, 30 May 2010 03:36:37 +0000 (UTC) (envelope-from fbsd1@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 3CD988FC08 for ; Sun, 30 May 2010 03:36:37 +0000 (UTC) Received: from [10.0.10.3] ([202.69.173.90]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.3959); Sat, 29 May 2010 20:36:37 -0700 Message-ID: <4C01DD3F.3040000@a1poweruser.com> Date: Sun, 30 May 2010 11:36:31 +0800 From: Fbsd1 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: "questions@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 30 May 2010 03:36:37.0657 (UTC) FILETIME=[4F2FD090:01CAFFA9] X-Sender: fbsd1@a1poweruser.com Cc: Subject: text editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2010 03:36:37 -0000 Been using ee and been happy. Now I have need for an editor with block commands. Put dd on the first line of sequence number you want to start deleting and dd on the last line of the block and hit enter and the block of lines are deleted. OR Put cc on first line and cc on last line of black to copy and enter "I" on line where you want the copied block to be inserted after. Also same for mm meaning move block. Is there any editors with a function like this? From owner-freebsd-questions@FreeBSD.ORG Sun May 30 05:14:04 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C855D106564A for ; Sun, 30 May 2010 05:14:04 +0000 (UTC) (envelope-from aiza21@comclark.com) Received: from avmxsmtp1.comclark.com (avmxsmtp1.comclark.com [202.69.191.115]) by mx1.freebsd.org (Postfix) with ESMTP id 591048FC17 for ; Sun, 30 May 2010 05:14:03 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqQaAH6QAUzKRa1aPGdsb2JhbAAHh2GWXwEBAQE1J7wqhRYEg0Y X-IronPort-AV: E=Sophos;i="4.53,326,1272816000"; d="scan'208";a="996429" Received: from unknown (HELO [10.0.10.3]) ([202.69.173.90]) by avmxsmtp4.comclark.com with ESMTP; 30 May 2010 13:14:02 +0800 Message-ID: <4C01F419.10100@comclark.com> Date: Sun, 30 May 2010 13:14:01 +0800 From: Aiza User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: "questions@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: sh script writing help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2010 05:14:04 -0000 In a .sh type script I have && exerr " very long message gt 250 char" all on the same line. This is a real pain to edit. Is there some code a can use to continue this on the next line so I can see it on the screen and still have the command function? I tried \ with no luck. thanks From owner-freebsd-questions@FreeBSD.ORG Sun May 30 05:39:39 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B35F41065673 for ; Sun, 30 May 2010 05:39:39 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email1.allantgroup.com (email1.emsphone.com [199.67.51.115]) by mx1.freebsd.org (Postfix) with ESMTP id 7B4918FC14 for ; Sun, 30 May 2010 05:39:39 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email1.allantgroup.com (8.14.0/8.14.0) with ESMTP id o4U5daFm034459 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 30 May 2010 00:39:36 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.4/8.14.4) with ESMTP id o4U5daEx080256 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 30 May 2010 00:39:36 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.4/8.14.3/Submit) id o4U5dafe080255; Sun, 30 May 2010 00:39:36 -0500 (CDT) (envelope-from dan) Date: Sun, 30 May 2010 00:39:35 -0500 From: Dan Nelson To: Aiza Message-ID: <20100530053935.GG8866@dan.emsphone.com> References: <4C01F419.10100@comclark.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C01F419.10100@comclark.com> X-OS: FreeBSD 8.0-STABLE User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: clamav-milter 0.96 at email1.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email1.allantgroup.com [199.67.51.78]); Sun, 30 May 2010 00:39:36 -0500 (CDT) X-Scanned-By: MIMEDefang 2.45 Cc: "questions@freebsd.org" Subject: Re: sh script writing help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2010 05:39:39 -0000 In the last episode (May 30), Aiza said: > In a .sh type script I have && exerr " very long message gt 250 char" > all on the same line. This is a real pain to edit. > > Is there some code a can use to continue this on the next line so I can > see it on the screen and still have the command function? I tried \ with > no luck. \ should work just fine: $ echo "long line \ split onto two" long line split onto two $ -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Sun May 30 06:01:13 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 527981065676 for ; Sun, 30 May 2010 06:01:13 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (unknown [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id 164888FC1D for ; Sun, 30 May 2010 06:01:13 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id o4U61BPA077259 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 29 May 2010 23:01:11 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id o4U61BaP077258; Sat, 29 May 2010 23:01:11 -0700 (PDT) Received: from fbsd61 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA13793; Sat, 29 May 10 22:48:23 PDT Date: Sat, 29 May 2010 22:45:46 -0700 From: perryh@pluto.rain.com To: fbsd1@a1poweruser.com Message-Id: <4c01fb8a.FERQIg74j2JDR2qp%perryh@pluto.rain.com> References: <4C01DD3F.3040000@a1poweruser.com> In-Reply-To: <4C01DD3F.3040000@a1poweruser.com> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: text editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2010 06:01:13 -0000 Fbsd1 wrote: > Been using ee and been happy. > Now I have need for an editor with block commands. ... > Is there any editors with a function like this? Either vi or emacs can do this general sort of thing. From owner-freebsd-questions@FreeBSD.ORG Sun May 30 06:10:40 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 32EC01065675 for ; Sun, 30 May 2010 06:10:40 +0000 (UTC) (envelope-from aiza21@comclark.com) Received: from avmxsmtp1.comclark.com (avmxsmtp1.comclark.com [202.69.191.115]) by mx1.freebsd.org (Postfix) with ESMTP id B516F8FC17 for ; Sun, 30 May 2010 06:10:39 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ai4WAI+eAUzKRa1aPGdsb2JhbAAHh2GWXwEBAQE1vE2FFgSDRg X-IronPort-AV: E=Sophos;i="4.53,327,1272816000"; d="scan'208";a="1005223" Received: from unknown (HELO [10.0.10.3]) ([202.69.173.90]) by avmxsmtp4.comclark.com with ESMTP; 30 May 2010 14:10:38 +0800 Message-ID: <4C02015C.5070605@comclark.com> Date: Sun, 30 May 2010 14:10:36 +0800 From: Aiza User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Dan Nelson References: <4C01F419.10100@comclark.com> <20100530053935.GG8866@dan.emsphone.com> In-Reply-To: <20100530053935.GG8866@dan.emsphone.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "questions@freebsd.org" Subject: Re: sh script writing help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2010 06:10:40 -0000 Dan Nelson wrote: > In the last episode (May 30), Aiza said: >> In a .sh type script I have && exerr " very long message gt 250 char" >> all on the same line. This is a real pain to edit. >> >> Is there some code a can use to continue this on the next line so I can >> see it on the screen and still have the command function? I tried \ with >> no luck. > > \ should work just fine: > > $ echo "long line \ > split onto two" > long line split onto two > $ > You example works only because the continuation starts at position 1. $ [ -n "${test-name-fowarding}" -o -n "${test-noname}" ] || \ exerr "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" this is for ease of reading the code but will display with a bunch of spaces in the middle of the sentence. The \ works fine bypassing all white space between code not so for white space between the " ". Is there a coding method to get around this? From owner-freebsd-questions@FreeBSD.ORG Sun May 30 06:18:19 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B8C31065675 for ; Sun, 30 May 2010 06:18:19 +0000 (UTC) (envelope-from xkyanh@gmail.com) Received: from mail-pz0-f174.google.com (mail-pz0-f174.google.com [209.85.222.174]) by mx1.freebsd.org (Postfix) with ESMTP id 193228FC0A for ; Sun, 30 May 2010 06:18:18 +0000 (UTC) Received: by pzk4 with SMTP id 4so153758pzk.7 for ; Sat, 29 May 2010 23:18:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:in-reply-to:references:organization:user-agent :x-operating-system:x-face:face:x-mailer:mime-version:content-type :content-transfer-encoding; bh=BmaC1vIZCEU9dI4cdF8+uq0hVNpvfFDCl7eFm2Opxbk=; b=WHC3wo8idBoj8COQcvT0cWfkJtsI1znlhrqP53c6YxuECjZzRrjcH/7C1gEj6CCLWJ X11taNspLrPdUV7r00IFScPvqzLGpPKoFJDkGj/v8LvbORJnwP0cSM8FiyJfecYqJkOx KwgJSeF1O2396OB/73JLDblQJxHslrto9UHh8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references :organization:user-agent:x-operating-system:x-face:face:x-mailer :mime-version:content-type:content-transfer-encoding; b=ktQ6bwGR+E26owlun2auCbT0fnwZ+42Q1qYJ44btNCrWYXOpdk7iHhr8cGQKCZwtdk Fum8ZVDsQoKiBhR1SaCJauF786IrWHHbpQT4wzAAKWj06X8lsglZWyh4Mq15AUZVFwFH pOK99vuW2XZNAvWLopGJNSdhlJ6MI0poJ4Hg8= Received: by 10.141.214.40 with SMTP id r40mr1992763rvq.11.1275200298533; Sat, 29 May 2010 23:18:18 -0700 (PDT) Received: from icy.localdomain ([222.253.72.119]) by mx.google.com with ESMTPS id d14sm3428343rva.18.2010.05.29.23.18.15 (version=SSLv3 cipher=RC4-MD5); Sat, 29 May 2010 23:18:18 -0700 (PDT) Date: Sun, 30 May 2010 13:17:30 +0700 From: "Anh Ky Huynh" To: Aiza Message-ID: <20100530131730.1931dbd4@icy.localdomain> In-Reply-To: <4C02015C.5070605@comclark.com> References: <4C01F419.10100@comclark.com> <20100530053935.GG8866@dan.emsphone.com> <4C02015C.5070605@comclark.com> Organization: Vietnamese TeX Users Group User-Agent: FreeBSD X-Operating-System: FreeBSD X-Face: FreeBSD Face: FreeBSD X-Mailer: FreeBSD Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "questions@freebsd.org" Subject: Re: sh script writing help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2010 06:18:19 -0000 On Sun, 30 May 2010 14:10:36 +0800 Aiza wrote: > Dan Nelson wrote: > > In the last episode (May 30), Aiza said: > >> In a .sh type script I have && exerr " very long message gt 250 > >> char" all on the same line. This is a real pain to edit. > >> > >> Is there some code a can use to continue this on the next line > >> so I can see it on the screen and still have the command > >> function? I tried \ with no luck. > > > > \ should work just fine: > > > > $ echo "long line \ > > split onto two" > > long line split onto two > > $ > > > > > You example works only because the continuation starts at position > 1. > > $ [ -n "${test-name-fowarding}" -o -n "${test-noname}" ] || \ > exerr "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\ > xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" > this is for ease of reading the code but will display with a bunch > of spaces in the middle of the sentence. The \ works fine bypassing > all white space between code not so for white space between the " > ". > > Is there a coding method to get around this? Do you try to read your expression from a file? exerr `cat /path/to/data` the contents of /path/to/data are your very long string. Regards, -- Anh Ky Huynh From owner-freebsd-questions@FreeBSD.ORG Sun May 30 06:55:28 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E2E08106564A for ; Sun, 30 May 2010 06:55:28 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 2C9E18FC15 for ; Sun, 30 May 2010 06:55:28 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o4U6tMcb027601 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sun, 30 May 2010 07:55:23 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4C020BDA.9070508@infracaninophile.co.uk> Date: Sun, 30 May 2010 07:55:22 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: Gary Kline References: <20100529211104.GA55411@thought.org> In-Reply-To: <20100529211104.GA55411@thought.org> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.96.1 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=2.0 required=5.0 tests=DKIM_ADSP_ALL,SPF_FAIL autolearn=no version=3.3.1 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Cc: FreeBSD Mailing List Subject: Re: fonts qstns. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2010 06:55:29 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 29/05/2010 22:11:07, Gary Kline wrote: > guys, > > given the depth and wide scope of knoweldge on this list, i'm > hoping that somebody can clue me in on font stuff... BUT: > the fonts i'm interested in have to work with openoffice. Any truetype or postscript font should work with OOo. I believe OOo will pick up whatever is available system-wide nowadays. If not, there will be an admin app you can use to add your font to the repertoire it knows about. Last time I used it, it vaguely recall it was called "sadmin," but that was a long time ago now. Note that this controls what OOo wll display to you on-screen. You make not get exactly the same font on a printout, depending on the make and model of your printer. > first, i'm looking for a font that is apropos for long > manscripts. printed. books rather than newspapers or other > ink+paper material. to me, GEorgia works quite nicely for > my book "JOURNEY." but am wondering if there is such a thing as > a semi-bold [or darker than usual regular] typeface. I'm quite partial to Gentium as a well proportioned, easy to read serif font. It's not very dark on the page though -- from a distance a sheet of Gentium text appears noticably lighter than many other fonts. > i hope you're all sitting down now; i'm ready to pay for this > font. --hope nodybody fell over :) You might want to take a look at http://www.sil.org/computing/catalog/show_software_catalog.asp?by=cat&name=Font - -- I've already mentioned their Gentium font, but Charis SIL and Doulos SIL looks promising too[*]. There isn't a port for either of those last two but you can look at the type-sample PDFs. Whipping a port together shouldn't be too much trouble. Cheers, Matthew [*] These are the people to go to if you are desperate for a font based on Sudanese camel branding marks... - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwCC9oACgkQ8Mjk52CukIyjGQCeLnhZWAG0GA9SA0FCPcYqGTne nx0AoIG2Pi8O4JycOog3AcbBzSwaYit5 =aj+c -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Sun May 30 06:59:01 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF7081065674 for ; Sun, 30 May 2010 06:59:01 +0000 (UTC) (envelope-from aiza21@comclark.com) Received: from avmxsmtp1.comclark.com (avmxsmtp1.comclark.com [202.69.191.115]) by mx1.freebsd.org (Postfix) with ESMTP id 4BFCE8FC12 for ; Sun, 30 May 2010 06:59:00 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ai4WABqpAUzKRa1aPGdsb2JhbAAHh2GWXwEBAQE1vFqFFgSDRg X-IronPort-AV: E=Sophos;i="4.53,327,1272816000"; d="scan'208";a="1014544" Received: from unknown (HELO [10.0.10.3]) ([202.69.173.90]) by avmxsmtp3.comclark.com with ESMTP; 30 May 2010 14:58:59 +0800 Message-ID: <4C020CB2.5070408@comclark.com> Date: Sun, 30 May 2010 14:58:58 +0800 From: Aiza User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Anh Ky Huynh References: <4C01F419.10100@comclark.com> <20100530053935.GG8866@dan.emsphone.com> <4C02015C.5070605@comclark.com> <20100530131730.1931dbd4@icy.localdomain> In-Reply-To: <20100530131730.1931dbd4@icy.localdomain> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "questions@freebsd.org" Subject: Re: sh script writing help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2010 06:59:01 -0000 Anh Ky Huynh wrote: > On Sun, 30 May 2010 14:10:36 +0800 > Aiza wrote: > >> Dan Nelson wrote: >>> In the last episode (May 30), Aiza said: >>>> In a .sh type script I have && exerr " very long message gt 250 >>>> char" all on the same line. This is a real pain to edit. >>>> >>>> Is there some code a can use to continue this on the next line >>>> so I can see it on the screen and still have the command >>>> function? I tried \ with no luck. >>> \ should work just fine: >>> >>> $ echo "long line \ >>> split onto two" >>> long line split onto two >>> $ >>> >> >> You example works only because the continuation starts at position >> 1. >> >> $ [ -n "${test-name-fowarding}" -o -n "${test-noname}" ] || \ >> exerr "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\ >> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" >> this is for ease of reading the code but will display with a bunch >> of spaces in the middle of the sentence. The \ works fine bypassing >> all white space between code not so for white space between the " >> ". >> >> Is there a coding method to get around this? > > Do you try to read your expression from a file? > exerr `cat /path/to/data` > > the contents of /path/to/data are your very long string. > > Regards, > Thanks I never though of that solution. From owner-freebsd-questions@FreeBSD.ORG Sun May 30 07:10:23 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E6D461065673 for ; Sun, 30 May 2010 07:10:23 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 5A8578FC16 for ; Sun, 30 May 2010 07:10:23 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o4U7AHef027710 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sun, 30 May 2010 08:10:18 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4C020F59.3050201@infracaninophile.co.uk> Date: Sun, 30 May 2010 08:10:17 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: "Alexandre L." References: <533379.74324.qm@web24819.mail.ird.yahoo.com> In-Reply-To: <533379.74324.qm@web24819.mail.ird.yahoo.com> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.96.1 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=2.0 required=5.0 tests=DKIM_ADSP_ALL,SPF_FAIL autolearn=no version=3.3.1 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Cc: Yuri , freebsd-questions Subject: Re: Re : Possible to run Linux distro in a jail? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2010 07:10:24 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 29/05/2010 22:15:37, Alexandre L. wrote: > I have this link to a French Blog : http://blog.etoilebsd.net/post/Emprisonner_une_debian_dans_un_FreeBSD > > This describe how to "jail" a Linux Debian in FreeBSD. > > I hope this will help you. I haven't used it. > Thanks to its author : Baptiste Daroussin. This is technically not Debian *Linux* at all -- it's a Debian project to merge a BSD kernel with all the GNU shlibs and the various other utilities used on Debian systems. See http://www.debian.org/ports/kfreebsd-gnu/ and http://wiki.debian.org/Debian_GNU/kFreeBSD jail(8) uses the same kernel image in the jail as in the base system. So, in general, jails have to contain pretty much the same OS as the base. There are some variations possible, like running a 32-bit world in a jail on a 64-bit box, or running alternate FreeBSD versions to the main system (takes a bit of tweaking to make work properly, but this is used by the ports build cluster for example). Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwCD1kACgkQ8Mjk52CukIwBwACfQrvrrACAdgnweqvMF1B9liC/ iW0AoIho55QX+ryuiD7PnKD4U7+QZQVf =b2qu -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Sun May 30 07:22:41 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 248A81065672 for ; Sun, 30 May 2010 07:22:41 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 60D548FC08 for ; Sun, 30 May 2010 07:22:40 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o4U7MSWd027810 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sun, 30 May 2010 08:22:28 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4C021234.3000803@infracaninophile.co.uk> Date: Sun, 30 May 2010 08:22:28 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: Aiza References: <4C01F419.10100@comclark.com> <20100530053935.GG8866@dan.emsphone.com> <4C02015C.5070605@comclark.com> <20100530131730.1931dbd4@icy.localdomain> <4C020CB2.5070408@comclark.com> In-Reply-To: <4C020CB2.5070408@comclark.com> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.96.1 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=2.0 required=5.0 tests=DKIM_ADSP_ALL,SPF_FAIL autolearn=no version=3.3.1 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Cc: Anh Ky Huynh , "questions@freebsd.org" Subject: Re: sh script writing help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2010 07:22:41 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 30/05/2010 07:58:58, Aiza wrote: > Anh Ky Huynh wrote: >> On Sun, 30 May 2010 14:10:36 +0800 >> Aiza wrote: >> >>> Dan Nelson wrote: >>>> In the last episode (May 30), Aiza said: >>>>> In a .sh type script I have && exerr " very long message gt 250 >>>>> char" all on the same line. This is a real pain to edit. >>>>> >>>>> Is there some code a can use to continue this on the next line >>>>> so I can see it on the screen and still have the command >>>>> function? I tried \ with no luck. >>>> \ should work just fine: >>>> >>>> $ echo "long line \ >>>> split onto two" >>>> long line split onto two >>>> $ >>>> >>> >>> You example works only because the continuation starts at position >>> 1. >>> >>> $ [ -n "${test-name-fowarding}" -o -n "${test-noname}" ] || \ >>> exerr "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\ >>> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" >>> this is for ease of reading the code but will display with a bunch >>> of spaces in the middle of the sentence. The \ works fine bypassing >>> all white space between code not so for white space between the " >>> ". >>> >>> Is there a coding method to get around this? >> >> Do you try to read your expression from a file? >> exerr `cat /path/to/data` >> >> the contents of /path/to/data are your very long string. A standard means of doing this sort of thing is to use a 'Here' document: if ! [ -n "${test-name-forwarding}" -o -n "${test-noname}" ]; then exerr <<-E_O_EXERR xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx E_O_EXER fi The '<<-' operator is a variant on the usual '<<' operator used for this: the only difference is that it strips leading tabs from the lines in the here document. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwCEjQACgkQ8Mjk52CukIzc7gCbBalo5oJcsw+jkXHOm4+8qU3f l2EAn30WwaSL3kTZ1iy3FGkTxQlBZ3pr =WxjG -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Sun May 30 07:43:02 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A5961065670 for ; Sun, 30 May 2010 07:43:02 +0000 (UTC) (envelope-from aiza21@comclark.com) Received: from avmxsmtp1.comclark.com (avmxsmtp1.comclark.com [202.69.191.115]) by mx1.freebsd.org (Postfix) with ESMTP id DAE598FC14 for ; Sun, 30 May 2010 07:43:01 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AscgAHSzAUzKRa1aPGdsb2JhbAAHh2GWVwEBAQE1J7w3hRYEg0Y X-IronPort-AV: E=Sophos;i="4.53,327,1272816000"; d="scan'208";a="1027864" Received: from unknown (HELO [10.0.10.3]) ([202.69.173.90]) by avmxsmtp4.comclark.com with ESMTP; 30 May 2010 15:43:00 +0800 Message-ID: <4C021703.7050300@comclark.com> Date: Sun, 30 May 2010 15:42:59 +0800 From: Aiza User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: "questions@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: command to rename a directory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2010 07:43:02 -0000 Is there a command to rename a directory in place. Like mv does for a file name. From owner-freebsd-questions@FreeBSD.ORG Sun May 30 07:51:41 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 37B321065674 for ; Sun, 30 May 2010 07:51:41 +0000 (UTC) (envelope-from kline@thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id DD00E8FC1D for ; Sun, 30 May 2010 07:51:40 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by ethic.thought.org (8.14.3/8.14.3) with ESMTP id o4U7paeS057877; Sun, 30 May 2010 00:51:36 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Sun, 30 May 2010 00:51:35 -0700 (PDT) Date: Sun, 30 May 2010 00:51:35 -0700 From: Gary Kline To: Matthew Seaman Message-ID: <20100530075135.GA9594@thought.org> References: <20100529211104.GA55411@thought.org> <4C020BDA.9070508@infracaninophile.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C020BDA.9070508@infracaninophile.co.uk> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=0.4 required=3.6 tests=ALL_TRUSTED,BAYES_00, GUARANTEED_100_PERCENT,J_CHICKENPOX_35,T_RP_MATCHES_RCVD autolearn=no version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on ethic.thought.org Cc: FreeBSD Mailing List Subject: Re: fonts qstns. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2010 07:51:41 -0000 On Sun, May 30, 2010 at 07:55:22AM +0100, Matthew Seaman wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 29/05/2010 22:11:07, Gary Kline wrote: > > guys, > > > > given the depth and wide scope of knoweldge on this list, i'm > > hoping that somebody can clue me in on font stuff... BUT: > > the fonts i'm interested in have to work with openoffice. > > Any truetype or postscript font should work with OOo. I believe OOo > will pick up whatever is available system-wide nowadays. If not, there > will be an admin app you can use to add your font to the repertoire it > knows about. Last time I used it, it vaguely recall it was called > "sadmin," but that was a long time ago now. there WAS a font-adding 'wizard' that added OO fonts; i cant find it now. google may help me. [[just is an aside, but i've always appreciated the artistic part of creating a typeface. i prefer the serif fonts --in general-- just wondering which is among the best choices for a Long book... > > Note that this controls what OOo wll display to you on-screen. You make > not get exactly the same font on a printout, depending on the make and > model of your printer. > yeah, found this out a long time ago. but here is a question for you or anyone else who may be hardware savvy. according to one fellow, the top display shows only 72dpi; that is why sans serif [like arial] render better than, say, times. does this still hold? > > first, i'm looking for a font that is apropos for long > > manscripts. printed. books rather than newspapers or other > > ink+paper material. to me, GEorgia works quite nicely for > > my book "JOURNEY." but am wondering if there is such a thing as > > a semi-bold [or darker than usual regular] typeface. > > I'm quite partial to Gentium as a well proportioned, easy to read serif > font. It's not very dark on the page though -- from a distance a sheet > of Gentium text appears noticably lighter than many other fonts. no doubt due to thinner lines in the stems and so on. my father did display signage for stores; i remember the design books. one reason i like aheavier typeface is my eyesight--MAYBE. i have discovered thst if the print is widely spaced [[increased leading]] i can read even small type easily. i don't think we evolved to read text, :-) > > > i hope you're all sitting down now; i'm ready to pay for this > > font. --hope nodybody fell over :) > > You might want to take a look at > http://www.sil.org/computing/catalog/show_software_catalog.asp?by=cat&name=Font > - -- I've already mentioned their Gentium font, but Charis SIL and Doulos > SIL looks promising too[*]. There isn't a port for either of those last > two but you can look at the type-sample PDFs. Whipping a port together > shouldn't be too much trouble. > around 1998 i did a port of enscript fonts. the best one that were free, complete [iso-5589-1] and public. maybe i can add the font to my ports. i think i upgraded it twice. the enscript methodology used to be the only way of using these fonts in my collection, but no more! thanks much, gary > Cheers, > > Matthew > > [*] These are the people to go to if you are desperate for a font based > on Sudanese camel branding marks... > gotcha. actually i'm looking for a typeface based on yak's molars; what can i say? > - -- > Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard > Flat 3 > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate > JID: matthew@infracaninophile.co.uk Kent, CT11 9PW > -----BEGIN PGP SIGNATURE----- > Version: GnuPG/MacGPG2 v2.0.14 (Darwin) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAkwCC9oACgkQ8Mjk52CukIyjGQCeLnhZWAG0GA9SA0FCPcYqGTne > nx0AoIG2Pi8O4JycOog3AcbBzSwaYit5 > =aj+c > -----END PGP SIGNATURE----- -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org 99 44/100% Guaranteed Novel From owner-freebsd-questions@FreeBSD.ORG Sun May 30 08:12:45 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29B751065672 for ; Sun, 30 May 2010 08:12:45 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr11.xs4all.nl (smtp-vbr11.xs4all.nl [194.109.24.31]) by mx1.freebsd.org (Postfix) with ESMTP id B449E8FC0A for ; Sun, 30 May 2010 08:12:44 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr11.xs4all.nl (8.13.8/8.13.8) with ESMTP id o4U8CbLN028384; Sun, 30 May 2010 10:12:39 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id 9DF2FBA9D; Sun, 30 May 2010 10:12:36 +0200 (CEST) Date: Sun, 30 May 2010 10:12:36 +0200 From: Roland Smith To: Aiza Message-ID: <20100530081236.GB343@slackbox.erewhon.net> References: <4C021703.7050300@comclark.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FkmkrVfFsRoUs1wW" Content-Disposition: inline In-Reply-To: <4C021703.7050300@comclark.com> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: "questions@freebsd.org" Subject: Re: command to rename a directory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2010 08:12:45 -0000 --FkmkrVfFsRoUs1wW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, May 30, 2010 at 03:42:59PM +0800, Aiza wrote: > Is there a command to rename a directory in place. > Like mv does for a file name. It works for directories as well. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --FkmkrVfFsRoUs1wW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwCHfQACgkQEnfvsMMhpyXSjgCeJ/CpgoSmKHWDv+RjHOvBv/GS 4ysAn2Ayip80wZwOwtTBnv0ZN9I2ubqG =t92R -----END PGP SIGNATURE----- --FkmkrVfFsRoUs1wW-- From owner-freebsd-questions@FreeBSD.ORG Sun May 30 09:18:36 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7184E1065674 for ; Sun, 30 May 2010 09:18:36 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-yw0-f176.google.com (mail-yw0-f176.google.com [209.85.211.176]) by mx1.freebsd.org (Postfix) with ESMTP id 3C9418FC17 for ; Sun, 30 May 2010 09:18:35 +0000 (UTC) Received: by ywh6 with SMTP id 6so1974956ywh.16 for ; Sun, 30 May 2010 02:18:35 -0700 (PDT) Received: by 10.231.194.196 with SMTP id dz4mr3670973ibb.66.1275211115266; Sun, 30 May 2010 02:18:35 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.148.136 with HTTP; Sun, 30 May 2010 02:18:15 -0700 (PDT) From: Eitan Adler Date: Sun, 30 May 2010 12:18:15 +0300 Message-ID: To: questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Cc: Subject: portmaster not replacing %var% in final pkg-msg X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2010 09:18:36 -0000 $cd lang/go && portmaster . ------------------------------------------------------------------ To build Go programs for FreeBSD, you'll want to set up your environment properly. The following environment variables should be set: ... GOOS=freebsd GOARCH=386 GOROOT=/usr/local/lib/go .... ===> Registering installation for go-20100413 ===> Cleaning for go-20100413 ===>>> pkg-message for go-20100413 ------------------------------------------------------------------ To build Go programs for FreeBSD, you'll want to set up your environment properly. The following environment variables should be set: GOOS=freebsd GOARCH=%%ARCH%% GOROOT=%%PREFIX%%/lib/go To build Go programs, you may include %%PREFIX%%/share/go/Make.pkg or %%PREFIX%%/share/go/Make.cmd in your build infrastructure (note: this requires gmake). Your compiler is %%GOOBJ%%g and your linker is %%GOOBJ%%l. .... ===>>> Installation of lang/go (go-20100413) complete -- Eitan Adler From owner-freebsd-questions@FreeBSD.ORG Sun May 30 11:10:47 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DEE6F106564A for ; Sun, 30 May 2010 11:10:47 +0000 (UTC) (envelope-from vince@unsane.co.uk) Received: from unsane.co.uk (unsane-pt.tunnel.tserv5.lon1.ipv6.he.net [IPv6:2001:470:1f08:110::2]) by mx1.freebsd.org (Postfix) with ESMTP id 1BFFB8FC1D for ; Sun, 30 May 2010 11:10:46 +0000 (UTC) Received: from vhoffman-macbook.local ([10.0.0.173]) (authenticated bits=0) by unsane.co.uk (8.14.4/8.14.4) with ESMTP id o4UBAixR094905 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Sun, 30 May 2010 12:10:44 +0100 (BST) (envelope-from vince@unsane.co.uk) Message-ID: <4C0247B4.7010708@unsane.co.uk> Date: Sun, 30 May 2010 12:10:44 +0100 From: Vincent Hoffman User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <533379.74324.qm@web24819.mail.ird.yahoo.com> <4C020F59.3050201@infracaninophile.co.uk> In-Reply-To: <4C020F59.3050201@infracaninophile.co.uk> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: Re : Possible to run Linux distro in a jail? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2010 11:10:47 -0000 On 30/05/2010 08:10, Matthew Seaman wrote: > On 29/05/2010 22:15:37, Alexandre L. wrote: > > I have this link to a French Blog : > http://blog.etoilebsd.net/post/Emprisonner_une_debian_dans_un_FreeBSD > > > This describe how to "jail" a Linux Debian in FreeBSD. > > > I hope this will help you. I haven't used it. > > Thanks to its author : Baptiste Daroussin. > > This is technically not Debian *Linux* at all -- it's a Debian project > to merge a BSD kernel with all the GNU shlibs and the various other > utilities used on Debian systems. See > http://www.debian.org/ports/kfreebsd-gnu/ and > http://wiki.debian.org/Debian_GNU/kFreeBSD Actually my reading of it is a linux userland running under linux compatibility mode as a jail. So no not linux but not quite kFreeBSD either. Vince > > jail(8) uses the same kernel image in the jail as in the base system. > So, in general, jails have to contain pretty much the same OS as the > base. There are some variations possible, like running a 32-bit world > in a jail on a 64-bit box, or running alternate FreeBSD versions to the > main system (takes a bit of tweaking to make work properly, but this is > used by the ports build cluster for example). > > Cheers, > > Matthew > _______________________________________________ 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 Sun May 30 11:26:33 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 897471065674 for ; Sun, 30 May 2010 11:26:33 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 4A03B8FC16 for ; Sun, 30 May 2010 11:26:33 +0000 (UTC) Received: from r55.edvax.de (port-92-195-249-33.dynamic.qsc.de [92.195.249.33]) by mx01.qsc.de (Postfix) with ESMTP id 810483DEA0; Sun, 30 May 2010 13:26:16 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o4UBQDFL001507; Sun, 30 May 2010 13:26:13 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 30 May 2010 13:26:13 +0200 From: Polytropon To: Fbsd1 Message-Id: <20100530132613.797da749.freebsd@edvax.de> In-Reply-To: <4C01DD3F.3040000@a1poweruser.com> References: <4C01DD3F.3040000@a1poweruser.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "questions@freebsd.org" Subject: Re: text editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2010 11:26:33 -0000 On Sun, 30 May 2010 11:36:31 +0800, Fbsd1 wrote: > Been using ee and been happy. > > Now I have need for an editor with block commands. > Put dd on the first line of sequence number you want to start deleting and dd on the > last line of the block and hit enter and the block of lines are deleted. > OR > Put cc on first line and cc on last line of black to copy and enter "I" on line where > you want the copied block to be inserted after. > Also same for mm meaning move block. > > Is there any editors with a function like this? Hmmm... block commands are a big strength of joe (Joe's own editor). Start block with ^KB, end block with ^KK. Blocks can be copied with ^KC, moved with ^KM and deleted with ^KY. ^KH and "man joe" for more details. Another solution is mcedit, the editor that comes with the Midnight Commander. Press PF3 on block start, move to block end, press PF3, the block will be selected. Press PF8 to delete it. And a third suggestion: the (The Hessling Editor), a very powerful editor, allthough "a bit strange" to learn. If you already have an ISPF/PDF background, this editor will be for you. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun May 30 14:11:45 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D680B106566C for ; Sun, 30 May 2010 14:11:45 +0000 (UTC) (envelope-from fbsd1@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id C26DB8FC16 for ; Sun, 30 May 2010 14:11:45 +0000 (UTC) Received: from [10.0.10.3] ([202.69.173.90]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 30 May 2010 07:11:45 -0700 Message-ID: <4C02721C.4040503@a1poweruser.com> Date: Sun, 30 May 2010 22:11:40 +0800 From: Fbsd1 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Polytropon References: <4C01DD3F.3040000@a1poweruser.com> <20100530132613.797da749.freebsd@edvax.de> In-Reply-To: <20100530132613.797da749.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 30 May 2010 14:11:45.0831 (UTC) FILETIME=[096DB370:01CB0002] X-Sender: fbsd1@a1poweruser.com Cc: "questions@freebsd.org" Subject: Re: text editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2010 14:11:45 -0000 Polytropon wrote: > On Sun, 30 May 2010 11:36:31 +0800, Fbsd1 wrote: >> Been using ee and been happy. >> >> Now I have need for an editor with block commands. >> Put dd on the first line of sequence number you want to start deleting and dd on the >> last line of the block and hit enter and the block of lines are deleted. >> OR >> Put cc on first line and cc on last line of black to copy and enter "I" on line where >> you want the copied block to be inserted after. >> Also same for mm meaning move block. >> >> Is there any editors with a function like this? > > Hmmm... block commands are a big strength of joe (Joe's own > editor). Start block with ^KB, end block with ^KK. Blocks > can be copied with ^KC, moved with ^KM and deleted with > ^KY. ^KH and "man joe" for more details. > > Another solution is mcedit, the editor that comes with the > Midnight Commander. Press PF3 on block start, move to block > end, press PF3, the block will be selected. Press PF8 to > delete it. > > And a third suggestion: the (The Hessling Editor), a very > powerful editor, allthough "a bit strange" to learn. If > you already have an ISPF/PDF background, this editor will > be for you. > > > I installed pkg_add -r the entering "the" on the command line produces something that is far removed from ispf/pdf. manpage and website documentation for "the" really sucks. Think I need to create a default profile that activates ispf but have found no instructions on how to do it. Can not find "the" profile on my system. more help please. From owner-freebsd-questions@FreeBSD.ORG Sun May 30 14:40:24 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E749D106564A for ; Sun, 30 May 2010 14:40:24 +0000 (UTC) (envelope-from yury.michurin@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7DF9C8FC15 for ; Sun, 30 May 2010 14:40:24 +0000 (UTC) Received: by wyf19 with SMTP id 19so31206wyf.13 for ; Sun, 30 May 2010 07:40:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=1q1r0LoepP8v02uUv+ja3zUDqZfr7LF40gDg7dDgUY0=; b=XOdxdjqeKfRUVsQ+7m3y/Oo66snC/X07QGNok+BbOqJm55K4mPwE3mh2qzJtq1/dAC vT7CpfAenllcaP2bqBUwr/jvMDpH3byL6LjqH8tn0sgWJUB5UXNtLI4O9n9gXk+Df8J9 sAcme3mRiROHJNEfcLforqFCd63OtQNKFN1lM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=fDq5JcadaMTNquHWKQ5xBbxAySL4ALbGCG2tbjBS7w79o1o+L6BhaISgONTrLFAaav 5/FA5KIqQlX4AMUdbYocUcl0524YuaX/L2H9oI0v7bv9MV7Cz/hjVCJa05YQEFh2yOOB Ai5uIPwHcYK5lC7X+oC0Pfd93IOfjflYU0PpU= MIME-Version: 1.0 Received: by 10.216.161.131 with SMTP id w3mr3394172wek.109.1275230423290; Sun, 30 May 2010 07:40:23 -0700 (PDT) Received: by 10.216.37.140 with HTTP; Sun, 30 May 2010 07:40:23 -0700 (PDT) In-Reply-To: <20100526013712.GA67116@chanas.pair.com> References: <20100526013712.GA67116@chanas.pair.com> Date: Sun, 30 May 2010 17:40:23 +0300 Message-ID: From: Yury Michurin To: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Wireless cards X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2010 14:40:25 -0000 Hi, I'm using D-Link DWA-547 for a couple of months now in hostap mode and it seems to work grate. It's a PCI card with atheros chipset. Yury. On Wed, May 26, 2010 at 4:37 AM, J. Altman wrote: > Greetings... > > uname -a > FreeBSD whisperer.chthonixia.net 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 > #0: Sat May 15 11:47:55 EDT 2010 > root@whisperer.chthonixia.net:/usr/obj/usr/src/sys/WHISPERER amd64 > > My Netgear WG311T, with an Atheros chipset, seems to be at its > end. The box is about thirty feet from the WAP, almost directly in > line through an open door: > > --- 192.168.1.1 ping statistics --- > 27 packets transmitted, 21 packets received, 22.2% packet loss > round-trip min/avg/max/stddev = 1.811/9.526/35.551/8.051 ms > > I see this: > > dmesg | grep "wlan0: link state changed to" | wc > 9 54 296 > > Where "up" or "down" follows "to" for a box with this uptime: up 2:04 > > Over several days, this can occur hundreds of times; and often, > ifconfig shows this: DS/1 Mbps or similar; then it will bounce back to > OFDM; bounce around between OFDM bandwidths: then eventually fall to > DS. This is suboptimal. > > So: what are people using these days? The WG311T is old. I've had no > luck looking for a modern card using an Atheros chip. I don't care who > makes it; whether it's Atheros or not; nor if it is PCI or PCI-X. I > just want it to work. > > Thanks for any recommendations; and best regards, > > Joe > > > _______________________________________________ > 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 Sun May 30 15:05:28 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 77D6E106564A for ; Sun, 30 May 2010 15:05:28 +0000 (UTC) (envelope-from alexander.friedman.mail@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.154]) by mx1.freebsd.org (Postfix) with ESMTP id 0A97E8FC0C for ; Sun, 30 May 2010 15:05:27 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id d23so296960fga.13 for ; Sun, 30 May 2010 08:05:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=zUd7e5OnSMooxrzgRinc0dsb8Iuvyf9pETWqZwdfF2c=; b=NK85qsw38BJuJn9VcPffqaIJ06IWH+dB0lfxKXmBGTr73dPLoVv4XTcivE4C1wzeUJ SQLLFHLNUiKZ/M4aFQEEuVcTGseHKwhjl351Je71FIL8+v/WHPBzV4B4yNWhnT3vvDKj NgV+g9QX6O+reJuUOslqyFpVVM0oGD5xRZJdU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=FSJaS5s6e3sZrmlICHU87y8IWM5DJuboGZSkt7yOhXZ0eRCuG7PDrV491hOSsjZLNZ GMkU43Uh8HAzPVMUHL5n2gQzQBD6DNWA/enbV3wr7JrfhYtAqUpsvysdmVgm2zNppd4J KxIHSqNimabVfnqW4mtVkRyAtXOgF230SbmGg= MIME-Version: 1.0 Received: by 10.239.189.145 with SMTP id t17mr271056hbh.81.1275230513956; Sun, 30 May 2010 07:41:53 -0700 (PDT) Received: by 10.239.189.65 with HTTP; Sun, 30 May 2010 07:41:53 -0700 (PDT) Date: Sun, 30 May 2010 17:41:53 +0300 Message-ID: From: Alexander Friedman To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Advertising X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2010 15:05:28 -0000 Hello, My name is Alexander Friedman and I'm interested in buying advertisement on your blog. I'm currently interested in buying banners and text links. Please provide me with all available sizes and options. Thanks, Alexander Friedman From owner-freebsd-questions@FreeBSD.ORG Sun May 30 15:21:18 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F2EA01065678 for ; Sun, 30 May 2010 15:21:18 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from fep11.mx.upcmail.net (fep11.mx.upcmail.net [62.179.121.31]) by mx1.freebsd.org (Postfix) with ESMTP id 26D7F8FC13 for ; Sun, 30 May 2010 15:21:17 +0000 (UTC) Received: from edge05.upcmail.net ([192.168.13.212]) by viefep11-int.chello.at (InterMail vM.8.01.02.02 201-2260-120-106-20100312) with ESMTP id <20100530152115.KHTH4509.viefep11-int.chello.at@edge05.upcmail.net>; Sun, 30 May 2010 17:21:15 +0200 Received: from [192.168.0.101] ([89.132.77.46]) by edge05.upcmail.net with edge id PrMD1e01e0zwShV05rMER8; Sun, 30 May 2010 17:21:15 +0200 X-SourceIP: 89.132.77.46 Message-ID: <4C028270.5030900@shopzeus.com> Date: Sun, 30 May 2010 17:21:20 +0200 From: Laszlo Nagy User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; hu; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: Matthias Fechner , questions@freebsd.org References: <4BFFAC35.2040503@shopzeus.com> <4BFFDCC4.5080408@fechner.net> <4C00099D.6070005@shopzeus.com> In-Reply-To: <4C00099D.6070005@shopzeus.com> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Cloudmark-Analysis: v=1.1 cv=jiVRHdtUHQAy7bptafywayBW+6flB1IkYOkYMoG72+w= c=1 sm=0 a=wbKXeunVgZ0A:10 a=-CRmgG0JhlAA:10 a=DBbz17L6xUFkf39BSfMA:9 a=dUPVJ8bTDxgKwV5dkLAA:7 a=-jdV0FP6mB8z0ZiSDRZ-i5STA-QA:4 a=jiObf9B0YAUA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Cc: Subject: Re: cron not sending emails X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2010 15:21:19 -0000 If I put this into root's crontab >>> >>> * * * * * echo "TEST" >> >> a quick guess, you have a line like: >> MAILTO="address" >> > It doesn't work. With, or without the MAILTO. Just for completeness, > I have used this: > > MAILTO=gandalf > > The "gandalf" user is a local user on the system. I can send local > mail to this user using the "sendmail" postfix program (checked twice). Cron is still not sending emails. Any idea? Thanks Laszlo From owner-freebsd-questions@FreeBSD.ORG Sun May 30 16:24:52 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6CF68106566C for ; Sun, 30 May 2010 16:24:52 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (ns2.r-bonomi.com [204.87.227.129]) by mx1.freebsd.org (Postfix) with ESMTP id 27C3A8FC0C for ; Sun, 30 May 2010 16:24:51 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.3/rdb1) id o4UGOS9Q022239 for questions@freebsd.org; Sun, 30 May 2010 11:24:28 -0500 (CDT) Date: Sun, 30 May 2010 11:24:28 -0500 (CDT) From: Robert Bonomi Message-Id: <201005301624.o4UGOS9Q022239@mail.r-bonomi.com> To: questions@freebsd.org Cc: Subject: Re: command to rename a directory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2010 16:24:52 -0000 > From owner-freebsd-questions@freebsd.org Sun May 30 02:43:14 2010 > Date: Sun, 30 May 2010 15:42:59 +0800 > From: Aiza > To: "questions@freebsd.org" > Cc: > Subject: command to rename a directory > > Is there a command to rename a directory in place. > Like mv does for a file name. like 'mv', maybe? *grin* to wit: $ mkdir foo $ ls -ld foo* drwxrwxr-x 2 bonomi user 512 May 30 11:21 foo $ mv foo foo2 $ ls -ld foo* drwxrwxr-x 2 bonomi user 512 May 30 11:21 foo2 From owner-freebsd-questions@FreeBSD.ORG Sun May 30 16:38:45 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2BC61065678 for ; Sun, 30 May 2010 16:38:45 +0000 (UTC) (envelope-from freebsd.user@seibercom.net) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7E05F8FC13 for ; Sun, 30 May 2010 16:38:45 +0000 (UTC) Received: by vws10 with SMTP id 10so153065vws.13 for ; Sun, 30 May 2010 09:38:44 -0700 (PDT) Received: by 10.220.121.148 with SMTP id h20mr2553828vcr.14.1275237524505; Sun, 30 May 2010 09:38:44 -0700 (PDT) Received: from scorpio.seibercom.net (c-67-189-160-65.hsd1.ny.comcast.net [67.189.160.65]) by mx.google.com with ESMTPS id z22sm20602917vco.22.2010.05.30.09.38.42 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 30 May 2010 09:38:43 -0700 (PDT) Received: from scorpio (zeus [192.168.1.1]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: FreeBSD.user@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3C614E54856 for ; Sun, 30 May 2010 12:38:41 -0400 (EDT) Date: Sun, 30 May 2010 12:38:40 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20100530123840.07105934@scorpio> In-Reply-To: <4C028270.5030900@shopzeus.com> References: <4BFFAC35.2040503@shopzeus.com> <4BFFDCC4.5080408@fechner.net> <4C00099D.6070005@shopzeus.com> <4C028270.5030900@shopzeus.com> Organization: seibercom.net X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; amd64-portbld-freebsd8.0) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAG1BMVEX3/uPVnZf2/v9ejGkqHB74++H///+cHCT3m6cgqYvfAAACbElEQVQ4jWXTQW/bIBQAYJLJuRMn8TVCss9zTdrrXJ6bHe1Ej/bossF9EpJ3nbapf3sP8JxOQ4qV8OU9HvjBROWcYNlKHtxlQ1/huBaOBiMwQtgHhbokMLIT76Acps5hvy61+6WsjkCZzNEW0+fcQ7Nl5uoPCegjjjhN5/MEABd89k9hXkQoX6cwPIDKCt8tYG5wpmdrxAyuolTPqpiVoEpVCWvl6e00RAD4JBJQnO4lvv0O4Cnd3WUGevYNFohxFYAy7jCCtW39LaQK8BgDAgiHVinVJlCiFKlcqgEHfwb1EuG+DwFGMO3oCIuJIEYoa8KJECBB+UBldgm0MQmEGz7GQr8XYRPKzYNO1zZ8mgdAu4BG5Ke/4KFboM8458UScViAAvYD93OAsu+Bc3zxCU7ZAjT74+dQv9K7oO0d1wuscop48Pc50O5bcVwgGzh/mXzaizJuAWERh8k3eaxKmxu4kV1p2XOEg3i3c8M+EKR93P0D1KATpC55vMHaGqFf5f/AwhlrhHgg8DTezopt6I3o3Qx4q4q6YaPxK8RxcClXeFGhTTS++QR6TS/oBs7l4WhzuNMubZG6hIBkF4qqZVdWczIqSrjKVF/i4o26IP2oElBGFy5CXKSnf6UWDTC6zKSqoAvzsakjjBvdzLKnmxdhY8eRsX7VSCUBdgD1hVJpx6y2OOS1DNDILYmqdWUJ+oHvd0rRvAqX5kpxQMR6yxHzPV6VlPFyWE7LKc36keNQI64gLP8Ybgtmg+zYuBl4fuI8VqW2RqDGE8Uzu7GxGa803whDdxx3bSZbRhfQUSxvmnpLZWpRFqHz7v8AvsBe0S1zv9UAAAAASUVORK5CYII= Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: cron not sending emails X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 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: Sun, 30 May 2010 16:38:45 -0000 On Sun, 30 May 2010 17:21:20 +0200 Laszlo Nagy articulated: > Cron is still not sending emails. Any idea? Is there any output in the 'maillog' log? -- Jerry FreeBSD.user@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From owner-freebsd-questions@FreeBSD.ORG Sun May 30 17:11:14 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5E112106564A for ; Sun, 30 May 2010 17:11:14 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.159]) by mx1.freebsd.org (Postfix) with ESMTP id E13808FC16 for ; Sun, 30 May 2010 17:11:13 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id d23so819228fga.13 for ; Sun, 30 May 2010 10:11:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:reply-to :in-reply-to:references:from:date:message-id:subject:to:cc :content-type; bh=VJNx18Z1jNWghgQPYmndY1BY8YTZBhUWNfE6gwVREDY=; b=Sm1Kc4aWC6qOC3xYHBpRIaIo5oUHsmMABoDovV5GLs7bYBMmKAS86YCstxXJ4imCH4 spB438+tRqopT3+8RUAi6wBBm/AwsmYxzkUMWW2Q/LgaTAI7tcmrwBPV+bafno71XHTn tqsYNASQYE3sMxtOMZKdiMqQ8DJzYXQRWdBwM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; b=xZtWN5BwSV8Zc3N0u7lDl4/H2LwtO368UHaDv05YsYAeNscfLoHMK3l6wqaPXg1moc LJiJ+jBpWeDs5BPP+j64aRM94wO4LTmYUo1uvb4k5IUe7sFRWo6g6NwMORWPwzCu8hjx XhDcbt/lyK+2/cCHhajEk3vtuUJr2HF4evy88= Received: by 10.102.211.40 with SMTP id j40mr1219319mug.69.1275238051260; Sun, 30 May 2010 09:47:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.61.68 with HTTP; Sun, 30 May 2010 09:47:01 -0700 (PDT) In-Reply-To: References: From: Chris Rees Date: Sun, 30 May 2010 17:47:01 +0100 Message-ID: To: Alexander Friedman Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Advertising X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: utisoft@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2010 17:11:14 -0000 On 30 May 2010 15:41, Alexander Friedman wrote: > Hello, > > My name is Alexander Friedman and I'm interested in buying advertisement on > your blog. > > I'm currently interested in buying banners and text links. > > Please provide me with all available sizes and options. > *Everything* you need to know is here. http://www.freebsdfoundation.org/donate/sponsors.shtml Thanks, Chris From owner-freebsd-questions@FreeBSD.ORG Sun May 30 18:32:26 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C541F106566C for ; Sun, 30 May 2010 18:32:26 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 21A448FC14 for ; Sun, 30 May 2010 18:32:25 +0000 (UTC) X-Spam-Status: No X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-0.2, required 5, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_50 0.80) X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-ID: o4UIW7qD015957 Received: from kobe.laptop (77.49.120.100.dsl.dyn.forthnet.gr [77.49.120.100]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-9.1) with ESMTP id o4UIW7qD015957 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 30 May 2010 21:32:13 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.4/8.14.4) with ESMTP id o4UIW1hW059126 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 30 May 2010 21:32:01 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.4/8.14.4/Submit) id o4UIVxuk059069; Sun, 30 May 2010 21:31:59 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: fbsd1@a1poweruser.com References: <4C01DD3F.3040000@a1poweruser.com> Date: Sun, 30 May 2010 21:31:59 +0300 In-Reply-To: <4C01DD3F.3040000@a1poweruser.com> (fbsd1@a1poweruser.com's message of "Sun, 30 May 2010 11:36:31 +0800") Message-ID: <871vct44ww.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: text editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2010 18:32:26 -0000 On Sun, 30 May 2010 11:36:31 +0800, Fbsd1 wrote: > Been using ee and been happy. > > Now I have need for an editor with block commands. > > Put dd on the first line of sequence number you want to start deleting > and dd on the last line of the block and hit enter and the block of > lines are deleted. > > OR > > Put cc on first line and cc on last line of black to copy and enter > "I" on line where you want the copied block to be inserted after. > > Also same for mm meaning move block. > > Is there any editors with a function like this? If you don't mind the size of the respective packages, both VIM and GNU Emacs have support for many features that ee(1) lacks. editors/vim-lite has visual block-editing and rectangle-editing modes. It includes support for multiple open buffers, split windows, and many more nice features. editors/emacs has support for many selection modes, including support for block-editing, rectangle-editing, a virtually unlimited number of 'cut buffers' (they are called 'registers' in Emacs terminology), and a literally mind-bending number of extra features. I use both editors on a regular basis. Most of the ASCII art I've posted in this mailing list and other open source mailing lists has been created using Vim or Emacs. From owner-freebsd-questions@FreeBSD.ORG Sun May 30 18:35:39 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 03B491065672 for ; Sun, 30 May 2010 18:35:39 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 70C4E8FC15 for ; Sun, 30 May 2010 18:35:37 +0000 (UTC) X-Spam-Status: No X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-0.2, required 5, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_50 0.80) X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-ID: o4UIZEVD016192 Received: from kobe.laptop (77.49.120.100.dsl.dyn.forthnet.gr [77.49.120.100]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-9.1) with ESMTP id o4UIZEVD016192 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 30 May 2010 21:35:21 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.4/8.14.4) with ESMTP id o4UIZ952062379 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 30 May 2010 21:35:09 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.4/8.14.4/Submit) id o4UIZ7m5062347; Sun, 30 May 2010 21:35:07 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: Aiza References: <4C01F419.10100@comclark.com> Date: Sun, 30 May 2010 21:35:07 +0300 In-Reply-To: <4C01F419.10100@comclark.com> (Aiza's message of "Sun, 30 May 2010 13:14:01 +0800") Message-ID: <87wrul2q78.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "questions@freebsd.org" Subject: Re: sh script writing help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2010 18:35:39 -0000 On Sun, 30 May 2010 13:14:01 +0800, Aiza wrote: > In a .sh type script I have && exerr " very long message gt 250 char" > all on the same line. This is a real pain to edit. > > Is there some code a can use to continue this on the next line so I > can see it on the screen and still have the command function? I tried > \ with no luck. If the message does not have to be a *single* command-line argument of the exerr function, you can split the message in multiple arguments and use '\' for continuation lines, e.g.: echo "This is a very long message" \ "that does not fit in a single" \ "line of text." This might not work if you _have_ to pass the string as a single argument, but even in that case you can use shell substitution to wrap the exerr() function, e.g.: exwrap() { return exerr "$*" } exwrap "This is a very long message" \ "that does not fit in a single" \ "line of text." From owner-freebsd-questions@FreeBSD.ORG Sun May 30 18:46:38 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 581D41065672 for ; Sun, 30 May 2010 18:46:38 +0000 (UTC) (envelope-from zenzee@xs4all.nl) Received: from smtp-vbr7.xs4all.nl (smtp-vbr7.xs4all.nl [194.109.24.27]) by mx1.freebsd.org (Postfix) with ESMTP id DDBEE8FC0A for ; Sun, 30 May 2010 18:46:37 +0000 (UTC) Received: from xs2.xs4all.nl (xs2.xs4all.nl [194.109.21.3]) by smtp-vbr7.xs4all.nl (8.13.8/8.13.8) with ESMTP id o4UIkZdj046898 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 30 May 2010 20:46:36 +0200 (CEST) (envelope-from zenzee@xs4all.nl) Received: from xs2.xs4all.nl (zenzee@localhost [127.0.0.1]) by xs2.xs4all.nl (8.13.6/8.13.6) with ESMTP id o4UIkZXF036972 for ; Sun, 30 May 2010 20:46:35 +0200 (CEST) (envelope-from zenzee@xs4all.nl) Received: (from zenzee@localhost) by xs2.xs4all.nl (8.13.6/8.13.6/Submit) id o4UIkU8o036968 for freebsd-questions@freebsd.org; Sun, 30 May 2010 20:46:30 +0200 (CEST) (envelope-from zenzee) Date: Sun, 30 May 2010 20:46:30 +0200 From: Vincent Zee To: freebsd-questions Message-ID: <20100530184630.GA36727@xs4all.nl> Mail-Followup-To: freebsd-questions Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: by XS4ALL Virus Scanner Subject: upgrading squeezeboxserver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2010 18:46:38 -0000 Hi, I recently upgraded to the newest version of audio/squeezeboxserver. After the update the server is unable to rescan my music collection. Does anyone else encountered this problem? How can I revert to the previous version of squeezeboxserver (I'm using Portmaster to upgrade my ports)? TIA /\ Vincent From owner-freebsd-questions@FreeBSD.ORG Sun May 30 18:50:48 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B63631065672 for ; Sun, 30 May 2010 18:50:48 +0000 (UTC) (envelope-from yavuz.maslak@netiletisim.net) Received: from mailhub.ihlas.net.tr (mailhub.ihlas.net.tr [213.238.128.250]) by mx1.freebsd.org (Postfix) with ESMTP id 00C9F8FC15 for ; Sun, 30 May 2010 18:50:47 +0000 (UTC) Received: (qmail 89675 invoked from network); 30 May 2010 18:24:04 -0000 Received: from ihlasnetym (HELO desktop2002) (213.238.150.220) by 0 with ESMTP; 30 May 2010 18:24:04 -0000 Message-ID: <45479D69A88E48C5843EE70D204157D0@desktop2002> From: =?iso-8859-9?Q?Yavuz_Ma=FElak?= To: Date: Sun, 30 May 2010 20:26:56 +0300 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 14.0.8089.726 X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8089.726 Content-Type: text/plain; charset="iso-8859-9" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: I can't install php5-mhash from ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2010 18:50:48 -0000 I use freebsd7.3 . I ran portsnap update . I can't install php5-mhash from ports cd /usr/ports/security/php5-mhash # make =3D=3D=3D> Vulnerability check disabled, database not found =3D=3D=3D> License check disabled, port has not defined LICENSE =3D=3D=3D> Extracting for php5-mhash-5.3.2 =3D> MD5 Checksum OK for php-5.3.2.tar.bz2. =3D> SHA256 Checksum OK for php-5.3.2.tar.bz2. tar: php-5.3.2/ext/mhash: Not found in archive tar: Error exit delayed from previous errors. *** Error code 1 Stop in /usr/ports/security/php5-mhash. There is no mhash directory in php-5.3.2 From owner-freebsd-questions@FreeBSD.ORG Sun May 30 18:51:33 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A38F71065670 for ; Sun, 30 May 2010 18:51:33 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 6E6098FC1E for ; Sun, 30 May 2010 18:51:33 +0000 (UTC) Received: by gwj23 with SMTP id 23so2346102gwj.13 for ; Sun, 30 May 2010 11:51:32 -0700 (PDT) Received: by 10.231.147.18 with SMTP id j18mr4446427ibv.12.1275245492454; Sun, 30 May 2010 11:51:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.148.201 with HTTP; Sun, 30 May 2010 11:51:11 -0700 (PDT) From: Eitan Adler Date: Sun, 30 May 2010 21:51:11 +0300 Message-ID: To: FreeBSD Mailing List Content-Type: text/plain; charset=UTF-8 Subject: what would take to allow binary upgrade to amd64? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2010 18:51:33 -0000 I know that attempting to change from i386 to amd64 is is not possible using freebsd-update and difficult using source. Why is this? Would it require a significant amount of work to allow such transitions? -- Eitan Adler From owner-freebsd-questions@FreeBSD.ORG Sun May 30 19:29:07 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2DE31065673 for ; Sun, 30 May 2010 19:29:07 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 69AE08FC0A for ; Sun, 30 May 2010 19:29:07 +0000 (UTC) Received: from [88.217.55.75] (helo=current.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1OIlC2-0002Od-Sw; Sun, 30 May 2010 18:16:55 +0200 Received: from current.Sisis.de (current [127.0.0.1]) by current.Sisis.de (8.14.3/8.14.3) with ESMTP id o4UGGr7L004467; Sun, 30 May 2010 18:16:53 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by current.Sisis.de (8.14.3/8.14.3/Submit) id o4UGGqs1004466; Sun, 30 May 2010 18:16:52 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: current.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Sun, 30 May 2010 18:16:52 +0200 From: Matthias Apitz To: Laszlo Nagy Message-ID: <20100530161652.GA4423@current.Sisis.de> References: <4BFFAC35.2040503@shopzeus.com> <4BFFDCC4.5080408@fechner.net> <4C00099D.6070005@shopzeus.com> <4C028270.5030900@shopzeus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4C028270.5030900@shopzeus.com> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 8.0-CURRENT (i386) X-Con-Id: 51246 X-Originating-IP: 88.217.55.75 Cc: questions@freebsd.org Subject: Re: cron not sending emails X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2010 19:29:07 -0000 El día Sunday, May 30, 2010 a las 05:21:20PM +0200, Laszlo Nagy escribió: > If I put this into root's crontab > >>> > >>>* * * * * echo "TEST" > >> > >>a quick guess, you have a line like: > >>MAILTO="address" > >> > >It doesn't work. With, or without the MAILTO. Just for completeness, > >I have used this: > > > >MAILTO=gandalf > > > >The "gandalf" user is a local user on the system. I can send local > >mail to this user using the "sendmail" postfix program (checked twice). > Cron is still not sending emails. Any idea? Yes, check the log of cron (/var/log/cron) if you job is run at all; if so check the log of mails (/var/log/maillog). Btw: what is the purpose of putting TEST into ""? matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ ¡Ya basta! ¡Tropas de OTAN, fuera de Afghanistan! There's an end of it! NATO troups out of Afghanistan! Schluss jetzt endlich! NATO raus aus Afghanistan! From owner-freebsd-questions@FreeBSD.ORG Sun May 30 19:31:24 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 49FCA1065679 for ; Sun, 30 May 2010 19:31:24 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 03E928FC08 for ; Sun, 30 May 2010 19:31:23 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OIoEE-0007rk-P6 for freebsd-questions@freebsd.org; Sun, 30 May 2010 21:31:22 +0200 Received: from pool-71-166-135-247.washdc.east.verizon.net ([71.166.135.247]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 30 May 2010 21:31:22 +0200 Received: from nightrecon by pool-71-166-135-247.washdc.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 30 May 2010 21:31:22 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org connect(): No such file or directory From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Sun, 30 May 2010 15:31:19 -0400 Lines: 28 Message-ID: References: <45479D69A88E48C5843EE70D204157D0@desktop2002> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pool-71-166-135-247.washdc.east.verizon.net Subject: Re: I can't install php5-mhash from ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2010 19:31:24 -0000 Yavuz MaÅŸlak wrote: > I use freebsd7.3 . I ran portsnap update . > > I can't install php5-mhash from ports > cd /usr/ports/security/php5-mhash > # make > ===> Vulnerability check disabled, database not found > ===> License check disabled, port has not defined LICENSE > ===> Extracting for php5-mhash-5.3.2 > => MD5 Checksum OK for php-5.3.2.tar.bz2. > => SHA256 Checksum OK for php-5.3.2.tar.bz2. > tar: php-5.3.2/ext/mhash: Not found in archive > tar: Error exit delayed from previous errors. > *** Error code 1 > > Stop in /usr/ports/security/php5-mhash. > > There is no mhash directory in php-5.3.2 Have you read /usr/ports/UPDATING? Particularly section 20100409: Can't answer to possibility of the portsnap update being stale; I use csup along with portsdb -uF && pkgdb -u for tree/index refresh. -Mike From owner-freebsd-questions@FreeBSD.ORG Sun May 30 19:44:48 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 33961106566C for ; Sun, 30 May 2010 19:44:48 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-ww0-f54.google.com (mail-ww0-f54.google.com [74.125.82.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9C8E68FC0A for ; Sun, 30 May 2010 19:44:46 +0000 (UTC) Received: by wwb34 with SMTP id 34so1624927wwb.13 for ; Sun, 30 May 2010 12:44:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=ZjPhBKTnoXmpiJxJWQIb7i+U/hiuW9urZ522pSahEHo=; b=BBDgR/xBe1x76kkBmIV7wMW9PV6kO8EEz1W6ySg7z9ltwTnSvcs8iOeDetD7qstSPa aHafYFjwue9RpgS/kx8wq1Myayp3a+oESCnSfy050XY0pjWmaZq8PhT1BEeLCTwXjsg4 qv5r/jHkV6NzKLmX87egpyuLkPWSdMoTj8iJI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=e2zzG8loUU+/u3qWPmXEUcIJ5gHUBh+mbBGthbGX3A5mSiK5ZYDqIGr/b8blHovoCk XH7wkik/3LB5CSSsZEkHtHDLtWrSk+g2Oicr5WLl1fRzI6FJ6sfM77MkZlf8qLYmGqcf I8Hv7dk1qr1cVarUF8wn/oZI6bSiDy/t3JeFQ= Received: by 10.227.129.10 with SMTP id m10mr3283863wbs.132.1275248682104; Sun, 30 May 2010 12:44:42 -0700 (PDT) Received: from Melon.malikania.fr (123.21.102-84.rev.gaoland.net [84.102.21.123]) by mx.google.com with ESMTPS id u36sm35042833wbv.18.2010.05.30.12.44.40 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 30 May 2010 12:44:41 -0700 (PDT) Date: Sun, 30 May 2010 21:44:01 +0200 From: Demelier David To: Eitan Adler Message-ID: <20100530194401.GA12756@Melon.malikania.fr> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: FreeBSD Mailing List Subject: Re: what would take to allow binary upgrade to amd64? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2010 19:44:48 -0000 On Sun, May 30, 2010 at 09:51:11PM +0300, Eitan Adler wrote: > I know that attempting to change from i386 to amd64 is is not possible > using freebsd-update and difficult using source. > Why is this? Would it require a significant amount of work to allow > such transitions? While the system is running we won't be able to do this. Because you canno't overwrite file with a different architecture if you are running on it ! It will work for a couple of minutes and then you should get something like "exec format error" and your system will be completely broken. Maybe this can be possible with a other OS in livecd. -- Demelier David From owner-freebsd-questions@FreeBSD.ORG Sun May 30 19:52:25 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D3CF6106566C for ; Sun, 30 May 2010 19:52:25 +0000 (UTC) (envelope-from rfarmer@predatorlabs.net) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9B7748FC14 for ; Sun, 30 May 2010 19:52:25 +0000 (UTC) Received: by gwj23 with SMTP id 23so2372258gwj.13 for ; Sun, 30 May 2010 12:52:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.150.118.24 with SMTP id q24mr4318853ybc.212.1275249144649; Sun, 30 May 2010 12:52:24 -0700 (PDT) Received: by 10.150.137.17 with HTTP; Sun, 30 May 2010 12:52:24 -0700 (PDT) X-Originating-IP: [128.95.133.142] In-Reply-To: References: Date: Sun, 30 May 2010 12:52:24 -0700 Message-ID: From: Rob Farmer To: Eitan Adler Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Mailing List Subject: Re: what would take to allow binary upgrade to amd64? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2010 19:52:25 -0000 On Sun, May 30, 2010 at 11:51 AM, Eitan Adler wrote: > I know that attempting to change from i386 to amd64 is is not possible The proper procedure for such an upgrade is as follows: 1) download and burn the relevant amd64 iso 2) update your backups 3) reformat and reinstall the OS from the CD 4) restore your data and system config from the backups 5) resume normal operation If the thought of reformatting your system is scary, because you don't have backups or aren't sure they are comprehensive or work, then solve that problem, rather than trying to invent workarounds to cover for bad system administration. It will serve you much better in the long run. -- Rob Farmer From owner-freebsd-questions@FreeBSD.ORG Sun May 30 20:15:32 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D3DE7106566B for ; Sun, 30 May 2010 20:15:32 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 606958FC17 for ; Sun, 30 May 2010 20:15:31 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OIouw-0006n7-Rx for freebsd-questions@freebsd.org; Sun, 30 May 2010 22:15:30 +0200 Received: from pool-71-166-135-247.washdc.east.verizon.net ([71.166.135.247]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 30 May 2010 22:15:30 +0200 Received: from nightrecon by pool-71-166-135-247.washdc.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 30 May 2010 22:15:30 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org connect(): No such file or directory From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Sun, 30 May 2010 16:15:25 -0400 Lines: 37 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pool-71-166-135-247.washdc.east.verizon.net Subject: Re: what would take to allow binary upgrade to amd64? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2010 20:15:32 -0000 Rob Farmer wrote: > On Sun, May 30, 2010 at 11:51 AM, Eitan Adler > wrote: >> I know that attempting to change from i386 to amd64 is is not possible > > The proper procedure for such an upgrade is as follows: > > 1) download and burn the relevant amd64 iso > 2) update your backups > 3) reformat and reinstall the OS from the CD > 4) restore your data and system config from the backups > 5) resume normal operation > > If the thought of reformatting your system is scary, because you don't > have backups or aren't sure they are comprehensive or work, then solve > that problem, rather than trying to invent workarounds to cover for > bad system administration. It will serve you much better in the long > run. I agree with this wholeheartedly. I recently posed the question about doing this with a make buildworld/etc dance from i386 to amd64, e.g. if there was a known sane method for accomplishing this. The general consensus was 'well, maybe if you spend enough time mucking with myriad problems as they come up maybe it's possible...'. Basically you will spend less time following the above directions, finish the project and be free to move on to others more quickly. It is easier when dealing with servers as they usually only have a fairly limited number of ports installed. Having the appropriate backups on hand, as if for bare-metal recovery, also allows for rolling it back to the previous state fairly quickly should one get into a stop/no-go/stuck situation. -Mike From owner-freebsd-questions@FreeBSD.ORG Sun May 30 20:19:10 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99C71106566C for ; Sun, 30 May 2010 20:19:10 +0000 (UTC) (envelope-from kline@thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 38D498FC13 for ; Sun, 30 May 2010 20:19:09 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by ethic.thought.org (8.14.3/8.14.3) with ESMTP id o4UKJ6Uh062741; Sun, 30 May 2010 13:19:06 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Sun, 30 May 2010 13:19:05 -0700 (PDT) Date: Sun, 30 May 2010 13:19:05 -0700 From: Gary Kline To: Vincent Hoffman Message-ID: <20100530201905.GD9594@thought.org> References: <533379.74324.qm@web24819.mail.ird.yahoo.com> <4C020F59.3050201@infracaninophile.co.uk> <4C0247B4.7010708@unsane.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C0247B4.7010708@unsane.co.uk> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-0.2 required=3.6 tests=ALL_TRUSTED,BAYES_00, GUARANTEED_100_PERCENT,T_RP_MATCHES_RCVD autolearn=no version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on ethic.thought.org Cc: freebsd-questions@freebsd.org Subject: Re: Re : Possible to run Linux distro in a jail? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2010 20:19:10 -0000 On Sun, May 30, 2010 at 12:10:44PM +0100, Vincent Hoffman wrote: > On 30/05/2010 08:10, Matthew Seaman wrote: > > On 29/05/2010 22:15:37, Alexandre L. wrote: > > > I have this link to a French Blog : > > http://blog.etoilebsd.net/post/Emprisonner_une_debian_dans_un_FreeBSD > > > > > This describe how to "jail" a Linux Debian in FreeBSD. > > > > > I hope this will help you. I haven't used it. > > > Thanks to its author : Baptiste Daroussin. > > > > This is technically not Debian *Linux* at all -- it's a Debian project > > to merge a BSD kernel with all the GNU shlibs and the various other > > utilities used on Debian systems. See > > http://www.debian.org/ports/kfreebsd-gnu/ and > > http://wiki.debian.org/Debian_GNU/kFreeBSD > Actually my reading of it is a linux userland running under linux > compatibility mode as a jail. So no not linux but not quite kFreeBSD either. > thid may be a bit off target, but several years ago i was into porting the freebsd kernel over to the debian world. besides keeping up my cheerleading, i actually did about 27% of the libc port. then things began fading. there may well be a debbsd that was abandoned. google around if interested. gary > Vince > > > > jail(8) uses the same kernel image in the jail as in the base system. > > So, in general, jails have to contain pretty much the same OS as the > > base. There are some variations possible, like running a 32-bit world > > in a jail on a 64-bit box, or running alternate FreeBSD versions to the > > main system (takes a bit of tweaking to make work properly, but this is > > used by the ports build cluster for example). > > > > Cheers, > > > > Matthew > > > _______________________________________________ > 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" > > > _______________________________________________ > 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" -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org 99 44/100% Guaranteed Novel From owner-freebsd-questions@FreeBSD.ORG Sun May 30 20:27:19 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1CFEF1065673 for ; Sun, 30 May 2010 20:27:19 +0000 (UTC) (envelope-from uwe@laverenz.de) Received: from mo-p00-ob.rzone.de (mo-p00-ob.rzone.de [81.169.146.161]) by mx1.freebsd.org (Postfix) with ESMTP id 92DAF8FC15 for ; Sun, 30 May 2010 20:27:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1275251236; l=587; s=domk; d=laverenz.de; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References: Subject:To:MIME-Version:From:Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=f07BYNZIob96/uA9EwQrjSaET8I=; b=jALbSuPDTg/OK2CV2YDvElLPrSFGTNoB0cbabMBrqeV9t05FewRNngCka5pCnG724NZ lJx1hlFEbBfDoT+UGebdjizgqVy9iz+A723+PGNMD8MY05HpIwmOTbzDP2LGKQv5ufzxO RvjqEL8vIDJ3netQidvqP196vXMOl10wvnA= X-RZG-AUTH: :LWgJfE6Id/4Sm/WkdV0gEbKL+/p/UjmosA/b4BPf1Ida/rA6dX+/t72X X-RZG-CLASS-ID: mo00 Received: from athena.laverenz.de (77-20-13-239-dynip.superkabel.de [77.20.13.239]) by post.strato.de (jimi mo12) (RZmta 23.2) with ESMTP id N00299m4UJXuQ1 for ; Sun, 30 May 2010 22:27:16 +0200 (MEST) Received: from localhost (localhost.localdomain [127.0.0.1]) by athena.laverenz.de (Postfix) with ESMTP id C4C3D73EC6 for ; Sun, 30 May 2010 22:27:16 +0200 (CEST) Received: from athena.laverenz.de ([127.0.0.1]) by localhost (athena [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 01302-03 for ; Sun, 30 May 2010 22:27:16 +0200 (CEST) Received: from [192.168.23.210] (unknown [192.168.23.210]) by athena.laverenz.de (Postfix) with ESMTP id 3AFCF73E6F for ; Sun, 30 May 2010 22:27:16 +0200 (CEST) Message-ID: <4C02CA22.9090006@laverenz.de> Date: Sun, 30 May 2010 22:27:14 +0200 From: Uwe Laverenz Organization: private site User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20100530184630.GA36727@xs4all.nl> In-Reply-To: <20100530184630.GA36727@xs4all.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: upgrading squeezeboxserver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2010 20:27:19 -0000 Am 30.05.2010 20:46, schrieb Vincent Zee: > I recently upgraded to the newest version of audio/squeezeboxserver. > After the update the server is unable to rescan my music collection. > > Does anyone else encountered this problem? Yes, same problem here. I tried different versions of perl (5.8 and 5.10 both with or without threading) and gave up after several reinstalls due to lack of time. > How can I revert to the previous version of squeezeboxserver > (I'm using Portmaster to upgrade my ports)? There's a tool for this in ports-mgmt/portdowngrade. cu, Uwe From owner-freebsd-questions@FreeBSD.ORG Sun May 30 20:27:28 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A5F57106571B for ; Sun, 30 May 2010 20:27:28 +0000 (UTC) (envelope-from lars@larseighner.com) Received: from mail.team1internet.com (mail.team1internet.com [216.110.13.10]) by mx1.freebsd.org (Postfix) with ESMTP id 8560D8FC1A for ; Sun, 30 May 2010 20:27:28 +0000 (UTC) Received: by mail.team1internet.com (Postfix, from userid 12346) id 91EAB16B533; Sun, 30 May 2010 15:27:27 -0500 (CDT) Received: from larseighner.com (unknown [216.110.13.81]) by mail.team1internet.com (Postfix) with SMTP id 4D75C16B530; Sun, 30 May 2010 15:27:26 -0500 (CDT) Received: by larseighner.com (nbSMTP-1.00) for uid 1001 lars@larseighner.com; Sun, 30 May 2010 15:24:59 -0500 (CDT) Date: Sun, 30 May 2010 15:24:58 -0500 (CDT) From: Lars Eighner X-X-Sender: lars@debranded.6dollardialup.com To: Fbsd1 In-Reply-To: <4C01DD3F.3040000@a1poweruser.com> Message-ID: <20100530151901.K54966@qroenaqrq.6qbyyneqvnyhc.pbz> References: <4C01DD3F.3040000@a1poweruser.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Sanitizer: Anomy and SpamAssassin mail filter - see http://www.6dollardialup.com/support/spaminfo.html Cc: "questions@freebsd.org" Subject: Re: text editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2010 20:27:28 -0000 On Sun, 30 May 2010, Fbsd1 wrote: > Been using ee and been happy. > > Now I have need for an editor with block commands. I recommend joe which is one binary with several flavors including pico, emacs, and wordstar work-alikes as well as its own interface. The macro language is easy and powerful. -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 From owner-freebsd-questions@FreeBSD.ORG Sun May 30 20:29:16 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55717106564A for ; Sun, 30 May 2010 20:29:16 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 182558FC1B for ; Sun, 30 May 2010 20:29:15 +0000 (UTC) Received: by vws10 with SMTP id 10so348895vws.13 for ; Sun, 30 May 2010 13:29:15 -0700 (PDT) MIME-Version: 1.0 Received: by 10.224.105.162 with SMTP id t34mr1276014qao.20.1275251355088; Sun, 30 May 2010 13:29:15 -0700 (PDT) Sender: aimass@yabarana.com Received: by 10.229.88.12 with HTTP; Sun, 30 May 2010 13:29:14 -0700 (PDT) In-Reply-To: References: Date: Sun, 30 May 2010 16:29:14 -0400 X-Google-Sender-Auth: 9cANTmIi2-a8Y-Bj15mGivBSZ6w Message-ID: From: Alejandro Imass To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 Subject: Fwd: [#24525016] External USB drive causes system to hang completely X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2010 20:29:16 -0000 Hi all, I sent a question regarding a problem with USB and I get this in reply. Can someone explain? Thanks, Alejandro Imass ---------- Forwarded message ---------- From: FreeBSD Questions Date: Fri, May 28, 2010 at 7:03 PM Subject: [#24525016] External USB drive causes system to hang completely To: Alejandro Imass Hello, This is an automated response to inform you that your question has been entered into our system, and will be reviewed shortly. Your ticket has been submitted into the "General Support" department. We will respond to you as soon as possible. ============== Please keep this information, and use it when refering to your ticket: Ticket subject: External USB drive causes system to hang completely Ticket number: 24525016 Ticket link: https://secure.mpcustomer.com/ticket.php?ticket=24525016 Ticket body: Hi, This is just a comment to get your feedback on this issue. I am rsyncing 500 MB from one usb drive to the other. If any of the drives should fail, the whole system hangs. For example, if there is a power glitch in one of the drives, the whole system hangs. As you may know, some of the external enclusores and/or power cables can get in the way and even the slightest movement can disturb the drive. What I don't understand is why does it have to hang the system?! Has anyone else experienced this? I mean I can understand that you may get corrupted data etc. but how is it possible for a failed write operation to hang the complete system!? Maybe this issue is only related to USB drives? Both drives are USB 2 and have UFS. Thanks beforehand for any feedback or ideas. Alejandro Imass _______________________________________________ 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 Sun May 30 20:31:16 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD48F106566C for ; Sun, 30 May 2010 20:31:16 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-yw0-f176.google.com (mail-yw0-f176.google.com [209.85.211.176]) by mx1.freebsd.org (Postfix) with ESMTP id 94EE78FC14 for ; Sun, 30 May 2010 20:31:16 +0000 (UTC) Received: by ywh6 with SMTP id 6so2214935ywh.16 for ; Sun, 30 May 2010 13:31:15 -0700 (PDT) Received: by 10.231.125.223 with SMTP id z31mr4485948ibr.78.1275251475362; Sun, 30 May 2010 13:31:15 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.148.201 with HTTP; Sun, 30 May 2010 13:30:55 -0700 (PDT) In-Reply-To: References: From: Eitan Adler Date: Sun, 30 May 2010 23:30:55 +0300 Message-ID: To: Rob Farmer Content-Type: text/plain; charset=UTF-8 Cc: FreeBSD Mailing List Subject: Re: what would take to allow binary upgrade to amd64? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2010 20:31:16 -0000 On Sun, May 30, 2010 at 10:52 PM, Rob Farmer wrote: > On Sun, May 30, 2010 at 11:51 AM, Eitan Adler wrote: >> I know that attempting to change from i386 to amd64 is is not possible > > The proper procedure for such an upgrade is as follows: .... > > If the thought of reformatting your system is scary, because you don't > have backups or aren't sure they are comprehensive or work, then solve > that problem, rather than trying to invent workarounds to cover for > bad system administration. It will serve you much better in the long > run. This isn't my question. I know how to currently perform the upgrade. My question is a) is it possible in theory to allow binary upgrades to be done? and b) if yes how much work would it take? -- Eitan Adler From owner-freebsd-questions@FreeBSD.ORG Sun May 30 20:33:49 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F382106566C for ; Sun, 30 May 2010 20:33:49 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 08D648FC17 for ; Sun, 30 May 2010 20:33:48 +0000 (UTC) Received: by gyh20 with SMTP id 20so2949364gyh.13 for ; Sun, 30 May 2010 13:33:48 -0700 (PDT) Received: by 10.231.178.135 with SMTP id bm7mr4516388ibb.73.1275251628168; Sun, 30 May 2010 13:33:48 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.148.201 with HTTP; Sun, 30 May 2010 13:33:28 -0700 (PDT) In-Reply-To: <20100530194401.GA12756@Melon.malikania.fr> References: <20100530194401.GA12756@Melon.malikania.fr> From: Eitan Adler Date: Sun, 30 May 2010 23:33:28 +0300 Message-ID: To: Demelier David Content-Type: text/plain; charset=UTF-8 Cc: FreeBSD Mailing List Subject: Re: what would take to allow binary upgrade to amd64? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2010 20:33:49 -0000 On Sun, May 30, 2010 at 10:44 PM, Demelier David wrote: > On Sun, May 30, 2010 at 09:51:11PM +0300, Eitan Adler wrote: >> I know that attempting to change from i386 to amd64 is is not possible >> using freebsd-update and difficult using source. >> Why is this? Would it require a significant amount of work to allow >> such transitions? > > While the system is running we won't be able to do this. Because you canno't > overwrite file with a different architecture if you are running on it ! Why can't we handle this the same we handle upgrading cross major versions systems? -- Eitan Adler From owner-freebsd-questions@FreeBSD.ORG Sun May 30 22:07:06 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 852BD1065675 for ; Sun, 30 May 2010 22:07:06 +0000 (UTC) (envelope-from hartzell@almost.alerce.com) Received: from merlin.alerce.com (merlin.alerce.com [64.62.142.94]) by mx1.freebsd.org (Postfix) with ESMTP id 70DE48FC15 for ; Sun, 30 May 2010 22:07:06 +0000 (UTC) Received: from almost.alerce.com (w092.z064001164.sjc-ca.dsl.cnc.net [64.1.164.92]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by merlin.alerce.com (Postfix) with ESMTP id A9B6A33C62; Sun, 30 May 2010 15:07:09 -0700 (PDT) Received: by almost.alerce.com (Postfix, from userid 503) id D703C7F9539; Sun, 30 May 2010 15:07:02 -0700 (PDT) From: George Hartzell MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19458.57734.673706.223377@gargle.gargle.HOWL> Date: Sun, 30 May 2010 15:07:02 -0700 To: Vincent Zee In-Reply-To: <20100530184630.GA36727@xs4all.nl> References: <20100530184630.GA36727@xs4all.nl> X-Mailer: VM 8.0.12 under 22.3.1 (i386-apple-darwin9.6.0) Cc: freebsd-questions Subject: Re: upgrading squeezeboxserver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: hartzell@alerce.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2010 22:07:06 -0000 Vincent Zee writes: > Hi, > > I recently upgraded to the newest version of audio/squeezeboxserver. > After the update the server is unable to rescan my music collection. > > Does anyone else encountered this problem? > How can I revert to the previous version of squeezeboxserver > (I'm using Portmaster to upgrade my ports)? > I had this problem and managed to work around it. I haven't had time to track it down enough to file a bug though. My fix was to downgrade p5-DBIx-Class to version 08120. There's probably a proper way to do this thing, but what I ended up doing was downgrading the port's distinfo file, replacing its contents with the following three lines: MD5 (DBIx-Class-0.08120.tar.gz) = ebed5ed315618e783ac048767aed90a5 SHA256 (DBIx-Class-0.08120.tar.gz) = c97af692cbbf9779457e669b52d117b3b174aac3826d4af20da7f26e5aabe479 SIZE (DBIx-Class-0.08120.tar.gz) = 513806 grabbed from r47 found here: http://www.freebsd.org/cgi/cvsweb.cgi/ports/databases/p5-DBIx-Class/distinfo?sortby=rev and changing the PORTVERSION in the Makefile to 0.08120. Then did a make, a make deinstall and a make install. There was probably a make makesum in there too. Let me know if you need more details suggestions. g. From owner-freebsd-questions@FreeBSD.ORG Sun May 30 23:28:33 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 63A1B1065670 for ; Sun, 30 May 2010 23:28:33 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-158.bluehost.com (cpoproxy2-pub.bluehost.com [67.222.39.38]) by mx1.freebsd.org (Postfix) with SMTP id 306118FC0A for ; Sun, 30 May 2010 23:28:32 +0000 (UTC) Received: (qmail 12039 invoked by uid 0); 30 May 2010 23:28:32 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by cpoproxy2.bluehost.com with SMTP; 30 May 2010 23:28:32 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=n/DeR+ysC/Q9KLxeuuI6lUqF8Vpb8u5mPFXvaqaWI3BrgbNP41RZl0BqyxKFPJ52SLSopcawXIL41QdXCDLTd2K+BL1POB61rEh10W97LGAf+nv1n3265pv1qoFWWfAR; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kukaburra.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1OIrvj-0002rk-9O for freebsd-questions@freebsd.org; Sun, 30 May 2010 17:28:32 -0600 Received: by kukaburra.hydra (sSMTP sendmail emulation); Sun, 30 May 2010 17:28:27 -0600 Date: Sun, 30 May 2010 17:28:27 -0600 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20100530232827.GB97659@guilt.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <4C01DD3F.3040000@a1poweruser.com> <871vct44ww.fsf@kobe.laptop> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cmJC7u66zC7hs+87" Content-Disposition: inline In-Reply-To: <871vct44ww.fsf@kobe.laptop> User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Subject: Re: text editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2010 23:28:33 -0000 --cmJC7u66zC7hs+87 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, May 30, 2010 at 09:31:59PM +0300, Giorgos Keramidas wrote: >=20 > If you don't mind the size of the respective packages, both VIM and > GNU Emacs have support for many features that ee(1) lacks. I'm not sure why you mentioned the size of Vim here as if it's a remarkably large piece of software. It *barely* doesn't fit on a 3.5" floppy when you use a full install of the console-based Vim editor. I'm pretty sure it's under 2 MB. --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --cmJC7u66zC7hs+87 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwC9JsACgkQ9mn/Pj01uKV+VQCg/GgeLxC1aTlOR/o/yrv+Cc1h JDkAn396+ppnVB+ryBUuKkgML49PKUAr =sMF8 -----END PGP SIGNATURE----- --cmJC7u66zC7hs+87-- From owner-freebsd-questions@FreeBSD.ORG Mon May 31 03:41:23 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B9A11065678; Mon, 31 May 2010 03:41:21 +0000 (UTC) (envelope-from aiza21@comclark.com) Received: from avmxsmtp1.comclark.com (avmxsmtp1.comclark.com [202.69.191.115]) by mx1.freebsd.org (Postfix) with ESMTP id E04038FC14; Mon, 31 May 2010 03:41:20 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvgYAPHMAkzKRa1aPGdsb2JhbAAHh2KWVAEBAQE1v0KFFgSDRg X-IronPort-AV: E=Sophos;i="4.53,330,1272816000"; d="scan'208";a="1166017" Received: from unknown (HELO [10.0.10.3]) ([202.69.173.90]) by avmxsmtp5.comclark.com with ESMTP; 31 May 2010 11:41:19 +0800 Message-ID: <4C032FDC.7090201@comclark.com> Date: Mon, 31 May 2010 11:41:16 +0800 From: Aiza User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: "questions@freebsd.org" , postmaster@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Is this information obtainable? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 03:41:23 -0000 I trying to estimate the number of Freebsd computers. To gauge a rough range size. Number of subscribers to this question list. Number of unique email address or ip address across all the Freebsd mailing lists. Number of unique ip address hits to the cvsup & ftp servers since Jan 2009. Unique hits on the FreeBSD handbook since Jan 2009. Is this information obtainable? From owner-freebsd-questions@FreeBSD.ORG Mon May 31 03:50:08 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C600106566B for ; Mon, 31 May 2010 03:50:08 +0000 (UTC) (envelope-from xkyanh@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id DD4018FC1C for ; Mon, 31 May 2010 03:50:07 +0000 (UTC) Received: by pvg16 with SMTP id 16so1617447pvg.13 for ; Sun, 30 May 2010 20:50:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:in-reply-to:references:organization:user-agent :x-operating-system:x-face:face:x-mailer:mime-version:content-type :content-transfer-encoding; bh=PVhjlM35pyiJA2U9krR4hsQJG2SzB8/8nEZszeRDNSQ=; b=vxwHXoy/waYztNHmET/xitVqiNpYNvRmb//jsBVmQpnnsWPGKCi6XaKpvf/cRFTY1a RA+Kh75iH30SlvWmWFzu4M5n5uww2WTfths6XHy2oUjnBG/ds0px7Y4qllS5l6mSiF+w nyJukCy/gKqq6Ev9OquUTDufTQSxWf6deaGf0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references :organization:user-agent:x-operating-system:x-face:face:x-mailer :mime-version:content-type:content-transfer-encoding; b=wxeogZkC9G49L6useuuM8t9xGolyYLRY2f4QC0haMW6ZEWjHWi+V87+pSwBZa1YN/u ftSvqJpXvryImwk6gZV/a2aBf+K0m0ouz/uD1RLPV6TDgIoLHGewavDI7fXD1mg5mzgg RSNXr+/sY1vZIhQNFGeZ9qgYaazTvvpHayekg= Received: by 10.143.84.6 with SMTP id m6mr2581836wfl.8.1275277805565; Sun, 30 May 2010 20:50:05 -0700 (PDT) Received: from icy.localdomain ([115.78.0.218]) by mx.google.com with ESMTPS id x34sm1469915wfi.16.2010.05.30.20.50.03 (version=SSLv3 cipher=RC4-MD5); Sun, 30 May 2010 20:50:05 -0700 (PDT) Date: Mon, 31 May 2010 10:49:44 +0700 From: "Anh Ky Huynh" To: Aiza Message-ID: <20100531104944.43972435@icy.localdomain> In-Reply-To: <4C032FDC.7090201@comclark.com> References: <4C032FDC.7090201@comclark.com> Organization: Vietnamese TeX Users Group User-Agent: FreeBSD X-Operating-System: FreeBSD X-Face: FreeBSD Face: FreeBSD X-Mailer: FreeBSD Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD question Subject: Re: Is this information obtainable? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 03:50:08 -0000 On Mon, 31 May 2010 11:41:16 +0800 Aiza wrote: > I trying to estimate the number of Freebsd computers. > To gauge a rough range size. This may help: http://www.bsdstats.org/ :) > > Number of subscribers to this question list. > > Number of unique email address or ip address across all the Freebsd > mailing lists. > > Number of unique ip address hits to the cvsup & ftp servers since > Jan 2009. > > Unique hits on the FreeBSD handbook since Jan 2009. Why these numbers? -- Anh Ky Huynh From owner-freebsd-questions@FreeBSD.ORG Mon May 31 04:15:38 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B97B1065672 for ; Mon, 31 May 2010 04:15:38 +0000 (UTC) (envelope-from aiza21@comclark.com) Received: from avmxsmtp1.comclark.com (avmxsmtp1.comclark.com [202.69.191.115]) by mx1.freebsd.org (Postfix) with ESMTP id 9DAD98FC12 for ; Mon, 31 May 2010 04:15:37 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiIUABvVAkzKRa1aPGdsb2JhbAAHnjYBAQEBNb89hRYEg0Y X-IronPort-AV: E=Sophos;i="4.53,330,1272816000"; d="scan'208";a="1169623" Received: from unknown (HELO [10.0.10.3]) ([202.69.173.90]) by avmxsmtp3.comclark.com with ESMTP; 31 May 2010 12:15:35 +0800 Message-ID: <4C0337E5.4070803@comclark.com> Date: Mon, 31 May 2010 12:15:33 +0800 From: Aiza User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Anh Ky Huynh References: <4C032FDC.7090201@comclark.com> <20100531104944.43972435@icy.localdomain> In-Reply-To: <20100531104944.43972435@icy.localdomain> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD question Subject: Re: Is this information obtainable? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 04:15:38 -0000 Anh Ky Huynh wrote: > On Mon, 31 May 2010 11:41:16 +0800 > Aiza wrote: > >> I trying to estimate the number of Freebsd computers. >> To gauge a rough range size. > > This may help: http://www.bsdstats.org/ :) > >> Number of subscribers to this question list. >> >> Number of unique email address or ip address across all the Freebsd >> mailing lists. >> >> Number of unique ip address hits to the cvsup & ftp servers since >> Jan 2009. >> >> Unique hits on the FreeBSD handbook since Jan 2009. > > Why these numbers? > Trying to generate from other sources, numbers to compare to what is reported on bsdstats. From owner-freebsd-questions@FreeBSD.ORG Mon May 31 04:31:36 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A5191065670 for ; Mon, 31 May 2010 04:31:36 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.freebsd.org (Postfix) with ESMTP id 063F18FC0C for ; Mon, 31 May 2010 04:31:35 +0000 (UTC) Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by hub.org (Postfix) with ESMTP id AF4B134558ED; Mon, 31 May 2010 01:31:34 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 42218-04; Mon, 31 May 2010 04:31:34 +0000 (UTC) Received: by hub.org (Postfix, from userid 1002) id 8330834558D5; Mon, 31 May 2010 01:31:34 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by hub.org (Postfix) with ESMTP id 82C7134558CE; Mon, 31 May 2010 01:31:34 -0300 (ADT) Date: Mon, 31 May 2010 01:31:34 -0300 (ADT) From: "Marc G. Fournier" To: Anh Ky Huynh In-Reply-To: <20100531104944.43972435@icy.localdomain> Message-ID: References: <4C032FDC.7090201@comclark.com> <20100531104944.43972435@icy.localdomain> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Aiza , FreeBSD question Subject: Re: Is this information obtainable? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 04:31:36 -0000 On Mon, 31 May 2010, Anh Ky Huynh wrote: > On Mon, 31 May 2010 11:41:16 +0800 > Aiza wrote: > >> I trying to estimate the number of Freebsd computers. >> To gauge a rough range size. > > This may help: http://www.bsdstats.org/ :) BSDstats has a very long way to go before the numbers start to look rasonable ... for PCBSD, the #s are pretty reasonable, because they set it up so that its auto-enabled when you intall ... for FreeBSD, the numbers aren't even close, since ppl have to manually install it ... the numbers are growing ... since the start of May, I've seen the numbers jump by almost 2k new computers, so it is growing ... but ppl have to consciously install the software ... ---- Marc G. Fournier Hub.Org Hosting Solutions S.A. scrappy@hub.org http://www.hub.org Yahoo:yscrappy Skype: hub.org ICQ:7615664 MSN:scrappy@hub.org From owner-freebsd-questions@FreeBSD.ORG Mon May 31 04:57:48 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C21831065672 for ; Mon, 31 May 2010 04:57:48 +0000 (UTC) (envelope-from xkyanh@gmail.com) Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8E4A88FC2F for ; Mon, 31 May 2010 04:57:48 +0000 (UTC) Received: by pxi7 with SMTP id 7so1732661pxi.13 for ; Sun, 30 May 2010 21:57:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:in-reply-to:references:organization:user-agent :x-operating-system:x-face:face:x-mailer:mime-version:content-type :content-transfer-encoding; bh=Ti3FrzVrgkn7qBCQtJSqragvMmtX423m0IiW+eCYMd8=; b=pFc142cAD4iRQt907kKn/ZUaEF1N7ZBT0ZzsOmPtUA8NIDxKDCcbDAI64+zN6+Clq0 zYAWATn5+67V9yTiBJfE6oFu04PfYlMODYQfe7NWWQ1tiHsNJb2jqxVzXUBnYfDISLCW NhHY3wvNPs/lbd0rUWQLTb+iJbbyMN8Qs5+8w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references :organization:user-agent:x-operating-system:x-face:face:x-mailer :mime-version:content-type:content-transfer-encoding; b=NdHaynDaRxGBeK7CYoJ6/KvkHPGMfSDh9WE3EGafEJSr+SeH69vODByWzGplWYMFzW YM07Xg4QiG+RKGqneCg4yF2F03K9gDxnJ7vCMpAJ22kKYZSro6QPWhlczOaG02349fsY s5+xU1fJtvmqP/nlzEvcNEwAkO/9gsq4XAlqU= Received: by 10.141.88.16 with SMTP id q16mr2845646rvl.156.1275281867906; Sun, 30 May 2010 21:57:47 -0700 (PDT) Received: from icy.localdomain ([115.78.0.218]) by mx.google.com with ESMTPS id h11sm3946243rvm.9.2010.05.30.21.57.45 (version=SSLv3 cipher=RC4-MD5); Sun, 30 May 2010 21:57:47 -0700 (PDT) Date: Mon, 31 May 2010 11:57:16 +0700 From: "Anh Ky Huynh" To: "Marc G. Fournier" Message-ID: <20100531115716.3f874797@icy.localdomain> In-Reply-To: References: <4C032FDC.7090201@comclark.com> <20100531104944.43972435@icy.localdomain> Organization: Vietnamese TeX Users Group User-Agent: FreeBSD X-Operating-System: FreeBSD X-Face: FreeBSD Face: FreeBSD X-Mailer: FreeBSD Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Aiza , FreeBSD question Subject: Re: Is this information obtainable? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 04:57:48 -0000 On Mon, 31 May 2010 01:31:34 -0300 (ADT) "Marc G. Fournier" wrote: > On Mon, 31 May 2010, Anh Ky Huynh wrote: > > > On Mon, 31 May 2010 11:41:16 +0800 > > Aiza wrote: > > > >> I trying to estimate the number of Freebsd computers. > >> To gauge a rough range size. > > > > This may help: http://www.bsdstats.org/ :) > > BSDstats has a very long way to go before the numbers start to look > rasonable ... for PCBSD, the #s are pretty reasonable, because they > set it up so that its auto-enabled when you intall ... for > FreeBSD, the numbers aren't even close, since ppl have to manually > install it ... I think so:) I shouldn't use bsdstat on my servers, but I'm eager to use it on my desktops > the numbers are growing ... since the start of May, I've seen the > numbers jump by almost 2k new computers, so it is growing ... but > ppl have to consciously install the software ... I remember the days when I was using Linux with http://counter.li.org/ (my ID is 392115). Anonymousness is good but I think that I'll be proud of having a counter for my (Free)BSD box :) Why don't bsdstat support registration? Just my two cents... Regards, -- Anh Ky Huynh From owner-freebsd-questions@FreeBSD.ORG Mon May 31 05:05:58 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DFB09106564A for ; Mon, 31 May 2010 05:05:58 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.freebsd.org (Postfix) with ESMTP id AA1288FC0A for ; Mon, 31 May 2010 05:05:58 +0000 (UTC) Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by hub.org (Postfix) with ESMTP id E3A1234558ED; Mon, 31 May 2010 02:05:57 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 51924-01; Mon, 31 May 2010 05:05:57 +0000 (UTC) Received: by hub.org (Postfix, from userid 1002) id B81B734558D5; Mon, 31 May 2010 02:05:57 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by hub.org (Postfix) with ESMTP id B7A4E34558CE; Mon, 31 May 2010 02:05:57 -0300 (ADT) Date: Mon, 31 May 2010 02:05:57 -0300 (ADT) From: "Marc G. Fournier" To: Anh Ky Huynh In-Reply-To: <20100531115716.3f874797@icy.localdomain> Message-ID: References: <4C032FDC.7090201@comclark.com> <20100531104944.43972435@icy.localdomain> <20100531115716.3f874797@icy.localdomain> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Aiza , FreeBSD question Subject: Re: Is this information obtainable? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 05:05:59 -0000 On Mon, 31 May 2010, Anh Ky Huynh wrote: >> the numbers are growing ... since the start of May, I've seen the >> numbers jump by almost 2k new computers, so it is growing ... but >> ppl have to consciously install the software ... > > I remember the days when I was using Linux with http://counter.li.org/ > (my ID is 392115). Anonymousness is good but I think that I'll be proud > of having a counter for my (Free)BSD box :) Why don't bsdstat support > registration? one of the critical requirements that alot of ppl out there had at the start was anonymity ... not so much that they weren't proud to run *BSD, but for safety ... there is nothing in the database that can be traced back to the source, nor that can be spammed ... Also, easy of use was a big factor ... registration is just yet another step that ppl (myself included) generally just don't bother with ... it really doesn't give you much, and discourages alot of ppl from doing it ... ... and, in the case of PCBSD, would make it harder to have it auto-enabled, since it couldn't be enabled without the end user registering first, which most wouldn't do ... ---- Marc G. Fournier Hub.Org Hosting Solutions S.A. scrappy@hub.org http://www.hub.org Yahoo:yscrappy Skype: hub.org ICQ:7615664 MSN:scrappy@hub.org From owner-freebsd-questions@FreeBSD.ORG Mon May 31 05:10:27 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60CA31065674 for ; Mon, 31 May 2010 05:10:27 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id C999B8FC12 for ; Mon, 31 May 2010 05:10:26 +0000 (UTC) X-Spam-Status: No X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-0.2, required 5, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_50 0.80) X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-ID: o4V5A9uG023067 Received: from kobe.laptop (77.49.120.100.dsl.dyn.forthnet.gr [77.49.120.100]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-9.1) with ESMTP id o4V5A9uG023067 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 31 May 2010 08:10:15 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.4/8.14.4) with ESMTP id o4V5A4Lq056023 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 31 May 2010 08:10:04 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.4/8.14.4/Submit) id o4V5A303056016; Mon, 31 May 2010 08:10:03 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: freebsd-questions@freebsd.org References: <4C01DD3F.3040000@a1poweruser.com> <871vct44ww.fsf@kobe.laptop> <20100530232827.GB97659@guilt.hydra> Date: Mon, 31 May 2010 08:10:03 +0300 In-Reply-To: <20100530232827.GB97659@guilt.hydra> (Chad Perrin's message of "Sun, 30 May 2010 17:28:27 -0600") Message-ID: <87zkzgsllg.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: text editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 05:10:27 -0000 On Sun, 30 May 2010 17:28:27 -0600, Chad Perrin wrote: >On Sun, May 30, 2010 at 09:31:59PM +0300, Giorgos Keramidas wrote: >> If you don't mind the size of the respective packages, both VIM and >> GNU Emacs have support for many features that ee(1) lacks. > > I'm not sure why you mentioned the size of Vim here as if it's a > remarkably large piece of software. It *barely* doesn't fit on a 3.5" > floppy when you use a full install of the console-based Vim editor. > I'm pretty sure it's under 2 MB. Vim is much smaller than Emacs but it still a few MB's here: keramida@kobe:/usr/ports/packages/All$ ls -ld vim* -rw-r--r-- 1 root wheel - 5757731 1 =CE=91=CF=80=CF=81 17:11 vim-lite= -7.2.344.tbz From owner-freebsd-questions@FreeBSD.ORG Mon May 31 05:24:18 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A26881065675 for ; Mon, 31 May 2010 05:24:18 +0000 (UTC) (envelope-from MTaylor@bytecraft.com.au) Received: from bcmelmx.bytecraft.au.com (bcmelmx.bytecraft.au.com [203.39.118.2]) by mx1.freebsd.org (Postfix) with ESMTP id 26DF78FC14 for ; Mon, 31 May 2010 05:24:17 +0000 (UTC) Received: from svmailmarshal.bytecraft.internal ([10.48.0.3]) by bcmelmx.bytecraft.au.com (8.13.8/8.12.11) with ESMTP id o4V5Bfe4046342 for ; Mon, 31 May 2010 15:11:41 +1000 (EST) (envelope-from MTaylor@bytecraft.com.au) Received: from svmailmel.bytecraft.internal (Not Verified[10.48.0.24]) by svmailmarshal.bytecraft.internal with MailMarshal (v6, 7, 2, 8378) id ; Mon, 31 May 2010 15:11:41 +1000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Mon, 31 May 2010 15:11:28 +1000 Message-ID: In-Reply-To: <4C01DD3F.3040000@a1poweruser.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: text editor Thread-Index: Acr/qWrpejT4fnsYTB6l9eaKr2K1YQA1STAw From: "Murray Taylor" To: Cc: Subject: RE: text editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 05:24:18 -0000 =20yep ... its called vi place cursor at the line at hte top (or bottom) of the block press ma (put marker a on the line) move your cursor to the line at the other end (bottom ot top) of the block press d'a this will delete between the marked line and the cursor to move the block.... delete it as above, then put the cursor where you want it to go and press p (pastes the last deleted whatever in the new place) to copy a block ...=20 ma (move cursor) y'a (move cursor) p y is the yank into the default storage buffer instead of deleting into the buffer and you can use named buffers also ... a through z "ad'a deletes test from marker a to current into buffer a "ap pastes from buffer a dd delete current line into default buffer "bdd delete current line into buffer b =20 etc etc =20 Murray Taylor Bytecraft Systems Special Projects Engineer P: +61 3 8710 0600 D: +61 3 9238 4275 F: +61 3 9238 4140 -- =20|_|0|_| "Absence of evidence =20|_|_|0| is not evidence of absence" =20|0|0|0| Carl Sagan -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Fbsd1 Sent: Sunday, May 30, 2010 1:37 PM To: questions@freebsd.org Subject: text editor Been using ee and been happy. Now I have need for an editor with block commands. Put dd on the first line of sequence number you want to start deleting and dd on the last line of the block and hit enter and the block of lines are deleted. OR Put cc on first line and cc on last line of black to copy and enter "I" on line where you want the copied block to be inserted after. Also same for mm meaning move block. Is there any editors with a function like this? _______________________________________________ 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" --------------------------------------------------------------- The information transmitted in this e-mail is for the exclusive use of the intended addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material.=20 E-mails may not be secure, may contain computer viruses and may be corrupted in transmission. Please carefully check this e-mail (and any attachment) accordingly. No warranties are given and no liability is accepted for any loss or damage caused by such matters. --------------------------------------------------------------- ### This e-mail message has been scanned for Viruses by Bytecraft ### From owner-freebsd-questions@FreeBSD.ORG Mon May 31 07:24:48 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 69DB5106564A for ; Mon, 31 May 2010 07:24:48 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3491B8FC17 for ; Mon, 31 May 2010 07:24:47 +0000 (UTC) Received: by gwj23 with SMTP id 23so2693103gwj.13 for ; Mon, 31 May 2010 00:24:47 -0700 (PDT) Received: by 10.231.79.74 with SMTP id o10mr5315469ibk.36.1275290687342; Mon, 31 May 2010 00:24:47 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.148.201 with HTTP; Mon, 31 May 2010 00:24:27 -0700 (PDT) In-Reply-To: <4BFE40CF.8020203@waagmeester.co.za> References: <4BFE40CF.8020203@waagmeester.co.za> From: Eitan Adler Date: Mon, 31 May 2010 10:24:27 +0300 Message-ID: To: Coert Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD questions Subject: Re: top memory usage question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 07:24:48 -0000 On Thu, May 27, 2010 at 12:52 PM, Coert wrote: > Hello all, > > Just a question, on Linux the output of top's memory usage looks like thi= s: > > Mem: =C2=A0 2075424k total, =C2=A01760848k used, =C2=A0 314576k free, =C2= =A0 151872k buffers > Swap: =C2=A04192924k total, =C2=A0 =C2=A0 =C2=A0 =C2=A00k used, =C2=A0419= 2924k free, =C2=A01214052k cached > > > on FreeBSD: > > Mem: 48M Active, 945M Inact, 190M Wired, 112M Buf, 804M Free > Swap: 4063M Total, 4063M Free > > > I have looked at the respective man pages, and googled. > Where can I find out what Active, Inactive, and Wired mean? > The differences have to do with the way memory is managed. Active memory is currently is RAM and is being used by a currently running process. Inactive is in RAM but is not currently being used. Wired means that the page is locked into ram and won't be paged out. Look at http://en.wikipedia.org/wiki/Paging and http://en.wikipedia.org/wiki/Virtual_memory for more info --=20 Eitan Adler From owner-freebsd-questions@FreeBSD.ORG Mon May 31 07:39:35 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26DDA106564A for ; Mon, 31 May 2010 07:39:35 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from spartan.hamla.org (spartan.hamla.org [206.251.255.30]) by mx1.freebsd.org (Postfix) with ESMTP id 035438FC0C for ; Mon, 31 May 2010 07:39:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by spartan.hamla.org (Postfix) with ESMTP id 959F9170F0 for ; Mon, 31 May 2010 03:39:34 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tandon.net; h= user-agent:in-reply-to:content-disposition:content-type :content-type:mime-version:references:reply-to:message-id :subject:subject:from:from:date:date:received:received; s=aegis; t=1275291574; bh=IyrzuUVHh342jMArlMPhOwNXMqomNmKuFY6R8rZGYFQ=; b= mG4h7uXFAIAPNDbFhGiOSTBRa9msZdEZ/5nQrokCe0LttP5GMQexQhy6N0UDiYeZ QL+wq0La2OiuiWd7lxZ04vJ/WFyFdqXZuFk9SAGv3YDWpI2KmQ2WfuWu6czmgaYb IV2lYOnygKdSroH8d3L/CsaxuhhjvBfb+qPacBX1A0k= X-Virus-Scanned: by ClamAV at spartan.hamla.org Received: from spartan.hamla.org ([127.0.0.1]) by localhost (spartan.hamla.org [127.0.0.1]) (amavisd-new, port 10027) with LMTP id 0g+vFZ+RWEUN for ; Mon, 31 May 2010 03:39:34 -0400 (EDT) Received: from magic.hamla.org (cpe-69-201-179-80.nyc.res.rr.com [69.201.179.80]) by spartan.hamla.org (Postfix) with ESMTPSA id EBBCB17045 for ; Mon, 31 May 2010 03:39:32 -0400 (EDT) Date: Mon, 31 May 2010 03:39:30 -0400 From: Sahil Tandon To: freebsd-questions@freebsd.org Message-ID: <20100531073930.GC243@magic.hamla.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: portmaster not replacing %var% in final pkg-msg X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Sahil Tandon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 07:39:35 -0000 On Sun, 30 May 2010, Eitan Adler wrote: > $cd lang/go && portmaster . > ------------------------------------------------------------------ > To build Go programs for FreeBSD, you'll want to set up your > environment properly. The following environment variables should > be set: > ... > GOOS=freebsd > GOARCH=386 > GOROOT=/usr/local/lib/go This works because of the following sed-fu in lang/go/Makefile: post-install: @${CAT} ${PKGMESSAGE} | ${SED} \ -e "s|%%PREFIX%%|${PREFIX}|g" \ -e "s|%%ARCH%%|${GOARCH}|g" \ -e "s|%%GOOBJ%%|${GOOBJ}|g" > ===>>> pkg-message for go-20100413 [ .. ] > GOARCH=%%ARCH%% > GOROOT=%%PREFIX%%/lib/go It's probably preferable for lang/go to utilize SUB_FILES and SUB_LIST instead of using ${SED} to manually expand VAR=VALUE pairs in post-install. For context, see: http://www.freebsd.org/doc/en/books/porters-handbook/book.html#USING-SUB-FILES -- Sahil Tandon From owner-freebsd-questions@FreeBSD.ORG Mon May 31 07:49:48 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0854E10656D2 for ; Mon, 31 May 2010 07:49:48 +0000 (UTC) (envelope-from j.mckeown@ru.ac.za) Received: from b.mail.ru.ac.za (b.mail.ru.ac.za [IPv6:2001:4200:1010::25:2]) by mx1.freebsd.org (Postfix) with ESMTP id 172AC8FC0A for ; Mon, 31 May 2010 07:49:47 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=ru-msa; d=ru.ac.za; h=Received:From:Organization:To:Subject:Date:User-Agent:References:In-Reply-To:X-Face:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-Disposition:Message-Id:X-Virus-Scanned:X-Authenticated-User; b=Vgq4W2KufmtsUjyZ6ZVnyGbLfx4n9L1KtAJ+drqQ1EmZvzxNMZXaPQZdHal/VsF4vIzs9XqnnhO57RbchHMcBNYsXOVxJ/Xnr6V8U2JtUPKilTiSsufHFcCL1BCW+1u2; Received: from vorkosigan.ru.ac.za ([2001:4200:1010:1058:219:d1ff:fe9f:a932]:53129) by b.mail.ru.ac.za with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1OIzkm-0002Dt-6E for freebsd-questions@freebsd.org; Mon, 31 May 2010 09:49:44 +0200 From: Jonathan McKeown Organization: Rhodes University To: freebsd-questions@freebsd.org Date: Mon, 31 May 2010 09:49:43 +0200 User-Agent: KMail/1.9.10 References: In-Reply-To: X-Face: $@VrUx^RHy/}yu]jKf/<4T%/d|F+$j-Ol2"2J$q+%OK1]&/G_S9(=?utf-8?q?HkaQ*=60!=3FYOK=3FY!=27M=60C=0A=09aP=5C9nVPF8Q=7DCilHH8l=3B=7E!4?= =?utf-8?q?2HK6=273lg4J=7Daz?=@1Dqqh:J]M^"YPn*2IWrZON$1+G?oX3@ =?utf-8?q?k=230=0A=0954XDRg=3DYn=5FF-etwot4U=24b?=dTS{i X-Virus-Scanned: b.mail.ru.ac.za (2001:4200:1010::25:2) X-Authenticated-User: s0900137 from vorkosigan.ru.ac.za (2001:4200:1010:1058:219:d1ff:fe9f:a932) using auth_plaintext Subject: Re: Fwd: [#24525016] External USB drive causes system to hang completely X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 07:49:48 -0000 On Sunday 30 May 2010 22:29:14 Alejandro Imass wrote: > Hi all, > > I sent a question regarding a problem with USB and I get this in reply. > Can someone explain? > > Thanks, > Alejandro Imass Yes. There's a hosting company called MidPhase whose support queue (at mpcustomer.com) has been added (probably maliciously by some kiddie that thinks it's clever) to the mailing list. They appear either not to know how to stop their ticketing system responding to list emails, or not to care. Either way, it's not a great advertisement for them, as this has been going on for several weeks now with no improvement. Jonathan From owner-freebsd-questions@FreeBSD.ORG Mon May 31 07:59:09 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 19B12106567C for ; Mon, 31 May 2010 07:59:09 +0000 (UTC) (envelope-from aiza21@comclark.com) Received: from avmxsmtp1.comclark.com (avmxsmtp1.comclark.com [202.69.191.115]) by mx1.freebsd.org (Postfix) with ESMTP id 10BB98FC19 for ; Mon, 31 May 2010 07:59:07 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AoodAKsIA0zKRa1aPGdsb2JhbAAHh2KWVQEBAQE1J79thRYEg0Y X-IronPort-AV: E=Sophos;i="4.53,332,1272816000"; d="scan'208";a="1222194" Received: from unknown (HELO [10.0.10.3]) ([202.69.173.90]) by avmxsmtp2.comclark.com with ESMTP; 31 May 2010 15:59:06 +0800 Message-ID: <4C036C48.3000307@comclark.com> Date: Mon, 31 May 2010 15:59:04 +0800 From: Aiza User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: "questions@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: how to debug .sh type script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 07:59:09 -0000 Is there way to single step through each line of code and see the real values of the variables? From owner-freebsd-questions@FreeBSD.ORG Mon May 31 08:09:55 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 22DFF106566C for ; Mon, 31 May 2010 08:09:55 +0000 (UTC) (envelope-from faust64@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id A31188FC1A for ; Mon, 31 May 2010 08:09:54 +0000 (UTC) Received: by fxm5 with SMTP id 5so2225029fxm.13 for ; Mon, 31 May 2010 01:09:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=ZTzNy+UgGcyAAZaOt7wuan7M15OSKeI2itpk7XBNS7Y=; b=RGBpk3jMQB7bELyc9qrN6D+2L3SqDUKA/mBCoTci3wFMWMS/zpg1Acup2Lk4Vbq4co Pi1jgC4GQSg3T44Gfm9LY1meSRRKJYRszKfuBlSQBae7mFT1LsTvKRxJsd+bbn1NxwHG BeCrxdDjul5Z0yqrl4BujR+QXGmB2d/iEg4u0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=sZQQDqfrCkmShlE8Lzx7F+VwBvXa6D6G9wDS8ffIux9b/Z38S/XIc9TciuDaagNgJ0 +UOGzSrQpajnQdHjjtNYtUj/Rk1Sg0gG4i9rI6CQ1xsWiJzJBDSQc04XeSqGz4xfq9uE 9sE77m5MOYlOizyb8bRqqB5A4MbgJZGEerv+A= Received: by 10.103.209.9 with SMTP id l9mr1650536muq.64.1275293393345; Mon, 31 May 2010 01:09:53 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.122.205 with HTTP; Mon, 31 May 2010 01:09:33 -0700 (PDT) In-Reply-To: <4C036C48.3000307@comclark.com> References: <4C036C48.3000307@comclark.com> From: =?ISO-8859-1?Q?Samuel_Mart=EDn_Moro?= Date: Mon, 31 May 2010 10:09:33 +0200 Message-ID: To: Aiza Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "questions@freebsd.org" Subject: Re: how to debug .sh type script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 08:09:55 -0000 echo $my $debugs read a #(or whatever variable) until you pressed the enter key (or sig), your script will wait Samuel Mart=EDn Moro {EPITECH.} tek4 CamTrace S.A.S (+033) 1 41 38 37 60 1 All=E9e de la Venelle 92150 Suresnes FRANCE "Nobody wants to say how this works. Maybe nobody knows ..." Xorg.conf(5) On Mon, May 31, 2010 at 9:59 AM, Aiza wrote: > Is there way to single step through each line of code and see the real > values of the variables? > _______________________________________________ > 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 Mon May 31 08:12:44 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 837E41065672 for ; Mon, 31 May 2010 08:12:44 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id ED63C8FC13 for ; Mon, 31 May 2010 08:12:43 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o4V8CXVt099247 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 31 May 2010 09:12:33 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4C036F71.2080001@infracaninophile.co.uk> Date: Mon, 31 May 2010 09:12:33 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: Aiza References: <4C036C48.3000307@comclark.com> In-Reply-To: <4C036C48.3000307@comclark.com> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.96.1 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=2.0 required=5.0 tests=DKIM_ADSP_ALL,SPF_FAIL autolearn=no version=3.3.1 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Cc: "questions@freebsd.org" Subject: Re: how to debug .sh type script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 08:12:44 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 31/05/2010 08:59:04, Aiza wrote: > Is there way to single step through each line of code and see the real > values of the variables? Not 'single step' as such -- what you can do is run with '-x' which prints each line as it is executed. That's either: sh -x scriptname or you can add it to the #! line in the script, or just stick 'set -x' somewhere in the script body. If you use the 'set -x' form, you can set it up to trace through just the interesting parts of your code. (Somewhat counter intuitively 'set - -x' or 'set -o xtrace' turns on trace mode; 'set +x' or 'set +o xtrace' turns it off) This doesn't give you a way of arbitrarily querying the value of any variable, but you will be able to see all variable assignments as part of the trace. There's also a '-v' flag which adds displaying input read by the shell as it executes. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwDb3EACgkQ8Mjk52CukIyoLwCfdTamyG/PnEgdbWEDlZwaW28B HCwAn2WhU6/GCLzamityi3YiW79OcjS9 =7vBz -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Mon May 31 08:19:29 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B816F1065674 for ; Mon, 31 May 2010 08:19:29 +0000 (UTC) (envelope-from eliaschr@cha.forthnet.gr) Received: from mx-out.forthnet.gr (mx-out.forthnet.gr [193.92.150.104]) by mx1.freebsd.org (Postfix) with ESMTP id A27BA8FC1A for ; Mon, 31 May 2010 08:19:28 +0000 (UTC) Received: from mx-av-04.forthnet.gr (mx-av.forthnet.gr [193.92.150.27]) by mx-out-04.forthnet.gr (8.14.3/8.14.3) with ESMTP id o4V8JQkF024965 for ; Mon, 31 May 2010 11:19:26 +0300 Received: from MX-IN-01.forthnet.gr (mx-in-01.forthnet.gr [193.92.150.23]) by mx-av-04.forthnet.gr (8.14.3/8.14.3) with ESMTP id o4V8JQs2016905 for ; Mon, 31 May 2010 11:19:26 +0300 Received: from pluto.universe (62.1.221.99.dsl.dyn.forthnet.gr [62.1.221.99]) by MX-IN-01.forthnet.gr (8.14.3/8.14.3) with ESMTP id o4V8JPho003756 for ; Mon, 31 May 2010 11:19:26 +0300 Authentication-Results: MX-IN-01.forthnet.gr smtp.mail=eliaschr@cha.forthnet.gr; spf=neutral Authentication-Results: MX-IN-01.forthnet.gr header.from=eliaschr@cha.forthnet.gr; sender-id=neutral From: Elias Chrysocheris To: freebsd-questions@freebsd.org Date: Mon, 31 May 2010 11:19:24 +0300 User-Agent: KMail/1.13.3 (FreeBSD/8.0-RELEASE-p3; KDE/4.4.3; amd64; ; ) References: <4C036C48.3000307@comclark.com> In-Reply-To: <4C036C48.3000307@comclark.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201005311119.25027.eliaschr@cha.forthnet.gr> Subject: Re: how to debug .sh type script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 08:19:29 -0000 On Monday 31 of May 2010 10:59:04 Aiza wrote: > Is there way to single step through each line of code and see the real > values of the variables? > _______________________________________________ > 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" I'm not aware of a way to single step a script. But the old method of echo and exit is the way I use. I use echo to print the values and the line numbers that I want and exit to stop the execution of the script at a point I wish it to stop. Elias From owner-freebsd-questions@FreeBSD.ORG Mon May 31 09:17:34 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0258106564A for ; Mon, 31 May 2010 09:17:34 +0000 (UTC) (envelope-from omerfsen@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 780F78FC12 for ; Mon, 31 May 2010 09:17:33 +0000 (UTC) Received: by fxm5 with SMTP id 5so2286420fxm.13 for ; Mon, 31 May 2010 02:17:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=pkV+kRYyaJ3LM/ei/a+Ro66Jr6NLGzakR+4AVc+ag1s=; b=wkUjhbEpj8MwpUMX9CtnTUP+HKTi0ZKT9H95PfTWRBKRXPHqOcHVnU4dX4Y7ZHN1s1 is1xLrXhCLCobvGpVU2GEAhRqNiHlgyKfCxCFKkQdmljGgkNv0G/WnVibv9uGidamkuQ gvr7yQl7+ecWc5LiSElzY5mPi5VmELUtMM750= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=B9y0gMY3y2kMt2Kwaf4dr8nq6JYZQtrMeLlFjLN/rDUQMtrrJJ7JK8wgDHykERb0df tE9aNOL4gW99XQi58Fm8hXQAt/bnTguHPreG0laMYKZJvawFBLilM3fokaYk698JSs6J I+78F1Wr1GD3pPpAiUauyjcE1cc2CT0hJfAaU= MIME-Version: 1.0 Received: by 10.239.192.69 with SMTP id d5mr319998hbi.208.1275297452989; Mon, 31 May 2010 02:17:32 -0700 (PDT) Received: by 10.239.159.8 with HTTP; Mon, 31 May 2010 02:17:32 -0700 (PDT) Date: Mon, 31 May 2010 12:17:32 +0300 Message-ID: From: Omer Faruk Sen To: FreeBSD Content-Type: text/plain; charset=ISO-8859-1 Subject: tcpdump filter maximum number? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 09:17:35 -0000 Hi, Is there any limit on writing filters on tcpdump? Or is there any? I use FreeBSD as the operating system. Maybe this limit is not on tcpdump but on bpf on FreeBSD that is why I have stated FreeBSD Regards. From owner-freebsd-questions@FreeBSD.ORG Mon May 31 09:41:33 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 43DD81065676 for ; Mon, 31 May 2010 09:41:33 +0000 (UTC) (envelope-from stark@mapper.nl) Received: from smtp-out1.tiscali.nl (smtp-out1.tiscali.nl [195.241.79.176]) by mx1.freebsd.org (Postfix) with ESMTP id 005848FC24 for ; Mon, 31 May 2010 09:41:32 +0000 (UTC) Received: from [82.170.17.27] (helo=mapper.nl) by smtp-out1.tiscali.nl with esmtp (Exim) (envelope-from ) id 1OJ1AS-0005fr-PZ; Mon, 31 May 2010 11:20:20 +0200 Received: from [10.58.235.50] by mapper.nl with esmtp (Exim 4.71 (FreeBSD)) (envelope-from ) id 1OJ1AK-00077l-3b; Mon, 31 May 2010 11:20:12 +0200 Message-ID: <4C037F4B.7080101@mapper.nl> Date: Mon, 31 May 2010 11:20:11 +0200 From: Mark Stapper User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: Polytropon References: <4BFEA0B1.1010403@waagmeester.co.za> <20100528084754.b6cd75de.freebsd@edvax.de> In-Reply-To: <20100528084754.b6cd75de.freebsd@edvax.de> X-Enigmail-Version: 1.0.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig97F76D797DA7774D6AE8DFD4" Cc: FreeBSD questions , Coert Subject: Re: linux cp -u question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 09:41:33 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig97F76D797DA7774D6AE8DFD4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 28/05/2010 08:47, Polytropon wrote: > On Thu, 27 May 2010 18:41:21 +0200, Coert w= rote: > =20 >> Hello all, >> >> Is there a FreeBSD equivalent for the linux cp -u ? >> >> http://linux.die.net/man/1/cp (-u, --update) >> =20 > > Check out cpdup (available via ports or packages). > > > > =20 I like rsync for this as well, alternatively you can use "pax" which is in the base-distro. Regards, Mark --------------enig97F76D797DA7774D6AE8DFD4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwDf04ACgkQN9xNqOOVnWDlgACgiEiANrNHLlAROSniKB6Ln0KS H0AAn1VzysThkQeEseUhC7rkMvRZ4Az+ =32Vt -----END PGP SIGNATURE----- --------------enig97F76D797DA7774D6AE8DFD4-- From owner-freebsd-questions@FreeBSD.ORG Mon May 31 09:47:51 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C89FE1065677 for ; Mon, 31 May 2010 09:47:51 +0000 (UTC) (envelope-from rfarmer@predatorlabs.net) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8E45C8FC28 for ; Mon, 31 May 2010 09:47:51 +0000 (UTC) Received: by gyh20 with SMTP id 20so3328027gyh.13 for ; Mon, 31 May 2010 02:47:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.150.104.20 with SMTP id b20mr5278068ybc.312.1275299270399; Mon, 31 May 2010 02:47:50 -0700 (PDT) Received: by 10.150.137.17 with HTTP; Mon, 31 May 2010 02:47:50 -0700 (PDT) X-Originating-IP: [128.95.133.142] In-Reply-To: References: Date: Mon, 31 May 2010 02:47:50 -0700 Message-ID: From: Rob Farmer To: Eitan Adler Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Mailing List Subject: Re: what would take to allow binary upgrade to amd64? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 09:47:51 -0000 On Sun, May 30, 2010 at 1:30 PM, Eitan Adler wrote: > On Sun, May 30, 2010 at 10:52 PM, Rob Farmer wrote: >> On Sun, May 30, 2010 at 11:51 AM, Eitan Adler wrote: >>> I know that attempting to change from i386 to amd64 is is not possible >> >> The proper procedure for such an upgrade is as follows: > .... >> >> If the thought of reformatting your system is scary, because you don't >> have backups or aren't sure they are comprehensive or work, then solve >> that problem, rather than trying to invent workarounds to cover for >> bad system administration. It will serve you much better in the long >> run. > This isn't my question. I know how to currently perform the upgrade. > > My question is > a) is it possible in theory to allow binary upgrades to be done? > and b) if yes how much work would it take? Sure, its possible. But my point was that it is not a good idea and not something worth encouraging via tools like freebsd-upgrade. What is the use case you have in mind for this where a reformat isn't an option? -- Rob Farmer > > > -- > Eitan Adler > From owner-freebsd-questions@FreeBSD.ORG Mon May 31 09:49:06 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 067D71065672 for ; Mon, 31 May 2010 09:49:06 +0000 (UTC) (envelope-from xkyanh@gmail.com) Received: from mail-pz0-f174.google.com (mail-pz0-f174.google.com [209.85.222.174]) by mx1.freebsd.org (Postfix) with ESMTP id C7DDC8FC19 for ; Mon, 31 May 2010 09:49:05 +0000 (UTC) Received: by pzk4 with SMTP id 4so571506pzk.7 for ; Mon, 31 May 2010 02:49:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:in-reply-to:references:organization:user-agent :x-operating-system:x-face:face:x-mailer:mime-version:content-type :content-transfer-encoding; bh=xJKH3KyfSSTNyKlXD+q2aTb8i2ZCRfJNjfVzw8Ofh20=; b=Bz513HlpadiCwgFXcpos91RMPJUefrO+H/haHtZ/gTngq95+HD970JiPIG1MFNjtSx GVBIPlCMVHACyKx/1Ge0zZWbfSyWxU3nz+qT5KIEx3vEx2lal0tUKEzCqCuThkgWp9WB Hh7hTKtSVCZ5olUiqArIqZmhiO2M71bTGaQ2Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references :organization:user-agent:x-operating-system:x-face:face:x-mailer :mime-version:content-type:content-transfer-encoding; b=x2RUtB3OGbt6JIVgLnq7hf1gy0XugP+SmYTIRMyOB1azI9dSgYGms7ZiG6pER3DEoy 7xqfT9GdcSV/H5hFlFROA/Rg8bYO3eCd0Pa2jCSRZUIQdLm8xH9gx3iKH6luTa7f+oBy PZUTRcpF7uFKGkGY7LZIM1GSwg8Cd10T/8az4= Received: by 10.141.107.21 with SMTP id j21mr2179052rvm.97.1275299345175; Mon, 31 May 2010 02:49:05 -0700 (PDT) Received: from icy.localdomain ([115.78.0.218]) by mx.google.com with ESMTPS id b10sm4125741rvn.3.2010.05.31.02.49.02 (version=SSLv3 cipher=RC4-MD5); Mon, 31 May 2010 02:49:04 -0700 (PDT) Date: Mon, 31 May 2010 16:48:36 +0700 From: "Anh Ky Huynh" To: Mark Stapper Message-ID: <20100531164836.68e89a02@icy.localdomain> In-Reply-To: <4C037F4B.7080101@mapper.nl> References: <4BFEA0B1.1010403@waagmeester.co.za> <20100528084754.b6cd75de.freebsd@edvax.de> <4C037F4B.7080101@mapper.nl> Organization: Vietnamese TeX Users Group User-Agent: FreeBSD X-Operating-System: FreeBSD X-Face: FreeBSD Face: FreeBSD X-Mailer: FreeBSD Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD questions , Polytropon , Coert Subject: Re: linux cp -u question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 09:49:06 -0000 On Mon, 31 May 2010 11:20:11 +0200 Mark Stapper wrote: > On 28/05/2010 08:47, Polytropon wrote: > > On Thu, 27 May 2010 18:41:21 +0200, Coert > > wrote: > >> Hello all, > >> > >> Is there a FreeBSD equivalent for the linux cp -u ? > >> > >> http://linux.die.net/man/1/cp (-u, --update) > >> > > > > Check out cpdup (available via ports or packages). > > > > > > > > > I like rsync for this as well, alternatively you can use "pax" > which is in the base-distro. pax... so nice tool. This is the first time I've heard about it ;) Regards, -- Anh Ky Huynh From owner-freebsd-questions@FreeBSD.ORG Mon May 31 09:53:02 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD3A2106564A for ; Mon, 31 May 2010 09:53:02 +0000 (UTC) (envelope-from freebsd.user@seibercom.net) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5690A8FC15 for ; Mon, 31 May 2010 09:53:01 +0000 (UTC) Received: by vws10 with SMTP id 10so1192229vws.13 for ; Mon, 31 May 2010 02:53:01 -0700 (PDT) Received: by 10.220.128.24 with SMTP id i24mr3228898vcs.33.1275299580712; Mon, 31 May 2010 02:53:00 -0700 (PDT) Received: from scorpio.seibercom.net (c-67-189-160-65.hsd1.ny.comcast.net [67.189.160.65]) by mx.google.com with ESMTPS id s9sm24340142vcr.3.2010.05.31.02.52.59 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 31 May 2010 02:53:00 -0700 (PDT) Received: from scorpio (zeus [192.168.1.1]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: FreeBSD.user@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 2DE68E54856 for ; Mon, 31 May 2010 05:52:58 -0400 (EDT) Date: Mon, 31 May 2010 05:52:57 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20100531055257.08fe9843@scorpio> In-Reply-To: <4C036C48.3000307@comclark.com> References: <4C036C48.3000307@comclark.com> Organization: seibercom.net X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; amd64-portbld-freebsd8.0) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAG1BMVEX3/uPVnZf2/v9ejGkqHB74++H///+cHCT3m6cgqYvfAAACbElEQVQ4jWXTQW/bIBQAYJLJuRMn8TVCss9zTdrrXJ6bHe1Ej/bossF9EpJ3nbapf3sP8JxOQ4qV8OU9HvjBROWcYNlKHtxlQ1/huBaOBiMwQtgHhbokMLIT76Acps5hvy61+6WsjkCZzNEW0+fcQ7Nl5uoPCegjjjhN5/MEABd89k9hXkQoX6cwPIDKCt8tYG5wpmdrxAyuolTPqpiVoEpVCWvl6e00RAD4JBJQnO4lvv0O4Cnd3WUGevYNFohxFYAy7jCCtW39LaQK8BgDAgiHVinVJlCiFKlcqgEHfwb1EuG+DwFGMO3oCIuJIEYoa8KJECBB+UBldgm0MQmEGz7GQr8XYRPKzYNO1zZ8mgdAu4BG5Ke/4KFboM8458UScViAAvYD93OAsu+Bc3zxCU7ZAjT74+dQv9K7oO0d1wuscop48Pc50O5bcVwgGzh/mXzaizJuAWERh8k3eaxKmxu4kV1p2XOEg3i3c8M+EKR93P0D1KATpC55vMHaGqFf5f/AwhlrhHgg8DTezopt6I3o3Qx4q4q6YaPxK8RxcClXeFGhTTS++QR6TS/oBs7l4WhzuNMubZG6hIBkF4qqZVdWczIqSrjKVF/i4o26IP2oElBGFy5CXKSnf6UWDTC6zKSqoAvzsakjjBvdzLKnmxdhY8eRsX7VSCUBdgD1hVJpx6y2OOS1DNDILYmqdWUJ+oHvd0rRvAqX5kpxQMR6yxHzPV6VlPFyWE7LKc36keNQI64gLP8Ybgtmg+zYuBl4fuI8VqW2RqDGE8Uzu7GxGa803whDdxx3bSZbRhfQUSxvmnpLZWpRFqHz7v8AvsBe0S1zv9UAAAAASUVORK5CYII= Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: how to debug .sh type script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 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: Mon, 31 May 2010 09:53:02 -0000 On Mon, 31 May 2010 15:59:04 +0800 Aiza articulated: > Is there way to single step through each line of code and see the > real values of the variables? You did not indicate what language your script is written in. There are quite a few sites that have information for debugging a Bash script. http://bashdb.sourceforge.net/bashdb-man.html http://www.tldp.org/LDP/abs/html/debugging.html http://www.softpanorama.org/Scripting/Shellorama/bash_debugging.shtml http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_02_03.html There are lots of others. Just Google or Bing for it. -- Jerry FreeBSD.user@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From owner-freebsd-questions@FreeBSD.ORG Mon May 31 11:46:53 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25BE41065673 for ; Mon, 31 May 2010 11:46:53 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id EA1C38FC12 for ; Mon, 31 May 2010 11:46:52 +0000 (UTC) Received: by iwn5 with SMTP id 5so530034iwn.13 for ; Mon, 31 May 2010 04:46:52 -0700 (PDT) Received: by 10.231.193.93 with SMTP id dt29mr5680288ibb.71.1275306412145; Mon, 31 May 2010 04:46:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.148.201 with HTTP; Mon, 31 May 2010 04:46:32 -0700 (PDT) In-Reply-To: References: From: Eitan Adler Date: Mon, 31 May 2010 14:46:32 +0300 Message-ID: To: Rob Farmer Content-Type: text/plain; charset=UTF-8 Cc: FreeBSD Mailing List Subject: Re: what would take to allow binary upgrade to amd64? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 11:46:53 -0000 > Sure, its possible. But my point was that it is not a good idea and > not something worth encouraging via tools like freebsd-upgrade. What > is the use case you have in mind for this where a reformat isn't an > option? Upgrading from 7.1 to 7.2 is also possible via a format but we have a tool like freebsd-update do help us instead. My question was is this possible to add this functionality or worth it. The answer is no - that is all that is needed. -- Eitan Adler From owner-freebsd-questions@FreeBSD.ORG Mon May 31 12:42:04 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 28F1A106566C for ; Mon, 31 May 2010 12:42:04 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id E92468FC08 for ; Mon, 31 May 2010 12:42:03 +0000 (UTC) Received: by gwj23 with SMTP id 23so2876533gwj.13 for ; Mon, 31 May 2010 05:42:03 -0700 (PDT) Received: by 10.231.126.79 with SMTP id b15mr5674468ibs.80.1275309722837; Mon, 31 May 2010 05:42:02 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.148.201 with HTTP; Mon, 31 May 2010 05:41:42 -0700 (PDT) From: Eitan Adler Date: Mon, 31 May 2010 15:41:42 +0300 Message-ID: To: questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Cc: Subject: devel/gojbect-introspection fails due to not finding libintl X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 12:42:04 -0000 Here is the output of $make install env LPATH=.libs env PYTHONPATH=..:.. UNINSTALLED_INTROSPECTION_SRCDIR=.. UNINSTALLED_INTROSPECTION_BUILDDIR=.. ../tools/g-ir-scanner -v --add-include-path=../gir --add-include-path=. -v --add-include-path=../gir --add-include-path=. --namespace=Everything --nsversion=1.0 --libtool="/bin/sh /usr/local/bin/libtool" --library=libgirepository-everything-1.0.la --pkg=gobject-2.0 --pkg=cairo --pkg=gio-2.0 --include=GObject-2.0 --include=cairo-1.0 --include=Gio-2.0 ./everything.h ./everything.c --output Everything-1.0.gir /libexec/ld-elf.so.1: Shared object "libintl.so.8" not found, required by "libgirepository-1.0.so.0" Command '['/dta/ports/devel/gobject-introspection/work/gobject-introspection-0.6.11/gir/tmp-introspectLatOlI/Everything-1.0', '--introspect-dump=/dta/ports/devel/gobject-introspection/work/gobject-introspection-0.6.11/gir/tmp-introspectLatOlI/types.txt,/dta/ports/devel/gobject-introspection/work/gobject-introspection-0.6.11/gir/tmp-introspectLatOlI/dump.xml']' returned non-zero exit status 1 gmake[2]: *** [Everything-1.0.gir] Error 1 gmake[2]: Leaving directory `/dta/ports/devel/gobject-introspection/work/gobject-introspection-0.6.11/gir' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/dta/ports/devel/gobject-introspection/work/gobject-introspection-0.6.11' gmake: *** [all] Error 2 *** Error code 1 -- Eitan Adler From owner-freebsd-questions@FreeBSD.ORG Mon May 31 13:23:17 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC1F31065673 for ; Mon, 31 May 2010 13:23:17 +0000 (UTC) (envelope-from ganael.laplanche@martymac.com) Received: from data.galacsys.net (webmail.galacsys.net [217.24.81.215]) by mx1.freebsd.org (Postfix) with ESMTP id A31558FC08 for ; Mon, 31 May 2010 13:23:17 +0000 (UTC) Received: from martymac.org (webmail.galacsys.net [217.24.81.215]) by data.galacsys.net (Postfix) with ESMTP id 73EF716EEF2; Mon, 31 May 2010 15:05:22 +0200 (CEST) From: "Ganael LAPLANCHE" To: Eitan Adler X-Openwebmail-Date: Mon, 31 May 2010 15:05:22 +0100 Message-Id: <20100531130300.M41720@martymac.org> In-Reply-To: References: X-Mailer: Open WebMail 2.01 20030425 X-OriginatingIP: 157.99.64.43 (ganael.laplanche@martymac.org) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Date: Mon, 31 May 2010 15:05:22 +0200 (CEST) Cc: questions@freebsd.org Subject: Re: devel/gojbect-introspection fails due to not finding libintl X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 13:23:17 -0000 On Mon, 31 May 2010 15:41:42 +0300, Eitan Adler wrote Hi Eitan, > /libexec/ld-elf.so.1: Shared object "libintl.so.8" not found, required > by "libgirepository-1.0.so.0" pkg_create -b gobject-introspection-0.6.11 (keep it, it may be useful) cd /usr/ports/devel/gobject-introspection make deinstall clean make install clean did the trick for me... Best regards, Ganaël LAPLANCHE ganael.laplanche@martymac.org http://www.martymac.org From owner-freebsd-questions@FreeBSD.ORG Mon May 31 14:17:11 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8EE77106566B for ; Mon, 31 May 2010 14:17:11 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 52FEC8FC0A for ; Mon, 31 May 2010 14:17:11 +0000 (UTC) Received: by vws10 with SMTP id 10so1518073vws.13 for ; Mon, 31 May 2010 07:17:10 -0700 (PDT) Received: by 10.224.65.152 with SMTP id j24mr1670964qai.52.1275315430150; Mon, 31 May 2010 07:17:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.148.201 with HTTP; Mon, 31 May 2010 07:16:50 -0700 (PDT) From: Eitan Adler Date: Mon, 31 May 2010 17:16:50 +0300 Message-ID: To: questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Cc: Subject: multimedia/ffmpeg fails with internal compiler error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 14:17:11 -0000 Is this a a) PEBKAC b) freeBSD ports error c) ffmpeg problem d) compiler problem (as the error seems to be saying) gcc46 -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I. -I"/dta/ports/multimedia/ffmpeg/work/ffmpeg-0.5.2" -pipe -mssse3 -mtune=native -O3 -ffast-math -fno-finite-math-only -fomit-frame-pointer -Wl,-rpath=/usr/local/lib/gcc46 -fno-strict-aliasing -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/usr/local/include/vorbis -I/usr/local/include -std=c99 -fomit-frame-pointer -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -O3 -fno-math-errno -fno-signed-zeros -c -o libavutil/crc.o libavutil/crc.c libavutil/crc.c: In function 'av_crc_init': libavutil/crc.c:58:5: internal compiler error: in predicate_bbs, at tree-if-conv.c:555 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. gmake: *** [libavutil/crc.o] Error 1 gmake: *** Waiting for unfinished jobs.... *** Error code 1 # make showconfig ===> The following configuration options are available for ffmpeg-0.5.2,1: AMR_NB=off "AMR Narrow Band encoder" AMR_WB=off "AMR Wide Band encoder" DIRAC=off "Dirac codec via libdirac" FAAC=off "FAAC mp4/aac audio encoder" FAAD=on "FAAD mp4/aac audio decoder" FFSERVER=off "Build and install ffserver" GSM=off "GSM audio codec" IPV6=off "IPV6 network support" LAME=off "LAME MP3 encoder" OPENJPEG=off "JPEG 2000 decoder" OPTIMIZED_CFLAGS=on "Additional optimizations" SCHROEDINGER=off "Dirac codec via libschroedinger" SDL=off "SDL support (build ffplay)" SPEEX=off "Speex audio decoder" SSSE3=on "Enable ssse3 support (gcc 4.4+)" THEORA=on "Theora encoder (implies OGG)" VHOOK=off "Video hook support" VORBIS=on "Vorbis encoder via libvorbis (implies OGG)" X11GRAB=off "enable X11 grabbing" X264=on "H.264 encoder" XVID=on "Xvid encoder via xvidcore" ===> Use 'make config' to modify these settings # make -V CC gcc46 # make -V CFLAGS -pipe -mssse3 -mtune=native -O3 -ffast-math -fno-finite-math-only -fomit-frame-pointer -Wl,-rpath=/usr/local/lib/gcc46 -fno-strict-aliasing # cat /etc/libmap.conf libgcc_s.so.1 gcc46/libgcc_s.so.1 libgomp.so.1 gcc46/libgomp.so.1 libobjc.so.3 gcc46/libobjc.so.2 libssp.so.0 gcc46/libssp.so.0 libstdc++.so.6 gcc46/libstdc++.so.6 -- Eitan Adler From owner-freebsd-questions@FreeBSD.ORG Mon May 31 14:50:55 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C982E106567A for ; Mon, 31 May 2010 14:50:55 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 911828FC22 for ; Mon, 31 May 2010 14:50:55 +0000 (UTC) Received: by gwj23 with SMTP id 23so3008652gwj.13 for ; Mon, 31 May 2010 07:50:54 -0700 (PDT) MIME-Version: 1.0 Received: by 10.224.52.164 with SMTP id i36mr1721780qag.147.1275317454372; Mon, 31 May 2010 07:50:54 -0700 (PDT) Sender: aimass@yabarana.com Received: by 10.229.88.12 with HTTP; Mon, 31 May 2010 07:50:54 -0700 (PDT) In-Reply-To: <201005310949.43919.j.mckeown@ru.ac.za> References: <201005310949.43919.j.mckeown@ru.ac.za> Date: Mon, 31 May 2010 10:50:54 -0400 X-Google-Sender-Auth: 6uRfBMUbj1D5GGy7gKGpOzloCFg Message-ID: From: Alejandro Imass To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: Fwd: [#24525016] External USB drive causes system to hang completely X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 14:50:55 -0000 On Mon, May 31, 2010 at 3:49 AM, Jonathan McKeown wrote: > On Sunday 30 May 2010 22:29:14 Alejandro Imass wrote: >> Hi all, >> [..] > Yes. There's a hosting company called MidPhase whose support queue (at > mpcustomer.com) has been added (probably maliciously by some kiddie that > thinks it's clever) to the mailing list. > > They appear either not to know how to stop their ticketing system responding > to list emails, or not to care. Either way, it's not a great advertisement > for them, as this has been going on for several weeks now with no > improvement. > Thanks! So nobody has any comment on USB drive causing the whole system to halt? Since the rsync was quite long and we've been having some power failures I put the external drives in the UPS and it had no failures over the weekend and finished fine. So the issue here is that is an external USB drive in UFS + Journaling fails the whole system crashes. I don't think this should be so and osmeone should look into that. Should I report a bug? Is there enough information to actually post a bug? Does anyone here feel this is a bug, or is it expected behaviour? Best, Alejandro Imass > Jonathan > _______________________________________________ > 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 Mon May 31 15:11:26 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5EE13106564A for ; Mon, 31 May 2010 15:11:26 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 219A88FC17 for ; Mon, 31 May 2010 15:11:25 +0000 (UTC) Received: by vws10 with SMTP id 10so1586264vws.13 for ; Mon, 31 May 2010 08:11:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.224.87.169 with SMTP id w41mr1722948qal.292.1275318684733; Mon, 31 May 2010 08:11:24 -0700 (PDT) Sender: aimass@yabarana.com Received: by 10.229.88.12 with HTTP; Mon, 31 May 2010 08:11:24 -0700 (PDT) Date: Mon, 31 May 2010 11:11:24 -0400 X-Google-Sender-Auth: SYlxlGy2xgSH2Lk6PavGeTaIWaA Message-ID: From: Alejandro Imass To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 Subject: Some icons broken in Gnome after libpng upgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 15:11:26 -0000 Hi, I updated libpng and Gnome (gdm) refused to start because it was looking for libpng.so.5 and I had upgraded to libpng.so.6 . I create a softlink to trick Gnome but some icons broke and no longer show up, particularly those in the taskbars, but those on the Desktop are fine. This Gnome is installed via binary package so if I re-install it will probably rewrite my current libpng and break other stuff. The other option is to compile libpng from source and place only the specific .5 file in the libr directory. Has anyone else had this problem? I did some searches and nothing obvious. What do you recommend I do? Thanks, Alejandro Imass From owner-freebsd-questions@FreeBSD.ORG Mon May 31 15:55:13 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 487D41065675 for ; Mon, 31 May 2010 15:55:13 +0000 (UTC) (envelope-from xkyanh@gmail.com) Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1467A8FC17 for ; Mon, 31 May 2010 15:55:12 +0000 (UTC) Received: by pxi7 with SMTP id 7so1985030pxi.13 for ; Mon, 31 May 2010 08:55:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:in-reply-to:references:organization:user-agent :x-operating-system:x-face:face:x-mailer:mime-version:content-type :content-transfer-encoding; bh=Aw13+JpV4sh74lhfEmZg65ycK/2HdaT/L2Sd7yq8nlQ=; b=wd7Pqa5ItiTOLIPwPRjPMvsSwdqkSFKjbw1aYKdi8fFfPxXLDkqgcD/uRIzUzMOrqN PjG+f6DuImUsqR14a+ACWEfyrtM9KK2Urg8pRWb6jnPV5f5nSYppjpw/H8aXcoA0FZKo HIn2ayyoEQWIfXwXR/rCAMeLoLViULjcTDMsI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references :organization:user-agent:x-operating-system:x-face:face:x-mailer :mime-version:content-type:content-transfer-encoding; b=MgYs9g3p5BYUgIsfxgOj9SJlBuiNaEiCzlGsKggfPoKY94IAnrI4ZFwuw6y6Qoeorj mGodNZ02tuVxWImF3aQ6ScivFpQHeW1c5RgYVb29GawO9TgtXeCj6pxVOf3GSL3YBTvb c9PMnnsbbLl18kw47W2CQTYR5az3FjCYRH9Mc= Received: by 10.140.248.20 with SMTP id v20mr3426360rvh.235.1275321312389; Mon, 31 May 2010 08:55:12 -0700 (PDT) Received: from icy.localdomain ([222.253.92.215]) by mx.google.com with ESMTPS id b1sm4353412rvn.14.2010.05.31.08.55.08 (version=SSLv3 cipher=RC4-MD5); Mon, 31 May 2010 08:55:11 -0700 (PDT) Date: Mon, 31 May 2010 22:54:27 +0700 From: "Anh Ky Huynh" To: "Marc G. Fournier" Message-ID: <20100531225427.494cb581@icy.localdomain> In-Reply-To: References: <4C032FDC.7090201@comclark.com> <20100531104944.43972435@icy.localdomain> <20100531115716.3f874797@icy.localdomain> Organization: Vietnamese TeX Users Group User-Agent: FreeBSD X-Operating-System: FreeBSD X-Face: FreeBSD Face: FreeBSD X-Mailer: FreeBSD Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Aiza , FreeBSD question Subject: Re: Is this information obtainable? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 15:55:13 -0000 On Mon, 31 May 2010 02:05:57 -0300 (ADT) "Marc G. Fournier" wrote: > On Mon, 31 May 2010, Anh Ky Huynh wrote: > > >> the numbers are growing ... since the start of May, I've seen the > >> numbers jump by almost 2k new computers, so it is growing ... but > >> ppl have to consciously install the software ... > > > > I remember the days when I was using Linux with > > http://counter.li.org/ (my ID is 392115). Anonymousness is good > > but I think that I'll be proud of having a counter for my > > (Free)BSD box :) Why don't bsdstat support registration? > > one of the critical requirements that alot of ppl out there had at > the start was anonymity ... not so much that they weren't proud to > run *BSD, but for safety ... there is nothing in the database that > can be traced back to the source, nor that can be spammed ... > > Also, easy of use was a big factor ... registration is just yet > another step that ppl (myself included) generally just don't bother > with ... it really doesn't give you much, and discourages alot of > ppl from doing it ... > > ... and, in the case of PCBSD, would make it harder to have it > auto-enabled, since it couldn't be enabled without the end user > registering first, which most wouldn't do ... > Uhm... I see. Thank you for your great explanation :) Regards, -- Anh Ky Huynh From owner-freebsd-questions@FreeBSD.ORG Mon May 31 15:59:08 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07173106564A for ; Mon, 31 May 2010 15:59:08 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-01.bluehost.com (cpoproxy1-pub.bluehost.com [69.89.21.11]) by mx1.freebsd.org (Postfix) with SMTP id C76448FC1C for ; Mon, 31 May 2010 15:59:07 +0000 (UTC) Received: (qmail 26120 invoked by uid 0); 31 May 2010 15:59:07 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by cpoproxy1.bluehost.com with SMTP; 31 May 2010 15:59:07 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=mrvBP9Bv2OtduNFKtXXS6xjc6eE5HQgABtnx4k2DAWCzAdyU04llVg1cMTuJ77h5U6iQ7MklnkF0ii+mzpcU1uH/u7hRUCCpnpX6kgMHeO4ehgdiNVXA2ar4lvOwkkwn; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kukaburra.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1OJ7OM-0004Fc-0s for freebsd-questions@freebsd.org; Mon, 31 May 2010 09:59:07 -0600 Received: by kukaburra.hydra (sSMTP sendmail emulation); Mon, 31 May 2010 09:59:00 -0600 Date: Mon, 31 May 2010 09:59:00 -0600 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20100531155900.GA1417@guilt.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <4C01DD3F.3040000@a1poweruser.com> <871vct44ww.fsf@kobe.laptop> <20100530232827.GB97659@guilt.hydra> <87zkzgsllg.fsf@kobe.laptop> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="RnlQjJ0d97Da+TV1" Content-Disposition: inline In-Reply-To: <87zkzgsllg.fsf@kobe.laptop> User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Subject: Re: text editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 15:59:08 -0000 --RnlQjJ0d97Da+TV1 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 31, 2010 at 08:10:03AM +0300, Giorgos Keramidas wrote: > On Sun, 30 May 2010 17:28:27 -0600, Chad Perrin wro= te: > >On Sun, May 30, 2010 at 09:31:59PM +0300, Giorgos Keramidas wrote: > >> If you don't mind the size of the respective packages, both VIM and > >> GNU Emacs have support for many features that ee(1) lacks. > > > > I'm not sure why you mentioned the size of Vim here as if it's a > > remarkably large piece of software. It *barely* doesn't fit on a 3.5" > > floppy when you use a full install of the console-based Vim editor. > > I'm pretty sure it's under 2 MB. >=20 > Vim is much smaller than Emacs but it still a few MB's here: >=20 > keramida@kobe:/usr/ports/packages/All$ ls -ld vim* > -rw-r--r-- 1 root wheel - 5757731 1 =CE=91=CF=80=CF=81 17:11 vim-li= te-7.2.344.tbz Does Vim install more than the binary? I've got this: > ls -l /usr/local/bin/vim -rwxr-xr-x 1 root wheel 1650340 Apr 18 12:20 /usr/local/bin/vim I don't think the size of the installation tarball is necessarily representative of the final size. --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --RnlQjJ0d97Da+TV1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwD3MQACgkQ9mn/Pj01uKWtaACeJdOZ8PVBRjuYwlSL0hyG/5Ep VKsAnj14pLd79p/+tNN1GWgsqvWbTx75 =OyGr -----END PGP SIGNATURE----- --RnlQjJ0d97Da+TV1-- From owner-freebsd-questions@FreeBSD.ORG Mon May 31 16:26:11 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87A62106564A for ; Mon, 31 May 2010 16:26:11 +0000 (UTC) (envelope-from ohartman@mail.zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 43D7C8FC13 for ; Mon, 31 May 2010 16:26:11 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) for freebsd-questions@freebsd.org with esmtp (envelope-from ) id <1OJ7oY-0007KW-28>; Mon, 31 May 2010 18:26:10 +0200 Received: from munin.geoinf.fu-berlin.de ([130.133.86.110]) by inpost2.zedat.fu-berlin.de (Exim 4.69) for freebsd-questions@freebsd.org with esmtpsa (envelope-from ) id <1OJ7oY-0003L3-0J>; Mon, 31 May 2010 18:26:10 +0200 Message-ID: <4C03FF3F.8080604@mail.zedat.fu-berlin.de> Date: Mon, 31 May 2010 20:26:07 +0200 From: "Hartmann, O." User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.9) Gecko/20100528 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 130.133.86.110 Subject: HELP: cups - can not login on localhost to cups server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 16:26:11 -0000 Hello, my problem sounds trivial, but isn't. I can not login to my cups server on localhost via http://localhost:631, which worked for me several months ago. Well I installed a new host using FreeBSD 9.0-CUR and need to add printers. Regarding to this problem I found a lot of stuff in the net and mailing lists, but none of the hints and tipps worked for me. First I will describe what I've already did. 1) ensured local BSD lpd is not running 2) on a prior installed system where cups is up and running printing is possible but no administration (see subject), so the problem seems to be common. 3) followed some hints adding a user "root" with proper password via "lppasswd" 4) deleted password.md5 and performed step 3) again 5) deleted all ports cups-* and /usr/local/cups folder and reinstalled cups, ensured having nothing left in /usr/local/etc The problem occured out of the blue to me, I possibly missed some changes within the last row of updates. Can anyone help? Please eMail me since I'm not subscriber of the "question" list. Thanks in advance, Oliver From owner-freebsd-questions@FreeBSD.ORG Mon May 31 16:37:18 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 800001065670 for ; Mon, 31 May 2010 16:37:18 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (ns2.r-bonomi.com [204.87.227.129]) by mx1.freebsd.org (Postfix) with ESMTP id 5550F8FC20 for ; Mon, 31 May 2010 16:37:17 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.3/rdb1) id o4VGarkt001701 for freebsd-questions@freebsd.org; Mon, 31 May 2010 11:36:53 -0500 (CDT) Date: Mon, 31 May 2010 11:36:53 -0500 (CDT) From: Robert Bonomi Message-Id: <201005311636.o4VGarkt001701@mail.r-bonomi.com> To: freebsd-questions@freebsd.org Subject: Re: text editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 16:37:18 -0000 > From owner-freebsd-questions@freebsd.org Mon May 31 00:10:28 2010 > From: Giorgos Keramidas > To: freebsd-questions@freebsd.org > Date: Mon, 31 May 2010 08:10:03 +0300 > Subject: Re: text editor > > On Sun, 30 May 2010 17:28:27 -0600, Chad Perrin wrote: > >On Sun, May 30, 2010 at 09:31:59PM +0300, Giorgos Keramidas wrote: > >> If you don't mind the size of the respective packages, both VIM and > >> GNU Emacs have support for many features that ee(1) lacks. > > > > I'm not sure why you mentioned the size of Vim here as if it's a > > remarkably large piece of software. It *barely* doesn't fit on a 3.5" > > floppy when you use a full install of the console-based Vim editor. > > I'm pretty sure it's under 2 MB. > > Vim is much smaller than Emacs but it still a few MB's here: > > keramida@kobe:/usr/ports/packages/All$ ls -ld vim* > -rw-r--r-- 1 root wheel - 5757731 1 =CE=91=CF=80=CF=81 17:11 vim-lite= > -7.2.344.tbz Yeah, but EMACS is (currently) reputed to stand for ighty egabytes nd onstantly wapping! *GRIN* I can't get at my FBSD box right now to check vim itself, but on another box, 'nvi' (which is described as a "bug-for-bug compatible replacement for the original Fourth Berkeley Software Distribution (4BSD) vi", has an executable that is under 256k in size. From owner-freebsd-questions@FreeBSD.ORG Mon May 31 16:37:44 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB5F91065687 for ; Mon, 31 May 2010 16:37:44 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 24F928FC15 for ; Mon, 31 May 2010 16:37:43 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o4VGbdSA004125 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 31 May 2010 17:37:40 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4C03E5D3.4@infracaninophile.co.uk> Date: Mon, 31 May 2010 17:37:39 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: "Hartmann, O." References: <4C03FF3F.8080604@mail.zedat.fu-berlin.de> In-Reply-To: <4C03FF3F.8080604@mail.zedat.fu-berlin.de> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.96.1 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=2.0 required=5.0 tests=DKIM_ADSP_ALL,SPF_FAIL autolearn=no version=3.3.1 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: HELP: cups - can not login on localhost to cups server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 16:37:44 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 31/05/2010 19:26:07, Hartmann, O. wrote: > Hello, > my problem sounds trivial, but isn't. I can not login to my cups server > on localhost via http://localhost:631, which worked for me several > months ago. Well I installed a new host using FreeBSD 9.0-CUR and need > to add printers. Regarding to this problem I found a lot of stuff in the > net and mailing lists, but none of the hints and tipps worked for me. > First I will describe what I've already did. > > 1) ensured local BSD lpd is not running > 2) on a prior installed system where cups is up and running printing is > possible but no administration (see subject), so the problem seems to > be common. > 3) followed some hints adding a user "root" with proper password via > "lppasswd" > 4) deleted password.md5 and performed step 3) again > 5) deleted all ports cups-* and /usr/local/cups folder and reinstalled > cups, ensured having nothing left in /usr/local/etc > > The problem occured out of the blue to me, I possibly missed some > changes within the last row of updates. > > Can anyone help? > > Please eMail me since I'm not subscriber of the "question" list. > > Thanks in advance, Check /usr/local/etc/pam.d/cups -- change it to use pam_unix rather than pam_unknown. (pam_unknown is, errr..., unknown on FreeBSD...) Like this: auth required pam_unix.so nodelay account required pam_unix.so Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwD5dMACgkQ8Mjk52CukIzPyQCfdwKzF9B1uCq5sa7nzV94Trsa oIIAnA25MsdSzF9MbumJ1so01bo/C5Ar =ATMA -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Mon May 31 16:45:38 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E711F1065692 for ; Mon, 31 May 2010 16:45:38 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (ns2.r-bonomi.com [204.87.227.129]) by mx1.freebsd.org (Postfix) with ESMTP id A40FD8FC08 for ; Mon, 31 May 2010 16:45:38 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.3/rdb1) id o4VGjFL9001779 for freebsd-questions@freebsd.org; Mon, 31 May 2010 11:45:15 -0500 (CDT) Date: Mon, 31 May 2010 11:45:15 -0500 (CDT) From: Robert Bonomi Message-Id: <201005311645.o4VGjFL9001779@mail.r-bonomi.com> To: freebsd-questions@freebsd.org Subject: Re: tcpdump filter maximum number? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 16:45:39 -0000 > From owner-freebsd-questions@freebsd.org Mon May 31 04:19:25 2010 > Date: Mon, 31 May 2010 12:17:32 +0300 > From: Omer Faruk Sen > To: FreeBSD > Subject: tcpdump filter maximum number? > > Hi, > > Is there any limit on writing filters on tcpdump? Or is there any? I > use FreeBSD as the operating system. Maybe this limit is not on > tcpdump but on bpf on FreeBSD that is why I have stated FreeBSD There are _always_ limits to anything. If nothing else, your filters are going to be limited by the number of open file descriptors. Not terribly helpful, I know, but if you explain more/better what you're trying to do, something more helpful may emerge. From owner-freebsd-questions@FreeBSD.ORG Mon May 31 17:11:44 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DDAC6106564A for ; Mon, 31 May 2010 17:11:44 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr5.xs4all.nl (smtp-vbr5.xs4all.nl [194.109.24.25]) by mx1.freebsd.org (Postfix) with ESMTP id 59DE98FC17 for ; Mon, 31 May 2010 17:11:43 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr5.xs4all.nl (8.13.8/8.13.8) with ESMTP id o4VHBfNb067694; Mon, 31 May 2010 19:11:42 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id 9BFB4BA9D; Mon, 31 May 2010 19:11:41 +0200 (CEST) Date: Mon, 31 May 2010 19:11:41 +0200 From: Roland Smith To: Eitan Adler Message-ID: <20100531171141.GA12623@slackbox.erewhon.net> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UlVJffcvxoiEqYs2" Content-Disposition: inline In-Reply-To: X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: questions@freebsd.org Subject: Re: multimedia/ffmpeg fails with internal compiler error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 17:11:44 -0000 --UlVJffcvxoiEqYs2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 31, 2010 at 05:16:50PM +0300, Eitan Adler wrote: > Is this a > a) PEBKAC Maybe. I don't know how many ports have actually been tested with gcc 4.6. = I'm guessing the ports build cluster uses the base system compiler or the requi= red version. > b) freeBSD ports error Don't think so. It works fine here. > c) ffmpeg problem > d) compiler problem (as the error seems to be saying) Could be. I recompiled it with gcc-4.4.5.20100518 without problems. So it could be a bug specific to gcc 4.6. e) hardware error. Sometimes these errors are triggered by e.g. bad RAM. > gcc46 -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE > -I. -I"/dta/ports/multimedia/ffmpeg/work/ffmpeg-0.5.2" -pipe -mssse3 > -mtune=3Dnative -O3 -ffast-math -fno-finite-math-only > -fomit-frame-pointer -Wl,-rpath=3D/usr/local/lib/gcc46 > -fno-strict-aliasing -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=3D200112 > -I/usr/local/include/vorbis -I/usr/local/include -std=3Dc99 > -fomit-frame-pointer -Wdeclaration-after-statement -Wall -Wno-switch > -Wdisabled-optimization -Wpointer-arith -Wredundant-decls > -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef > -O3 -fno-math-errno -fno-signed-zeros -c -o libavutil/crc.o > libavutil/crc.c > libavutil/crc.c: In function 'av_crc_init': > libavutil/crc.c:58:5: internal compiler error: in predicate_bbs, at > tree-if-conv.c:555 > Please submit a full bug report, > with preprocessed source if appropriate. > See for instructions. > gmake: *** [libavutil/crc.o] Error 1 > gmake: *** Waiting for unfinished jobs.... > *** Error code 1 > gcc46 > # make -V CFLAGS > -pipe -mssse3 -mtune=3Dnative -O3 -ffast-math -fno-finite-math-only Does removing these cflags make any difference? Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --UlVJffcvxoiEqYs2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwD7c0ACgkQEnfvsMMhpyXU+ACfag0zmi/BnVGYUW9svAi5Odkw fi0AoJNWQNrskVuCxz+Xysw6U9/1j6Bg =lmhH -----END PGP SIGNATURE----- --UlVJffcvxoiEqYs2-- From owner-freebsd-questions@FreeBSD.ORG Mon May 31 17:36:31 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9862A1065679 for ; Mon, 31 May 2010 17:36:31 +0000 (UTC) (envelope-from ohartman@mail.zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 21A788FC1D for ; Mon, 31 May 2010 17:36:30 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1OJ8uc-0000nw-0I>; Mon, 31 May 2010 19:36:30 +0200 Received: from munin.geoinf.fu-berlin.de ([130.133.86.110]) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1OJ8ub-0006xJ-Uh>; Mon, 31 May 2010 19:36:29 +0200 Message-ID: <4C040FBB.9000302@mail.zedat.fu-berlin.de> Date: Mon, 31 May 2010 21:36:27 +0200 From: "Hartmann, O." User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.9) Gecko/20100528 Thunderbird/3.0.4 MIME-Version: 1.0 To: Matthew Seaman References: <4C03FF3F.8080604@mail.zedat.fu-berlin.de> <4C03E5D3.4@infracaninophile.co.uk> In-Reply-To: <4C03E5D3.4@infracaninophile.co.uk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 130.133.86.110 Cc: freebsd-questions@freebsd.org Subject: Re: HELP: cups - can not login on localhost to cups server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 17:36:31 -0000 On 05/31/10 18:37, Matthew Seaman wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 31/05/2010 19:26:07, Hartmann, O. wrote: > >> Hello, >> my problem sounds trivial, but isn't. I can not login to my cups server >> on localhost via http://localhost:631, which worked for me several >> months ago. Well I installed a new host using FreeBSD 9.0-CUR and need >> to add printers. Regarding to this problem I found a lot of stuff in the >> net and mailing lists, but none of the hints and tipps worked for me. >> First I will describe what I've already did. >> >> 1) ensured local BSD lpd is not running >> 2) on a prior installed system where cups is up and running printing is >> possible but no administration (see subject), so the problem seems to >> be common. >> 3) followed some hints adding a user "root" with proper password via >> "lppasswd" >> 4) deleted password.md5 and performed step 3) again >> 5) deleted all ports cups-* and /usr/local/cups folder and reinstalled >> cups, ensured having nothing left in /usr/local/etc >> >> The problem occured out of the blue to me, I possibly missed some >> changes within the last row of updates. >> >> Can anyone help? >> >> Please eMail me since I'm not subscriber of the "question" list. >> >> Thanks in advance, >> > Check /usr/local/etc/pam.d/cups -- change it to use pam_unix rather than > pam_unknown. (pam_unknown is, errr..., unknown on FreeBSD...) > Like this: > > auth required pam_unix.so nodelay > account required pam_unix.so > > Cheers, > > Matthew > > - -- > Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard > Flat 3 > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate > JID: matthew@infracaninophile.co.uk Kent, CT11 9PW > -----BEGIN PGP SIGNATURE----- > Version: GnuPG/MacGPG2 v2.0.14 (Darwin) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAkwD5dMACgkQ8Mjk52CukIzPyQCfdwKzF9B1uCq5sa7nzV94Trsa > oIIAnA25MsdSzF9MbumJ1so01bo/C5Ar > =ATMA > -----END PGP SIGNATURE----- > I did - and it works! Thanks a lot. Oliver From owner-freebsd-questions@FreeBSD.ORG Mon May 31 17:45:33 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 108A31065670 for ; Mon, 31 May 2010 17:45:33 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 5CDDC8FC25 for ; Mon, 31 May 2010 17:45:31 +0000 (UTC) X-Spam-Status: No X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-0.2, required 5, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_50 0.80) X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-ID: o4VHj9Ob011307 Received: from kobe.laptop (ppp-94-64-236-75.home.otenet.gr [94.64.236.75]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-9.1) with ESMTP id o4VHj9Ob011307 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 31 May 2010 20:45:15 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.4/8.14.4) with ESMTP id o4VHj9kt064710 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 31 May 2010 20:45:09 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.4/8.14.4/Submit) id o4VHj8M1064705; Mon, 31 May 2010 20:45:08 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: freebsd-questions@freebsd.org References: <4C01DD3F.3040000@a1poweruser.com> <871vct44ww.fsf@kobe.laptop> <20100530232827.GB97659@guilt.hydra> <87zkzgsllg.fsf@kobe.laptop> <20100531155900.GA1417@guilt.hydra> Date: Mon, 31 May 2010 20:45:07 +0300 In-Reply-To: <20100531155900.GA1417@guilt.hydra> (Chad Perrin's message of "Mon, 31 May 2010 09:59:00 -0600") Message-ID: <874ohoynh8.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Subject: Re: text editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 17:45:33 -0000 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Mon, 31 May 2010 09:59:00 -0600, Chad Perrin wrote: >> Vim is much smaller than Emacs but it still a few MB's here: >> >> keramida@kobe:/usr/ports/packages/All$ ls -ld vim* >> -rw-r--r-- 1 root wheel - 5757731 1 =CE=91=CF=80=CF=81 17:11 vim-l= ite-7.2.344.tbz > > Does Vim install more than the binary? I've got this: > > > ls -l /usr/local/bin/vim > -rwxr-xr-x 1 root wheel 1650340 Apr 18 12:20 /usr/local/bin/vim Yes, it does: help files; syntax highlighting rules; manpages; around 14 binaries in /usr/local/bin; including more than a thousand files in /usr/local/share. > I don't think the size of the installation tarball is necessarily > representative of the final size. For modern editors like Vim and Emacs the binary is pretty much a basic 'scripting engine' that loads plugins, scripts and other data files to present an editing user interface to the user. The last Emacs binary I compiled is 13 MB: keramida@kobe:/opt/emacs/bin$ ls -ld emacs-* -rwxr-xr-t 2 root wheel - 13395130 31 =CE=9C=CE=B1=CF=8A 20:13 emacs-2= 4.0.50 The full Emacs installation in /opt/emacs is more than 110 MB: keramida@kobe:/opt/emacs$ du -sk . 113298 . The binary itself is a small part of the installation; almost 1/10 of the full size of GNU Emacs. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwD9aQACgkQ1g+UGjGGA7a0VgCfTERvqbfCo3BMdnels2/zBnqT 2z4AnArMr+ibtR9zzT/ExJIPXLrga/Ja =4qsp -----END PGP SIGNATURE----- --=-=-=-- From owner-freebsd-questions@FreeBSD.ORG Mon May 31 17:46:22 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AED68106567B for ; Mon, 31 May 2010 17:46:22 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-ww0-f54.google.com (mail-ww0-f54.google.com [74.125.82.54]) by mx1.freebsd.org (Postfix) with ESMTP id 436748FC23 for ; Mon, 31 May 2010 17:46:21 +0000 (UTC) Received: by wwb22 with SMTP id 22so496527wwb.13 for ; Mon, 31 May 2010 10:46:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:mime-version:content-type:content-disposition:user-agent; bh=IApbRYW/l7yxIag7xVbeok9vOLEfg8iV8XK5tO7P1ms=; b=Cno+7A7SCgPpxinpe/B/OhbR/tTfoV+54ZxiPsaiK0G6cYynQMznuIlg9s5hkopes7 1hnCCNtPHjEINjOvB7p7DEyiOJ25OaJgC4h48FKFNJ8EP9KWehx+byF8Ybp6AvRBN9eN 8K3JYy7mnrqamak7wGWCCHb0cDMbSWUf8mrTE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; b=VLw0MFQzyPdI3ymJ3SBHepcWCPEg4SNKHhUS60qaRpzlkbj3Yu1a/dphAL0LMFRDjt MpOOGENY9nghghQdcp7hPHZFRvsAvLPhK35XHcqDlC65IG9j+YA2s1SPdpW4yad7dg48 FSnG6XitMb4FxyDoxIERelVRUTh+0TgwdH+c8= Received: by 10.227.69.142 with SMTP id z14mr4548273wbi.195.1275327980371; Mon, 31 May 2010 10:46:20 -0700 (PDT) Received: from Abricot.malikania.fr ([84.102.21.123]) by mx.google.com with ESMTPS id l23sm42693220wbb.8.2010.05.31.10.46.19 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 31 May 2010 10:46:19 -0700 (PDT) Date: Mon, 31 May 2010 19:48:18 +0200 From: Demelier David To: freebsd-questions@freebsd.org Message-ID: <20100531174818.GA3615@Abricot.malikania.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Bad rawoffset in disk slice. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 17:46:22 -0000 Hi freebsd-questions@, When I boot I have a lot of : WARNING: ad2s1a expected rawoffset 0, found 63 WARNING: ad2s1a expected rawoffset 0, found 63 WARNING: ad2s1a expected rawoffset 0, found 63 They appeared when I tried to do some glabel/tunefs and I don't know at all how to remove them. Are they related to fdisk or bsdlabel ? This is the fdisk partition : The data for partition 1 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 63, size 156296322 (76316 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 254/ sector 63 And the bsdlabel : # /dev/ad2s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 1048576 0 4.2BSD 0 0 0 b: 2029184 1048576 swap c: 156296322 0 unused 0 0 # "raw" part, don't edit d: 3110912 3077760 4.2BSD 0 0 0 e: 1048576 6188672 4.2BSD 0 0 0 f: 149059074 7237248 4.2BSD 0 0 0 King regards. -- Demelier David From owner-freebsd-questions@FreeBSD.ORG Mon May 31 17:48:37 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66B78106566C for ; Mon, 31 May 2010 17:48:37 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id CF1578FC28 for ; Mon, 31 May 2010 17:48:36 +0000 (UTC) X-Spam-Status: No X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-0.18, required 5, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_50 0.80, T_MIME_NO_TEXT 0.01, T_TVD_MIME_NO_HEADERS 0.01) X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-ID: o4VHmOJp011492 Received: from kobe.laptop (ppp-94-64-236-75.home.otenet.gr [94.64.236.75]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-9.1) with ESMTP id o4VHmOJp011492 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 31 May 2010 20:48:31 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.4/8.14.4) with ESMTP id o4VHmO1W064740 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 31 May 2010 20:48:24 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.4/8.14.4/Submit) id o4VHmNBd064735; Mon, 31 May 2010 20:48:23 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: Robert Bonomi References: <201005311636.o4VGarkt001701@mail.r-bonomi.com> Date: Mon, 31 May 2010 20:48:22 +0300 In-Reply-To: <201005311636.o4VGarkt001701@mail.r-bonomi.com> (Robert Bonomi's message of "Mon, 31 May 2010 11:36:53 -0500 (CDT)") Message-ID: <87zkzgx8rd.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Cc: freebsd-questions@freebsd.org Subject: Re: text editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 17:48:37 -0000 --=-=-= On Mon, 31 May 2010 11:36:53 -0500 (CDT), Robert Bonomi wrote: >Giorgos Keramidas wrote: >> Vim is much smaller than Emacs but it still a few MB's here: >> >> keramida@kobe:/usr/ports/packages/All$ ls -ld vim* >> -rw-r--r-- 1 root wheel - 5757731 1 =CE=91=CF=80=CF=81 17:11 vim-lite-7.2.344.tbz > > Yeah, but EMACS is (currently) reputed to stand for ighty > egabytes nd onstantly wapping! *GRIN* That's an old joke, but it's not particularly good anymore. The smallest laptop-size 2.5" SATA disk I have at home can hold more than 80 GB of data. The size of a program is now a limiting factor only if you are working with embedded applications. Normal, every-day computers have enough disk space to hold tens of thousands of full Emacs installations even without any sort of compression :-) --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwD9mcACgkQ1g+UGjGGA7Z7bwCeKzW8wxVQyVkZOCHPMJLjJW2d 6+oAnRcp080G+vBTdqYU9Fms1kCqc9WC =5eXc -----END PGP SIGNATURE----- --=-=-=-- From owner-freebsd-questions@FreeBSD.ORG Mon May 31 17:51:12 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 876E71065679 for ; Mon, 31 May 2010 17:51:12 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 431698FC15 for ; Mon, 31 May 2010 17:51:11 +0000 (UTC) Received: by gwj23 with SMTP id 23so3185174gwj.13 for ; Mon, 31 May 2010 10:51:11 -0700 (PDT) Received: by 10.231.187.29 with SMTP id cu29mr6166326ibb.70.1275328271119; Mon, 31 May 2010 10:51:11 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.148.201 with HTTP; Mon, 31 May 2010 10:50:51 -0700 (PDT) In-Reply-To: <20100531171141.GA12623@slackbox.erewhon.net> References: <20100531171141.GA12623@slackbox.erewhon.net> From: Eitan Adler Date: Mon, 31 May 2010 20:50:51 +0300 Message-ID: To: Roland Smith Content-Type: text/plain; charset=UTF-8 Cc: questions@freebsd.org Subject: Re: multimedia/ffmpeg fails with internal compiler error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 17:51:12 -0000 On Mon, May 31, 2010 at 8:11 PM, Roland Smith wrote: > On Mon, May 31, 2010 at 05:16:50PM +0300, Eitan Adler wrote: >> Is this a >> a) PEBKAC > > Maybe. I don't know how many ports have actually been tested with gcc 4.6. I'm > guessing the ports build cluster uses the base system compiler or the required version. I've been using gcc46 for a while now and just remove certain ports in /etc/make.conf SSSE3=on "Enable ssse3 support (gcc 4.4+)" seems to mean that 4.4+ works. >> d) compiler problem (as the error seems to be saying) > > Could be. I recompiled it with gcc-4.4.5.20100518 without problems. So it > could be a bug specific to gcc 4.6. Maybe I will do as the error says and report the error ;) > e) hardware error. unlikely: I tested both my RAM and HDD recently. It is also the only port that has failed with this type of error. > Sometimes these errors are triggered by e.g. bad RAM. > > Does removing these cflags make any difference? turning off OPTIMIZED_CFLAGS (but leaving ssse3) does not help. -- Eitan Adler From owner-freebsd-questions@FreeBSD.ORG Mon May 31 18:05:01 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DDC92106566C for ; Mon, 31 May 2010 18:05:01 +0000 (UTC) (envelope-from SamanKaya@netscape.net) Received: from imr-mb02.mx.aol.com (imr-mb02.mx.aol.com [64.12.207.163]) by mx1.freebsd.org (Postfix) with ESMTP id 9F4B28FC16 for ; Mon, 31 May 2010 18:05:01 +0000 (UTC) Received: from mtaout-da06.r1000.mx.aol.com (mtaout-da06.r1000.mx.aol.com [172.29.51.134]) by imr-mb02.mx.aol.com (8.14.1/8.14.1) with ESMTP id o4VI4t9K012535 for ; Mon, 31 May 2010 14:04:55 -0400 Received: from [192.168.0.54] (81-178-2-118.dsl.pipex.com [81.178.2.118]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mtaout-da06.r1000.mx.aol.com (MUA/Third Party Client Interface) with ESMTPSA id B1A6DE0000AE for ; Mon, 31 May 2010 14:04:54 -0400 (EDT) Message-ID: <4C03FA45.50008@netscape.net> Date: Mon, 31 May 2010 19:04:53 +0100 From: Kaya Saman User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.22) Gecko/20090605 SeaMonkey/1.1.17 (Ubuntu-1.1.17+nobinonly-0ubuntu0.9.04.1) MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit x-aol-global-disposition: G X-AOL-SCOLL-SCORE: 0:2:463300640:93952408 X-AOL-SCOLL-URL_COUNT: 0 x-aol-sid: 3039ac1d33864c03fa46296a X-AOL-IP: 81.178.2.118 Subject: Squid not starting from rc in Jail, however works when run from root as command?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 18:05:01 -0000 Hi guys, I've just built a new BSD server running on a Mini-ITX NAS chassis and it's working beautifully :-) I also took the time to learn how to build jails too as this is only my second BSD build so am still really new to it although not to UNIX as I use Solaris and Linux frequently. Anyhow I'm trying to migrate config which was on an old SPARC server running Solaris 9 with a version of Squid got from the Blastwave repos and currently I'm having major issues with it. Basically I think I've worked through to figure out that running as user Squid or Proxy doesn't give me access to ports <1024, basically the 'well known' ports. Here is the error message I get from Squid when trying to start it using the rc.d file: May 31 17:47:11 proxy squid[4360]: Cannot open HTTP Port May 31 17:47:11 proxy squid[4358]: Squid Parent: child process 4360 exited due to signal 6 May 31 17:47:14 proxy squid[4358]: Squid Parent: child process 4364 started May 31 17:47:15 proxy squid[4364]: Cannot open HTTP Port May 31 17:47:15 proxy squid[4358]: Squid Parent: child process 4364 exited due to signal 6 May 31 17:47:18 proxy squid[4358]: Squid Parent: child process 4367 started May 31 17:47:18 proxy squid[4367]: Cannot open HTTP Port May 31 17:47:18 proxy squid[4358]: Squid Parent: child process 4367 exited due to signal 6 May 31 17:47:21 proxy squid[4358]: Squid Parent: child process 4370 started May 31 17:47:21 proxy squid[4370]: Cannot open HTTP Port May 31 17:47:21 proxy squid[4358]: Squid Parent: child process 4370 exited due to signal 6 If however I start Squid using /usr/local/sbin/squid -NCd1 as root I get this and Squid works: proxy# /usr/local/sbin/squid -NCd1 2010/05/31 17:55:54| Starting Squid Cache version 2.7.STABLE7 for amd64-portbld-freebsd8.0... 2010/05/31 17:55:54| Process ID 4484 2010/05/31 17:55:54| With 11095 file descriptors available 2010/05/31 17:55:54| Using kqueue for the IO loop 2010/05/31 17:55:54| Performing DNS Tests... 2010/05/31 17:55:54| Successful DNS name lookup tests... 2010/05/31 17:55:54| DNS Socket created at 0.0.0.0, port 39116, FD 6 2010/05/31 17:55:54| Adding nameserver 192.168.1.100 from /etc/resolv.conf 2010/05/31 17:55:54| Adding nameserver 192.168.1.101 from /etc/resolv.conf 2010/05/31 17:55:54| logfileOpen: opening log /var/log/squid/access.log 2010/05/31 17:55:54| Unlinkd pipe opened on FD 11 2010/05/31 17:55:54| Swap maxSize 102400 + 8192 KB, estimated 8507 objects 2010/05/31 17:55:54| Target number of buckets: 425 2010/05/31 17:55:54| Using 8192 Store buckets 2010/05/31 17:55:54| Max Mem size: 8192 KB 2010/05/31 17:55:54| Max Swap size: 102400 KB 2010/05/31 17:55:54| logfileOpen: opening log /var/log/squid/store.log 2010/05/31 17:55:54| Rebuilding storage in /usr/local/squid/cache (DIRTY) 2010/05/31 17:55:54| Using Least Load store dir selection 2010/05/31 17:55:54| Set Current Directory to /var/spool/squid 2010/05/31 17:55:54| Loaded Icons. 2010/05/31 17:55:54| Accepting accelerated HTTP connections at 192.168.1.110, port 80, FD 13. 2010/05/31 17:55:54| Accepting ICP messages at 0.0.0.0, port 3130, FD 14. 2010/05/31 17:55:54| Accepting SNMP messages on port 3401, FD 15. 2010/05/31 17:55:54| WCCP Disabled. 2010/05/31 17:55:54| Configuring x-ray Parent x-ray/80/0 2010/05/31 17:55:54| Configuring zeta-ray Parent zeta-ray/80/0 2010/05/31 17:55:54| Configuring delta-ray Parent delta-ray/80/0 2010/05/31 17:55:54| Configuring g-stat-1 Parent g-stat-1/80/0 2010/05/31 17:55:54| Ready to serve requests. 2010/05/31 17:55:54| Done reading /usr/local/squid/cache swaplog (0 entries) 2010/05/31 17:55:54| Finished rebuilding storage from disk. 2010/05/31 17:55:54| 0 Entries scanned 2010/05/31 17:55:54| 0 Invalid entries. 2010/05/31 17:55:54| 0 With invalid flags. 2010/05/31 17:55:54| 0 Objects loaded. 2010/05/31 17:55:54| 0 Objects expired. 2010/05/31 17:55:54| 0 Objects cancelled. 2010/05/31 17:55:54| 0 Duplicate URLs purged. 2010/05/31 17:55:54| 0 Swapfile clashes avoided. 2010/05/31 17:55:54| Took 0.4 seconds ( 0.0 objects/sec). 2010/05/31 17:55:54| Beginning Validation Procedure 2010/05/31 17:55:54| Completed Validation Procedure 2010/05/31 17:55:54| Validated 0 Entries 2010/05/31 17:55:54| store_swap_size = 0k 2010/05/31 17:55:55| storeLateRelease: released 0 objects Running uname -a gives me this: FreeBSD Zeta-Ray.optiplex-networks.com 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 and also Squid was built from ports too!! Because I built the system in a Jail I am using this syntax to bind the port to the IP address: http_port 192.168.1.110:80 accel defaultsite=domain.com vhost When I mean Jail I am talking about FreeBDS Jails and not chroot syntax :-) Can anybody offer me any advice or anywhere else to turn as I really don't know what's going on???? Many thanks! Kaya From owner-freebsd-questions@FreeBSD.ORG Mon May 31 18:17:14 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21C5A1065674 for ; Mon, 31 May 2010 18:17:14 +0000 (UTC) (envelope-from SamanKaya@netscape.net) Received: from imr-ma05.mx.aol.com (imr-ma05.mx.aol.com [64.12.100.31]) by mx1.freebsd.org (Postfix) with ESMTP id D86418FC12 for ; Mon, 31 May 2010 18:17:13 +0000 (UTC) Received: from mtaout-db05.r1000.mx.aol.com (mtaout-db05.r1000.mx.aol.com [172.29.51.197]) by imr-ma05.mx.aol.com (8.14.1/8.14.1) with ESMTP id o4VIH08x018177 for ; Mon, 31 May 2010 14:17:07 -0400 Received: from [192.168.0.54] (81-178-2-118.dsl.pipex.com [81.178.2.118]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mtaout-db05.r1000.mx.aol.com (MUA/Third Party Client Interface) with ESMTPSA id DFD3EE000085 for ; Mon, 31 May 2010 14:17:06 -0400 (EDT) Message-ID: <4C03FD20.1080401@netscape.net> Date: Mon, 31 May 2010 19:17:04 +0100 From: Kaya Saman User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.22) Gecko/20090605 SeaMonkey/1.1.17 (Ubuntu-1.1.17+nobinonly-0ubuntu0.9.04.1) MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit x-aol-global-disposition: G X-AOL-SCOLL-SCORE: 0:2:345891968:93952408 X-AOL-SCOLL-URL_COUNT: 0 x-aol-sid: 3039ac1d33c54c03fd22261a X-AOL-IP: 81.178.2.118 Subject: Postfix bad command startup?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 18:17:14 -0000 Hi, similar like I wrote before, to do with my migration from Solaris 9 to FreeBSD 8.0 x64 RELEASE. Postfix is being run in a BSD Jail and so far I have disabled as much as I could of sendmail which I did this to rc.conf within the jail: postfix_enable="YES" sendmail_enable="NONE" sendmail_submit_enable="NO" sendmail_outbound_enable="NO" sendmail_msp_queue_enable="NO" However upon startup Postfix gives me this problem: May 31 18:03:18 relay postfix/master[4280]: warning: /usr/local/libexec/postfix/smtpd: bad command startup -- throttling May 31 18:04:18 relay postfix/smtpd[4606]: fatal: open database /etc/aliases.db: No such file or directory May 31 18:04:19 relay postfix/master[4280]: warning: process /usr/local/libexec/postfix/smtpd pid 4606 exit status 1 May 31 18:04:19 relay postfix/master[4280]: warning: /usr/local/libexec/postfix/smtpd: bad command startup -- throttling May 31 18:05:19 relay postfix/smtpd[4629]: fatal: open database /etc/aliases.db: No such file or directory May 31 18:05:20 relay postfix/master[4280]: warning: process /usr/local/libexec/postfix/smtpd pid 4629 exit status 1 May 31 18:05:20 relay postfix/master[4280]: warning: /usr/local/libexec/postfix/smtpd: bad command startup -- throttling I can tell that it's listening as netstat -ap tcp reveals this: netstat: kvm not available: /dev/mem: No such file or directory Active Internet connections (including servers) Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp4 0 0 relay.smtp 110.52.7.217.2140 ESTABLISHED tcp4 0 0 relay.smtp web112111.mail.g.33920 ESTABLISHED tcp4 0 0 relay.smtp 110.52.6.29.4643 ESTABLISHED tcp4 0 0 relay.smtp 78-61-12-207.sta.28507 CLOSED tcp4 0 0 relay.smtp 78-61-12-207.sta.27646 CLOSE_WAIT tcp4 0 0 relay.smtp 78-61-12-207.sta.26479 CLOSE_WAIT tcp4 0 0 relay.smtp 110.52.6.35.2109 ESTABLISHED tcp4 0 0 relay.smtp 78-61-12-207.sta.23305 CLOSED tcp4 0 0 relay.smtp 78-61-12-207.sta.22314 CLOSE_WAIT tcp4 0 0 relay.smtp 78-61-12-207.sta.21323 CLOSE_WAIT tcp4 0 0 relay.ssh *.* LISTEN tcp4 0 0 relay.smtp *.* LISTEN /var/log/messages gives me this: May 31 18:10:24 relay postfix/smtpd[4662]: fatal: open database /etc/aliases.db: No such file or directory however I did run the command newaliases which did create the aliases file under /etc/mail/aliases with the aliases.db file being under there as well as under /etc. Currently no mail is being relayed throughout the domain so I can tell that it's not working as even the /var/log/maillog file is telling me that messages are queued but not sent if I use: mail -s test email@address.com test ^D Can someone please help me work out what is causing Postfix to fail as I've managed to migrate my config from Linux to Solaris with not as many issues and problems as this so it really beats me.......???? Many thanks, Kaya From owner-freebsd-questions@FreeBSD.ORG Mon May 31 19:08:05 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2DCE01065674 for ; Mon, 31 May 2010 19:08:05 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id D163A8FC1D for ; Mon, 31 May 2010 19:08:04 +0000 (UTC) Received: by gyh20 with SMTP id 20so3809766gyh.13 for ; Mon, 31 May 2010 12:08:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=CxeXI4amCY7lPXKK+bT/bjHBGJv+xbpieBG1NaDmrlE=; b=oLpoRH7r0QFnc1iAMfPs7KW1dKdVVMlk4tn6zZ1wprreKj+NAFBsWYGaJvxufN+MpH gC4alJQ/wT2c4mYTEfb4F8zSupiju8DaeB87abWHKT7aRGGREDwp6jVGeI6cgL5kVvFy CT3uy9WAq7OuQUFhskQu72RuEpMSgrbvfnNjo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=CudDnJqpxkNdTV8bXbP5PCK8Uh8h3Y3FFlRsLH0hAd1/2+5HiFeio8yTt9FpXhNjnr CD4jMwHfA8XZEj5ljwZ6xKOuoO+z4QJ1Oohf38dLtWzNuoUdbo8OrxTXFzLOxUU15TEQ qkacUcyWWQhSCP0ogQykfd90yaGYOnelDP9j4= MIME-Version: 1.0 Received: by 10.42.5.206 with SMTP id 14mr4823436icx.17.1275332877941; Mon, 31 May 2010 12:07:57 -0700 (PDT) Received: by 10.231.141.215 with HTTP; Mon, 31 May 2010 12:07:57 -0700 (PDT) In-Reply-To: <4C03FD20.1080401@netscape.net> References: <4C03FD20.1080401@netscape.net> Date: Mon, 31 May 2010 13:07:57 -0600 Message-ID: From: Tim Judd To: Kaya Saman Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Questions Subject: Re: Postfix bad command startup?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 19:08:05 -0000 On 5/31/10, Kaya Saman wrote: > Hi, > > similar like I wrote before, to do with my migration from Solaris 9 to > FreeBSD 8.0 x64 RELEASE. > > Postfix is being run in a BSD Jail and so far I have disabled as much as > I could of sendmail which I did this to rc.conf within the jail: > > postfix_enable="YES" > sendmail_enable="NONE" > sendmail_submit_enable="NO" > sendmail_outbound_enable="NO" > sendmail_msp_queue_enable="NO" > > > However upon startup Postfix gives me this problem: > > May 31 18:03:18 relay postfix/master[4280]: warning: > /usr/local/libexec/postfix/smtpd: bad command startup -- throttling > May 31 18:04:18 relay postfix/smtpd[4606]: fatal: open database > /etc/aliases.db: No such file or directory > May 31 18:04:19 relay postfix/master[4280]: warning: process > /usr/local/libexec/postfix/smtpd pid 4606 exit status 1 > May 31 18:04:19 relay postfix/master[4280]: warning: > /usr/local/libexec/postfix/smtpd: bad command startup -- throttling > May 31 18:05:19 relay postfix/smtpd[4629]: fatal: open database > /etc/aliases.db: No such file or directory > May 31 18:05:20 relay postfix/master[4280]: warning: process > /usr/local/libexec/postfix/smtpd pid 4629 exit status 1 > May 31 18:05:20 relay postfix/master[4280]: warning: > /usr/local/libexec/postfix/smtpd: bad command startup -- throttling > > > I can tell that it's listening as netstat -ap tcp reveals this: > > netstat: kvm not available: /dev/mem: No such file or directory > Active Internet connections (including servers) > Proto Recv-Q Send-Q Local Address Foreign Address (state) > tcp4 0 0 relay.smtp 110.52.7.217.2140 > ESTABLISHED > tcp4 0 0 relay.smtp web112111.mail.g.33920 > ESTABLISHED > tcp4 0 0 relay.smtp 110.52.6.29.4643 > ESTABLISHED > tcp4 0 0 relay.smtp 78-61-12-207.sta.28507 CLOSED > tcp4 0 0 relay.smtp 78-61-12-207.sta.27646 CLOSE_WAIT > tcp4 0 0 relay.smtp 78-61-12-207.sta.26479 CLOSE_WAIT > tcp4 0 0 relay.smtp 110.52.6.35.2109 > ESTABLISHED > tcp4 0 0 relay.smtp 78-61-12-207.sta.23305 CLOSED > tcp4 0 0 relay.smtp 78-61-12-207.sta.22314 CLOSE_WAIT > tcp4 0 0 relay.smtp 78-61-12-207.sta.21323 CLOSE_WAIT > tcp4 0 0 relay.ssh *.* LISTEN > tcp4 0 0 relay.smtp *.* LISTEN > > > /var/log/messages gives me this: > > May 31 18:10:24 relay postfix/smtpd[4662]: fatal: open database > /etc/aliases.db: No such file or directory > > however I did run the command newaliases which did create the aliases > file under /etc/mail/aliases with the aliases.db file being under there > as well as under /etc. > > Currently no mail is being relayed throughout the domain so I can tell > that it's not working as even the /var/log/maillog file is telling me > that messages are queued but not sent if I use: > > mail -s test email@address.com > > test > > ^D > > Can someone please help me work out what is causing Postfix to fail as > I've managed to migrate my config from Linux to Solaris with not as many > issues and problems as this so it really beats me.......???? > > Many thanks, > > > Kaya Kaya, You may need to edit the following alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases and run BOTH 'newaliases' and 'postalias /etc/aliases' depending on your setup. restart postfix for good measure if you telnet to your postfix IP and get the 220 banner, postfix is happy with the config and should work as config'd. if after establishing a telnet session, you don't get any banner, postfix is still having problems with something. start looking at logs again. From owner-freebsd-questions@FreeBSD.ORG Mon May 31 19:59:44 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 266C11065675 for ; Mon, 31 May 2010 19:59:44 +0000 (UTC) (envelope-from rowlands.mark@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id A6C218FC12 for ; Mon, 31 May 2010 19:59:43 +0000 (UTC) Received: by wyb36 with SMTP id 36so476658wyb.13 for ; Mon, 31 May 2010 12:59:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=nbhmA1kjgjlc3Q/qcZe9x+kZmiGwN1Z0c6FgzXXS/0s=; b=wb+00w0RY1Fyxu4bJKw18GXwEmGV9E66vLAeyFBHPZy6VnKLYwbSLLCECvChheTliN XRM/Z/4Dbg53NwnkadAeERgq8FpQlcABYhi+hXnuxjSDdeDfJ5cdtMx9zEyhOJ6KcnlJ ixzYzLewAZIsNu2dN1ONF7V562XX57gIGP/gs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=nXFJGDbWJAiBQoCjK+kFFBamvt5vvzmgBp4mJry361aRDDiPlUKOZcVVjLRqWlbdIZ vAOUV49F4c2tiujAqbwQNs0t0XM/vqDsoOnAGIoj9PcNeGSJzmzGEm5699SeR+CXopqC 95KGJ3ids34DnjKetkg6/ew34rEUCBPLKPp4c= MIME-Version: 1.0 Received: by 10.216.180.198 with SMTP id j48mr425089wem.108.1275334243085; Mon, 31 May 2010 12:30:43 -0700 (PDT) Received: by 10.216.7.11 with HTTP; Mon, 31 May 2010 12:30:42 -0700 (PDT) Date: Mon, 31 May 2010 21:30:42 +0200 Message-ID: From: mark rowlands To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Network sort of stops working with the em (intel) driver under load. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 19:59:44 -0000 Newly built and cvsupped system,with GENERIC kernel, when copying large amounts of data over a gigabit link via scp the network will hang after a couple of gig. I can then no longer login via ssh. If I leave it be, after about 12-24 hours I can then login again. (A reboot of course fixes the issue immediately...) . The system is very vanilla, only accf_http in loader.conf. No sysctl tuning done, no firewall hankypanky. pciconf -lv | grep -A4 ^em em0@pci0:3:4:0: class=0x020000 card=0x001e8086 chip=0x100e8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = 'Gigabit Ethernet Controller (82540EM)' class = network subclass = ethernet em0: port 0xec00-0xec3f mem 0xfeae0000-0xfeafffff,0xff irq 17 at device 4.0 on pci3 Suggestions as to where I could look for more information as to the precise nature of the problem gratefully received. Current plan is to purchase another variety of gigabit card to see if it is specific to the intel card. Copyright (c) 1992-2010 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 8.1-PRERELEASE #0: Sun May 30 10:00:58 CEST 2010 root@temp.mwrwin2k.se:/usr/obj/usr/src/sys/MARK2 i386 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 3.40GHz (3391.53-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf34 Family = f Model = 3 Stepping = 4 Features=0xbfebfbff Features2=0x441d TSC: P-state invariant real memory = 2147483648 (2048 MB) avail memory = 2090823680 (1993 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 1 core(s) x 2 HTT threads cpu0 (BSP): APIC ID: 0 cpu1 (AP/HT): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic1: Changing APIC ID to 3 ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-47 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of fec00000, 1000 (3) failed acpi0: reservation of fee00000, 1000 (3) failed acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, 7ff00000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 cpu1: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 vgapci0: port 0xd000-0xd0ff mem 0xc0000000-0xcfffffff,0xfe9e0000-0xfe9effff irq 16 at device 0.0 on pci1 vgapci1: mem 0xd0000000-0xdfffffff,0xfe9f0000-0xfe9fffff at device 0.1 on pci1 pcib2: irq 27 at device 2.0 on pci0 pci2: on pcib2 atapci0: port 0xcc00-0xcc07,0xc880-0xc883,0xc800-0xc807,0xc480-0xc483,0xc400-0xc40f,0xc000-0xc0ff irq 21 at device 15.0 on pci0 atapci0: [ITHREAD] ata2: on atapci0 ata2: [ITHREAD] ata3: on atapci0 ata3: [ITHREAD] atapci1: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 15.1 on pci0 ata0: on atapci1 ata0: [ITHREAD] ata1: on atapci1 ata1: [ITHREAD] uhci0: port 0xb480-0xb49f irq 20 at device 16.0 on pci0 uhci0: [ITHREAD] usbus0: on uhci0 uhci1: port 0xb800-0xb81f irq 22 at device 16.1 on pci0 uhci1: [ITHREAD] usbus1: on uhci1 uhci2: port 0xb880-0xb89f irq 21 at device 16.2 on pci0 uhci2: [ITHREAD] usbus2: on uhci2 uhci3: port 0xbc00-0xbc1f irq 23 at device 16.3 on pci0 uhci3: [ITHREAD] usbus3: on uhci3 ehci0: mem 0xfe8ffc00-0xfe8ffcff irq 21 at device 16.4 on pci0 ehci0: [ITHREAD] usbus4: EHCI version 1.0 usbus4: on ehci0 isab0: at device 17.0 on pci0 isa0: on isab0 vr0: port 0xb000-0xb0ff mem 0xfe8ff800-0xfe8ff8ff irq 23 at device 18.0 on pci0 vr0: Quirks: 0x0 vr0: Revision: 0x7c miibus0: on vr0 ukphy0: PHY 1 on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto vr0: Ethernet address: 00:19:66:92:a0:3f vr0: [ITHREAD] pcib3: at device 19.1 on pci0 pci3: on pcib3 em0: port 0xec00-0xec3f mem 0xfeae0000-0xfeafffff,0xfeac0000-0xfeadffff irq 17 at device 4.0 on pci3 em0: [FILTER] em0: Ethernet address: 00:0e:0c:38:a8:ca acpi_button0: on acpi0 acpi_button1: on acpi0 pcib4: on acpi0 pci128: on pcib4 pci128: at device 1.0 (no driver attached) atrtc0: port 0x70-0x71 irq 8 on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model Generic PS/2 mouse, device ID 0 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xccfff,0xcd000-0xce7ff pnpid ORM0000 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ppc0: parallel port not found. p4tcc0: on cpu0 p4tcc1: on cpu1 Timecounters tick every 1.000 msec usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 12Mbps Full Speed USB v1.0 usbus3: 12Mbps Full Speed USB v1.0 usbus4: 480Mbps High Speed USB v2.0 acd0: CDROM at ata0-master UDMA33 ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 ugen2.1: at usbus2 uhub2: on usbus2 ugen3.1: at usbus3 uhub3: on usbus3 ugen4.1: at usbus4 uhub4: on usbus4 ad4: 238475MB at ata2-master UDMA100 SATA 1.5Gb/s ad6: 238475MB at ata3-master UDMA100 SATA 1.5Gb/s SMP: AP CPU #1 Launched! Root mount waiting for: usbus4 usbus3 usbus2 usbus1 usbus0 uhub0: 2 ports with 2 removable, self powered uhub1: 2 ports with 2 removable, self powered uhub2: 2 ports with 2 removable, self powered uhub3: 2 ports with 2 removable, self powered Root mount waiting for: usbus4 Root mount waiting for: usbus4 uhub4: 8 ports with 8 removable, self powered ugen4.2: at usbus4 umass0: on usbus4 Root mount waiting for: usbus4 Trying to mount root from ufs:/dev/ad4s1a da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 da0: Fixed Direct Access SCSI-4 device da0: 40.000MB/s transfers da0: 953869MB (1953525168 512 byte sectors: 255H 63S/T 121601C) From owner-freebsd-questions@FreeBSD.ORG Mon May 31 20:31:23 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 949E11065675 for ; Mon, 31 May 2010 20:31:23 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-01.bluehost.com (cpoproxy1-pub.bluehost.com [69.89.21.11]) by mx1.freebsd.org (Postfix) with SMTP id 60CDF8FC1E for ; Mon, 31 May 2010 20:31:23 +0000 (UTC) Received: (qmail 28547 invoked by uid 0); 31 May 2010 20:31:22 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by cpoproxy1.bluehost.com with SMTP; 31 May 2010 20:31:22 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=nvEEF71tU3Se5Lq+ebvrQwS5gGIZk2HSBWGGzRZ3sgl0l1Z2v3FxyIftWfGNFyqCalv82HTfv+grjwJJ1fkW5XlgsF94yF27Qbua9NHXkzbrON4L202/5S0EUMrDeZqF; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kukaburra.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1OJBdp-0000Cu-NC for freebsd-questions@freebsd.org; Mon, 31 May 2010 14:31:22 -0600 Received: by kukaburra.hydra (sSMTP sendmail emulation); Mon, 31 May 2010 14:31:15 -0600 Date: Mon, 31 May 2010 14:31:15 -0600 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20100531203115.GA2167@guilt.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <201005311636.o4VGarkt001701@mail.r-bonomi.com> <87zkzgx8rd.fsf@kobe.laptop> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="sm4nu43k4a2Rpi4c" Content-Disposition: inline In-Reply-To: <87zkzgx8rd.fsf@kobe.laptop> User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Subject: Re: text editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 20:31:23 -0000 --sm4nu43k4a2Rpi4c Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 31, 2010 at 08:48:22PM +0300, Giorgos Keramidas wrote: > On Mon, 31 May 2010 11:36:53 -0500 (CDT), Robert Bonomi wrote: > >Giorgos Keramidas wrote: > >> Vim is much smaller than Emacs but it still a few MB's here: > >> > >> keramida@kobe:/usr/ports/packages/All$ ls -ld vim* > >> -rw-r--r-- 1 root wheel - 5757731 1 =3DCE=3D91=3DCF=3D80=3DCF=3D= 81 17:11 vim-lite-7.2.344.tbz > > > > Yeah, but EMACS is (currently) reputed to stand for ighty > > egabytes nd onstantly wapping! *GRIN* >=20 > That's an old joke, but it's not particularly good anymore. =2E . . probably because it's increasingly inaccurate. Eighty was "the good ol' days". --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --sm4nu43k4a2Rpi4c Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwEHJMACgkQ9mn/Pj01uKWU9QCg3FZ0y//5VlSL/Q+qyBth4m1e CvEAn1ckjBNgd46OwEKFEFjMy6/9ipay =5WFB -----END PGP SIGNATURE----- --sm4nu43k4a2Rpi4c-- From owner-freebsd-questions@FreeBSD.ORG Mon May 31 20:32:12 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9589910656D4 for ; Mon, 31 May 2010 20:32:12 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-158.bluehost.com (cpoproxy2-pub.bluehost.com [67.222.39.38]) by mx1.freebsd.org (Postfix) with SMTP id 61CCF8FC24 for ; Mon, 31 May 2010 20:32:12 +0000 (UTC) Received: (qmail 28095 invoked by uid 0); 31 May 2010 20:32:12 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by cpoproxy2.bluehost.com with SMTP; 31 May 2010 20:32:12 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=DyDrZUvks/wgshY0VtPpQLqW9Sy9Wo9y5zjYJeF/9dvsD2yb5yv3+GbXa7fhhJAS3WoDqJtLdjCLloOYnhGInArWNml1dAy2oLF/eys+bguHiCeZWvxPHJ9+qXSTK/qc; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kukaburra.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1OJBec-0001F6-Sq for freebsd-questions@freebsd.org; Mon, 31 May 2010 14:32:11 -0600 Received: by kukaburra.hydra (sSMTP sendmail emulation); Mon, 31 May 2010 14:32:04 -0600 Date: Mon, 31 May 2010 14:32:04 -0600 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20100531203204.GB2167@guilt.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <201005311636.o4VGarkt001701@mail.r-bonomi.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Bn2rw/3z4jIqBvZU" Content-Disposition: inline In-Reply-To: <201005311636.o4VGarkt001701@mail.r-bonomi.com> User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Subject: Re: text editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 20:32:12 -0000 --Bn2rw/3z4jIqBvZU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 31, 2010 at 11:36:53AM -0500, Robert Bonomi wrote: >=20 > I can't get at my FBSD box right now to check vim itself, but on another = box, > 'nvi' (which is described as a "bug-for-bug compatible replacement for th= e=20 > original Fourth Berkeley Software Distribution (4BSD) vi", has an executa= ble > that is under 256k in size. Unfortunately, the "killer feature" that keeps me with Vim instead of nvi is its support for multiple levels of undo. --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --Bn2rw/3z4jIqBvZU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwEHMQACgkQ9mn/Pj01uKWk8ACeM3aqbAtzbpGso6/LhpIpV+RY 9c0AoPZ2mlfsr1ctKwAWy5fPskKY+ijY =pdHw -----END PGP SIGNATURE----- --Bn2rw/3z4jIqBvZU-- From owner-freebsd-questions@FreeBSD.ORG Mon May 31 21:38:10 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A0771065676 for ; Mon, 31 May 2010 21:38:10 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-01.bluehost.com (cpoproxy1-pub.bluehost.com [69.89.21.11]) by mx1.freebsd.org (Postfix) with SMTP id 0A93F8FC13 for ; Mon, 31 May 2010 21:38:09 +0000 (UTC) Received: (qmail 6652 invoked by uid 0); 31 May 2010 21:38:09 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by cpoproxy1.bluehost.com with SMTP; 31 May 2010 21:38:09 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=gOL/oJ9oXYXsv04SZdLBSZwIm1+C1Qj2ci+PfjwqE71afw0TGNo37ASZUryRTWRdUxLO1iCULLLCXJO3Dx0UvOG8CbQ9e/qfIAdmCTrse3lsDJqkS7zMJEXYR8scQ3ih; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kukaburra.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1OJCgS-0007S9-94 for freebsd-questions@freebsd.org; Mon, 31 May 2010 15:38:09 -0600 Received: by kukaburra.hydra (sSMTP sendmail emulation); Mon, 31 May 2010 15:38:02 -0600 Date: Mon, 31 May 2010 15:38:02 -0600 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20100531213802.GB2351@guilt.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <4C01DD3F.3040000@a1poweruser.com> <871vct44ww.fsf@kobe.laptop> <20100530232827.GB97659@guilt.hydra> <87zkzgsllg.fsf@kobe.laptop> <20100531155900.GA1417@guilt.hydra> <874ohoynh8.fsf@kobe.laptop> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UHN/qo2QbUvPLonB" Content-Disposition: inline In-Reply-To: <874ohoynh8.fsf@kobe.laptop> User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Subject: Re: text editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 21:38:10 -0000 --UHN/qo2QbUvPLonB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I meant to reply to the list, as a response to this, but accidentally replied directly to Giorgos Keramidas. On Mon, May 31, 2010 at 08:45:07PM +0300, Giorgos Keramidas wrote: > On Mon, 31 May 2010 09:59:00 -0600, Chad Perrin wro= te: > > Does Vim install more than the binary? I've got this: > > > > > ls -l /usr/local/bin/vim > > -rwxr-xr-x 1 root wheel 1650340 Apr 18 12:20 /usr/local/bin/vim >=20 > Yes, it does: help files; syntax highlighting rules; manpages; around 14 > binaries in /usr/local/bin; including more than a thousand files in > /usr/local/share. After some off-list discussion, it has come to my attention that of the 14 "binaries" that are "installed", one of them is the vim binary itself, two of them are vimtutor binaries, one is a hex dumper, and the other ten are links (hard or soft) to the vim binary itself (and thus not actually separate binaries). It seems kind of silly to include a tutor and a hexdumper in the "size" of the editor just because the port for that editor installs them, too. Furthermore, documentation like manpages and help files should not count against an application's size in my opinion, since more documentation is a *good* thing, and counting it toward the size of the application is marking it in the *bad* column. The grand total size of that hex dumper and two tutor binaries is about 15KB, by the way -- so even if you include them with the editor for determining its size, they're still pretty negligible. Considering I could just delete all the syntax highlighting files and it wouldn't even affect the way I use Vim (I tend to prefer monochrome, even when editing code), I don't realy think I'd count those against the size of Vim either. Vim looks pretty small to me, compared with other editors of similar power (emacs, GUI IDEs, et cetera). >=20 > > I don't think the size of the installation tarball is necessarily > > representative of the final size. >=20 > For modern editors like Vim and Emacs the binary is pretty much a basic > 'scripting engine' that loads plugins, scripts and other data files to > present an editing user interface to the user. The last Emacs binary I > compiled is 13 MB: That's not what I see from the list of binaries in /usr/local/bin. Those appear to basically just be links to Vim, for the most part, rather than separate programs with the vim binary acting as glue code. --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --UHN/qo2QbUvPLonB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwELDoACgkQ9mn/Pj01uKUziACg16dbEhsco0vlQGmFWa8Ma5HP +08AoIACk3ASbaEaIsSAiuWINKIdXj+2 =eyuJ -----END PGP SIGNATURE----- --UHN/qo2QbUvPLonB-- From owner-freebsd-questions@FreeBSD.ORG Mon May 31 21:46:59 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 68D0D1065678 for ; Mon, 31 May 2010 21:46:59 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id E971E8FC1D for ; Mon, 31 May 2010 21:46:58 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OJCoz-0001iO-Ez for freebsd-questions@freebsd.org; Mon, 31 May 2010 23:46:57 +0200 Received: from pool-72-75-58-9.washdc.east.verizon.net ([72.75.58.9]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 31 May 2010 23:46:57 +0200 Received: from nightrecon by pool-72-75-58-9.washdc.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 31 May 2010 23:46:57 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org connect(): No such file or directory From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Mon, 31 May 2010 17:46:57 -0400 Lines: 49 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pool-72-75-58-9.washdc.east.verizon.net Subject: Re: Network sort of stops working with the em (intel) driver under load. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 21:46:59 -0000 mark rowlands wrote: > Newly built and cvsupped system,with GENERIC kernel, when copying > large amounts of data over a gigabit link via scp the network will > hang after a couple of gig. I can then no longer login via ssh. If I > leave it be, after about 12-24 hours I can then login again. (A reboot > of course fixes the issue immediately...) . > > The system is very vanilla, only accf_http in loader.conf. No sysctl > tuning done, no firewall hankypanky. > > pciconf -lv | grep -A4 ^em > em0@pci0:3:4:0: class=0x020000 card=0x001e8086 chip=0x100e8086 rev=0x02 > hdr=0x00 > vendor = 'Intel Corporation' > device = 'Gigabit Ethernet Controller (82540EM)' > class = network > subclass = ethernet > > em0: port > 0xec00-0xec3f mem 0xfeae0000-0xfeafffff,0xff irq 17 at device 4.0 on > pci3 > > Suggestions as to where I could look for more information as to the > precise nature of the problem gratefully received. Current plan is to > purchase another variety of gigabit card to see if it is specific to > the intel card. > If memory serves, I think there may have been some traffic about something like this on the -CURRENT list. You might look/search there and see if it sounds similar. If it seems like it might be the same thing, look for an MFC back to -STABLE. Sometimes the fix for very a specific item which has been addressed is to take a system to -STABLE in order to obtain the fixed bits. Research and confirm first, before considering such an update. My policy on -STABLE in the past is I only think about going there for a very narrow and specific situation where I know I have a problem that the devs have seen, analyzed, and fixed, with subsequent MFC. Something else too - if you can disable the vr and the USB chips completely, it might provide a data point. IRQ sharing is supposed to work well, and it is something that may be eliminated from the scenario easily if you do not need these things. -Mike From owner-freebsd-questions@FreeBSD.ORG Mon May 31 22:51:13 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C5601065674 for ; Mon, 31 May 2010 22:51:13 +0000 (UTC) (envelope-from fbsd1@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 492558FC1C for ; Mon, 31 May 2010 22:51:13 +0000 (UTC) Received: from [10.0.10.3] ([202.69.173.90]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 31 May 2010 15:51:13 -0700 Message-ID: <4C043D4B.1010203@a1poweruser.com> Date: Tue, 01 Jun 2010 06:50:51 +0800 From: Fbsd1 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <201005311636.o4VGarkt001701@mail.r-bonomi.com> <87zkzgx8rd.fsf@kobe.laptop> <20100531203115.GA2167@guilt.hydra> In-Reply-To: <20100531203115.GA2167@guilt.hydra> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 31 May 2010 22:51:13.0635 (UTC) FILETIME=[C54CEB30:01CB0113] X-Sender: fbsd1@a1poweruser.com Subject: Re: text editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 22:51:13 -0000 SNIP alot of text not related to original posted question. Can we get back on subject. I have worked many years with ispf so decided to check out "THE" I installed pkg_add -r the entering "the" on the command line produces something that is far removed from ispf/pdf. manpage and website documentation for "the" really sucks. Think I need to create a default profile that activates ispf but have found no instructions on how to do it. Can not find "the" profile file on my system. more help please. From owner-freebsd-questions@FreeBSD.ORG Mon May 31 23:57:43 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 659981065674 for ; Mon, 31 May 2010 23:57:43 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (chello089077043238.chello.pl [89.77.43.238]) by mx1.freebsd.org (Postfix) with ESMTP id EF4168FC19 for ; Mon, 31 May 2010 23:57:42 +0000 (UTC) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 242BC45CDD; Tue, 1 Jun 2010 01:32:51 +0200 (CEST) Received: from localhost (chello089077043238.chello.pl [89.77.43.238]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 847E945C98; Tue, 1 Jun 2010 01:32:44 +0200 (CEST) Date: Tue, 1 Jun 2010 01:32:41 +0200 From: Pawel Jakub Dawidek To: Eugene Mitrofanov Message-ID: <20100531233241.GB2066@garage.freebsd.pl> References: <201005211555.59622.eugene@imedia.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3uo+9/B/ebqu+fSQ" Content-Disposition: inline In-Reply-To: <201005211555.59622.eugene@imedia.ru> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 9.0-CURRENT amd64 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.6 required=4.5 tests=BAYES_00,RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: freebsd-fs@freebsd.org, freebsd-questions@freebsd.org Subject: Re: FreeBSD 8.1-PRERELEASE: property 'jailed' not supported on FreeBSD: permission denied X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 23:57:43 -0000 --3uo+9/B/ebqu+fSQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 21, 2010 at 03:55:59PM +0400, Eugene Mitrofanov wrote: > Hi >=20 > The command "zfs set jailed=3Don tank/s1" is failed with the message " > property 'jailed' not supported on FreeBSD: permission denied". >=20 > Output of "zfs get jailed tank/s1" shows me that the property "jailed" is= =20 > still exists: > NAME PROPERTY VALUE SOURCE > tank/s1 jailed off default >=20 > How can I change its value? It was accidentally marked as OpenSolaris-specific. Should be fixed as of r208684 in HEAD and I plan to merge it to stable/8 in few days. Thanks for the report! --=20 Pawel Jakub Dawidek http://www.wheelsystems.com pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --3uo+9/B/ebqu+fSQ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwERxgACgkQForvXbEpPzRYQQCfcK5PcVyL6QxZrMt78rSONXjW seUAoKLiUtNhcHcTMgMz/RKR9aRuBMP+ =cQM1 -----END PGP SIGNATURE----- --3uo+9/B/ebqu+fSQ-- From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 00:06:00 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF77B106564A for ; Tue, 1 Jun 2010 00:06:00 +0000 (UTC) (envelope-from SamanKaya@netscape.net) Received: from imr-ma01.mx.aol.com (imr-ma01.mx.aol.com [64.12.206.39]) by mx1.freebsd.org (Postfix) with ESMTP id A1B068FC24 for ; Tue, 1 Jun 2010 00:05:58 +0000 (UTC) Received: from mtaout-ma03.r1000.mx.aol.com (mtaout-ma03.r1000.mx.aol.com [172.29.41.3]) by imr-ma01.mx.aol.com (8.14.1/8.14.1) with ESMTP id o5105mBj001409; Mon, 31 May 2010 20:05:48 -0400 Received: from [192.168.0.56] (81-178-2-118.dsl.pipex.com [81.178.2.118]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mtaout-ma03.r1000.mx.aol.com (MUA/Third Party Client Interface) with ESMTPSA id D9FE1E0000FA; Mon, 31 May 2010 20:05:47 -0400 (EDT) Message-ID: <4C044E24.7070104@netscape.net> Date: Tue, 01 Jun 2010 03:02:44 +0300 From: Kaya Saman User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4 MIME-Version: 1.0 To: Tim Judd References: <4C03FD20.1080401@netscape.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit x-aol-global-disposition: G X-AOL-SCOLL-SCORE: 0:2:411596640:93952408 X-AOL-SCOLL-URL_COUNT: 0 x-aol-sid: 3039ac1d29034c044edb01cb X-AOL-IP: 81.178.2.118 Cc: FreeBSD Subject: Re: Postfix bad command startup?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 00:06:01 -0000 On 31/05/2010 22:07, Tim Judd wrote: > On 5/31/10, Kaya Saman wrote: > >> Hi, >> >> similar like I wrote before, to do with my migration from Solaris 9 to >> FreeBSD 8.0 x64 RELEASE. >> >> Postfix is being run in a BSD Jail and so far I have disabled as much as >> I could of sendmail which I did this to rc.conf within the jail: >> >> postfix_enable="YES" >> sendmail_enable="NONE" >> sendmail_submit_enable="NO" >> sendmail_outbound_enable="NO" >> sendmail_msp_queue_enable="NO" >> >> >> However upon startup Postfix gives me this problem: >> >> May 31 18:03:18 relay postfix/master[4280]: warning: >> /usr/local/libexec/postfix/smtpd: bad command startup -- throttling >> May 31 18:04:18 relay postfix/smtpd[4606]: fatal: open database >> /etc/aliases.db: No such file or directory >> May 31 18:04:19 relay postfix/master[4280]: warning: process >> /usr/local/libexec/postfix/smtpd pid 4606 exit status 1 >> May 31 18:04:19 relay postfix/master[4280]: warning: >> /usr/local/libexec/postfix/smtpd: bad command startup -- throttling >> May 31 18:05:19 relay postfix/smtpd[4629]: fatal: open database >> /etc/aliases.db: No such file or directory >> May 31 18:05:20 relay postfix/master[4280]: warning: process >> /usr/local/libexec/postfix/smtpd pid 4629 exit status 1 >> May 31 18:05:20 relay postfix/master[4280]: warning: >> /usr/local/libexec/postfix/smtpd: bad command startup -- throttling >> >> >> I can tell that it's listening as netstat -ap tcp reveals this: >> >> netstat: kvm not available: /dev/mem: No such file or directory >> Active Internet connections (including servers) >> Proto Recv-Q Send-Q Local Address Foreign Address (state) >> tcp4 0 0 relay.smtp 110.52.7.217.2140 >> ESTABLISHED >> tcp4 0 0 relay.smtp web112111.mail.g.33920 >> ESTABLISHED >> tcp4 0 0 relay.smtp 110.52.6.29.4643 >> ESTABLISHED >> tcp4 0 0 relay.smtp 78-61-12-207.sta.28507 CLOSED >> tcp4 0 0 relay.smtp 78-61-12-207.sta.27646 CLOSE_WAIT >> tcp4 0 0 relay.smtp 78-61-12-207.sta.26479 CLOSE_WAIT >> tcp4 0 0 relay.smtp 110.52.6.35.2109 >> ESTABLISHED >> tcp4 0 0 relay.smtp 78-61-12-207.sta.23305 CLOSED >> tcp4 0 0 relay.smtp 78-61-12-207.sta.22314 CLOSE_WAIT >> tcp4 0 0 relay.smtp 78-61-12-207.sta.21323 CLOSE_WAIT >> tcp4 0 0 relay.ssh *.* LISTEN >> tcp4 0 0 relay.smtp *.* LISTEN >> >> >> /var/log/messages gives me this: >> >> May 31 18:10:24 relay postfix/smtpd[4662]: fatal: open database >> /etc/aliases.db: No such file or directory >> >> however I did run the command newaliases which did create the aliases >> file under /etc/mail/aliases with the aliases.db file being under there >> as well as under /etc. >> >> Currently no mail is being relayed throughout the domain so I can tell >> that it's not working as even the /var/log/maillog file is telling me >> that messages are queued but not sent if I use: >> >> mail -s test email@address.com >> >> test >> >> ^D >> >> Can someone please help me work out what is causing Postfix to fail as >> I've managed to migrate my config from Linux to Solaris with not as many >> issues and problems as this so it really beats me.......???? >> >> Many thanks, >> >> >> Kaya >> > > Kaya, > > > You may need to edit the following > alias_maps = hash:/etc/aliases > alias_database = hash:/etc/aliases > > and run BOTH 'newaliases' and 'postalias /etc/aliases' depending on > your setup. > > restart postfix for good measure > > > if you telnet to your postfix IP and get the 220 banner, postfix is > happy with the config and should work as config'd. > > if after establishing a telnet session, you don't get any banner, > postfix is still having problems with something. start looking at > logs again. > Thanks so much Tim!!! :-) I hadn't used the 'postalias /etc/aliases' command at all so running it now actually made the system work pretty well...... At least I haven't restarted the Jail yet but so far everything works! I just hope this stays permanently as I find Jails a bit less stable then Solaris Zones which is what I'm trying to mimic with them; however, it might just be because I don't know how to use them yet as I've only just learned about how to create them and run simple services in them. Meaning that my statement is probably waaaay premature!! Now if I could just figure out how to start Squid through the rc.d scripts rather then running manually as root user as per my other posting that would be really cool....... Best Regards, Kaya From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 00:37:25 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66347106564A for ; Tue, 1 Jun 2010 00:37:25 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 44E018FC1A for ; Tue, 1 Jun 2010 00:37:25 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1OJFTw-00042U-JU for freebsd-questions@freebsd.org; Mon, 31 May 2010 17:37:24 -0700 Message-ID: <28736514.post@talk.nabble.com> Date: Mon, 31 May 2010 17:37:24 -0700 (PDT) From: zaxis To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: z_axis@163.com Subject: What's the difference between portupgrade and portmaster ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 00:37:25 -0000 Why do we need two tools ? ----- e^(=CF=80=E2=8B=85i) + 1 =3D 0 --=20 View this message in context: http://old.nabble.com/What%27s-the-difference= -between-portupgrade-and-portmaster---tp28736514p28736514.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 00:44:55 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 03678106566B; Tue, 1 Jun 2010 00:44:55 +0000 (UTC) (envelope-from jamesbrandongooch@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id A2AA88FC12; Tue, 1 Jun 2010 00:44:54 +0000 (UTC) Received: by iwn5 with SMTP id 5so680657iwn.13 for ; Mon, 31 May 2010 17:44:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=85gkVL7ApPoXCjPfxfz6qXmmO4rJpKhYH16U3vnD0Ls=; b=uriIzN0/LDNPp9mVuFJdbCwF/HHi8YHQGLi93jiHF/QQImEW8i9NKakjIUHmZA0zWo wLnC2Lri+XQyl287fRULbTaLdtUDvrGdG1/LqNc4BRFfvxip4yCQIOcORQUg558HHaST LHjalOfFs73ziohFGs/P6EeHdKLnSebfySG0k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=cmLn2uAbUmsDfXWyoAnb+/g+f8ZLOlKFnZPfr0hnioRnctolV3oeFIduMpH60oDo7l eDecpq0jZFQgZg++WbwOEEQckobA6P8Gm7Iydsams4n3HDYYkM1hiAuA6HyMkOls6Y02 yNGW7sxvwGijYFiyYilcn6SkMBrNeV2ujbMAs= MIME-Version: 1.0 Received: by 10.231.176.16 with SMTP id bc16mr6792952ibb.4.1275353093787; Mon, 31 May 2010 17:44:53 -0700 (PDT) Received: by 10.231.182.204 with HTTP; Mon, 31 May 2010 17:44:53 -0700 (PDT) In-Reply-To: <20100531233241.GB2066@garage.freebsd.pl> References: <201005211555.59622.eugene@imedia.ru> <20100531233241.GB2066@garage.freebsd.pl> Date: Mon, 31 May 2010 19:44:53 -0500 Message-ID: From: Brandon Gooch To: Pawel Jakub Dawidek Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-fs@freebsd.org, freebsd-questions@freebsd.org Subject: Re: FreeBSD 8.1-PRERELEASE: property 'jailed' not supported on FreeBSD: permission denied X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 00:44:55 -0000 On Mon, May 31, 2010 at 6:32 PM, Pawel Jakub Dawidek wrot= e: > On Fri, May 21, 2010 at 03:55:59PM +0400, Eugene Mitrofanov wrote: >> Hi >> >> The command "zfs set jailed=3Don tank/s1" is failed with the message " >> property 'jailed' not supported on FreeBSD: permission denied". >> >> Output of "zfs get jailed tank/s1" shows me that the property "jailed" i= s >> still exists: >> NAME =A0 =A0 PROPERTY =A0VALUE =A0 =A0SOURCE >> tank/s1 =A0jailed =A0 =A0off =A0 =A0 =A0default >> >> How can I change its value? > > It was accidentally marked as OpenSolaris-specific. > > Should be fixed as of r208684 in HEAD and I plan to merge it to stable/8 > in few days. > > Thanks for the report! I discovered this just last night (May 30, 2010) -- will it be able to be pushed into 8.1-RELEASE? It's important in my ezjail setups... -Brandon From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 00:45:36 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83286106568C for ; Tue, 1 Jun 2010 00:45:36 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 602868FC1E for ; Tue, 1 Jun 2010 00:45:36 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1OJFbr-0004XB-Qn for freebsd-questions@freebsd.org; Mon, 31 May 2010 17:45:35 -0700 Message-ID: <28736563.post@talk.nabble.com> Date: Mon, 31 May 2010 17:45:35 -0700 (PDT) From: zaxis To: freebsd-questions@freebsd.org In-Reply-To: <20100530024653.GF8866@dan.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: z_axis@163.com References: <28719810.post@talk.nabble.com> <20100530024653.GF8866@dan.emsphone.com> Subject: Re: FireFox problem ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 00:45:36 -0000 >pkg_info |grep -i firefox firefox-3.5.9_1,1 Web browser based on the browser portion of Mozilla After using the latest version, the problem disappears! Dan Nelson wrote: >=20 > In the last episode (May 29), zaxis said: >>=20 >> >uname -a >> FreeBSD mybsd.zsoft.com 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #9: Sat Ma= r >> 27 15:06:39 CST 2010 =20 >> root@mybsd.zsoft.com:/usr/obj/usr/src/sys/MYKERNEL i386 >>=20 >> >pkg_version -vIL=3D | grep -i firefox >> firefox-3.5.9,1 < needs updating (index has >> 3.5.9_1,1) >>=20 >> Sometimes when i close one page tab, firefox will exit automatically ! >=20 > Please make sure you are running the most recent version before reporting > problems. >=20 > 3.5.9_1,1: > date: 2010/05/18 14:17:31; author: beat; state: Exp; lines: +1 -0 > - Fix crash when closing tab after recent cairo update > - Bump PORTREVISION >=20 >=20 > --=20 > =09Dan Nelson > =09dnelson@allantgroup.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" >=20 >=20 ----- e^(=CF=80=E2=8B=85i) + 1 =3D 0 --=20 View this message in context: http://old.nabble.com/FireFox-problem---tp287= 19810p28736563.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 00:53:50 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 338EE1065676 for ; Tue, 1 Jun 2010 00:53:50 +0000 (UTC) (envelope-from doug@fledge.watson.org) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by mx1.freebsd.org (Postfix) with ESMTP id EB61E8FC13 for ; Tue, 1 Jun 2010 00:53:49 +0000 (UTC) Received: from fledge.watson.org (localhost.watson.org [127.0.0.1]) by fledge.watson.org (8.14.3/8.14.3) with ESMTP id o510rmtN094605; Mon, 31 May 2010 20:53:48 -0400 (EDT) (envelope-from doug@fledge.watson.org) Received: from localhost (doug@localhost) by fledge.watson.org (8.14.3/8.14.3/Submit) with ESMTP id o510rmcS094602; Mon, 31 May 2010 20:53:48 -0400 (EDT) (envelope-from doug@fledge.watson.org) Date: Mon, 31 May 2010 20:53:48 -0400 (EDT) From: doug To: Fbsd1 In-Reply-To: <4C043D4B.1010203@a1poweruser.com> Message-ID: References: <201005311636.o4VGarkt001701@mail.r-bonomi.com> <87zkzgx8rd.fsf@kobe.laptop> <20100531203115.GA2167@guilt.hydra> <4C043D4B.1010203@a1poweruser.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (fledge.watson.org [127.0.0.1]); Mon, 31 May 2010 20:53:48 -0400 (EDT) Cc: freebsd-questions@freebsd.org Subject: Re: text editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: doug@safeport.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 00:53:50 -0000 On Tue, 1 Jun 2010, Fbsd1 wrote: > > SNIP alot of text not related to original posted question. > > Can we get back on subject. > > I have worked many years with ispf so decided to check out "THE" > I installed pkg_add -r the > entering "the" on the command line produces something that is far removed > from ispf/pdf. manpage and website documentation for "the" really sucks. > Think I need to create a default profile that activates ispf but have found > no instructions on how to do it. Can not find "the" profile file on my > system. > > more help please. I would infer from the responses to your original question that you probably got what the list has to offer on THE. It does not seem to be a very active project. If you can not find a mailing list or an IRC channel, you may well be stuck with figuring it out. I worked on SPF and wrote a monitoring tool for it back in the day. Kate (KDE) and TextPad (Winders) have most if not all the features I can remember as being things other editors do not generally have, e.g., block editing and collapsing code blocks. From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 01:07:21 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D158F106567D for ; Tue, 1 Jun 2010 01:07:21 +0000 (UTC) (envelope-from doug@fledge.watson.org) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by mx1.freebsd.org (Postfix) with ESMTP id 7D16D8FC17 for ; Tue, 1 Jun 2010 01:07:21 +0000 (UTC) Received: from fledge.watson.org (localhost.watson.org [127.0.0.1]) by fledge.watson.org (8.14.3/8.14.3) with ESMTP id o5117D4D096096; Mon, 31 May 2010 21:07:13 -0400 (EDT) (envelope-from doug@fledge.watson.org) Received: from localhost (doug@localhost) by fledge.watson.org (8.14.3/8.14.3/Submit) with ESMTP id o5117COM096090; Mon, 31 May 2010 21:07:13 -0400 (EDT) (envelope-from doug@fledge.watson.org) Date: Mon, 31 May 2010 21:07:11 -0400 (EDT) From: doug To: zaxis In-Reply-To: <28736514.post@talk.nabble.com> Message-ID: References: <28736514.post@talk.nabble.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (fledge.watson.org [127.0.0.1]); Mon, 31 May 2010 21:07:13 -0400 (EDT) Cc: freebsd-questions@freebsd.org Subject: Re: What's the difference between portupgrade and portmaster ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: doug@safeport.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 01:07:21 -0000 On Mon, 31 May 2010, zaxis wrote: > > Why do we need two tools ? > Actually there are at least three. Add portmanager to the mix. Its the same reason there is more than one text editor. I use portmaster and portmanager depending on what I want to do. Its mostly personal choice. From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 01:58:20 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 629A6106566B for ; Tue, 1 Jun 2010 01:58:20 +0000 (UTC) (envelope-from aiza21@comclark.com) Received: from avmxsmtp1.comclark.com (avmxsmtp1.comclark.com [202.69.191.115]) by mx1.freebsd.org (Postfix) with ESMTP id E94328FC26 for ; Tue, 1 Jun 2010 01:58:19 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao4WAMsFBEzKRa1aPGdsb2JhbAAHh2KWTgEBAQE1J78FhRYEg0Y X-IronPort-AV: E=Sophos;i="4.53,337,1272816000"; d="scan'208";a="1409712" Received: from unknown (HELO [10.0.10.3]) ([202.69.173.90]) by avmxsmtp2.comclark.com with ESMTP; 01 Jun 2010 09:58:18 +0800 Message-ID: <4C046937.2030905@comclark.com> Date: Tue, 01 Jun 2010 09:58:15 +0800 From: Aiza User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: "questions@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: unexpected operator .sh error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 01:58:20 -0000 Added some code to a .sh script. When I run the script works but issues this message [: =: unexpected operator No line number telling where to look. I am not ever sure its talking about. IS [: whats wrong or =: From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 02:27:59 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 73FA91065670 for ; Tue, 1 Jun 2010 02:27:59 +0000 (UTC) (envelope-from chris@monochrome.org) Received: from mail.monochrome.org (b4.ebbed1.client.atlantech.net [209.190.235.180]) by mx1.freebsd.org (Postfix) with ESMTP id 184888FC15 for ; Tue, 1 Jun 2010 02:27:58 +0000 (UTC) Received: from [192.168.1.11] ([192.168.1.11]) by mail.monochrome.org (8.14.3/8.14.3) with ESMTP id o512Rodk039718; Mon, 31 May 2010 22:27:50 -0400 (EDT) (envelope-from chris@monochrome.org) Date: Mon, 31 May 2010 22:27:50 -0400 (EDT) From: Chris Hill To: Aiza In-Reply-To: <4C046937.2030905@comclark.com> Message-ID: References: <4C046937.2030905@comclark.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: "questions@freebsd.org" Subject: Re: unexpected operator .sh error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 02:27:59 -0000 On Tue, 1 Jun 2010, Aiza wrote: > Added some code to a .sh script. > When I run the script works but issues this message > [: =: unexpected operator > > No line number telling where to look. > I am not ever sure its talking about. > > IS [: whats wrong or =: I'd guess that what you added includes something like if [ x=y ] ... The open-square-bracket, [, is another name for test. IIRC the equal sign is not valid in that context. Can you post the 'before' and 'after' versions of that part of your script? It would help us in determining what the problem is. -- Chris Hill chris@monochrome.org ** [ Busy Expunging <|> ] From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 02:44:29 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96CFC1065670 for ; Tue, 1 Jun 2010 02:44:29 +0000 (UTC) (envelope-from jamesbrandongooch@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4FF738FC0C for ; Tue, 1 Jun 2010 02:44:29 +0000 (UTC) Received: by gyh20 with SMTP id 20so4113999gyh.13 for ; Mon, 31 May 2010 19:44:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=E6SfX3geSjr+M4M8+W4snWOccr/3ulcf5JTHu6obAdI=; b=uvfUWKfPPeih9OScWrlTEqL2vf4V286sygaFC5kOcfeOzomvyjajnyqOuM8aGYccqx AGA/aGWyibePQhghcyryj3WWr5qgfokmGtV0CHm9/ZugzvnIgyGHZvOzbtUYIULbO7TE PGPX+34/iWwcvy19cvfrdOAiVIxOIk/5IrK3o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=J3AGvdhaELvyw5ceIvgBlX4WGB+FoL7a3z5BnzXkEkOAwX35Y+h3XbPhM8v9f8W9HL OBxMi7UiVJrGGIkVfU3kuhiQjD2w8QBdvJFbNWJY6FbiWQedPXW+B8Tc1EK06vOPEnYZ hodBD1fq9c64JUVgpQyQ6g8iQdBRTGkxWYDb4= MIME-Version: 1.0 Received: by 10.231.157.77 with SMTP id a13mr6923700ibx.59.1275360268276; Mon, 31 May 2010 19:44:28 -0700 (PDT) Received: by 10.231.182.204 with HTTP; Mon, 31 May 2010 19:44:28 -0700 (PDT) In-Reply-To: References: Date: Mon, 31 May 2010 21:44:28 -0500 Message-ID: From: Brandon Gooch To: Eitan Adler Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: questions@freebsd.org Subject: Re: devel/gojbect-introspection fails due to not finding libintl X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 02:44:29 -0000 On Mon, May 31, 2010 at 7:41 AM, Eitan Adler wrote: > Here is the output of $make install > env LPATH=3D.libs =A0env PYTHONPATH=3D..:.. > UNINSTALLED_INTROSPECTION_SRCDIR=3D.. > UNINSTALLED_INTROSPECTION_BUILDDIR=3D.. ../tools/g-ir-scanner -v > --add-include-path=3D../gir --add-include-path=3D. -v > --add-include-path=3D../gir --add-include-path=3D. --namespace=3DEverythi= ng > --nsversion=3D1.0 --libtool=3D"/bin/sh /usr/local/bin/libtool" > --library=3Dlibgirepository-everything-1.0.la --pkg=3Dgobject-2.0 > --pkg=3Dcairo --pkg=3Dgio-2.0 --include=3DGObject-2.0 --include=3Dcairo-1= .0 > --include=3DGio-2.0 =A0 ./everything.h ./everything.c --output > Everything-1.0.gir > > /libexec/ld-elf.so.1: Shared object "libintl.so.8" not found, required > by "libgirepository-1.0.so.0" > > Command '['/dta/ports/devel/gobject-introspection/work/gobject-introspect= ion-0.6.11/gir/tmp-introspectLatOlI/Everything-1.0', > '--introspect-dump=3D/dta/ports/devel/gobject-introspection/work/gobject-= introspection-0.6.11/gir/tmp-introspectLatOlI/types.txt,/dta/ports/devel/go= bject-introspection/work/gobject-introspection-0.6.11/gir/tmp-introspectLat= OlI/dump.xml']' > returned non-zero exit status 1 > gmake[2]: *** [Everything-1.0.gir] Error 1 > gmake[2]: Leaving directory > `/dta/ports/devel/gobject-introspection/work/gobject-introspection-0.6.11= /gir' > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory > `/dta/ports/devel/gobject-introspection/work/gobject-introspection-0.6.11= ' > gmake: *** [all] Error 2 > *** Error code 1 Please take a look at /usr/ports/UPDATING: 20100530: AFFECTS: users of devel/gettext (i.e.: YOU) AUTHOR: ade@FreeBSD.org Another version of gettext (0.18), and another shlib version bump (from intl.8 to intl.9) All ports that have an identifiable known direct dependency on gettext have had their PORTREVISIONs bumped. If after upgrading: # portupgrade -rf gettext # portmaster -r gettext there are still ports on your system that are looking for libintl.so.8 (either in ${LOCALBASE}/lib/compat/pkg, or non-existent), _please_ file a PR so that a correct direct dependency can be added. From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 02:58:46 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F54D1065674 for ; Tue, 1 Jun 2010 02:58:46 +0000 (UTC) (envelope-from aiza21@comclark.com) Received: from avmxsmtp1.comclark.com (avmxsmtp1.comclark.com [202.69.191.115]) by mx1.freebsd.org (Postfix) with ESMTP id F1B598FC0A for ; Tue, 1 Jun 2010 02:58:45 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApQYANsTBEzKRa1aPGdsb2JhbAAHh2KWTwEBAQE1vn+FFgSDRg X-IronPort-AV: E=Sophos;i="4.53,337,1272816000"; d="scan'208";a="1411398" Received: from unknown (HELO [10.0.10.3]) ([202.69.173.90]) by avmxsmtp2.comclark.com with ESMTP; 01 Jun 2010 10:58:43 +0800 Message-ID: <4C047761.2040403@comclark.com> Date: Tue, 01 Jun 2010 10:58:41 +0800 From: Aiza User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Chris Hill References: <4C046937.2030905@comclark.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "questions@freebsd.org" Subject: Re: unexpected operator .sh error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 02:58:46 -0000 Chris Hill wrote: > On Tue, 1 Jun 2010, Aiza wrote: > >> Added some code to a .sh script. >> When I run the script works but issues this message >> [: =: unexpected operator >> >> No line number telling where to look. >> I am not ever sure its talking about. >> >> IS [: whats wrong or =: > > I'd guess that what you added includes something like > if [ x=y ] > ... > > The open-square-bracket, [, is another name for test. IIRC the equal > sign is not valid in that context. > > Can you post the 'before' and 'after' versions of that part of your > script? It would help us in determining what the problem is. > > -- > Chris Hill chris@monochrome.org That hint got me to the correct line I had if [$1 = "basejail" ]; then I changed it to if $1 = "basejail"; then and got error msg =: not found From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 03:22:04 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C88E1065672 for ; Tue, 1 Jun 2010 03:22:04 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from spartan.hamla.org (spartan.hamla.org [206.251.255.30]) by mx1.freebsd.org (Postfix) with ESMTP id 6867C8FC19 for ; Tue, 1 Jun 2010 03:22:04 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by spartan.hamla.org (Postfix) with ESMTP id 16E2F1711A for ; Mon, 31 May 2010 23:22:04 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tandon.net; h= user-agent:in-reply-to:content-disposition:content-type :content-type:mime-version:references:reply-to:message-id :subject:subject:from:from:date:date:received:received; s=aegis; t=1275362523; bh=/3CCvEQJQYj0BKHnA0kUhAekkofz/2xjW/gLQv7WkSA=; b= KN1wjmgFrnRybQhVDF5Ebq9vSgr1nT7IPHXgxqXnKfEMbXKkrTE49czzafOmXT0e pQkG8pmWGyYneBImrIoNuDgIgr8vA93KNBO476GjKz2JU8HBQqMg44SL4oS5gnME oZzMZn4LNfm0I7zVINnx54jdgmc44ksJ9LwdX207X/g= X-Virus-Scanned: by ClamAV at spartan.hamla.org Received: from spartan.hamla.org ([127.0.0.1]) by localhost (spartan.hamla.org [127.0.0.1]) (amavisd-new, port 10027) with LMTP id idbdIeviEt82 for ; Mon, 31 May 2010 23:22:03 -0400 (EDT) Received: from magic.hamla.org (cpe-69-201-179-80.nyc.res.rr.com [69.201.179.80]) by spartan.hamla.org (Postfix) with ESMTPSA id 9FD6A17042 for ; Mon, 31 May 2010 23:22:03 -0400 (EDT) Date: Mon, 31 May 2010 23:22:01 -0400 From: Sahil Tandon To: freebsd-questions@freebsd.org Message-ID: <20100601032201.GA1333@magic.hamla.org> References: <4C046937.2030905@comclark.com> <4C047761.2040403@comclark.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C047761.2040403@comclark.com> User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: unexpected operator .sh error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Sahil Tandon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 03:22:04 -0000 On Tue, 01 Jun 2010, Aiza wrote: > Chris Hill wrote: > >The open-square-bracket, [, is another name for test. IIRC the > >equal sign is not valid in that context. Using '=' within test(1) brackets should be fine. > >Can you post the 'before' and 'after' versions of that part of > >your script? It would help us in determining what the problem is. > > That hint got me to the correct line > > I had if [$1 = "basejail" ]; then As noted by Chris and the sh(1) man page, '[' is a built-in equivalent of test(1). The correct syntax for an expression inside those brackets requires *spacing*, i.e. [ expression ], and not [expression ], as in your example. -- Sahil Tandon From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 03:27:24 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A9EA6106567F for ; Tue, 1 Jun 2010 03:27:24 +0000 (UTC) (envelope-from corky1951@comcast.net) Received: from qmta09.westchester.pa.mail.comcast.net (qmta09.westchester.pa.mail.comcast.net [76.96.62.96]) by mx1.freebsd.org (Postfix) with ESMTP id 306F08FC1A for ; Tue, 1 Jun 2010 03:27:23 +0000 (UTC) Received: from omta06.westchester.pa.mail.comcast.net ([76.96.62.51]) by qmta09.westchester.pa.mail.comcast.net with comcast id QT1a1e00216LCl059TTQbo; Tue, 01 Jun 2010 03:27:24 +0000 Received: from comcast.net ([98.203.142.76]) by omta06.westchester.pa.mail.comcast.net with comcast id QTTM1e0051f6R9u3STTNhf; Tue, 01 Jun 2010 03:27:23 +0000 Received: by comcast.net (sSMTP sendmail emulation); Mon, 31 May 2010 20:27:20 -0700 Date: Mon, 31 May 2010 20:27:19 -0700 From: Charlie Kester To: freebsd-questions@freebsd.org Message-ID: <20100601032719.GR216@comcast.net> Mail-Followup-To: freebsd-questions@freebsd.org References: <4C046937.2030905@comclark.com> <4C047761.2040403@comclark.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <4C047761.2040403@comclark.com> X-Mailer: Mutt 1.5.20 X-Composer: Vim 7.2 User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: unexpected operator .sh error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 03:27:24 -0000 On Mon 31 May 2010 at 19:58:41 PDT Aiza wrote: >Chris Hill wrote: >>On Tue, 1 Jun 2010, Aiza wrote: >> >>>Added some code to a .sh script. >>>When I run the script works but issues this message >>>[: =: unexpected operator >>> >>>No line number telling where to look. >>>I am not ever sure its talking about. >>> >>>IS [: whats wrong or =: >> >>I'd guess that what you added includes something like >> if [ x=y ] >> ... >> >>The open-square-bracket, [, is another name for test. IIRC the >>equal sign is not valid in that context. >> >>Can you post the 'before' and 'after' versions of that part of your >>script? It would help us in determining what the problem is. >> >>-- >>Chris Hill chris@monochrome.org > > >That hint got me to the correct line > >I had if [$1 = "basejail" ]; then You need a space after the opening [ or it doesn't parse correctly. As Chris said, it's another name for test, so think of it as a word, i.e., something delimited by whitespace. From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 04:25:14 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05462106564A for ; Tue, 1 Jun 2010 04:25:14 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id 35CA48FC1B for ; Tue, 1 Jun 2010 04:25:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.cs.ait.ac.th (Postfix) with ESMTP id D9D533A3C00 for ; Tue, 1 Jun 2010 11:25:11 +0700 (ICT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.ait.ac.th; h= subject:subject:from:from:message-id:date:date:received:received :received; s=selector1; t=1275366311; x=1277180711; bh=NjJe1lXLA qfgj40e3H9OYx/ARQmFQ+/iCS9MXQsb/T0=; b=gfAM1Hs3dD6d7GW25zzJGxE40 gCU6DKJn1ARclY4/ajU7huNTOjwpDtSbWwGI7a8O/Gko9hIpH72xdacDJTrKnwx0 pExa2uMkc/ylE2O+tGnDK6E1ydZeWquu1NGnoryM3s4Yp8b1iqv3Ui0KpQXPLcCr qBc8xQ2s2Z8u7RnFuU= X-Virus-Scanned: amavisd-new at cs.ait.ac.th Received: from mail.cs.ait.ac.th ([127.0.0.1]) by localhost (mail.cs.ait.ac.th [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id fQRWo1eY7wS5 for ; Tue, 1 Jun 2010 11:25:11 +0700 (ICT) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cs.ait.ac.th (Postfix) with ESMTPS id 7F6EF3A38FB for ; Tue, 1 Jun 2010 11:25:11 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.3/8.14.3/Submit) id o514PAN1025009; Tue, 1 Jun 2010 11:25:10 +0700 (ICT) (envelope-from on) Date: Tue, 1 Jun 2010 11:25:10 +0700 (ICT) Message-Id: <201006010425.o514PAN1025009@banyan.cs.ait.ac.th> From: Olivier Nicole To: freebsd-questions@freebsd.org Subject: Sending alarms to my mobile phone X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 04:25:14 -0000 Hi, I would like my FreeBSD server to send alarms to my mobile phone, it could be voice messages or SMS. I think I can hook a voice modem to that machine, but any suggestion on the software side? TIA, Olivier From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 05:12:02 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D55E61068611 for ; Tue, 1 Jun 2010 05:11:37 +0000 (UTC) (envelope-from heliocentric@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8DE268FC18 for ; Tue, 1 Jun 2010 05:11:37 +0000 (UTC) Received: by gyh20 with SMTP id 20so4194835gyh.13 for ; Mon, 31 May 2010 22:11:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=/vgHoRXRBuAG4KKzLmB3xKZxj0Rvu9DSTqijxqSaHlw=; b=QcB7ysFol2OV0GvwGkc2EbX7oRmIxDYQQeNgVkxB5BLpmnO32BqXliXEprBPs082xu tuevCLP+0inRIG0emqhsXUyEcv/8IKJiU9ii7gKGtVOfK5yIRzvR9+gTFImSJ8XhxHG1 Duoliy/0YbzVHjl/Ff4PuHP9hGFvP6gxChkBc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=R4zACfqdO3hU9DFRYzQeBXsIodN6ufiWNnblYyG7nF5Enc35UeNNCxKBp+4N86mxva VMTT2lIBpIiAXSvgT9z/7JDvPpUf2Vlrfx00OuyqUozimRLr9xfDjmwv6JqI2cQGjLpi BaXEnE3YLdYYT+ZWtLv/jxDBgjLujvrQzahMM= MIME-Version: 1.0 Received: by 10.150.187.19 with SMTP id k19mr5412388ybf.96.1275367764922; Mon, 31 May 2010 21:49:24 -0700 (PDT) Sender: heliocentric@gmail.com Received: by 10.151.50.14 with HTTP; Mon, 31 May 2010 21:49:24 -0700 (PDT) In-Reply-To: References: Date: Tue, 1 Jun 2010 00:49:24 -0400 X-Google-Sender-Auth: bGCLBHMVlELcwLz1UeEhgqw5Neo Message-ID: From: Dylan Cochran To: Eitan Adler Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Mailing List Subject: Re: what would take to allow binary upgrade to amd64? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 05:12:02 -0000 On Sun, May 30, 2010 at 4:30 PM, Eitan Adler wrote: > On Sun, May 30, 2010 at 10:52 PM, Rob Farmer wrote: >> On Sun, May 30, 2010 at 11:51 AM, Eitan Adler wrote: >>> I know that attempting to change from i386 to amd64 is is not possible >> >> The proper procedure for such an upgrade is as follows: > .... >> >> If the thought of reformatting your system is scary, because you don't >> have backups or aren't sure they are comprehensive or work, then solve >> that problem, rather than trying to invent workarounds to cover for >> bad system administration. It will serve you much better in the long >> run. > This isn't my question. I know how to currently perform the upgrade. > > My question is > a) is it possible in theory to allow binary upgrades to be done? > and b) if yes how much work would it take? In theory, yes, it is possible; in practice, in limited scope, it is practical to do so. I have done it, and have the ability to do so at will. As for widespread use, the COMPAT_FREEBSD32 option needs to be fixed first, because as it stands now a 64bit kernel with a 32bit userland is not complete, for example, on 8.0, a 32bit ifconfig cannot set an ip address on an interface, because of ioctl incompatibility. This prevents the intermediate step of running a 32bit userland with a 64bit kernel (though it can be sidestepped by segregating the architecture specific parts of the userland). Full 32bit support on 64bit kernels has other, more widespread benefits then an after install sidegrade. Work is already moving in this direction, as it's a natural progression for architecture support. From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 05:58:45 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 34ACB106564A for ; Tue, 1 Jun 2010 05:58:45 +0000 (UTC) (envelope-from MTaylor@bytecraft.com.au) Received: from bcmelmx.bytecraft.au.com (bcmelmx.bytecraft.au.com [203.39.118.2]) by mx1.freebsd.org (Postfix) with ESMTP id AE09A8FC08 for ; Tue, 1 Jun 2010 05:58:44 +0000 (UTC) Received: from svmailmarshal.bytecraft.internal ([10.48.0.3]) by bcmelmx.bytecraft.au.com (8.13.8/8.12.11) with ESMTP id o515wYWG064246; Tue, 1 Jun 2010 15:58:36 +1000 (EST) (envelope-from MTaylor@bytecraft.com.au) Received: from svmailmel.bytecraft.internal (Not Verified[10.48.0.24]) by svmailmarshal.bytecraft.internal with MailMarshal (v6, 7, 2, 8378) id ; Tue, 01 Jun 2010 15:58:33 +1000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Tue, 1 Jun 2010 15:58:22 +1000 Message-ID: In-Reply-To: <87zkzgx8rd.fsf@kobe.laptop> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: text editor Thread-Index: AcsA6ZyOWLGTCIHwTx6jVe5R4C4BbwAZDdNw From: "Murray Taylor" To: "Giorgos Keramidas" , "Robert Bonomi" Cc: freebsd-questions@freebsd.org Subject: RE: text editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 05:58:45 -0000 Hmmm.... I have successfully run vi from a partition on=20 a 32M flash card in 32M of RAM The RAM also had memory disks for /var and /tmp. The entire system was dynamically linked so a lot of=20 space was saved by that build technique The box was an embedded system running SNMP, gsmsmd and a few oter thing as a real time network monitor for the Melbourne 2006 Commonwealth Games and the Asian Games a year or so later in Doha, Qatar the box (still) runs on FreeBSD 4 and was built this way =20 https://neon1.net/misc/minibsd.html=20 the author did also make similar builds available for FreeBSD 5 and 6 NOTE all these have been replaced by nanobsd, but the techniques are still useful, especially if you are pushed for space. Murray Taylor Bytecraft Systems Special Projects Engineer P: +61 3 8710 0600 D: +61 3 9238 4275 F: +61 3 9238 4140 -- =20|_|0|_| "Absence of evidence =20|_|_|0| is not evidence of absence" =20|0|0|0| Carl Sagan -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Giorgos Keramidas Sent: Tuesday, June 01, 2010 3:48 AM To: Robert Bonomi Cc: freebsd-questions@freebsd.org Subject: Re: text editor On Mon, 31 May 2010 11:36:53 -0500 (CDT), Robert Bonomi wrote: >Giorgos Keramidas wrote: >> Vim is much smaller than Emacs but it still a few MB's here: >> >> keramida@kobe:/usr/ports/packages/All$ ls -ld vim* >> -rw-r--r-- 1 root wheel - 5757731 1 =3DCE=3D91=3DCF=3D80=3DCF=3D= 81 17:11 vim-lite-7.2.344.tbz > > Yeah, but EMACS is (currently) reputed to stand for ighty > egabytes nd onstantly wapping! *GRIN* That's an old joke, but it's not particularly good anymore. The smallest laptop-size 2.5" SATA disk I have at home can hold more than 80 GB of data. The size of a program is now a limiting factor only if you are working with embedded applications. Normal, every-day computers have enough disk space to hold tens of thousands of full Emacs installations even without any sort of compression :-) --------------------------------------------------------------- The information transmitted in this e-mail is for the exclusive use of the intended addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material.=20 E-mails may not be secure, may contain computer viruses and may be corrupted in transmission. Please carefully check this e-mail (and any attachment) accordingly. No warranties are given and no liability is accepted for any loss or damage caused by such matters. --------------------------------------------------------------- ### This e-mail message has been scanned for Viruses by Bytecraft ### From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 05:59:01 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AC70C106566C for ; Tue, 1 Jun 2010 05:59:01 +0000 (UTC) (envelope-from rowlands.mark@gmail.com) Received: from mail-ww0-f54.google.com (mail-ww0-f54.google.com [74.125.82.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4152F8FC20 for ; Tue, 1 Jun 2010 05:59:00 +0000 (UTC) Received: by wwb22 with SMTP id 22so925432wwb.13 for ; Mon, 31 May 2010 22:59:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=S8R8i9CXDN1kVTNkIMhB1yPjYzj9OH1386nXeG7ixQ8=; b=V1ES+rwDrhBQr+EmPeTGOIDzxK5OscGtRZ8Cu6gJwM2K8CRNAXrbZdNqJAnjnUEYXd NMrWPUW03elQqaY9Q9dzaKFACviR3m4RQF2XPKX61viTkkQA8DBtMJnPncHSZz23shQu FQ4bvNPuCl6n2HLTUG1Ck/eugBffaSVgTjsnc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=MKy2jHwm5TSoop4nnuTPWdd/hiiXmqpBbe7yNtQa5wbSYF5N98sSLj9XJYeyRDtrej jCq7KK9A4tFrr6zLlS8RYWyz52i6Kwd1PSuhXOzN3gPTV3z1SnVzgHUjEAgcZQfxU01v DXhdHgQNvN4DL7+fTKTSoSk5fgsTOocKh3u8c= MIME-Version: 1.0 Received: by 10.227.157.69 with SMTP id a5mr5444123wbx.146.1275371939979; Mon, 31 May 2010 22:58:59 -0700 (PDT) Received: by 10.216.7.11 with HTTP; Mon, 31 May 2010 22:58:59 -0700 (PDT) In-Reply-To: References: Date: Tue, 1 Jun 2010 07:58:59 +0200 Message-ID: From: mark rowlands To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: Network sort of stops working with the em (intel) driver under load. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 05:59:01 -0000 On Mon, May 31, 2010 at 9:30 PM, mark rowlands wr= ote: > Newly built and cvsupped system,with GENERIC kernel, =A0when copying > large amounts of data over a gigabit link via scp =A0the network =A0will > hang after a couple of gig. =A0I can then no longer login via ssh. If I > leave it be, after about 12-24 hours I can then login again. (A reboot > of course fixes the issue immediately...) . snip... I can now confirm that a similar copy to the vr card does not cause the same problem... so it would appear more likely that it might be an em related problem. From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 06:47:33 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5546F1065675 for ; Tue, 1 Jun 2010 06:47:33 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id BE4678FC0C for ; Tue, 1 Jun 2010 06:47:32 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o516lE5D015626 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Tue, 1 Jun 2010 07:47:14 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4C04ACF2.2090303@infracaninophile.co.uk> Date: Tue, 01 Jun 2010 07:47:14 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: Olivier Nicole References: <201006010425.o514PAN1025009@banyan.cs.ait.ac.th> In-Reply-To: <201006010425.o514PAN1025009@banyan.cs.ait.ac.th> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.96.1 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=2.0 required=5.0 tests=DKIM_ADSP_ALL,SPF_FAIL autolearn=no version=3.3.1 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: Sending alarms to my mobile phone X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 06:47:33 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 01/06/2010 05:25:10, Olivier Nicole wrote: > I would like my FreeBSD server to send alarms to my mobile phone, it > could be voice messages or SMS. > > I think I can hook a voice modem to that machine, but any suggestion > on the software side? Precisely what you need to do depends on who your phone company is. It is frequently done by sending e-mail to an SMS gateway. There are various ports designed to enable scripting of sending SMS-es to particular providers -- see comms/p5-SMS-Send-* If you have a GSM modem or mobile, there are about 4 or 5 ports you could choose from. Just do a 'make search name=sms' in /usr/ports. No idea about leaving a voice message -- doing voice synthesis is pretty well covered, but making a computer dial a phone and speak into it? Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwErPIACgkQ8Mjk52CukIyREQCeI7g5LbIz1CelvR7sJElt+Oi8 NVwAnikaATGOt7oJcbESWkBbbFwOOBH5 =wAzi -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 06:50:00 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D59AD106564A for ; Tue, 1 Jun 2010 06:50:00 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 4A2778FC08 for ; Tue, 1 Jun 2010 06:50:00 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o516nuKV015649 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Tue, 1 Jun 2010 07:49:56 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4C04AD94.7040706@infracaninophile.co.uk> Date: Tue, 01 Jun 2010 07:49:56 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <201005311636.o4VGarkt001701@mail.r-bonomi.com> <87zkzgx8rd.fsf@kobe.laptop> <20100531203115.GA2167@guilt.hydra> In-Reply-To: <20100531203115.GA2167@guilt.hydra> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.96.1 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=2.0 required=5.0 tests=DKIM_ADSP_ALL,SPF_FAIL autolearn=no version=3.3.1 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Subject: Re: text editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 06:50:00 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 31/05/2010 21:31:15, Chad Perrin wrote: > On Mon, May 31, 2010 at 08:48:22PM +0300, Giorgos Keramidas wrote: >> On Mon, 31 May 2010 11:36:53 -0500 (CDT), Robert Bonomi wrote: >>> Giorgos Keramidas wrote: >>>> Vim is much smaller than Emacs but it still a few MB's here: >>>> >>>> keramida@kobe:/usr/ports/packages/All$ ls -ld vim* >>>> -rw-r--r-- 1 root wheel - 5757731 1 =CE=91=CF=80=CF=81 17:11 vim-lite-7.2.344.tbz >>> >>> Yeah, but EMACS is (currently) reputed to stand for ighty >>> egabytes nd onstantly wapping! *GRIN* >> >> That's an old joke, but it's not particularly good anymore. > > . . . probably because it's increasingly inaccurate. Eighty was "the > good ol' days". > Young whippersnappers. *Eight* was the good old days, back before the web was invented. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwErZQACgkQ8Mjk52CukIycDACdF6huoSCi8fLetC9yZPLKhkDF WlcAnRk9Q8Ro9wzs3NwsKnimmgenbbAc =sJKj -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 07:04:04 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 62447106566B for ; Tue, 1 Jun 2010 07:04:04 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id 06C9D8FC21 for ; Tue, 1 Jun 2010 07:04:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.cs.ait.ac.th (Postfix) with ESMTP id A60FE3A390F for ; Tue, 1 Jun 2010 14:04:02 +0700 (ICT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.ait.ac.th; h= references:subject:subject:in-reply-to:from:from:message-id:date :date:received:received:received; s=selector1; t=1275375842; x= 1277190242; bh=cvuhbMTQRKy/NGMx97Z3iSsXpxpHNWQ8gKw/tyBhnfI=; b=X 58df5B0CG/O5OGQAmd46JOi5iUhHg2AoXFywokINLQpk0dkjRFbR79HjkgDaXoA8 2v1gbLGIUab+DVpjODQtW72pQ4EMvduhcjQM/Zr8S98jcfkW5hPqf95jFR3snn4K PXrw85jqqsc4iBu3NHJtPlTLTHHMd9SwXVxpBU7ADI= X-Virus-Scanned: amavisd-new at cs.ait.ac.th Received: from mail.cs.ait.ac.th ([127.0.0.1]) by localhost (mail.cs.ait.ac.th [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id SQ4NTgjCnHNH for ; Tue, 1 Jun 2010 14:04:02 +0700 (ICT) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cs.ait.ac.th (Postfix) with ESMTPS id 5F2BB3A38F6 for ; Tue, 1 Jun 2010 14:04:02 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.3/8.14.3/Submit) id o51741OX026949; Tue, 1 Jun 2010 14:04:01 +0700 (ICT) (envelope-from on) Date: Tue, 1 Jun 2010 14:04:01 +0700 (ICT) Message-Id: <201006010704.o51741OX026949@banyan.cs.ait.ac.th> From: Olivier Nicole To: freebsd-questions@freebsd.org In-reply-to: <4C04ACF2.2090303@infracaninophile.co.uk> (message from Matthew Seaman on Tue, 01 Jun 2010 07:47:14 +0100) References: <201006010425.o514PAN1025009@banyan.cs.ait.ac.th> <4C04ACF2.2090303@infracaninophile.co.uk> Subject: Re: Sending alarms to my mobile phone X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 07:04:04 -0000 Hi, > Precisely what you need to do depends on who your phone company is. It > is frequently done by sending e-mail to an SMS gateway. There are > various ports designed to enable scripting of sending SMS-es to > particular providers -- see comms/p5-SMS-Send-* I have to check if my phone comapny provides that service. It seems they have a web plateform though. But Murphy's law being in the middle, that's precisely when my system will try to send me an alarm message that the SMS email gateway or the SMS web gateway of the phone company will be down. > No idea about leaving a voice message -- doing voice synthesis is pretty > well covered, but making a computer dial a phone and speak into it? Yes, but that would be the fun part of it, wouldn't it? Thanks, olivier From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 07:12:18 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C6EC61065673 for ; Tue, 1 Jun 2010 07:12:18 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 816108FC1C for ; Tue, 1 Jun 2010 07:12:18 +0000 (UTC) Received: from [193.31.11.193] (helo=current.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1OJLdy-0004eV-Aw; Tue, 01 Jun 2010 09:12:10 +0200 Received: from current.Sisis.de (current [127.0.0.1]) by current.Sisis.de (8.14.3/8.14.3) with ESMTP id o517CD5h003145; Tue, 1 Jun 2010 09:12:13 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by current.Sisis.de (8.14.3/8.14.3/Submit) id o517CDbP003144; Tue, 1 Jun 2010 09:12:13 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: current.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Tue, 1 Jun 2010 09:12:13 +0200 From: Matthias Apitz To: Matthew Seaman Message-ID: <20100601071213.GA2579@current.Sisis.de> References: <201006010425.o514PAN1025009@banyan.cs.ait.ac.th> <4C04ACF2.2090303@infracaninophile.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4C04ACF2.2090303@infracaninophile.co.uk> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 8.0-CURRENT (i386) X-Con-Id: 51246 X-Originating-IP: 193.31.11.193 Cc: Olivier Nicole , freebsd-questions@freebsd.org Subject: Re: Sending alarms to my mobile phone X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 07:12:18 -0000 El día Tuesday, June 01, 2010 a las 07:47:14AM +0100, Matthew Seaman escribió: > On 01/06/2010 05:25:10, Olivier Nicole wrote: > > > I would like my FreeBSD server to send alarms to my mobile phone, it > > could be voice messages or SMS. > > > > I think I can hook a voice modem to that machine, but any suggestion > > on the software side? > > Precisely what you need to do depends on who your phone company is. It > is frequently done by sending e-mail to an SMS gateway. There are > various ports designed to enable scripting of sending SMS-es to > particular providers -- see comms/p5-SMS-Send-* > > If you have a GSM modem or mobile, there are about 4 or 5 ports you > could choose from. Just do a 'make search name=sms' in /usr/ports. > > No idea about leaving a voice message -- doing voice synthesis is pretty > well covered, but making a computer dial a phone and speak into it? Concerning voice messages, in the past (around 1995) I experimented with 'vgetty' which was fine to build a UNIX based answering machine. Google for it, it seems it is still maintained. HIH matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Solidarity with the imperialistic Israel? Not in my name! ¿Solidaridad con el imperialismo de Israel? ¡No en mi nombre! From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 07:26:39 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DEC511065676 for ; Tue, 1 Jun 2010 07:26:39 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-yw0-f176.google.com (mail-yw0-f176.google.com [209.85.211.176]) by mx1.freebsd.org (Postfix) with ESMTP id A85A18FC13 for ; Tue, 1 Jun 2010 07:26:39 +0000 (UTC) Received: by ywh6 with SMTP id 6so3453711ywh.16 for ; Tue, 01 Jun 2010 00:26:39 -0700 (PDT) Received: by 10.231.155.3 with SMTP id q3mr7301293ibw.20.1275377198612; Tue, 01 Jun 2010 00:26:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.148.201 with HTTP; Tue, 1 Jun 2010 00:26:18 -0700 (PDT) In-Reply-To: <28736514.post@talk.nabble.com> References: <28736514.post@talk.nabble.com> From: Eitan Adler Date: Tue, 1 Jun 2010 10:26:18 +0300 Message-ID: To: zaxis Content-Type: text/plain; charset=UTF-8 Cc: freebsd-questions@freebsd.org Subject: Re: What's the difference between portupgrade and portmaster ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 07:26:40 -0000 On Tue, Jun 1, 2010 at 3:37 AM, zaxis wrote: > > Why do we need two tools ? > Its three. Add portmanager. The answer is personal choice and we number of bikesheds. Also portmaster used to not be able to work with packages when portupgrade could. -- Eitan Adler From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 07:46:51 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D8D7A1065674 for ; Tue, 1 Jun 2010 07:46:51 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by mx1.freebsd.org (Postfix) with ESMTP id 6B4CA8FC15 for ; Tue, 1 Jun 2010 07:46:51 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id d23so1280967fga.13 for ; Tue, 01 Jun 2010 00:46:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=QF8/iK7kh95kDLLqE2tsGUSrP5qNX5MSHwPw/XvlXSI=; b=aBKQ48HxEKcqoRTJgd3oKmFTJ1GBeCrRqkFuCIbOniKpKfqcng6gtR++2f7gYC1ILm Dl1OrlG9Zh/buWuvldCCgI57wYUzmIkzcmfX9QiwFBj9QQaUQZMKpakLZC09MUHKeFjb PuaN9MWzBTG0juvqJit6XZwxw8RotdsUkiU90= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=QkluD1EtJaYOqIa27eYkyGVovBzWpUw1eULuzumA2tzidjfkjYE+SWqaWhPlsUA70n g1+7Do8nPwZ1Ly2FoxJGdZXeWSEWDLEWHSJwqwe+OJYfjj/eO+2MRxBFRVFW4++cFUev kA6iq9Q3sQVRKDh1To1eBy9q4pPPevDOaLGjw= MIME-Version: 1.0 Received: by 10.204.83.30 with SMTP id d30mr369537bkl.125.1275378410223; Tue, 01 Jun 2010 00:46:50 -0700 (PDT) Received: by 10.204.123.202 with HTTP; Tue, 1 Jun 2010 00:46:50 -0700 (PDT) In-Reply-To: References: <28736514.post@talk.nabble.com> Date: Tue, 1 Jun 2010 09:46:50 +0200 Message-ID: From: David DEMELIER To: Eitan Adler Content-Type: text/plain; charset=UTF-8 Cc: zaxis , freebsd-questions@freebsd.org Subject: Re: What's the difference between portupgrade and portmaster ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 07:46:51 -0000 2010/6/1 Eitan Adler : > On Tue, Jun 1, 2010 at 3:37 AM, zaxis wrote: >> >> Why do we need two tools ? >> > Its three. Add portmanager. > > The answer is personal choice and we number of bikesheds. > > Also portmaster used to not be able to work with packages when > portupgrade could. > portmaster can! See portmaster manpage. -P[P] options. The differences are that portupgrade use a database, it's written in ruby while portmaster is only one shell script. That's why I really prefere portmaster that also have zsh completion and is faster. -- Demelier David From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 07:55:18 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67BA91065672 for ; Tue, 1 Jun 2010 07:55:18 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2E7978FC20 for ; Tue, 1 Jun 2010 07:55:17 +0000 (UTC) Received: by gwj23 with SMTP id 23so3713428gwj.13 for ; Tue, 01 Jun 2010 00:55:17 -0700 (PDT) Received: by 10.231.59.199 with SMTP id m7mr7346519ibh.30.1275378917122; Tue, 01 Jun 2010 00:55:17 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.148.201 with HTTP; Tue, 1 Jun 2010 00:54:57 -0700 (PDT) In-Reply-To: References: <28736514.post@talk.nabble.com> From: Eitan Adler Date: Tue, 1 Jun 2010 10:54:57 +0300 Message-ID: To: David DEMELIER Content-Type: text/plain; charset=UTF-8 Cc: zaxis , freebsd-questions@freebsd.org Subject: Re: What's the difference between portupgrade and portmaster ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 07:55:18 -0000 On Tue, Jun 1, 2010 at 10:46 AM, David DEMELIER wrote: > 2010/6/1 Eitan Adler : >> On Tue, Jun 1, 2010 at 3:37 AM, zaxis wrote: >>> >>> Why do we need two tools ? >>> >> Its three. Add portmanager. >> >> The answer is personal choice and we number of bikesheds. >> >> Also portmaster used to not be able to work with packages when >> portupgrade could. >> > > portmaster can! See portmaster manpage. -P[P] options. > Also portmaster ****used to**** not be able to work with packages when portupgrade could. -- Eitan Adler From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 08:14:36 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8FDAF1065670 for ; Tue, 1 Jun 2010 08:14:36 +0000 (UTC) (envelope-from SamanKaya@netscape.net) Received: from imr-ma04.mx.aol.com (imr-ma04.mx.aol.com [64.12.206.42]) by mx1.freebsd.org (Postfix) with ESMTP id 50E718FC1B for ; Tue, 1 Jun 2010 08:14:35 +0000 (UTC) Received: from mtaout-mb02.r1000.mx.aol.com (mtaout-mb02.r1000.mx.aol.com [172.29.41.66]) by imr-ma04.mx.aol.com (8.14.1/8.14.1) with ESMTP id o518EQbf015570 for ; Tue, 1 Jun 2010 04:14:26 -0400 Received: from [192.168.0.54] (81-178-2-118.dsl.pipex.com [81.178.2.118]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mtaout-mb02.r1000.mx.aol.com (MUA/Third Party Client Interface) with ESMTPSA id D5487E000089 for ; Tue, 1 Jun 2010 04:14:25 -0400 (EDT) Message-ID: <4C04C15F.7060800@netscape.net> Date: Tue, 01 Jun 2010 09:14:23 +0100 From: Kaya Saman User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.22) Gecko/20090605 SeaMonkey/1.1.17 (Ubuntu-1.1.17+nobinonly-0ubuntu0.9.04.1) MIME-Version: 1.0 To: FreeBSD Questions References: <4C03FA45.50008@netscape.net> In-Reply-To: <4C03FA45.50008@netscape.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit x-aol-global-disposition: G X-AOL-SCOLL-SCORE: 0:2:505059840:93952408 X-AOL-SCOLL-URL_COUNT: 0 x-aol-sid: 3039ac1d29424c04c1613902 X-AOL-IP: 81.178.2.118 Subject: Re: Squid not starting from rc in Jail, however works when run from root as command?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 08:14:36 -0000 Kaya Saman wrote: > Hi guys, > > I've just built a new BSD server running on a Mini-ITX NAS chassis and > it's working beautifully :-) > > I also took the time to learn how to build jails too as this is only > my second BSD build so am still really new to it although not to UNIX > as I use Solaris and Linux frequently. > > Anyhow I'm trying to migrate config which was on an old SPARC server > running Solaris 9 with a version of Squid got from the Blastwave repos > and currently I'm having major issues with it. > > Basically I think I've worked through to figure out that running as > user Squid or Proxy doesn't give me access to ports <1024, basically > the 'well known' ports. > > Here is the error message I get from Squid when trying to start it > using the rc.d file: > > May 31 17:47:11 proxy squid[4360]: Cannot open HTTP Port > May 31 17:47:11 proxy squid[4358]: Squid Parent: child process 4360 > exited due to signal 6 > May 31 17:47:14 proxy squid[4358]: Squid Parent: child process 4364 > started > May 31 17:47:15 proxy squid[4364]: Cannot open HTTP Port > May 31 17:47:15 proxy squid[4358]: Squid Parent: child process 4364 > exited due to signal 6 > May 31 17:47:18 proxy squid[4358]: Squid Parent: child process 4367 > started > May 31 17:47:18 proxy squid[4367]: Cannot open HTTP Port > May 31 17:47:18 proxy squid[4358]: Squid Parent: child process 4367 > exited due to signal 6 > May 31 17:47:21 proxy squid[4358]: Squid Parent: child process 4370 > started > May 31 17:47:21 proxy squid[4370]: Cannot open HTTP Port > May 31 17:47:21 proxy squid[4358]: Squid Parent: child process 4370 > exited due to signal 6 > > > If however I start Squid using /usr/local/sbin/squid -NCd1 as root I > get this and Squid works: > > proxy# /usr/local/sbin/squid -NCd1 > 2010/05/31 17:55:54| Starting Squid Cache version 2.7.STABLE7 for > amd64-portbld-freebsd8.0... > 2010/05/31 17:55:54| Process ID 4484 > 2010/05/31 17:55:54| With 11095 file descriptors available > 2010/05/31 17:55:54| Using kqueue for the IO loop > 2010/05/31 17:55:54| Performing DNS Tests... > 2010/05/31 17:55:54| Successful DNS name lookup tests... > 2010/05/31 17:55:54| DNS Socket created at 0.0.0.0, port 39116, FD 6 > 2010/05/31 17:55:54| Adding nameserver 192.168.1.100 from > /etc/resolv.conf > 2010/05/31 17:55:54| Adding nameserver 192.168.1.101 from > /etc/resolv.conf > 2010/05/31 17:55:54| logfileOpen: opening log /var/log/squid/access.log > 2010/05/31 17:55:54| Unlinkd pipe opened on FD 11 > 2010/05/31 17:55:54| Swap maxSize 102400 + 8192 KB, estimated 8507 > objects > 2010/05/31 17:55:54| Target number of buckets: 425 > 2010/05/31 17:55:54| Using 8192 Store buckets > 2010/05/31 17:55:54| Max Mem size: 8192 KB > 2010/05/31 17:55:54| Max Swap size: 102400 KB > 2010/05/31 17:55:54| logfileOpen: opening log /var/log/squid/store.log > 2010/05/31 17:55:54| Rebuilding storage in /usr/local/squid/cache (DIRTY) > 2010/05/31 17:55:54| Using Least Load store dir selection > 2010/05/31 17:55:54| Set Current Directory to /var/spool/squid > 2010/05/31 17:55:54| Loaded Icons. > 2010/05/31 17:55:54| Accepting accelerated HTTP connections at > 192.168.1.110, port 80, FD 13. > 2010/05/31 17:55:54| Accepting ICP messages at 0.0.0.0, port 3130, FD 14. > 2010/05/31 17:55:54| Accepting SNMP messages on port 3401, FD 15. > 2010/05/31 17:55:54| WCCP Disabled. > 2010/05/31 17:55:54| Configuring x-ray Parent x-ray/80/0 > 2010/05/31 17:55:54| Configuring zeta-ray Parent zeta-ray/80/0 > 2010/05/31 17:55:54| Configuring delta-ray Parent delta-ray/80/0 > 2010/05/31 17:55:54| Configuring g-stat-1 Parent g-stat-1/80/0 > 2010/05/31 17:55:54| Ready to serve requests. > 2010/05/31 17:55:54| Done reading /usr/local/squid/cache swaplog (0 > entries) > 2010/05/31 17:55:54| Finished rebuilding storage from disk. > 2010/05/31 17:55:54| 0 Entries scanned > 2010/05/31 17:55:54| 0 Invalid entries. > 2010/05/31 17:55:54| 0 With invalid flags. > 2010/05/31 17:55:54| 0 Objects loaded. > 2010/05/31 17:55:54| 0 Objects expired. > 2010/05/31 17:55:54| 0 Objects cancelled. > 2010/05/31 17:55:54| 0 Duplicate URLs purged. > 2010/05/31 17:55:54| 0 Swapfile clashes avoided. > 2010/05/31 17:55:54| Took 0.4 seconds ( 0.0 objects/sec). > 2010/05/31 17:55:54| Beginning Validation Procedure > 2010/05/31 17:55:54| Completed Validation Procedure > 2010/05/31 17:55:54| Validated 0 Entries > 2010/05/31 17:55:54| store_swap_size = 0k > 2010/05/31 17:55:55| storeLateRelease: released 0 objects > > > > Running uname -a gives me this: > > FreeBSD Zeta-Ray.optiplex-networks.com 8.0-RELEASE FreeBSD 8.0-RELEASE > #0: Sat Nov 21 15:02:08 UTC 2009 > root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 > > and also Squid was built from ports too!! > > Because I built the system in a Jail I am using this syntax to bind > the port to the IP address: > > http_port 192.168.1.110:80 accel defaultsite=domain.com vhost > > When I mean Jail I am talking about FreeBDS Jails and not chroot > syntax :-) > > Can anybody offer me any advice or anywhere else to turn as I really > don't know what's going on???? > > Many thanks! > > > Kaya > _______________________________________________ > 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" Just to add that I've tested my config on the default Squid port, 3128 instead of port 80 using the provided http_port line above which then starts when used in conjunction with the rc script...... I'm using config based around this as a reverse proxy: http://wiki.squid-cache.org/ConfigExamples/Reverse/MultipleWebservers Since this is a production based system I really need to get the rc script working but not sure where to begin going about it as I seem to have one of those very specific or not too much observed problems!! Regards, Kaya From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 08:21:22 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 95765106566B for ; Tue, 1 Jun 2010 08:21:22 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 531DC8FC08 for ; Tue, 1 Jun 2010 08:21:22 +0000 (UTC) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1OJMiu-000Lq7-MY for freebsd-questions@freebsd.org; Tue, 01 Jun 2010 12:21:20 +0400 From: Boris Samorodov To: freebsd-questions@freebsd.org References: <201005311636.o4VGarkt001701@mail.r-bonomi.com> <20100531203204.GB2167@guilt.hydra> Date: Tue, 01 Jun 2010 12:21:20 +0400 In-Reply-To: <20100531203204.GB2167@guilt.hydra> (Chad Perrin's message of "Mon, 31 May 2010 14:32:04 -0600") Message-ID: <87476863@bb.ipt.ru> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: text editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 08:21:22 -0000 On Mon, 31 May 2010 14:32:04 -0600 Chad Perrin wrote: > Unfortunately, the "killer feature" that keeps me with Vim instead of nvi > is its support for multiple levels of undo. Have you ever tried "u" (undo command) followed by "." (repeat last command)? ;-) -- WBR, Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 08:54:44 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55F86106570B for ; Tue, 1 Jun 2010 08:54:44 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from fep12.mx.upcmail.net (fep12.mx.upcmail.net [62.179.121.32]) by mx1.freebsd.org (Postfix) with ESMTP id 3E9CA8FC1C for ; Tue, 1 Jun 2010 08:54:42 +0000 (UTC) Received: from edge04.upcmail.net ([192.168.13.239]) by viefep12-int.chello.at (InterMail vM.8.01.02.02 201-2260-120-106-20100312) with ESMTP id <20100601085440.XQQT20209.viefep12-int.chello.at@edge04.upcmail.net> for ; Tue, 1 Jun 2010 10:54:40 +0200 Received: from laci.sznet ([86.101.31.185]) by edge04.upcmail.net with edge id QYuf1e0223zeu1y04YugXL; Tue, 01 Jun 2010 10:54:40 +0200 X-SourceIP: 86.101.31.185 Message-ID: <4C04CACF.5080201@shopzeus.com> Date: Tue, 01 Jun 2010 10:54:39 +0200 From: Laszlo Nagy User-Agent: Thunderbird 2.0.0.24 (X11/20100411) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4BFFAC35.2040503@shopzeus.com> <4BFFDCC4.5080408@fechner.net> <4C00099D.6070005@shopzeus.com> <4C028270.5030900@shopzeus.com> <20100530123840.07105934@scorpio> In-Reply-To: <20100530123840.07105934@scorpio> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Cloudmark-Analysis: v=1.1 cv=K3uBg944YaUT+Qsu6bWO0a0V3uPy4DQNslbdoMCD4tw= c=1 sm=0 a=wbKXeunVgZ0A:10 a=-CRmgG0JhlAA:10 a=___qFdxdhSkhiCsKThUA:9 a=TSQy0RcDSd44wczZEKsA:7 a=ATmmsFxYDGxIxTXvJhAk_0X5OuUA:4 a=jiObf9B0YAUA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Subject: Re: cron not sending emails X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 08:54:44 -0000 > >> Cron is still not sending emails. Any idea? >> > > Is there any output in the 'maillog' log? > May 14 10:53:00 server postfix/sendmail[2958]: fatal: user(1001): No recipient addresses found in message header From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 08:55:10 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35470106566B for ; Tue, 1 Jun 2010 08:55:10 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id C09B38FC19 for ; Tue, 1 Jun 2010 08:55:09 +0000 (UTC) Received: by fxm5 with SMTP id 5so3351043fxm.13 for ; Tue, 01 Jun 2010 01:55:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=EEFWCz1KttQ419NYOP5MyntMW9E/6e/RaV9TZCSwh54=; b=nM2aqcVEqt85yRu14LSW3Qgl2Abh/UEX9FeRhyoEXbsHNzcw6d20Pd4S6Q8vRQ7HgB ffL3drNmrQaoHjy2aov3WKTkyAlTgV7bKT6U0jYusaTsztU/3/4HK60SmYkbHWPDXlyZ GD34CVMPAyAIN4wnzX2d+Tfcc8EijFZ6zyol0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=wLKCWqje9N0DE+DIoI+nWeE7F3jDk4cqd5J1f0wQjDazbMVyN6KIIQ+be+8tThKkv6 +GU96X7cmfw2cTfFvTlGFOc1LCWzuGpMHYCj4OE+VboYZDFEVnaNQrjgM76onXIxOgkd 2QEB7T7YyRd9oMCDNjXd5tS5+jliw63SYvqx8= MIME-Version: 1.0 Received: by 10.204.3.65 with SMTP id 1mr426919bkm.210.1275382508841; Tue, 01 Jun 2010 01:55:08 -0700 (PDT) Received: by 10.204.123.202 with HTTP; Tue, 1 Jun 2010 01:55:08 -0700 (PDT) Date: Tue, 1 Jun 2010 10:55:08 +0200 Message-ID: From: David DEMELIER To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: Automatic shutdown with devd. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 08:55:10 -0000 Hi, I recently asked to make an automatic shutdown when I excess a specific percent. I ran devd with -Dd flags to run in background and when the battery was at a critical state it said : Processing event '!system=ACPI subsystem=CMBAT type=\_SB_.BAT0 notify=0x80' Pushing table setting system=ACPI setting subsystem=CMBAT setting type=\_SB_.BAT0 setting notify=0x80 Then I tried (for testing) something like this in my /etc/devd.conf notify 10 { match "system" "ACPI"; match "subsystem" "CMBAT"; match "notify" "0x80"; action "logger LETGOSHUTDOWN"; }; And then I can see the following output in /var/log/messages : Jun 1 10:48:54 Melon power_profile: changed to 'performance' Jun 1 10:48:56 Melon root: LETGOSHUTDOWN Jun 1 10:49:12 Melon root: LETGOSHUTDOWN Jun 1 10:51:06 Melon last message repeated 2 times It works, but the problem is that it makes this even the cable is plugged ! i.e : the computer was not powered on so with 3% of remaining time but AC plugged in after booting it (always with the AC plugged in) these messages appears too. I guess the ACPI/CMBAT do not care if there is an AC plugged in or not. Is there a way to make this conditional to do only if the laptop is not charging, AC plugged in ? With king regards. -- Demelier David From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 09:00:58 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C4D91065672 for ; Tue, 1 Jun 2010 09:00:58 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from fep17.mx.upcmail.net (fep17.mx.upcmail.net [62.179.121.37]) by mx1.freebsd.org (Postfix) with ESMTP id A05CC8FC12 for ; Tue, 1 Jun 2010 09:00:57 +0000 (UTC) Received: from edge05.upcmail.net ([192.168.13.212]) by viefep17-int.chello.at (InterMail vM.8.01.02.02 201-2260-120-106-20100312) with ESMTP id <20100601090055.XXOP21441.viefep17-int.chello.at@edge05.upcmail.net>; Tue, 1 Jun 2010 11:00:55 +0200 Received: from laci.sznet ([86.101.31.185]) by edge05.upcmail.net with edge id QZ0u1e00y3zeu1y05Z0vDS; Tue, 01 Jun 2010 11:00:55 +0200 X-SourceIP: 86.101.31.185 Message-ID: <4C04CC45.5000508@shopzeus.com> Date: Tue, 01 Jun 2010 11:00:53 +0200 From: Laszlo Nagy User-Agent: Thunderbird 2.0.0.24 (X11/20100411) MIME-Version: 1.0 To: Matthias Apitz References: <4BFFAC35.2040503@shopzeus.com> <4BFFDCC4.5080408@fechner.net> <4C00099D.6070005@shopzeus.com> <4C028270.5030900@shopzeus.com> <20100530161652.GA4423@current.Sisis.de> In-Reply-To: <20100530161652.GA4423@current.Sisis.de> Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Cloudmark-Analysis: v=1.1 cv=BX1z5e3lS7RAKjOkUI/uDpZ/pP4xz0N/VImyOZX9Sfk= c=1 sm=0 a=wbKXeunVgZ0A:10 a=8nJEP1OIZ-IA:10 a=tHCDo4I2Y7TtzhaQrcMA:9 a=bouyFpe_uBb3BtE73JcA:7 a=rddH-st2OJuNr0k9kvBbNh93RCEA:4 a=wPNLvfGTeEIA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Cc: questions@freebsd.org Subject: Re: cron not sending emails X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 09:00:58 -0000 >>> It doesn't work. With, or without the MAILTO. Just for completeness, >>> I have used this: >>> >>> MAILTO=gandalf >>> >>> The "gandalf" user is a local user on the system. I can send local >>> mail to this user using the "sendmail" postfix program (checked twice). >>> >> Cron is still not sending emails. Any idea? >> > > Yes, check the log of cron (/var/log/cron) if you job is run at all; if > so check the log of mails (/var/log/maillog). > Cron jobs are started. Just their output are not sent in emails. The output of the maillog I already sent before: May 14 10:53:00 server postfix/sendmail[2958]: fatal: user(1001): No recipient addresses found in message header > Btw: what is the purpose of putting TEST into ""? > I tend to use double quotes for command line parameters. This is just a habit that I use it even when it is not really necessary. Output from /var/log/cron follows Jun 1 04:55:00 shopzeus /usr/sbin/cron[89378]: (tmp.27734) ORPHAN (no passwd entry) Jun 1 04:55:00 shopzeus /usr/sbin/cron[89378]: (root) RELOAD (tabs/root) Jun 1 04:55:00 shopzeus /usr/sbin/cron[89378]: NSSWITCH(_nsdispatch): nis, passwd_compat, endpwent, not found, and no fallback provided Jun 1 04:55:00 shopzeus /usr/sbin/cron[27073]: (operator) CMD (/usr/libexec/save-entropy) Jun 1 04:55:00 shopzeus /usr/sbin/cron[27075]: (root) CMD (/usr/libexec/atrun) Jun 1 04:55:00 shopzeus cron[27075]: NSSWITCH(_nsdispatch): nis, passwd_compat, endpwent, not found, and no fallback provided Jun 1 04:55:00 shopzeus /usr/sbin/cron[27082]: (root) CMD (echo "Test") (Followed by other similar rows with NSSWITCH and CMD.) Thanks Laszlo From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 09:42:22 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36A4A106567B for ; Tue, 1 Jun 2010 09:42:22 +0000 (UTC) (envelope-from freebsd.user@seibercom.net) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id D6C088FC16 for ; Tue, 1 Jun 2010 09:42:21 +0000 (UTC) Received: by vws10 with SMTP id 10so2950108vws.13 for ; Tue, 01 Jun 2010 02:42:21 -0700 (PDT) Received: by 10.220.107.227 with SMTP id c35mr4427272vcp.42.1275385340442; Tue, 01 Jun 2010 02:42:20 -0700 (PDT) Received: from scorpio.seibercom.net (c-67-189-160-65.hsd1.ny.comcast.net [67.189.160.65]) by mx.google.com with ESMTPS id z17sm29387251vco.5.2010.06.01.02.42.18 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 01 Jun 2010 02:42:19 -0700 (PDT) Received: from scorpio (zeus [192.168.1.1]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: FreeBSD.user@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3C9C7E54856 for ; Tue, 1 Jun 2010 05:42:17 -0400 (EDT) Date: Tue, 1 Jun 2010 05:42:16 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20100601054216.256514a3@scorpio> In-Reply-To: References: <28736514.post@talk.nabble.com> Organization: seibercom.net X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; amd64-portbld-freebsd8.0) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAG1BMVEX3/uPVnZf2/v9ejGkqHB74++H///+cHCT3m6cgqYvfAAACbElEQVQ4jWXTQW/bIBQAYJLJuRMn8TVCss9zTdrrXJ6bHe1Ej/bossF9EpJ3nbapf3sP8JxOQ4qV8OU9HvjBROWcYNlKHtxlQ1/huBaOBiMwQtgHhbokMLIT76Acps5hvy61+6WsjkCZzNEW0+fcQ7Nl5uoPCegjjjhN5/MEABd89k9hXkQoX6cwPIDKCt8tYG5wpmdrxAyuolTPqpiVoEpVCWvl6e00RAD4JBJQnO4lvv0O4Cnd3WUGevYNFohxFYAy7jCCtW39LaQK8BgDAgiHVinVJlCiFKlcqgEHfwb1EuG+DwFGMO3oCIuJIEYoa8KJECBB+UBldgm0MQmEGz7GQr8XYRPKzYNO1zZ8mgdAu4BG5Ke/4KFboM8458UScViAAvYD93OAsu+Bc3zxCU7ZAjT74+dQv9K7oO0d1wuscop48Pc50O5bcVwgGzh/mXzaizJuAWERh8k3eaxKmxu4kV1p2XOEg3i3c8M+EKR93P0D1KATpC55vMHaGqFf5f/AwhlrhHgg8DTezopt6I3o3Qx4q4q6YaPxK8RxcClXeFGhTTS++QR6TS/oBs7l4WhzuNMubZG6hIBkF4qqZVdWczIqSrjKVF/i4o26IP2oElBGFy5CXKSnf6UWDTC6zKSqoAvzsakjjBvdzLKnmxdhY8eRsX7VSCUBdgD1hVJpx6y2OOS1DNDILYmqdWUJ+oHvd0rRvAqX5kpxQMR6yxHzPV6VlPFyWE7LKc36keNQI64gLP8Ybgtmg+zYuBl4fuI8VqW2RqDGE8Uzu7GxGa803whDdxx3bSZbRhfQUSxvmnpLZWpRFqHz7v8AvsBe0S1zv9UAAAAASUVORK5CYII= Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: What's the difference between portupgrade and portmaster ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 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: Tue, 01 Jun 2010 09:42:22 -0000 On Tue, 1 Jun 2010 10:26:18 +0300 Eitan Adler articulated: > On Tue, Jun 1, 2010 at 3:37 AM, zaxis wrote: > > > > Why do we need two tools ? > > > Its three. Add portmanager. > > The answer is personal choice and we number of bikesheds. > > Also portmaster used to not be able to work with packages when > portupgrade could. I use portmanager with the '-p' flag for when I absolutely, positively have to insure that all dependencies are updated correctly. Neither of the other two utilities seem to get it correct 100% of the time. Plus, portmanmager is written in 'C' and IMHO is quicker than the other two. Just my 2¢. -- Jerry FreeBSD.user@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ INTOXICATED: When you feel sophisticated without being able to pronounce it. From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 10:24:19 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8FA16106566B for ; Tue, 1 Jun 2010 10:24:19 +0000 (UTC) (envelope-from pcc@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id D76358FC16 for ; Tue, 1 Jun 2010 10:24:18 +0000 (UTC) Received: (qmail 17616 invoked by uid 0); 1 Jun 2010 10:24:16 -0000 Received: from 84.163.213.44 by www063.gmx.net with HTTP; Tue, 01 Jun 2010 12:24:15 +0200 (CEST) Content-Type: text/plain; charset="utf-8" Date: Tue, 01 Jun 2010 12:24:15 +0200 From: "Peter Cornelius" Message-ID: <20100601102415.57130@gmx.net> MIME-Version: 1.0 To: FreeBSD-Questions X-Authenticated: #491680 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) X-Priority: 5 X-Provags-ID: V01U2FsdGVkX1/l8u01OmnlwslD1pwNPIkPpLGIWC7k8P5ng6odKE S0a5uSZdnQi0fMOVjNYtAGumc+L50NnJmUHA== Content-Transfer-Encoding: 8bit X-GMX-UID: 9+09eWpbeWUoS8jhdHVzqJIxU3U4Nw+Y X-FuHaFi: 0.58999999999999997 Subject: IP-Based Apache Config X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 10:24:19 -0000 Hi there, I could need a quick hand from someone with apache22 and maybe apache-in-a-jail experience. I want to set up locally apache22 on a given IP (it's in a jail here) and use files for name service. nsswitch.conf does this per default so files take precedence -- if resolution worked that way which I currently am not that much sure about anymore. I set Servername to IP:80 just as to resolv-conf-hostname:80 after reading another post [1] and some more of the apache dox [2] (but left the rest of the config alone for the time being). A also do see the connection via tcpdump both at the router connected to the jail as well as the jail server itself as much as I see the connections in netstat both in and outside the jail. However, I do NOT see ANYthing in any apache logs, and tcpdump confirms that all that is established is the TCP connection. Also, when I telnet IP 80 and GET /, it goes into the server, and all remains quiet thereafter. I think I probably overlook something utterly obvious and simple but since I don't have any straws from logs to cling to, I currently don't seem to be able to get my head around it. Hence, any help appreciated. Thanks, Peter. --- [1] http://lists.freebsd.org/pipermail/freebsd-jail/2009-November/001057.html [2] http://httpd.apache.org/docs/2.2/dns-caveats.html -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 11:33:43 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B0BE5106566B for ; Tue, 1 Jun 2010 11:33:43 +0000 (UTC) (envelope-from ndhertbsd@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 41C9C8FC0A for ; Tue, 1 Jun 2010 11:33:42 +0000 (UTC) Received: by fxm5 with SMTP id 5so3495140fxm.13 for ; Tue, 01 Jun 2010 04:33:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=zsxX5QvJYkJIw4ca3z/kRYQyPnoE8FCxO3jEb+VC5vY=; b=EDb1hMPchPekyYmIIQkJkW/xxhKP8UgcvSIwQo2R9wyp0rnalQ/YyyY1+5QeCnRNQ7 Swm7A/RjHtFmuPUjlsVkDx1VS9lIVpaP0ow78trB1AAUHwMLC1HmepfyJpgaoNmKxRcS wnWXFrP9ZZHPx5bP3+HJ+B1wkkK7ep3xOuZxA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=UCgNJdUCeHJmgYmAlIC9MZKKyfIoh8CkbmavPUc6ikiqM+Um4YUJ71v59kI0Vh2vgf k5OsfOwPFQedOKOCtHnIfxsXvdRO3VLx4WR6Fyh9MTxrc3xtke1M+39vvb4IRCF8XVkH 2PoCElc/MNQ+sHzXV/NeidlEqzGesxQLrwqrs= MIME-Version: 1.0 Received: by 10.204.3.199 with SMTP id 7mr564092bko.202.1275392021759; Tue, 01 Jun 2010 04:33:41 -0700 (PDT) Received: by 10.204.46.100 with HTTP; Tue, 1 Jun 2010 04:33:41 -0700 (PDT) Date: Tue, 1 Jun 2010 13:33:41 +0200 Message-ID: From: n dhert To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: uname -r and patchlevel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 11:33:43 -0000 Can somebody explain about the -p one sees in the output of the uname -r ? Under *exactly* what conditions the patch level changes to a new value after you applied a freebsd-update install ? Does -p only change if a) a change of the file /boot/kernel/kernel was part of the update or also if b) *some* /boot/kernel/* files (but not /boot/kernel/kernel itself) changed as part of the update Will in any case a new -p be shown only after a reboot is done ? I have confusing differences in -p increase/not increase in different FreeBSD systems after applying freebsd-update install. The handbook is too vague about what conditions *exactly* will make uname -r show the newest -p. From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 11:52:10 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 048A81065672 for ; Tue, 1 Jun 2010 11:52:10 +0000 (UTC) (envelope-from prvs=761b03e6c=a@jenisch.at) Received: from mgaterz1.oekb.co.at (mgaterz1.oekb.co.at [143.245.5.111]) by mx1.freebsd.org (Postfix) with ESMTP id 88ACA8FC27 for ; Tue, 1 Jun 2010 11:52:09 +0000 (UTC) Received: from exchh1.oekb.co.at ([143.245.3.20]) by mgaterz1.oekb.co.at with ESMTP; 01 Jun 2010 13:41:09 +0200 Received: from aurora.oekb.co.at (143.245.9.16) by exchh1.oekb.co.at (143.245.3.60) with Microsoft SMTP Server id 8.2.234.1; Tue, 1 Jun 2010 13:41:08 +0200 Received: from aurora.oekb.co.at (localhost [127.0.0.1]) by aurora.oekb.co.at (8.14.4/8.14.4) with ESMTP id o51Bf8xG065294 for ; Tue, 1 Jun 2010 13:41:08 +0200 (CEST) (envelope-from a@jenisch.at) Received: (from ej@localhost) by aurora.oekb.co.at (8.14.4/8.14.4/Submit) id o51Bf87L065293 for freebsd-questions@freebsd.org; Tue, 1 Jun 2010 13:41:08 +0200 (CEST) (envelope-from a@jenisch.at) X-Authentication-Warning: aurora.oekb.co.at: ej set sender to a@jenisch.at using -f Date: Tue, 1 Jun 2010 13:41:08 +0200 From: Ewald Jenisch To: freebsd-questions@freebsd.org Message-ID: <20100601114108.GB35222@aurora.oekb.co.at> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: nmap -> error during compile X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 11:52:10 -0000 Hi, Upon compiling nmap (5.21_1) from scratch I got the following error: ------------------------------ < Cut here > ------------------------------ # make ===> Building for nmap-5.21_1 Makefile:341: makefile.dep: No such file or directory c++ -MM -I/usr/include/lua -I/usr/local/include/lua51 -Ilibdnet-stripped/include -I/usr/local/include -I/usr/local/include -Inbase -Insock/include main.cc nmap .cc targets.cc tcpip.cc nmap_error.cc utils.cc idle_scan.cc osscan.cc osscan2.cc output.cc payload.cc scan_engine.cc timing.cc charpool.cc services.cc protocols .cc nmap_rpc.cc portlist.cc NmapOps.cc TargetGroup.cc Target.cc FingerPrintResul ts.cc service_scan.cc NmapOutputTable.cc MACLookup.cc nmap_tty.cc nmap_dns.cc tr aceroute.cc portreasons.cc nse_main.cc nse_nsock.cc nse_fs.cc nse_nmaplib.cc nse _debug.cc nse_pcrelib.cc nse_binlib.cc nse_bit.cc nse_openssl.cc nse_ssl_cert.cc > makefile.dep In file included from nse_openssl.cc:11: /usr/include/openssl/md2.h:64:2: error: #error MD2 is disabled. gmake: *** [makefile.dep] Error 1 *** Error code 1 Stop in /usr/ports/security/nmap. ------------------------------ < Cut here > ------------------------------ When I start the build-process agin (make) it again stops with an error related to "md2": ------------------------------ < Cut here > ------------------------------ . . . c++ -c -I/usr/include/lua -I/usr/local/include/lua51 -Ilibdnet-stripped/include -I/usr/local/include -I/usr/local/include -Inbase -Insock/include -O -pipe -Wall -fno-strict-aliasing -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"amd64-portbld-freebsd7.3\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 nse_bit.cc -o nse_bit.o c++ -c -I/usr/include/lua -I/usr/local/include/lua51 -Ilibdnet-stripped/include -I/usr/local/include -I/usr/local/include -Inbase -Insock/include -O -pipe -Wall -fno-strict-aliasing -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"amd64-portbld-freebsd7.3\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 nse_openssl.cc -o nse_openssl.o In file included from nse_openssl.cc:11: /usr/include/openssl/md2.h:64:2: error: #error MD2 is disabled. gmake[1]: *** [nse_openssl.o] Error 1 gmake[1]: Leaving directory `/usr/ports/security/nmap/work/nmap-5.21' gmake: *** [all] Error 2 *** Error code 1 Stop in /usr/ports/security/nmap. ------------------------------ < Cut here > ------------------------------ My machine is running FreeBSD 7.3, portstree cvsup-ed as per today, platform AMD64. I've got openssl installed from the ports: # pkg_info -rx openssl-1.0.0 Information for openssl-1.0.0_1: Depends on: # Any idea what's going on here and why I can't compile nmap? Thanks much in advance for your help. -ewald From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 12:28:01 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA1E41065673 for ; Tue, 1 Jun 2010 12:28:01 +0000 (UTC) (envelope-from freebsd.user@seibercom.net) Received: from mail-yw0-f176.google.com (mail-yw0-f176.google.com [209.85.211.176]) by mx1.freebsd.org (Postfix) with ESMTP id 988668FC1D for ; Tue, 1 Jun 2010 12:28:01 +0000 (UTC) Received: by ywh6 with SMTP id 6so3620060ywh.16 for ; Tue, 01 Jun 2010 05:27:58 -0700 (PDT) Received: by 10.150.236.15 with SMTP id j15mr6344410ybh.233.1275395278218; Tue, 01 Jun 2010 05:27:58 -0700 (PDT) Received: from scorpio.seibercom.net (c-67-189-160-65.hsd1.ny.comcast.net [67.189.160.65]) by mx.google.com with ESMTPS id v21sm57123978ybk.13.2010.06.01.05.27.56 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 01 Jun 2010 05:27:57 -0700 (PDT) Received: from scorpio (zeus [192.168.1.1]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: FreeBSD.user@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 092E8E54856 for ; Tue, 1 Jun 2010 08:27:55 -0400 (EDT) Date: Tue, 1 Jun 2010 08:27:38 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20100601082738.3a86c519@scorpio> In-Reply-To: <20100601114108.GB35222@aurora.oekb.co.at> References: <20100601114108.GB35222@aurora.oekb.co.at> Organization: seibercom.net X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; amd64-portbld-freebsd8.0) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAG1BMVEX3/uPVnZf2/v9ejGkqHB74++H///+cHCT3m6cgqYvfAAACbElEQVQ4jWXTQW/bIBQAYJLJuRMn8TVCss9zTdrrXJ6bHe1Ej/bossF9EpJ3nbapf3sP8JxOQ4qV8OU9HvjBROWcYNlKHtxlQ1/huBaOBiMwQtgHhbokMLIT76Acps5hvy61+6WsjkCZzNEW0+fcQ7Nl5uoPCegjjjhN5/MEABd89k9hXkQoX6cwPIDKCt8tYG5wpmdrxAyuolTPqpiVoEpVCWvl6e00RAD4JBJQnO4lvv0O4Cnd3WUGevYNFohxFYAy7jCCtW39LaQK8BgDAgiHVinVJlCiFKlcqgEHfwb1EuG+DwFGMO3oCIuJIEYoa8KJECBB+UBldgm0MQmEGz7GQr8XYRPKzYNO1zZ8mgdAu4BG5Ke/4KFboM8458UScViAAvYD93OAsu+Bc3zxCU7ZAjT74+dQv9K7oO0d1wuscop48Pc50O5bcVwgGzh/mXzaizJuAWERh8k3eaxKmxu4kV1p2XOEg3i3c8M+EKR93P0D1KATpC55vMHaGqFf5f/AwhlrhHgg8DTezopt6I3o3Qx4q4q6YaPxK8RxcClXeFGhTTS++QR6TS/oBs7l4WhzuNMubZG6hIBkF4qqZVdWczIqSrjKVF/i4o26IP2oElBGFy5CXKSnf6UWDTC6zKSqoAvzsakjjBvdzLKnmxdhY8eRsX7VSCUBdgD1hVJpx6y2OOS1DNDILYmqdWUJ+oHvd0rRvAqX5kpxQMR6yxHzPV6VlPFyWE7LKc36keNQI64gLP8Ybgtmg+zYuBl4fuI8VqW2RqDGE8Uzu7GxGa803whDdxx3bSZbRhfQUSxvmnpLZWpRFqHz7v8AvsBe0S1zv9UAAAAASUVORK5CYII= Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/tDA73d=Ydm+FQ6UhmQq6rEU"; protocol="application/pgp-signature" Subject: Re: nmap -> error during compile X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 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: Tue, 01 Jun 2010 12:28:02 -0000 --Sig_/tDA73d=Ydm+FQ6UhmQq6rEU Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Tue, 1 Jun 2010 13:41:08 +0200 Ewald Jenisch articulated: > Hi, >=20 > Upon compiling nmap (5.21_1) from scratch I got the following error: >=20 > ------------------------------ < Cut here > > ------------------------------ >=20 > # make > =3D=3D=3D> Building for nmap-5.21_1 > Makefile:341: makefile.dep: No such file or directory > c++ -MM -I/usr/include/lua -I/usr/local/include/lua51 > -Ilibdnet-stripped/include -I/usr/local/include -I/usr/local/include > -Inbase -Insock/include main.cc nmap .cc targets.cc tcpip.cc > nmap_error.cc utils.cc idle_scan.cc osscan.cc osscan2.cc output.cc > payload.cc scan_engine.cc timing.cc charpool.cc services.cc > protocols .cc nmap_rpc.cc portlist.cc NmapOps.cc TargetGroup.cc > Target.cc FingerPrintResul ts.cc service_scan.cc NmapOutputTable.cc > MACLookup.cc nmap_tty.cc nmap_dns.cc tr aceroute.cc portreasons.cc > nse_main.cc nse_nsock.cc nse_fs.cc nse_nmaplib.cc nse _debug.cc > nse_pcrelib.cc nse_binlib.cc nse_bit.cc nse_openssl.cc nse_ssl_cert.cc > > makefile.dep > In file included from nse_openssl.cc:11: > /usr/include/openssl/md2.h:64:2: error: #error MD2 is disabled. > gmake: *** [makefile.dep] Error 1 > *** Error code 1 >=20 > Stop in /usr/ports/security/nmap. >=20 > ------------------------------ < Cut here > > ------------------------------ >=20 > When I start the build-process agin (make) it again stops with an > error related to "md2": >=20 >=20 > ------------------------------ < Cut here > > ------------------------------ >=20 >=20 > . > . > . > c++ -c -I/usr/include/lua -I/usr/local/include/lua51 > -Ilibdnet-stripped/include -I/usr/local/include -I/usr/local/include > -Inbase -Insock/include -O -pipe -Wall -fno-strict-aliasing > -DHAVE_CONFIG_H -DNMAP_NAME=3D\"Nmap\" -DNMAP_URL=3D\"http://nmap.org\" > -DNMAP_PLATFORM=3D\"amd64-portbld-freebsd7.3\" > -DNMAPDATADIR=3D\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=3D2 > nse_bit.cc -o nse_bit.o c++ -c -I/usr/include/lua > -I/usr/local/include/lua51 -Ilibdnet-stripped/include > -I/usr/local/include -I/usr/local/include -Inbase -Insock/include -O > -pipe -Wall -fno-strict-aliasing -DHAVE_CONFIG_H > -DNMAP_NAME=3D\"Nmap\" -DNMAP_URL=3D\"http://nmap.org\" > -DNMAP_PLATFORM=3D\"amd64-portbld-freebsd7.3\" > -DNMAPDATADIR=3D\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=3D2 > nse_openssl.cc -o nse_openssl.o In file included from > nse_openssl.cc:11: /usr/include/openssl/md2.h:64:2: error: #error MD2 > is disabled. gmake[1]: *** [nse_openssl.o] Error 1 gmake[1]: Leaving > directory `/usr/ports/security/nmap/work/nmap-5.21' gmake: *** [all] > Error 2 *** Error code 1 >=20 > Stop in /usr/ports/security/nmap. >=20 > ------------------------------ < Cut here > > ------------------------------ >=20 > My machine is running FreeBSD 7.3, portstree cvsup-ed as per today, > platform AMD64. >=20 > I've got openssl installed from the ports: >=20 > # pkg_info -rx openssl-1.0.0 > Information for openssl-1.0.0_1: >=20 > Depends on: >=20 > # > Any idea what's going on here and why I can't compile nmap? I have had several ports fail because I had openssl installed via the ports system. These were on FreeBSD-8/amd64 systems. I filed two PRs and they were fixed. I might suggest that you do the same here. It does seem rather strange that considering the number of ports that require openssl, there was not more testing done to confirm that the ports version was compatible with ports requiring openssl. --=20 Jerry FreeBSD.user@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ --Sig_/tDA73d=Ydm+FQ6UhmQq6rEU Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iQEcBAEBAgAGBQJMBPzJAAoJEEEooh6m7retTL8H/RHvl22l48IVQiiZYm2D1E0/ BAnjnnPCXhu/vmsi9MO7fnUbud30+NEPctiZIdibNt3tM+K5wD52PQCtHRIOTpAw 4grx14A1upTC72ZmsUnd484h4A/7cvFrPP55swzIjK9ExFxLLHdH0pugNDd+7kWG HDKKBe8MY0Mg2Ynoqht4fe+3lyuigV/sfDy/EUObG94Ju1pjAaV/h6lacX1kYCph vS76kctKsdbTnpRJgJAY7L3OyWiKA53UvkkFTRw8HYkF2b83RaS/TBiaBI+WzSe1 nUeqGO1WK3ddc1lJXbVOnUi2D2VK221pBloEq/AJO73EnE/hJ0Sn5X2GHrc84Nw= =X0yK -----END PGP SIGNATURE----- --Sig_/tDA73d=Ydm+FQ6UhmQq6rEU-- From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 12:54:26 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C663106566B for ; Tue, 1 Jun 2010 12:54:26 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from rosebud.otenet.gr (rosebud.otenet.gr [83.235.67.42]) by mx1.freebsd.org (Postfix) with ESMTP id A2F398FC08 for ; Tue, 1 Jun 2010 12:54:25 +0000 (UTC) Received: from pulstar.local (ppp-94-69-61-178.home.otenet.gr [94.69.61.178]) by rosebud.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id o51CsMtf002286; Tue, 1 Jun 2010 15:54:22 +0300 Message-ID: <4C0502FE.5090301@otenet.gr> Date: Tue, 01 Jun 2010 15:54:22 +0300 From: Manolis Kiagias User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: n dhert References: In-Reply-To: X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: uname -r and patchlevel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 12:54:26 -0000 On 01/06/2010 2:33 ?.?., n dhert wrote: > Can somebody explain about the -p one sees in the output of the > uname -r ? > Under *exactly* what conditions the patch level changes to a new value > after you applied a freebsd-update install ? > If you are using the GENERIC kernel AND the kernel was updated as part of the freebsd-update process, the patch level is changed. You will need to reboot. If you are using the GENERIC kernel AND the kernel was not updated as part of the freebsd-update process, the patch level reported is unchanged if you are using a CUSTOM kernel, the reported patch level is not changed until you rebuild your kernel with the new sources as updated by freebsd-update. After rebuilding your kernel it always reflects the latest -p version, even if there were no actual kernel changes. The reported -p level is contained in this file: /usr/src/sys/conf/newvers.sh and this is always updated when an update comes through. If you rebuild your custom kernel (or even GENERIC) it will always report the value from this file. From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 13:08:52 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B19101065675 for ; Tue, 1 Jun 2010 13:08:52 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-01.bluehost.com (cpoproxy1-pub.bluehost.com [69.89.21.11]) by mx1.freebsd.org (Postfix) with SMTP id 7E6568FC18 for ; Tue, 1 Jun 2010 13:08:52 +0000 (UTC) Received: (qmail 3250 invoked by uid 0); 1 Jun 2010 13:08:51 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by cpoproxy1.bluehost.com with SMTP; 1 Jun 2010 13:08:51 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=BQWm3GhSyiiNS5Lv9aBOfml1drR1ZnbA93rwB37I1MokVKmHLcJELp8Hv0UZzAFgtgm0M8zySx0UEgaQeIjUqsFG1GZwdE2PQnRbl6/nrVVsoDkDD+Y5T0/r1Adii2GY; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kukaburra.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1OJRD8-0005GF-OH for freebsd-questions@freebsd.org; Tue, 01 Jun 2010 07:08:51 -0600 Received: by kukaburra.hydra (sSMTP sendmail emulation); Tue, 01 Jun 2010 07:08:42 -0600 Date: Tue, 1 Jun 2010 07:08:42 -0600 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20100601130842.GA5717@guilt.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <201005311636.o4VGarkt001701@mail.r-bonomi.com> <20100531203204.GB2167@guilt.hydra> <87476863@bb.ipt.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="h31gzZEtNLTqOjlF" Content-Disposition: inline In-Reply-To: <87476863@bb.ipt.ru> User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Subject: Re: text editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 13:08:52 -0000 --h31gzZEtNLTqOjlF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 01, 2010 at 12:21:20PM +0400, Boris Samorodov wrote: > On Mon, 31 May 2010 14:32:04 -0600 Chad Perrin wrote: >=20 > > Unfortunately, the "killer feature" that keeps me with Vim instead of n= vi > > is its support for multiple levels of undo. >=20 > Have you ever tried "u" (undo command) followed by "." (repeat > last command)? ;-) =2E . . but how do you redo what you've undone? I've scanned through nvi's awful viusage list of commands (awful mostly because it's a pain in the ass to use it as a help system for vi) and haven't found an answer to that question. --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --h31gzZEtNLTqOjlF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwFBloACgkQ9mn/Pj01uKUb/gCeLAEuBq+sFzqVJsQAmzmOfXH/ eT4An3hrhLKfzjibUkwZFky/FB/iUCXD =6dXr -----END PGP SIGNATURE----- --h31gzZEtNLTqOjlF-- From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 13:09:56 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 956FD106564A for ; Tue, 1 Jun 2010 13:09:56 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-01.bluehost.com (cpoproxy1-pub.bluehost.com [69.89.21.11]) by mx1.freebsd.org (Postfix) with SMTP id 6133E8FC18 for ; Tue, 1 Jun 2010 13:09:56 +0000 (UTC) Received: (qmail 4801 invoked by uid 0); 1 Jun 2010 13:09:55 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by cpoproxy1.bluehost.com with SMTP; 1 Jun 2010 13:09:55 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=DsJcB7qInNQkUAjO/8xndG+NV13/Sl3fT0UiYjjVccuI2Qb1LJUl55FMNo2laeSUtVyQDkexyviXL6T+hQVZcK52rnaFHPtxODo4N16K9Nan/q9DSeriJ7I1gILO47i/; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kukaburra.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1OJREA-0006uF-PD for freebsd-questions@freebsd.org; Tue, 01 Jun 2010 07:09:55 -0600 Received: by kukaburra.hydra (sSMTP sendmail emulation); Tue, 01 Jun 2010 07:09:46 -0600 Date: Tue, 1 Jun 2010 07:09:46 -0600 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20100601130946.GB5717@guilt.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <201005311636.o4VGarkt001701@mail.r-bonomi.com> <87zkzgx8rd.fsf@kobe.laptop> <20100531203115.GA2167@guilt.hydra> <4C04AD94.7040706@infracaninophile.co.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="24zk1gE8NUlDmwG9" Content-Disposition: inline In-Reply-To: <4C04AD94.7040706@infracaninophile.co.uk> User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Subject: Re: text editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 13:09:56 -0000 --24zk1gE8NUlDmwG9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 01, 2010 at 07:49:56AM +0100, Matthew Seaman wrote: >=20 > Young whippersnappers. *Eight* was the good old days, back before the > web was invented. No -- those are the "even better old days". --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --24zk1gE8NUlDmwG9 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwFBpoACgkQ9mn/Pj01uKWtagCeIBHGaO4IpcFYmqO3Z1Y/ZciD 2EEAoOV/nqLUleX/5CwlUVQmR7o3f+6+ =4v++ -----END PGP SIGNATURE----- --24zk1gE8NUlDmwG9-- From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 13:23:57 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 95DA81065675 for ; Tue, 1 Jun 2010 13:23:57 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 541058FC1F for ; Tue, 1 Jun 2010 13:23:57 +0000 (UTC) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1OJRRj-000PH4-V5 for freebsd-questions@freebsd.org; Tue, 01 Jun 2010 17:23:56 +0400 From: Boris Samorodov To: freebsd-questions@freebsd.org References: <201005311636.o4VGarkt001701@mail.r-bonomi.com> <20100531203204.GB2167@guilt.hydra> <87476863@bb.ipt.ru> <20100601130842.GA5717@guilt.hydra> Date: Tue, 01 Jun 2010 17:23:55 +0400 In-Reply-To: <20100601130842.GA5717@guilt.hydra> (Chad Perrin's message of "Tue, 1 Jun 2010 07:08:42 -0600") Message-ID: <98188708@bb.ipt.ru> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: text editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 13:23:57 -0000 On Tue, 1 Jun 2010 07:08:42 -0600 Chad Perrin wrote: > On Tue, Jun 01, 2010 at 12:21:20PM +0400, Boris Samorodov wrote: > > On Mon, 31 May 2010 14:32:04 -0600 Chad Perrin wrote: > > > > > Unfortunately, the "killer feature" that keeps me with Vim instead of nvi > > > is its support for multiple levels of undo. > > > > Have you ever tried "u" (undo command) followed by "." (repeat > > last command)? ;-) > . . . but how do you redo what you've undone? If I understand the question correctly then: it's just one more "u" (undo command) followed by "." (repeat last command)... -- WBR, Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 13:41:24 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 33E3D1065670 for ; Tue, 1 Jun 2010 13:41:24 +0000 (UTC) (envelope-from apseudoutopia@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id BF7198FC2D for ; Tue, 1 Jun 2010 13:41:23 +0000 (UTC) Received: by wyb36 with SMTP id 36so1127857wyb.13 for ; Tue, 01 Jun 2010 06:41:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=3zOzVFpsdCq0+kryfo0qe6sybbOPBeGkMtudRrg8u9I=; b=a/DuHgtAW8lK+yYVoq4Add+kQOt5VKBMFZvvM0LXbW10AKHeCKsPhoZ2gLGXHZ8U8x l92C8ljHTYp44LN4g4HVYX2gyf1YYxgyJv9+5PA25LjckpyUHDuy+yXmJiOC2kJHjNRQ /ib0Y6VI5gcaEEtf0Qz3KFeV+I2+h3r0xYYvw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=EfKG3oOXF1T7ndNnzyqWmEec5fRemTrR29LdV1ll7WFyok1Nwr2Oaf/f2m67V1TEnE kUw3we514OJd825kHDTRiF505ke4TqTKb1ml9EXoV9TbmSO+r1h/Mtgl5IPqT+D7pOtL zigPUOYE343uf0lcrxBnYZNaDF0MQikiFKGP0= MIME-Version: 1.0 Received: by 10.216.159.80 with SMTP id r58mr5217827wek.48.1275399680398; Tue, 01 Jun 2010 06:41:20 -0700 (PDT) Received: by 10.216.166.71 with HTTP; Tue, 1 Jun 2010 06:41:11 -0700 (PDT) In-Reply-To: <4BFFAC35.2040503@shopzeus.com> References: <4BFFAC35.2040503@shopzeus.com> Date: Tue, 1 Jun 2010 09:41:11 -0400 Message-ID: From: APseudoUtopia To: Laszlo Nagy Content-Type: text/plain; charset=UTF-8 Cc: questions@freebsd.org Subject: Re: cron not sending emails X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 13:41:24 -0000 2010/5/28 Laszlo Nagy : > Hi All! > > After upgrading to 8.0 RELEASE, I'm not getting any emails from cron. > > If I put this into root's crontab > > * * * * * echo "TEST" > > then I see this in the maillog: > > May 14 10:53:00 server postfix/sendmail[2958]: fatal: user(1001): No > recipient addresses found in message header > > Just as a side note, I started having this problem a while ago with 7.2-RELEASE, I believe. I was using the base-system sendmail and no special configuration with cron or anything. I never found a solution. I posted on this mailing list and nothing anyone suggested solved it. I ended up just piping every single cron command into /usr/bin/mail: 0 */4 * * * root /usr/local/backups/daily_backup.sh | /usr/bin/mail -E -s "Daily Backup" email@address.tld That works fine. From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 14:00:43 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD46010656C2 for ; Tue, 1 Jun 2010 14:00:43 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 6F76B8FC15 for ; Tue, 1 Jun 2010 14:00:43 +0000 (UTC) Received: from [193.31.11.193] (helo=current.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1OJS1I-00046H-Fz; Tue, 01 Jun 2010 16:00:40 +0200 Received: from current.Sisis.de (current [127.0.0.1]) by current.Sisis.de (8.14.3/8.14.3) with ESMTP id o51E0eWE008250; Tue, 1 Jun 2010 16:00:40 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by current.Sisis.de (8.14.3/8.14.3/Submit) id o51E0ewF008249; Tue, 1 Jun 2010 16:00:40 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: current.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Tue, 1 Jun 2010 16:00:39 +0200 From: Matthias Apitz To: APseudoUtopia Message-ID: <20100601140039.GA8168@current.Sisis.de> References: <4BFFAC35.2040503@shopzeus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 8.0-CURRENT (i386) X-Con-Id: 51246 X-Originating-IP: 193.31.11.193 Cc: questions@freebsd.org, Laszlo Nagy Subject: Re: cron not sending emails X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 14:00:43 -0000 El día Tuesday, June 01, 2010 a las 09:41:11AM -0400, APseudoUtopia escribió: > 2010/5/28 Laszlo Nagy : > > Hi All! > > > > After upgrading to 8.0 RELEASE, I'm not getting any emails from cron. > > > > If I put this into root's crontab > > > > * * * * * echo "TEST" > > > > then I see this in the maillog: > > > > May 14 10:53:00 server postfix/sendmail[2958]: fatal: user(1001): No > > recipient addresses found in message header > > > > > > Just as a side note, I started having this problem a while ago with > 7.2-RELEASE, I believe. I was using the base-system sendmail and no > special configuration with cron or anything. > > I never found a solution. I posted on this mailing list and nothing > anyone suggested solved it. I ended up just piping every single cron > command into /usr/bin/mail: > > 0 */4 * * * root /usr/local/backups/daily_backup.sh | > /usr/bin/mail -E -s "Daily Backup" email@address.tld > > That works fine. current# uname -a FreeBSD current.unixarea.de 8.0-CURRENT FreeBSD 8.0-CURRENT #5: Sun Jan 10 09:55:14 CET 2010 guru@current.unixarea.de:/usr/obj/usr/src/sys/GENERIC i386 current# crontab -l | fgrep 15 56 15 * * * /usr/sbin/ntpdate -b ntps1-0.cs.tu-berlin.de current# tail -3 /var/log/cron Jun 1 15:56:00 current /usr/sbin/cron[1509]: (root) RELOAD (tabs/root) Jun 1 15:56:00 current /usr/sbin/cron[8209]: (root) CMD (/usr/sbin/ntpdate -b ntps1-0.cs.tu-berlin.de) Jun 1 15:57:17 current crontab[8220]: (root) LIST (root) current# tail /var/log/maillog Jun 1 15:56:01 current sm-mta[8213]: o51Du1q1008212: to=, ctladdr= (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30877, relay=local, dsn=2.0.0, stat=Sent i.e. no problem on my system; matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Solidarity with the zionistic pirates of Israel? Not in my name! ¿Solidaridad con los piratas sionistas de Israel? ¡No en mi nombre! From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 14:15:18 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 03DEC1065670 for ; Tue, 1 Jun 2010 14:15:18 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: from smtp-gw29.mailanyone.net (smtp-gw29.mailanyone.net [208.70.128.55]) by mx1.freebsd.org (Postfix) with ESMTP id D6F058FC08 for ; Tue, 1 Jun 2010 14:15:17 +0000 (UTC) Received: from mailanyone.net by smtp-gw29.mailanyone.net with esmtpa (MailAnyone extSMTP jalmberg@identry.com) id 1OJSEt-0000Ge-Bc for freebsd-questions@freebsd.org; Tue, 01 Jun 2010 09:14:44 -0500 Message-ID: <4C0515F3.7060006@identry.com> Date: Tue, 01 Jun 2010 10:15:15 -0400 From: John Almberg User-Agent: Postbox 1.1.4 (Macintosh/20100408) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Add watermark to PDF X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 14:15:18 -0000 I've just spent a couple hours googling for an answer to this question without success... This is probably a bit off topic, but this list seems to be able to come up with answers to questions that stump other lists, so... I would like to add a customized footer (a stamp or watermark) to an existing PDF, like the guys at Pragmatic Programmers do with their PDFs. So basically this script would have to read in the PDF and (ideally) a plain text file, and output a PDF with the plain text merged into the PDF as a footer. Anyone know of an existing utility that might do something like this? Probably not, so anyone know of a PDF library that I could use to roll my own? I'm competent in Perl, PHP, and Ruby, and at this point, would be willing to learn Sanskrit if it could solve this problem for me. Unfortunatley, I've never done any PDF programming, so not quite sure where to start. Any ideas, much appreciated. -- John From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 14:24:39 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C37A1065673 for ; Tue, 1 Jun 2010 14:24:39 +0000 (UTC) (envelope-from kevin.wilcox@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id DE5708FC12 for ; Tue, 1 Jun 2010 14:24:38 +0000 (UTC) Received: by gwj23 with SMTP id 23so4029631gwj.13 for ; Tue, 01 Jun 2010 07:24:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=RJueNxWgZZHyZH7bfObH+SjL2HLMudaIjSij19eZvP8=; b=mjFxIXUihxGn/v8w2addoBMkEhphNRylVffULj6RNcJWZtOKE6rUIuBm+9FCzG9VG8 fMPwHZ1EUthJsHOfFvTZxTFOMgklCVoIRDEcPlpE17/ML/8gS0tIWo8VPBjn4DNN+jjI iSTOS3Hi1F1Kerb0pAQrnYwD1Bdt/m4v25NgE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=rl9/FKDknSILpbeE4gqsoasS2ywpUGRPrkWF3adBfKckqbV7AgdObJD+eh9vOqSPt/ 2rY/yMpVGGP1HGnSnYcv61llZkPw69nv2s6nf5Td5+IgHcTk8fJCxH+p1yIcTMksFOB/ 16jWGbUR5NBrvBqz2QSzXlPtYk9zjjo/DgEfQ= MIME-Version: 1.0 Received: by 10.91.38.15 with SMTP id q15mr2882386agj.157.1275402278099; Tue, 01 Jun 2010 07:24:38 -0700 (PDT) Received: by 10.90.86.5 with HTTP; Tue, 1 Jun 2010 07:24:38 -0700 (PDT) In-Reply-To: <4C0515F3.7060006@identry.com> References: <4C0515F3.7060006@identry.com> Date: Tue, 1 Jun 2010 10:24:38 -0400 Message-ID: From: Kevin Wilcox To: John Almberg Content-Type: text/plain; charset=UTF-8 Cc: freebsd-questions@freebsd.org Subject: Re: Add watermark to PDF X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 14:24:39 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 1 June 2010 10:15, John Almberg wrote: > I would like to add a customized footer (a stamp or watermark) to an > existing PDF, like the guys at Pragmatic Programmers do with their PDFs. I used to do something similar using the fpdf/pdftk toolkits. http://www.fpdf.org/ http://www.accesspdf.com/pdftk/ kmw -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Use GnuPG with Firefox : http://getfiregpg.org (Version: 0.7.10) iEYEARECAAYFAkwFGGAACgkQsKMTOtQ3fKGfkwCfQyJSOON7k6liWggyYV2P+rKC OokAn3jpAWqarsvenlRKyThR0/DryaKe =6v3V -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 14:26:21 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC906106566B for ; Tue, 1 Jun 2010 14:26:21 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 7B5118FC13 for ; Tue, 1 Jun 2010 14:26:21 +0000 (UTC) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id o51ENMZF043217; Tue, 1 Jun 2010 10:23:22 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id o51ENL89043216; Tue, 1 Jun 2010 10:23:21 -0400 (EDT) (envelope-from jerrymc) Date: Tue, 1 Jun 2010 10:23:21 -0400 From: Jerry McAllister To: Aiza Message-ID: <20100601142321.GC43080@gizmo.acns.msu.edu> References: <4C021703.7050300@comclark.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C021703.7050300@comclark.com> User-Agent: Mutt/1.4.2.2i Cc: "questions@freebsd.org" Subject: Re: command to rename a directory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 14:26:21 -0000 On Sun, May 30, 2010 at 03:42:59PM +0800, Aiza wrote: > Is there a command to rename a directory in place. > Like mv does for a file name. mv works on directory names too. ////jerry > _______________________________________________ > 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 Tue Jun 1 15:00:13 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C9AA106564A for ; Tue, 1 Jun 2010 15:00:13 +0000 (UTC) (envelope-from prvs=761b03e6c=a@jenisch.at) Received: from mgaterz2.oekb.co.at (mgaterz2.oekb.co.at [143.245.5.112]) by mx1.freebsd.org (Postfix) with ESMTP id DF7C48FC14 for ; Tue, 1 Jun 2010 15:00:12 +0000 (UTC) Received: from exchh1.oekb.co.at ([143.245.3.20]) by mgaterz2.oekb.co.at with ESMTP; 01 Jun 2010 17:00:11 +0200 Received: from aurora.oekb.co.at (143.245.9.16) by exchh1.oekb.co.at (143.245.3.60) with Microsoft SMTP Server id 8.2.234.1; Tue, 1 Jun 2010 17:00:11 +0200 Received: from aurora.oekb.co.at (localhost [127.0.0.1]) by aurora.oekb.co.at (8.14.4/8.14.4) with ESMTP id o51F0BTd066223 for ; Tue, 1 Jun 2010 17:00:11 +0200 (CEST) (envelope-from a@jenisch.at) Received: (from ej@localhost) by aurora.oekb.co.at (8.14.4/8.14.4/Submit) id o51F0BV1066222 for freebsd-questions@freebsd.org; Tue, 1 Jun 2010 17:00:11 +0200 (CEST) (envelope-from a@jenisch.at) X-Authentication-Warning: aurora.oekb.co.at: ej set sender to a@jenisch.at using -f Date: Tue, 1 Jun 2010 17:00:11 +0200 From: Ewald Jenisch To: freebsd-questions@freebsd.org Message-ID: <20100601150011.GC35222@aurora.oekb.co.at> References: <20100601114108.GB35222@aurora.oekb.co.at> <20100601082738.3a86c519@scorpio> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20100601082738.3a86c519@scorpio> User-Agent: Mutt/1.4.2.3i Subject: Re: nmap -> error during compile X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 15:00:13 -0000 On Tue, Jun 01, 2010 at 08:27:38AM -0400, Jerry wrote: > > Any idea what's going on here and why I can't compile nmap? > > I have had several ports fail because I had openssl installed via the > ports system. These were on FreeBSD-8/amd64 systems. I filed two PRs and > they were fixed. I might suggest that you do the same here. > > It does seem rather strange that considering the number of ports that > require openssl, there was not more testing done to confirm that the > ports version was compatible with ports requiring openssl. > Hi Jerry, Do you mean filing a PR for openssl or nmap? -ewald From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 15:41:44 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B29D81065670 for ; Tue, 1 Jun 2010 15:41:44 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: from paka.cyberleo.net (paka.cyberleo.net [66.219.31.21]) by mx1.freebsd.org (Postfix) with ESMTP id 872D38FC12 for ; Tue, 1 Jun 2010 15:41:44 +0000 (UTC) Received: from [172.16.44.4] (h-74-2-96-2.chcgilgm.static.covad.net [74.2.96.2]) by paka.cyberleo.net (Postfix) with ESMTPSA id 472012840C; Tue, 1 Jun 2010 11:41:43 -0400 (EDT) Message-ID: <4C052A35.4040906@cyberleo.net> Date: Tue, 01 Jun 2010 10:41:41 -0500 From: CyberLeo Kitsana User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100508 Thunderbird/3.0.4 MIME-Version: 1.0 To: Kaya Saman References: <4C03FA45.50008@netscape.net> <4C04C15F.7060800@netscape.net> In-Reply-To: <4C04C15F.7060800@netscape.net> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: Squid not starting from rc in Jail, however works when run from root as command?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 15:41:44 -0000 On 06/01/2010 03:14 AM, Kaya Saman wrote: > Kaya Saman wrote: >> Hi guys, >> >> I've just built a new BSD server running on a Mini-ITX NAS chassis and >> it's working beautifully :-) >> >> I also took the time to learn how to build jails too as this is only >> my second BSD build so am still really new to it although not to UNIX >> as I use Solaris and Linux frequently. >> >> Anyhow I'm trying to migrate config which was on an old SPARC server >> running Solaris 9 with a version of Squid got from the Blastwave repos >> and currently I'm having major issues with it. >> >> Basically I think I've worked through to figure out that running as >> user Squid or Proxy doesn't give me access to ports <1024, basically >> the 'well known' ports. >> >> Here is the error message I get from Squid when trying to start it >> using the rc.d file: >> >> May 31 17:47:11 proxy squid[4360]: Cannot open HTTP Port >> May 31 17:47:11 proxy squid[4358]: Squid Parent: child process 4360 >> exited due to signal 6 >> May 31 17:47:14 proxy squid[4358]: Squid Parent: child process 4364 >> started >> May 31 17:47:15 proxy squid[4364]: Cannot open HTTP Port >> May 31 17:47:15 proxy squid[4358]: Squid Parent: child process 4364 >> exited due to signal 6 >> May 31 17:47:18 proxy squid[4358]: Squid Parent: child process 4367 >> started >> May 31 17:47:18 proxy squid[4367]: Cannot open HTTP Port >> May 31 17:47:18 proxy squid[4358]: Squid Parent: child process 4367 >> exited due to signal 6 >> May 31 17:47:21 proxy squid[4358]: Squid Parent: child process 4370 >> started >> May 31 17:47:21 proxy squid[4370]: Cannot open HTTP Port >> May 31 17:47:21 proxy squid[4358]: Squid Parent: child process 4370 >> exited due to signal 6 >> >> >> If however I start Squid using /usr/local/sbin/squid -NCd1 as root I >> get this and Squid works: >> >> proxy# /usr/local/sbin/squid -NCd1 >> 2010/05/31 17:55:54| Starting Squid Cache version 2.7.STABLE7 for >> amd64-portbld-freebsd8.0... >> 2010/05/31 17:55:54| Process ID 4484 >> 2010/05/31 17:55:54| With 11095 file descriptors available >> 2010/05/31 17:55:54| Using kqueue for the IO loop >> 2010/05/31 17:55:54| Performing DNS Tests... >> 2010/05/31 17:55:54| Successful DNS name lookup tests... >> 2010/05/31 17:55:54| DNS Socket created at 0.0.0.0, port 39116, FD 6 >> 2010/05/31 17:55:54| Adding nameserver 192.168.1.100 from >> /etc/resolv.conf >> 2010/05/31 17:55:54| Adding nameserver 192.168.1.101 from >> /etc/resolv.conf >> 2010/05/31 17:55:54| logfileOpen: opening log /var/log/squid/access.log >> 2010/05/31 17:55:54| Unlinkd pipe opened on FD 11 >> 2010/05/31 17:55:54| Swap maxSize 102400 + 8192 KB, estimated 8507 >> objects >> 2010/05/31 17:55:54| Target number of buckets: 425 >> 2010/05/31 17:55:54| Using 8192 Store buckets >> 2010/05/31 17:55:54| Max Mem size: 8192 KB >> 2010/05/31 17:55:54| Max Swap size: 102400 KB >> 2010/05/31 17:55:54| logfileOpen: opening log /var/log/squid/store.log >> 2010/05/31 17:55:54| Rebuilding storage in /usr/local/squid/cache (DIRTY) >> 2010/05/31 17:55:54| Using Least Load store dir selection >> 2010/05/31 17:55:54| Set Current Directory to /var/spool/squid >> 2010/05/31 17:55:54| Loaded Icons. >> 2010/05/31 17:55:54| Accepting accelerated HTTP connections at >> 192.168.1.110, port 80, FD 13. >> 2010/05/31 17:55:54| Accepting ICP messages at 0.0.0.0, port 3130, FD 14. >> 2010/05/31 17:55:54| Accepting SNMP messages on port 3401, FD 15. >> 2010/05/31 17:55:54| WCCP Disabled. >> 2010/05/31 17:55:54| Configuring x-ray Parent x-ray/80/0 >> 2010/05/31 17:55:54| Configuring zeta-ray Parent zeta-ray/80/0 >> 2010/05/31 17:55:54| Configuring delta-ray Parent delta-ray/80/0 >> 2010/05/31 17:55:54| Configuring g-stat-1 Parent g-stat-1/80/0 >> 2010/05/31 17:55:54| Ready to serve requests. >> 2010/05/31 17:55:54| Done reading /usr/local/squid/cache swaplog (0 >> entries) >> 2010/05/31 17:55:54| Finished rebuilding storage from disk. >> 2010/05/31 17:55:54| 0 Entries scanned >> 2010/05/31 17:55:54| 0 Invalid entries. >> 2010/05/31 17:55:54| 0 With invalid flags. >> 2010/05/31 17:55:54| 0 Objects loaded. >> 2010/05/31 17:55:54| 0 Objects expired. >> 2010/05/31 17:55:54| 0 Objects cancelled. >> 2010/05/31 17:55:54| 0 Duplicate URLs purged. >> 2010/05/31 17:55:54| 0 Swapfile clashes avoided. >> 2010/05/31 17:55:54| Took 0.4 seconds ( 0.0 objects/sec). >> 2010/05/31 17:55:54| Beginning Validation Procedure >> 2010/05/31 17:55:54| Completed Validation Procedure >> 2010/05/31 17:55:54| Validated 0 Entries >> 2010/05/31 17:55:54| store_swap_size = 0k >> 2010/05/31 17:55:55| storeLateRelease: released 0 objects >> >> >> >> Running uname -a gives me this: >> >> FreeBSD Zeta-Ray.optiplex-networks.com 8.0-RELEASE FreeBSD 8.0-RELEASE >> #0: Sat Nov 21 15:02:08 UTC 2009 >> root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >> >> and also Squid was built from ports too!! >> >> Because I built the system in a Jail I am using this syntax to bind >> the port to the IP address: >> >> http_port 192.168.1.110:80 accel defaultsite=domain.com vhost >> >> When I mean Jail I am talking about FreeBDS Jails and not chroot >> syntax :-) >> >> Can anybody offer me any advice or anywhere else to turn as I really >> don't know what's going on???? >> >> Many thanks! >> >> Kaya > > Just to add that I've tested my config on the default Squid port, 3128 > instead of port 80 using the provided http_port line above which then > starts when used in conjunction with the rc script...... > > I'm using config based around this as a reverse proxy: > > http://wiki.squid-cache.org/ConfigExamples/Reverse/MultipleWebservers > > Since this is a production based system I really need to get the rc > script working but not sure where to begin going about it as I seem to > have one of those very specific or not too much observed problems!! I use Squid in HTTP accelerator mode, mostly to support directing name-vhosts to different backend servers. It must start as root to listen on port 80, but it will drop permissions on demand if requested. Set 'squid_user="root"' in rc.conf, then set 'cache_effective_user proxy' (or whatever your squid username) in squid.conf. It will start as root, bind the ports, open the logfiles, and then fork and drop root to handle actual requests. Also, now that you've run squid as root, you might have to fix the permissions on your cache directories. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://wwww.fur.com/peace/ From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 15:44:10 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B40CC1065676 for ; Tue, 1 Jun 2010 15:44:10 +0000 (UTC) (envelope-from omerfsen@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6ECAC8FC12 for ; Tue, 1 Jun 2010 15:44:10 +0000 (UTC) Received: by gyh20 with SMTP id 20so4702008gyh.13 for ; Tue, 01 Jun 2010 08:44:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=eQZdFUxgNNB08TB9ZtQkX6B5FOburuEZGYoZuwwmVL8=; b=tG02AeeF1CXZqnqUhIqiBXXzp4hMsLgJjivxcocJxNhaxVbtRzEECzybzHldG8yAN2 D61h2j35sTvIN0KfmCsYnQKYV2mS8B5RMH4s/c7vNaTTUJSAoMx1L9XaLzg86h4A7jya owSUoMtGKsrqmindrQUFnDVAM8aI3Lm16w1NY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=PloPaifYzYwi/W6nDVH7NkburBPTy9sA6XAsWz83pNDXUY0KJrjzvxgKEVpjQ0D8Ja IYZgMfW1KVWmCMIQ7H6sJuD+sN2eLwsmF8Ht23+6rBHL3gYr9EMERAM3r9RfgcY1S7VW S7uKtcSAWIqZxx7goIt8yUzggKOChI4jECJNc= MIME-Version: 1.0 Received: by 10.101.129.23 with SMTP id g23mr6916184ann.68.1275407048844; Tue, 01 Jun 2010 08:44:08 -0700 (PDT) Received: by 10.101.67.15 with HTTP; Tue, 1 Jun 2010 08:44:08 -0700 (PDT) In-Reply-To: <201005311645.o4VGjFL9001779@mail.r-bonomi.com> References: <201005311645.o4VGjFL9001779@mail.r-bonomi.com> Date: Tue, 1 Jun 2010 18:44:08 +0300 Message-ID: From: Omer Faruk Sen To: Robert Bonomi Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: tcpdump filter maximum number? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 15:44:10 -0000 Just want to find out the limit of bpf filters that i can write on tcpdump or on my special packet capture program that uses bpf subsystem. Openfile limits is acceptable of course if that is the only limit there is no problem i can raise it On Mon, May 31, 2010 at 7:45 PM, Robert Bonomi w= rote: >> From owner-freebsd-questions@freebsd.org =A0Mon May 31 04:19:25 2010 >> Date: Mon, 31 May 2010 12:17:32 +0300 >> From: Omer Faruk Sen >> To: FreeBSD >> Subject: tcpdump filter maximum number? >> >> Hi, >> >> Is there any limit on writing filters on tcpdump? Or is there any? I >> use FreeBSD as the operating system. Maybe this limit is not on >> tcpdump but on bpf on FreeBSD that is why I have stated FreeBSD > > There are _always_ limits to anything. =A0 > > If nothing else, your filters are going to be limited by the number of > open file descriptors. > > Not terribly helpful, I know, but if you explain more/better what you're > trying to do, something more helpful may emerge. > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" > From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 15:51:49 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99E6A106567B for ; Tue, 1 Jun 2010 15:51:49 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id E40E68FC0C for ; Tue, 1 Jun 2010 15:51:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id o51FpXXg027283; Wed, 2 Jun 2010 01:51:33 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Wed, 2 Jun 2010 01:51:33 +1000 (EST) From: Ian Smith To: David DEMELIER In-Reply-To: <20100601120131.A070C10657ED@hub.freebsd.org> Message-ID: <20100602001405.T27982@sola.nimnet.asn.au> References: <20100601120131.A070C10657ED@hub.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@freebsd.org Subject: Re: Automatic shutdown with devd. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 15:51:49 -0000 In freebsd-questions Digest, Vol 313, Issue 4, Message: 26 On Tue, 1 Jun 2010 10:55:08 +0200 David DEMELIER wrote: > I recently asked to make an automatic shutdown when I excess a > specific percent. I ran devd with -Dd flags to run in background and > when the battery was at a critical state it said : > > Processing event '!system=ACPI subsystem=CMBAT type=\_SB_.BAT0 notify=0x80' > Pushing table > setting system=ACPI > setting subsystem=CMBAT > setting type=\_SB_.BAT0 > setting notify=0x80 You should be aware that notify 0x80 for CMBAT indicates 'BST' or Battery State Change; you'll get these on shifting to any new state. You can check the new state with 'sysctl -n hw.acpi.battery.state'. 'acpiconf -i0' shows a translation between state masks and names. > Then I tried (for testing) something like this in my /etc/devd.conf > > notify 10 { > match "system" "ACPI"; > match "subsystem" "CMBAT"; > match "notify" "0x80"; > action "logger LETGOSHUTDOWN"; > }; > > And then I can see the following output in /var/log/messages : > > Jun 1 10:48:54 Melon power_profile: changed to 'performance' Reflecting your AC line state changing from Battery to AC. devd.conf and /etc/rc.d/power_profile have good clues for handling devd notifies. > Jun 1 10:48:56 Melon root: LETGOSHUTDOWN > Jun 1 10:49:12 Melon root: LETGOSHUTDOWN > Jun 1 10:51:06 Melon last message repeated 2 times > > It works, but the problem is that it makes this even the cable is > plugged ! i.e : the computer was not powered on so with 3% of > remaining time but AC plugged in after booting it (always with the AC > plugged in) these messages appears too. I guess the ACPI/CMBAT do not > care if there is an AC plugged in or not. See /sys/dev/acpica/acpi_cmbat.c for the gory details. Yes, ACAD and CMBAT are independent subsystems, so rather than an inline action like "logger .." here, you might follow the examples to run your own script, passing the notify to that (if you may also want to check for notify 0x81, BIF battery info changes, though these occur rarely) > Is there a way to make this conditional to do only if the laptop is > not charging, AC plugged in ? Your script can check whether the AC power is on with: AC=`sysctl -n hw.acpi.acline` if [ $AC = 1 ]; then exit 0 # or whatever, when on AC power elif [ $AC = 0 ]; then : # do whatever when on battery else : # AC/Battery state unknown .. fi You could try just logging all state changes for a while; from critical charging to charging to high to discharging to critical discharging, I think that's the lot .. you can also check hw.acpi.battery.life etc. However, your system should do an 'emergency suspend' on critical low battery anyway .. usually set at 1% capacity but some BIOS will let you adjust that (see acpiconf -i0). Only if suspend/resume works of course. cheers, Ian From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 15:56:07 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EAB391065678 for ; Tue, 1 Jun 2010 15:56:07 +0000 (UTC) (envelope-from nvidican@m2.vidican.com) Received: from mail-ww0-f54.google.com (mail-ww0-f54.google.com [74.125.82.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8AB2F8FC17 for ; Tue, 1 Jun 2010 15:56:07 +0000 (UTC) Received: by wwb22 with SMTP id 22so1435875wwb.13 for ; Tue, 01 Jun 2010 08:56:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.85.10 with SMTP id t10mr5568492wee.12.1275407303611; Tue, 01 Jun 2010 08:48:23 -0700 (PDT) Sender: nvidican@m2.vidican.com Received: by 10.216.136.9 with HTTP; Tue, 1 Jun 2010 08:48:23 -0700 (PDT) X-Originating-IP: [136.1.1.102] In-Reply-To: <4C0515F3.7060006@identry.com> References: <4C0515F3.7060006@identry.com> Date: Tue, 1 Jun 2010 11:48:23 -0400 X-Google-Sender-Auth: ltazMjtbJ4Ykm-SI6MU_ieOdobQ Message-ID: From: Nathan Vidican To: John Almberg Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Add watermark to PDF X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 15:56:08 -0000 On Tue, Jun 1, 2010 at 10:15 AM, John Almberg wrote: > I've just spent a couple hours googling for an answer to this question > without success... This is probably a bit off topic, but this list seems to > be able to come up with answers to questions that stump other lists, so... > > I would like to add a customized footer (a stamp or watermark) to an > existing PDF, like the guys at Pragmatic Programmers do with their PDFs. > > So basically this script would have to read in the PDF and (ideally) a > plain text file, and output a PDF with the plain text merged into the PDF as > a footer. > > Anyone know of an existing utility that might do something like this? > > Probably not, so anyone know of a PDF library that I could use to roll my > own? I'm competent in Perl, PHP, and Ruby, and at this point, would be > willing to learn Sanskrit if it could solve this problem for me. > Unfortunatley, I've never done any PDF programming, so not quite sure where > to start. > > Any ideas, much appreciated. > > -- John > > _______________________________________________ > 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" > I do something very similar, using PDF file as a template and mysql database as input and filling in form-fields and also adding a JPEG to the bottom of the page as a 'produced by' with some plain text also adding the 'generated on' tag to the bottom. I use a simple wrapper script written in PERL as a cgi script - basically to generate dynamic PDF reports on the fly via webserver. I use PDF::Reuse Perl module to do it, it's well documented/supported and very easy to work with. See: http://search.cpan.org/~larslund/PDF-Reuse-0.35/Reuse.pm for further details. -- Nathan Vidican nathan@vidican.com From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 16:03:30 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE67B1065679 for ; Tue, 1 Jun 2010 16:03:30 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 40A0E8FC1D for ; Tue, 1 Jun 2010 16:03:29 +0000 (UTC) Received: by fxm5 with SMTP id 5so3817009fxm.13 for ; Tue, 01 Jun 2010 09:03:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=HVpuLc78NmBK2JdjJmTZqR0oFu/k0PVgj6oqQ1VQP0M=; b=oZUQ+HJEWEVGdCP6jQLbWR/pkC4YPBryJxEDbKG93c+adzIEAIsrQtSOyCoSCwQ74c Ayjrw+/jCclhonq86f8hWHLvGesjAe6JTGtFV4bNYtsGZhssyw1hs6v4rzKXLky4TuF9 rK7ehYvm0nfiHua+2PfETsTTopxfXqYTBSomA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=fofK5DfseVFZ/EV3lHFolf6nP7m2sb8DImpKvHiEpYaYb7pA5M48JtnKk4mEvovOoT mu4+1aOre8QmWJ44TkB7WzupKf6XEBJEHPaFJKiJGt9U5GJwd/c5O1Ldlb86UQBaNA0q NEJtm0Wm/sCz4lhRM5RC6Vkt6uWoX+rygSrK0= MIME-Version: 1.0 Received: by 10.204.137.216 with SMTP id x24mr812676bkt.168.1275408207954; Tue, 01 Jun 2010 09:03:27 -0700 (PDT) Received: by 10.204.123.202 with HTTP; Tue, 1 Jun 2010 09:03:27 -0700 (PDT) In-Reply-To: <20100602001405.T27982@sola.nimnet.asn.au> References: <20100601120131.A070C10657ED@hub.freebsd.org> <20100602001405.T27982@sola.nimnet.asn.au> Date: Tue, 1 Jun 2010 18:03:27 +0200 Message-ID: From: David DEMELIER To: Ian Smith Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Automatic shutdown with devd. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 16:03:30 -0000 2010/6/1 Ian Smith : > In freebsd-questions Digest, Vol 313, Issue 4, Message: 26 > On Tue, 1 Jun 2010 10:55:08 +0200 David DEMELIER wrote: > > =C2=A0> I recently asked to make an automatic shutdown when I excess a > =C2=A0> specific percent. I ran devd with -Dd flags to run in background = and > =C2=A0> when the battery was at a critical state it said : > =C2=A0> > =C2=A0> Processing event '!system=3DACPI subsystem=3DCMBAT type=3D\_SB_.B= AT0 notify=3D0x80' > =C2=A0> Pushing table > =C2=A0> setting system=3DACPI > =C2=A0> setting subsystem=3DCMBAT > =C2=A0> setting type=3D\_SB_.BAT0 > =C2=A0> setting notify=3D0x80 > > You should be aware that notify 0x80 for CMBAT indicates 'BST' or > Battery State Change; you'll get these on shifting to any new state. > > You can check the new state with 'sysctl -n hw.acpi.battery.state'. > 'acpiconf -i0' shows a translation between state masks and names. > > =C2=A0> Then I tried (for testing) something like this in my /etc/devd.co= nf > =C2=A0> > =C2=A0> notify 10 { > =C2=A0> =C2=A0 =C2=A0 =C2=A0 =C2=A0 match "system" =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0"ACPI"; > =C2=A0> =C2=A0 =C2=A0 =C2=A0 =C2=A0 match "subsystem" =C2=A0 =C2=A0 =C2= =A0 "CMBAT"; > =C2=A0> =C2=A0 =C2=A0 =C2=A0 =C2=A0 match "notify" =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0"0x80"; > =C2=A0> =C2=A0 =C2=A0 =C2=A0 =C2=A0 action "logger LETGOSHUTDOWN"; > =C2=A0> }; > =C2=A0> > =C2=A0> And then I can see the following output in /var/log/messages : > =C2=A0> > =C2=A0> Jun =C2=A01 10:48:54 Melon power_profile: changed to 'performance= ' > > Reflecting your AC line state changing from Battery to AC. =C2=A0devd.con= f > and /etc/rc.d/power_profile have good clues for handling devd notifies. > > =C2=A0> Jun =C2=A01 10:48:56 Melon root: LETGOSHUTDOWN > =C2=A0> Jun =C2=A01 10:49:12 Melon root: LETGOSHUTDOWN > =C2=A0> Jun =C2=A01 10:51:06 Melon last message repeated 2 times > =C2=A0> > =C2=A0> It works, but the problem is that it makes this even the cable is > =C2=A0> plugged ! i.e : the computer was not powered on so with 3% of > =C2=A0> remaining time but AC plugged in after booting it (always with th= e AC > =C2=A0> plugged in) these messages appears too. I guess the ACPI/CMBAT do= not > =C2=A0> care if there is an AC plugged in or not. > > See /sys/dev/acpica/acpi_cmbat.c for the gory details. > > Yes, ACAD and CMBAT are independent subsystems, so rather than an inline > action like "logger .." here, you might follow the examples to run your > own script, passing the notify to that (if you may also want to check > for notify 0x81, BIF battery info changes, though these occur rarely) > So I will check deeper. > =C2=A0> Is there a way to make this conditional to do only if the laptop = is > =C2=A0> not charging, AC plugged in ? > > Your script can check whether the AC power is on with: > > =C2=A0 =C2=A0 =C2=A0 =C2=A0AC=3D`sysctl -n hw.acpi.acline` > =C2=A0 =C2=A0 =C2=A0 =C2=A0if [ $AC =3D 1 ]; then > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0exit 0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0# or whatever, when on AC power > =C2=A0 =C2=A0 =C2=A0 =C2=A0elif [ $AC =3D 0 ]; then > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0: =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 # do whatever when on battery > =C2=A0 =C2=A0 =C2=A0 =C2=A0else > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0: =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 # AC/Battery state unknown .. > =C2=A0 =C2=A0 =C2=A0 =C2=A0fi > > You could try just logging all state changes for a while; from critical > charging to charging to high to discharging to critical discharging, I > think that's the lot .. you can also check hw.acpi.battery.life etc. > Okay I will try a script like this one. > However, your system should do an 'emergency suspend' on critical low > battery anyway .. usually set at 1% capacity but some BIOS will let you > adjust that (see acpiconf -i0). =C2=A0Only if suspend/resume works of cou= rse. > It would be great if suspend/resume would works yes ! For the moment it's not the case : http://www.freebsd.org/cgi/query-pr.cgi?pr=3Di386/146715 Thanks for your answer ;-) --=20 Demelier David From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 16:10:28 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5CE3E10656EA for ; Tue, 1 Jun 2010 16:10:28 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh2.interactivevillages.com (wh2.interactivevillages.com [75.125.250.34]) by mx1.freebsd.org (Postfix) with ESMTP id 351588FC14 for ; Tue, 1 Jun 2010 16:10:27 +0000 (UTC) Received: from 174-21-99-21.tukw.qwest.net ([174.21.99.21] helo=_HOSTNAME_) by wh2.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1OJTwD-0000fQ-SX for freebsd-questions@freebsd.org; Tue, 01 Jun 2010 09:03:35 -0700 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Tue, 01 Jun 2010 09:10:22 -0700 Date: Tue, 1 Jun 2010 09:10:22 -0700 From: Chip Camden To: freebsd-questions@freebsd.org Message-ID: <20100601161022.GB36228@libertas.local.camdensoftware.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <201005311636.o4VGarkt001701@mail.r-bonomi.com> <87zkzgx8rd.fsf@kobe.laptop> <20100531203115.GA2167@guilt.hydra> <4C04AD94.7040706@infracaninophile.co.uk> <20100601130946.GB5717@guilt.hydra> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100601130946.GB5717@guilt.hydra> User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh2.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com Subject: Re: text editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 16:10:28 -0000 I remember writing our own text editor, and it had to fit in 64K. On Jun 01 2010 07:09, Chad Perrin wrote: > On Tue, Jun 01, 2010 at 07:49:56AM +0100, Matthew Seaman wrote: > > > > Young whippersnappers. *Eight* was the good old days, back before the > > web was invented. > > No -- those are the "even better old days". > > -- > Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] -- Sterling (Chip) Camden | camdensoftware.com | chipstips.com | chipsquips.com From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 17:34:43 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 567951065672 for ; Tue, 1 Jun 2010 17:34:43 +0000 (UTC) (envelope-from walt@wump.org) Received: from mta21.charter.net (mta21.charter.net [216.33.127.81]) by mx1.freebsd.org (Postfix) with ESMTP id E622A8FC0A for ; Tue, 1 Jun 2010 17:34:42 +0000 (UTC) Received: from imp10 ([10.20.200.15]) by mta21.charter.net (InterMail vM.7.09.02.04 201-2219-117-106-20090629) with ESMTP id <20100601173441.PQRM75.mta21.charter.net@imp10>; Tue, 1 Jun 2010 13:34:41 -0400 Received: from [10.0.0.10] ([68.116.98.9]) by imp10 with smtp.charter.net id Qhab1e00a0C8vLc05haezt; Tue, 01 Jun 2010 13:34:41 -0400 X-Authority-Analysis: v=1.0 c=1 a=qU5ZuYy1v4MA:10 a=kj9zAlcOel0A:10 a=ebNzH6DdAAAA:8 a=u9AbayMHSlEHQlJzAXMA:9 a=Hc3kxe9lIMtVVoYUf5fJokoWOtEA:4 a=CjuIK1q_8ugA:10 a=Z-IikAJXHoYA:10 a=zbkDLoAsQ4cA:10 Mime-Version: 1.0 Message-Id: In-Reply-To: <4C043D4B.1010203@a1poweruser.com> References: <201005311636.o4VGarkt001701@mail.r-bonomi.com> <87zkzgx8rd.fsf@kobe.laptop><20100531203115.GA2167@guilt.hydra > <4C043D4B.1010203@a1poweruser.com> Date: Tue, 1 Jun 2010 10:34:29 -0700 To: Fbsd1 , freebsd-questions@freebsd.org From: Walt Pawley Content-Type: text/plain; charset="us-ascii" Cc: Subject: Re: text editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 17:34:43 -0000 On Sun, 30 May 2010, Fbsd1 wrote: > Been using ee and been happy. > > Now I have need for an editor with block commands. I'd suggest looking into aee. -- Walter M. Pawley Wump Research & Company 676 River Bend Road, Roseburg, OR 97471 541-672-8975 From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 17:36:05 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B6C01065672 for ; Tue, 1 Jun 2010 17:36:05 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from mail-ew0-f209.google.com (mail-ew0-f209.google.com [209.85.219.209]) by mx1.freebsd.org (Postfix) with ESMTP id E183E8FC17 for ; Tue, 1 Jun 2010 17:36:04 +0000 (UTC) Received: by ewy1 with SMTP id 1so1364702ewy.33 for ; Tue, 01 Jun 2010 10:36:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.213.15.74 with SMTP id j10mr3805215eba.16.1275413763019; Tue, 01 Jun 2010 10:36:03 -0700 (PDT) Received: by 10.213.27.211 with HTTP; Tue, 1 Jun 2010 10:36:02 -0700 (PDT) X-Originating-IP: [93.203.38.28] In-Reply-To: <4C0515F3.7060006@identry.com> References: <4C0515F3.7060006@identry.com> Date: Tue, 1 Jun 2010 19:36:02 +0200 Message-ID: From: "C. P. Ghost" To: John Almberg Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Add watermark to PDF X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 17:36:05 -0000 On Tue, Jun 1, 2010 at 4:15 PM, John Almberg wrote: > So basically this script would have to read in the PDF and (ideally) a plain > text file, and output a PDF with the plain text merged into the PDF as a > footer. Maybe this will help? http://www.reportlab.com/software/opensource/rl-toolkit/ There's even a FreeBSD port for it: print/py-reportlab2 > Any ideas, much appreciated. > > -- John -cpghost. -- Cordula's Web. http://www.cordula.ws/ From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 19:10:03 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 678A01065678 for ; Tue, 1 Jun 2010 19:10:03 +0000 (UTC) (envelope-from cwhiteh@onetel.com) Received: from april.london.02.net (april.london.02.net [87.194.255.143]) by mx1.freebsd.org (Postfix) with ESMTP id 032478FC1F for ; Tue, 1 Jun 2010 19:10:02 +0000 (UTC) Received: from muji2.config (93.97.24.219) by april.london.02.net (8.5.016.1) id 4B79C263025E19C6 for freebsd-questions@freebsd.org; Tue, 1 Jun 2010 20:10:01 +0100 Message-ID: <4C055B0C.3060704@onetel.com> Date: Tue, 01 Jun 2010 20:10:04 +0100 From: Chris Whitehouse User-Agent: Thunderbird 2.0.0.23 (X11/20100317) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <28736514.post@talk.nabble.com> <20100601054216.256514a3@scorpio> In-Reply-To: <20100601054216.256514a3@scorpio> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: What's the difference between portupgrade and portmaster ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 19:10:03 -0000 Jerry wrote: > On Tue, 1 Jun 2010 10:26:18 +0300 > Eitan Adler articulated: > > >> On Tue, Jun 1, 2010 at 3:37 AM, zaxis wrote: >>> Why do we need two tools ? >>> >> Its three. Add portmanager. >> >> The answer is personal choice and we number of bikesheds. >> >> Also portmaster used to not be able to work with packages when >> portupgrade could. > > I use portmanager with the '-p' flag for when I absolutely, positively > have to insure that all dependencies are updated correctly. Neither of > the other two utilities seem to get it correct 100% of the time. Plus, > portmanmager is written in 'C' and IMHO is quicker than the other two. > > Just my 2¢. > +1 for including portmanager in any list of port management tools, just doesn't get 'official' sanction for some reason. Chris From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 19:34:48 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B370D1065675 for ; Tue, 1 Jun 2010 19:34:48 +0000 (UTC) (envelope-from rowlands.mark@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4652F8FC18 for ; Tue, 1 Jun 2010 19:34:47 +0000 (UTC) Received: by wyb36 with SMTP id 36so1538138wyb.13 for ; Tue, 01 Jun 2010 12:34:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=XejH3QlL5tR9FnRmiRT6kySWVORevZfTbgsqqmTZRAs=; b=oGwr2izWYIX5lCWGuDK3iO0tqbFe04G6lbKVfxQIiJtjWGlFU4tnRIUYqYk8auXsEb RqM/DlTMxQrt6iS91/qto6yXGATlHriCAg7ZZO2tIY69eJWlGy7d0a4h8yWOuwaPVMdb 23i6wyq9Bz5Ym5ncY9kMtPrboq1mMfdWXg0QI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=GA220VeyaWVs5gkpM9aabIRZctG+Twa3Lpn8vvRERbuDqsVv6pSlizYqqa6nc5MhDI ZRhY4L9yf7u9A/rxHAqhE/iSzCIbefjRJXoRbj3moCuWBs/TxAP9hGiATlfMnfQpF6Dp necPHtladctBE4cF28G7r7F9KEQKsR1oJbDlU= MIME-Version: 1.0 Received: by 10.227.145.77 with SMTP id c13mr6416063wbv.140.1275420887174; Tue, 01 Jun 2010 12:34:47 -0700 (PDT) Received: by 10.216.7.11 with HTTP; Tue, 1 Jun 2010 12:34:47 -0700 (PDT) In-Reply-To: References: Date: Tue, 1 Jun 2010 21:34:47 +0200 Message-ID: From: mark rowlands To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [#24529544] Re: Network sort of stops working with the em (intel) driver under load. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 19:34:48 -0000 > Ticket subject: Re: Network sort of stops working with the em (intel) dri= ver under =A0load. > Ticket number: 24529544 > Ticket link: https://secure.mpcustomer.com/ticket.php?ticket=3D24529544 > Ticket body: On Mon, May 31, 2010 at 9:30 PM, mark rowlands wrote: >> Newly built and cvsupped system,with GENERIC kernel, =A0when copying >> large amounts of data over a gigabit link via scp =A0the network =A0will >> hang after a couple of gig. =A0I can then no longer login via ssh. If I >> leave it be, after about 12-24 hours I can then login again. (A reboot >> of course fixes the issue immediately...) . > > snip... > > I can now confirm that a similar copy to the vr card does not cause > the same problem... so it would appear > more likely that it might be an em related problem. and after replacing the em0 with a realtek gigabit card, the problem also does not occur. (the vr0 was only 100mb) So it would seem there is something hinky with at least the em (82540) card= . From owner-freebsd-questions@FreeBSD.ORG Wed Jun 2 01:22:55 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 419DF106566C for ; Wed, 2 Jun 2010 01:22:55 +0000 (UTC) (envelope-from carl@chave.us) Received: from mail-yw0-f176.google.com (mail-yw0-f176.google.com [209.85.211.176]) by mx1.freebsd.org (Postfix) with ESMTP id DCA738FC20 for ; Wed, 2 Jun 2010 01:22:54 +0000 (UTC) Received: by ywh6 with SMTP id 6so4515164ywh.16 for ; Tue, 01 Jun 2010 18:22:54 -0700 (PDT) MIME-Version: 1.0 Received: by 10.101.99.5 with SMTP id b5mr7848178anm.257.1275441773846; Tue, 01 Jun 2010 18:22:53 -0700 (PDT) Received: by 10.100.151.16 with HTTP; Tue, 1 Jun 2010 18:22:53 -0700 (PDT) In-Reply-To: References: Date: Tue, 1 Jun 2010 21:22:53 -0400 Message-ID: From: Carl Chave To: mark rowlands Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: [#24529544] Re: Network sort of stops working with the em (intel) driver under load. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2010 01:22:55 -0000 On Tue, Jun 1, 2010 at 3:34 PM, mark rowlands wro= te: >> Ticket subject: Re: Network sort of stops working with the em (intel) dr= iver under =A0load. >> Ticket number: 24529544 >> Ticket link: https://secure.mpcustomer.com/ticket.php?ticket=3D24529544 >> Ticket body: On Mon, May 31, 2010 at 9:30 PM, mark rowlands wrote: >>> Newly built and cvsupped system,with GENERIC kernel, =A0when copying >>> large amounts of data over a gigabit link via scp =A0the network =A0wil= l >>> hang after a couple of gig. =A0I can then no longer login via ssh. If I >>> leave it be, after about 12-24 hours I can then login again. (A reboot >>> of course fixes the issue immediately...) . >> >> snip... >> >> I can now confirm that a similar copy to the vr card does not cause >> the same problem... so it would appear >> more likely that it might be an em related problem. > > and after replacing the em0 with a realtek gigabit card, the problem > also does not occur. (the vr0 was only 100mb) > So it would seem there is something hinky with at least the em (82540) ca= rd . > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" > From owner-freebsd-questions@FreeBSD.ORG Wed Jun 2 01:23:12 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A25DF1065672 for ; Wed, 2 Jun 2010 01:23:12 +0000 (UTC) (envelope-from carl@chave.us) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 562BA8FC16 for ; Wed, 2 Jun 2010 01:23:12 +0000 (UTC) Received: by gwj23 with SMTP id 23so4779983gwj.13 for ; Tue, 01 Jun 2010 18:23:11 -0700 (PDT) MIME-Version: 1.0 Received: by 10.101.180.21 with SMTP id h21mr7977574anp.61.1275441791612; Tue, 01 Jun 2010 18:23:11 -0700 (PDT) Received: by 10.100.151.16 with HTTP; Tue, 1 Jun 2010 18:23:11 -0700 (PDT) In-Reply-To: References: Date: Tue, 1 Jun 2010 21:23:11 -0400 Message-ID: From: Carl Chave To: mark rowlands Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Network sort of stops working with the em (intel) driver under load. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2010 01:23:12 -0000 On Mon, May 31, 2010 at 3:30 PM, mark rowlands wr= ote: > Newly built and cvsupped system,with GENERIC kernel, =A0when copying > large amounts of data over a gigabit link via scp =A0the network =A0will > hang after a couple of gig. =A0I can then no longer login via ssh. If I > leave it be, after about 12-24 hours I can then login again. (A reboot > of course fixes the issue immediately...) . I've had this behavior also with Intel Pro 1000 cards using the em driver. I picked up a lot of 4 of them off ebay and never figured out if it was a driver problem or faulty hardware. I went back to FreeNAS on that same box (7.2-RELEASE-p4) and it seems ok except my Netgear gigabit switch also died so I'm currently plugged into a 100Mbps switch. From owner-freebsd-questions@FreeBSD.ORG Wed Jun 2 01:29:03 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB7241065678 for ; Wed, 2 Jun 2010 01:29:03 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id 5F2D48FC21 for ; Wed, 2 Jun 2010 01:29:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.cs.ait.ac.th (Postfix) with ESMTP id 266963A3912 for ; Wed, 2 Jun 2010 08:29:02 +0700 (ICT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.ait.ac.th; h= references:subject:subject:in-reply-to:from:from:message-id:date :date:received:received:received; s=selector1; t=1275442141; x= 1277256541; bh=ph9oPcmKiRI8cozD6FVK9ulhMEGk305CM0pJG/eW6NY=; b=Y QumZok7PwDtkaDOYBYiqVBfO8lbiCn7kAGdAdnwqzyrfWPyf4nKoPzrscPukceLf BVjEypxpjQwHC3UEgCP+OgtpQcyjmN/smoEf+6MmRiC1ypiPyUymuLmUM5zW1JK+ J97eRsFuO2AiM4jXkhyFKHa8e6Ycew3qtB8f4gSFEU= X-Virus-Scanned: amavisd-new at cs.ait.ac.th Received: from mail.cs.ait.ac.th ([127.0.0.1]) by localhost (mail.cs.ait.ac.th [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 6AGapKwRTYoE for ; Wed, 2 Jun 2010 08:29:01 +0700 (ICT) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cs.ait.ac.th (Postfix) with ESMTPS id BEB7F3A3901 for ; Wed, 2 Jun 2010 08:29:01 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.3/8.14.3/Submit) id o521T1dm035594; Wed, 2 Jun 2010 08:29:01 +0700 (ICT) (envelope-from on) Date: Wed, 2 Jun 2010 08:29:01 +0700 (ICT) Message-Id: <201006020129.o521T1dm035594@banyan.cs.ait.ac.th> From: Olivier Nicole To: freebsd-questions@freebsd.org In-reply-to: <20100601071213.GA2579@current.Sisis.de> (message from Matthias Apitz on Tue, 1 Jun 2010 09:12:13 +0200) References: <201006010425.o514PAN1025009@banyan.cs.ait.ac.th> <4C04ACF2.2090303@infracaninophile.co.uk> <20100601071213.GA2579@current.Sisis.de> Subject: Re: Sending alarms to my mobile phone X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2010 01:29:03 -0000 Thanks Matthias, > Concerning voice messages, in the past (around 1995) I experimented with > 'vgetty' which was fine to build a UNIX based answering machine. Actually vgetty is in FreeBSD ports: it is part of comms/mgetty+sendfax Sounds interesting. Best regards, Olivier From owner-freebsd-questions@FreeBSD.ORG Wed Jun 2 01:32:58 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD3921065677 for ; Wed, 2 Jun 2010 01:32:58 +0000 (UTC) (envelope-from MTaylor@bytecraft.com.au) Received: from bcmelmx.bytecraft.au.com (bcmelmx.bytecraft.au.com [203.39.118.2]) by mx1.freebsd.org (Postfix) with ESMTP id 43BA88FC13 for ; Wed, 2 Jun 2010 01:32:57 +0000 (UTC) Received: from svmailmarshal.bytecraft.internal ([10.48.0.3]) by bcmelmx.bytecraft.au.com (8.13.8/8.12.11) with ESMTP id o521WlUh057604; Wed, 2 Jun 2010 11:32:47 +1000 (EST) (envelope-from MTaylor@bytecraft.com.au) Received: from svmailmel.bytecraft.internal (Not Verified[10.48.0.24]) by svmailmarshal.bytecraft.internal with MailMarshal (v6, 7, 2, 8378) id ; Wed, 02 Jun 2010 11:32:46 +1000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Wed, 2 Jun 2010 11:32:42 +1000 Message-ID: In-Reply-To: <4C04ACF2.2090303@infracaninophile.co.uk> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Sending alarms to my mobile phone Thread-Index: AcsBVl19FmyyDkyKTIKhkveaDtAiXQAnFVDg From: "Murray Taylor" To: "Matthew Seaman" , "Olivier Nicole" Cc: freebsd-questions@freebsd.org Subject: RE: Sending alarms to my mobile phone X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2010 01:32:58 -0000 -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Matthew Seaman Sent: Tuesday, June 01, 2010 4:47 PM To: Olivier Nicole Cc: freebsd-questions@freebsd.org Subject: Re: Sending alarms to my mobile phone -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 01/06/2010 05:25:10, Olivier Nicole wrote: > I would like my FreeBSD server to send alarms to my mobile phone, it > could be voice messages or SMS. >=20 > I think I can hook a voice modem to that machine, but any suggestion > on the software side? Precisely what you need to do depends on who your phone company is. It is frequently done by sending e-mail to an SMS gateway. There are various ports designed to enable scripting of sending SMS-es to particular providers -- see comms/p5-SMS-Send-* If you have a GSM modem or mobile, there are about 4 or 5 ports you could choose from. Just do a 'make search name=3Dsms' in /usr/ports. No idea about leaving a voice message -- doing voice synthesis is pretty well covered, but making a computer dial a phone and speak into it? =09Cheers, =09Matthew - --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard =20 Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW ------------ Hi all, I use gsmsmsd from ports and a wavecom GSM modem on a=20 serial port for my "embedded monitor" systems... It works very well, with a bit of SNMP / .sh / awk scripting. It can also work with a number of mobile phones that have a serial link. Typical send / receive rate is 1 message / 7 seconds due to cell negotiation for each message being sent. Or I go "full power" on main servers and use kannel from ports and a=20 Telco SMPP service. Send / receive rates are 30 messages / second Murray Taylor Bytecraft Systems Special Projects Engineer P: +61 3 8710 0600 D: +61 3 9238 4275 F: +61 3 9238 4140 -- =20|_|0|_| "Absence of evidence =20|_|_|0| is not evidence of absence" =20|0|0|0| Carl Sagan --------------------------------------------------------------- The information transmitted in this e-mail is for the exclusive use of the intended addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material.=20 E-mails may not be secure, may contain computer viruses and may be corrupted in transmission. Please carefully check this e-mail (and any attachment) accordingly. No warranties are given and no liability is accepted for any loss or damage caused by such matters. --------------------------------------------------------------- ### This e-mail message has been scanned for Viruses by Bytecraft ### From owner-freebsd-questions@FreeBSD.ORG Wed Jun 2 02:05:33 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A035A106564A for ; Wed, 2 Jun 2010 02:05:33 +0000 (UTC) (envelope-from rfalang.bob@gmail.com) Received: from mail-bw0-f74.google.com (mail-bw0-f74.google.com [209.85.214.74]) by mx1.freebsd.org (Postfix) with ESMTP id 358538FC17 for ; Wed, 2 Jun 2010 02:05:32 +0000 (UTC) Received: by bwz19 with SMTP id 19so14439bwz.1 for ; Tue, 01 Jun 2010 19:05:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=QVY5MFgGV26LA63F0XEOaXHcnzHj85JmgYHuTKF5kzk=; b=rNU7Hq6QSIhHrDF/TYB7/z5jmsRXZ6fQWN4ev9nu0uKMGHPouXy7Undnk/PelRS241 wwwo7TCJv/2wSpYHtZA6h2mXIl9ksHGO4d7fq+GwX5LWvzdL2hVjth0Y8cT+pzQdaTgQ ap2KsaSv7EjsZhgcMW5d8agTjldsd/uKBD9KE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=MJMd/eDY+FbY1Ct6h0usbO1GfyguLtDNJHDegOg9n7csUM1KCQyJwsfAs//s8fCegd Keg29vKMiBFUazJJpWxiTvwpfVewA/bCgua5xhTPPULGDU6jyH2wtw/2vR/5fEly+ANI cPqGfoTon8WBo1ZnD9R2s28mZgoi1PCRo6DeM= MIME-Version: 1.0 Received: by 10.204.81.77 with SMTP id w13mr1245725bkk.38.1275443017725; Tue, 01 Jun 2010 18:43:37 -0700 (PDT) Date: Tue, 1 Jun 2010 18:43:37 -0700 Message-ID: From: Bob Falanga To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Bob Falanga wants to chat X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2010 02:05:33 -0000 ----------------------------------------------------------------------- Bob Falanga wants to stay in better touch using some of Google's coolest new products. If you already have Gmail or Google Talk, visit: http://mail.google.com/mail/b-57cb37aca1-9b1131bce3-X-GTz_KWexz0X-oykVWNas5Ui74 You'll need to click this link to be able to chat with Bob Falanga. To get Gmail - a free email account from Google with over 2,800 megabytes of storage - and chat with Bob Falanga, visit: http://mail.google.com/mail/a-57cb37aca1-9b1131bce3-X-GTz_KWexz0X-oykVWNas5Ui74 Gmail offers: - Instant messaging right inside Gmail - Powerful spam protection - Built-in search for finding your messages and a helpful way of organizing emails into "conversations" - No pop-up ads or untargeted banners - just text ads and related information that are relevant to the content of your messages All this, and its yours for free. But wait, there's more! By opening a Gmail account, you also get access to Google Talk, Google's instant messaging service: http://www.google.com/talk/ Google Talk offers: - Web-based chat that you can use anywhere, without a download - A contact list that's synchronized with your Gmail account - Free, high quality PC-to-PC voice calls when you download the Google Talk client We're working hard to add new features and make improvements, so we might also ask for your comments and suggestions periodically. We appreciate your help in making our products even better! Thanks, The Google Team To learn more about Gmail and Google Talk, visit: http://mail.google.com/mail/help/about.html http://www.google.com/talk/about.html (If clicking the URLs in this message does not work, copy and paste them into the address bar of your browser). From owner-freebsd-questions@FreeBSD.ORG Wed Jun 2 03:50:52 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F4105106566C for ; Wed, 2 Jun 2010 03:50:51 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id BC62B8FC08 for ; Wed, 2 Jun 2010 03:50:51 +0000 (UTC) Received: by gwj23 with SMTP id 23so4890509gwj.13 for ; Tue, 01 Jun 2010 20:50:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.248.2 with SMTP id me2mr1242947qcb.44.1275450650560; Tue, 01 Jun 2010 20:50:50 -0700 (PDT) Sender: aimass@yabarana.com Received: by 10.229.88.12 with HTTP; Tue, 1 Jun 2010 20:50:50 -0700 (PDT) In-Reply-To: <20100529211104.GA55411@thought.org> References: <20100529211104.GA55411@thought.org> Date: Tue, 1 Jun 2010 23:50:50 -0400 X-Google-Sender-Auth: tmV31OOmhb19cPb71aY7fkeeV-g Message-ID: From: Alejandro Imass To: FreeBSD Mailing List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: fonts qstns. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2010 03:50:52 -0000 On Sat, May 29, 2010 at 5:11 PM, Gary Kline wrote: > guys, > > given the depth and wide scope of knoweldge on this list, i'm > hoping that somebody can clue me in on font stuff... BUT: > the fonts i'm interested in have to work with openoffice. > > first, i'm looking for a font that is apropos for long > manscripts. =A0printed. =A0books rather than newspapers or other > ink+paper material. =A0to me, GEorgia works quite nicely for > my book "JOURNEY." =A0but am wondering if there is such a thing as > a semi-bold =A0[or darker than usual regular] typeface. > Hi, "URW Bookman L" seems to fit that bill, IMHO Best, Alejandro Imass > i hope you're all sitting down now; i'm ready to pay for this > font. =A0--hope nodybody fell over :) > > thanks in advance, > > gary, > =A0 =A0 =A0 =A0who is almost done with his final copyedit. > > > -- > =A0Gary Kline =A0kline@thought.org =A0http://www.thought.org =A0Public Se= rvice Unix > =A0 =A0The 7.83a release of Jottings: http://jottings.thought.org/index.p= hp > =A0 =A0 =A0 =A0 =A0 http://journey.thought.org =A099 97/100% Guaranteed N= ovel > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" > From owner-freebsd-questions@FreeBSD.ORG Wed Jun 2 04:26:57 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B73851065670 for ; Wed, 2 Jun 2010 04:26:57 +0000 (UTC) (envelope-from socialmsg.hrrdoyjumi4wmzbxgmyggzjtg43gmyzrhe4tknztgbrtiytemy4ggljrga7a-freebsd-questions=freebsd.org@returns.bulk.yahoo.com) Received: from n20.bullet.mail.re1.yahoo.com (n20.bullet.mail.re1.yahoo.com [69.147.102.103]) by mx1.freebsd.org (Postfix) with SMTP id 512318FC0A for ; Wed, 2 Jun 2010 04:26:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo-inc.com; s=social; t=1275451986; bh=o8sWmSTsWBJDQJOrN5UmkjG294jluum9nYQejCKvn+U=; h=Received:Received:Received:To:From:Reply-To:Subject:Date:MIME-Version:Content-type:Content-transfer-encoding:X-Yahoo-Newman-Property:X-Yahoo-Newman-Id; b=bqW93wj21HXTZ6SMtOu2IbV4BHg/rFKLBQgvyyPuLav8yOSItZiDMcDi5jqAERxi3tgyJV/LI0J7h14n7r1AyiaL+ESRbF65nK/VXoEsM/IIMQ7/3CrIM+pgor0TH8pqXEewZ+DG9fxJeutKco2NicmmK1Cii/tPds4TW6CLZgM= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=social; d=yahoo-inc.com; b=ePXRrDS7ggYAR60mHu9tEFB4weIkSzMil8lqO/YK31IxlA9enBAHkp1isvAng/TbIesy5E+q5K5ujqngawjPZUzsPXcZzcHsML9W4rUdBAAD7QBmSfgRiV6ahOyt/agZx20YtQRprvowyGap+tovkL2KYXJtcIOOrBlsjB4MJDE=; Received: from [68.142.230.29] by n20.bullet.mail.re1.yahoo.com with NNFMP; 02 Jun 2010 04:13:06 -0000 Received: from [69.147.124.48] by t2.bullet.re2.yahoo.com with NNFMP; 02 Jun 2010 04:13:06 -0000 Received: from [127.0.0.1] by mr1.yosmsg.re1.yahoo.com with NNFMP; 02 Jun 2010 04:13:06 -0000 To: =?utf-8?b?IA==?= From: =?utf-8?b?c2lmZSBzaWZl?= Date: 02 Jun 2010 04:13:06 +0000 Content-transfer-encoding: base64 X-Yahoo-Newman-Property: socialmsg X-Yahoo-Newman-Id: Message-Id: <20100602042657.B73851065670@hub.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: sife sife would like to connect with you on Yahoo! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: do-not-reply@profiles.yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2010 04:26:57 -0000 PGh0bWw+CiAgICA8aGVhZD4KICAgICAgICA8bWV0YSBodHRwLWVxdWl2PSJDb250ZW50LV R5cGUi IGNvbnRlbnQ9InRleHQvaHRtbDsgY2hhcnNldD1VVEYtOCI+CiAgICAgICAgPHRpdGxlPk Nvbm5l Y3Qgd2l0aCBGcmllbmRzIGFuZCBGYW1pbHkgb24gWWFob28hPC90aXRsZT4KICAgIDwvaG VhZD4K ICAgIDxib2R5IGxlZnRtYXJnaW49IjAiIHRvcG1hcmdpbj0iMCIgYmdjb2xvcj0iI2QyZT RmMCIg bWFyZ2luaGVpZ2h0PSIwIiBtYXJnaW53aWR0aD0iMCI+CiAgICAgICAgPHRhYmxlIGJvcm Rlcj0i MCIgY2VsbHBhZGRpbmc9IjAiIGNlbGxzcGFjaW5nPSIwIiB3aWR0aD0iMTAwJSI+CiAgIC AgICAg ICAgIDx0Ym9keT4KICAgICAgICAgICAgICAgIDx0cj4KICAgICAgICAgICAgICAgICAgIC A8dGQg c3R5bGU9InBhZGRpbmc6IDJwdCAwcHQgMHB0IDBwdDsiIGFsaWduPSJjZW50ZXIiPgogIC AgICAg ICAgICAgICAgICAgICAgICA8dGFibGUgYm9yZGVyPSIwIiBjZWxscGFkZGluZz0iMCIgY2 VsbHNw YWNpbmc9IjAiIHdpZHRoPSI1NzAiPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgPH Rib2R5 PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDx0cj4KICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgPHRkIGFsaWduPSJsZWZ0Ij48aW1nIHdpZHRoPSIxNDIiIG hlaWdo dD0iMzgiIHNyYz0iaHR0cDovL2wueWltZy5jb20vYS9pL2JyYW5kL3B1cnBsZWxvZ28vYm FzZS91 cy5naWYiIGFsdD0iWWFob28hIj48L3RkPgogICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg IDwvdHI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3Rib2R5PgogICAgICAgIC AgICAg ICAgICAgICAgICA8L3RhYmxlPgogICAgICAgICAgICAgICAgICAgIDwvdGQ+CiAgICAgIC AgICAg ICAgICA8L3RyPgogICAgICAgICAgICAgICAgPHRyPgogICAgICAgICAgICAgICAgICAgID x0ZCBz dHlsZT0icGFkZGluZzogMTBweCAwcHQgMzBweDsiIGFsaWduPSJjZW50ZXIiIHZhbGlnbj 0idG9w Ij4KICAgICAgICAgICAgICAgICAgICAgICAgPHRhYmxlIGJvcmRlcj0iMCIgY2VsbHBhZG Rpbmc9 IjAiIGNlbGxzcGFjaW5nPSIwIiB3aWR0aD0iNTcwIj4KICAgICAgICAgICAgICAgICAgIC AgICAg PHRib2R5PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgPHRyPgogICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgIDx0ZCBoZWlnaHQ9IjEyIiB3aWR0aD0iNTcwIj48aW1nIHNyYz 0iaHR0 cDovL2wueWltZy5jb20vYS9pL3VzL2Njcy9jY3MvNzkyOC9ib3hfdG9wLmdpZiIgaGVpZ2 h0PSIx MiIgd2lkdGg9IjU3MCI+PC90ZD4KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvdH I+CiAg ICAgICAgICAgICAgICAgICAgICAgICAgICA8dHI+CiAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgPHRkIGFsaWduPSJjZW50ZXIiIGJhY2tncm91bmQ9Imh0dHA6Ly9sLnlpbWcuY2 9tL2Ev aS91cy9jY3MvY2NzLzc5MjgvYm94X2JrZy5naWYiIHZhbGlnbj0idG9wIj4KICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgPHRhYmxlIGJvcmRlcj0iMCIgY2VsbHBhZGRpbm c9IjAi IGNlbGxzcGFjaW5nPSIwIiB3aWR0aD0iNTUyIj4KICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgIDx0Ym9keT4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICA8dHI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgIDx0ZCBjb2xzcGFuPSI0Ij48aW1nIHNyYz0iaHR0cDovL2wueWltZy5jb20vYS9pL3 VzL2Nj cy9jY3MvNzkyOC9mcmllbmRfdG9wLmdpZiIgaGVpZ2h0PSIxNyIgd2lkdGg9IjU1MiI+PC 90ZD4K ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3RyPgogIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDx0cj4KICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHRkIGJhY2tncm91bmQ9Imh0dH A6Ly9s LnlpbWcuY29tL2EvaS91cy9jY3MvY2NzLzc5MjgvZnJpZW5kX2xlZnQuZ2lmIiB2YWxpZ2 49InRv cCIgd2lkdGg9IjYiPjxpbWcgc3JjPSJodHRwOi8vbC55aW1nLmNvbS9hL2kvdXMvY2NzL2 Njcy83 OTI4L2ZyaWVuZF9sZWZ0LmdpZiIgaGVpZ2h0PSIxNTkiIHdpZHRoPSI2Ij48L3RkPgogIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dGQgc3R5bGU9In BhZGRp bmc6NXB0IDBwdCAwcHQgMTJwdDsiIGFsaWduPSJjZW50ZXIiIGJhY2tncm91bmQ9Imh0dH A6Ly9s LnlpbWcuY29tL2EvaS91cy9jY3MvY2NzLzc5MjgvZnJpZW5kX2JrZy5naWYiIHZhbGlnbj 0idG9w IiB3aWR0aD0iMTI1Ij4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICA8YSBocmVmPSJodHRwOi8vcHJvZmlsZXMueWFob28uY29tL3UvUE 5SSUFJ U1FJSVVXTUlBUUxIQU5ST0hXN1E/LmdwPXFvcUYxUTJZTGN4amg2Z1ZuUVZkemVFTFRxQV VjekU0 enJYSktrSk5IN01NcW4wS2l0bmZraUhpN0pNViZxPTAiPgogICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8aW1nIGJvcmRlcj0iMC Igc3Jj PSJodHRwOi8vbC55aW1nLmNvbS91cy55aW1nLmNvbS9pL2lkZW50aXR5L25vcGljXzE5Mi 5naWYi IHdpZHRoPSIxMTAiIGhlaWdodD0iMTEwIj4KICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICA8L2E+CiAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGRpdiBzdHlsZT0ibWFyZ2luOjhweC AwcHgg MThweCAwcHg7Zm9udC1mYW1pbHk6YXJpYWwsdmVyZGFuYSxoZWx2ZXRpY2E7Zm9udC1zaX plOjE1 cHg7Ij48YSBocmVmPSJodHRwOi8vcHJvZmlsZXMueWFob28uY29tL3UvUE5SSUFJU1FJSV VXTUlB UUxIQU5ST0hXN1E/LmdwPXFvcUYxUTJZTGN4amg2Z1ZuUVZkemVFTFRxQVVjekU0enJYSk trSk5I N01NcW4wS2l0bmZraUhpN0pNViZxPTAiIHN0eWxlPSJjb2xvcjojMDAwMDAwO3RleHQtZG Vjb3Jh dGlvbjpub25lOyI+c2lmZSBzaWZlIChzaWZlKTwvYT48L2Rpdj4KICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC90ZD4KICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgPHRkIHN0eWxlPSJwYWRkaW5nOiA1cHQgMT VweCAx NXB4IDE1cHQ7IGZvbnQtZmFtaWx5OiBBcmlhbCxIZWx2ZXRpY2Esc2Fucy1zZXJpZjsgZm 9udC1z aXplOiAxNXB4OyBjb2xvcjogcmdiKDUxLCA1MSwgNTEpOyIgYWxpZ249ImxlZnQiIGJhY2 tncm91 bmQ9Imh0dHA6Ly9sLnlpbWcuY29tL2EvaS91cy9jY3MvY2NzLzc5MjgvZnJpZW5kX2JrZy 5naWYi IHZhbGlnbj0idG9wIiB3aWR0aD0iNDE1Ij4KICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgIDxzdHJvbmc+PGEgaHJlZj0iaHR0cDovL3Byb2ZpbG VzLnlh aG9vLmNvbS91L1BOUklBSVNRSUlVV01JQVFMSEFOUk9IVzdRPy5ncD1xb3FGMVEyWUxjeG poNmdW blFWZHplRUxUcUFVY3pFNHpyWEpLa0pOSDdNTXFuMEtpdG5ma2lIaTdKTVYmcT0wIiBzdH lsZT0i Zm9udC1zaXplOiAxN3B4O2NvbG9yOiByZ2IoNTEsIDEwMiwgMjA0KTsiPnNpZmUgc2lmZS Aoc2lm ZSk8L2E+PC9zdHJvbmc+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICA8YnI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICA8c3BhbiBzdHlsZT0iZm9udC1zaXplOiAxM3B4OyI+CiAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBoYXMgaW52aXRlZCB5b3 UgdG8g c2hhcmUgdXBkYXRlcyBsaWtlIHN0YXR1cyBtZXNzYWdlcywgcGhvdG9zLCByZXZpZXdzIG FuZCBt b3JlIHdpdGggZWFjaCBvdGhlci4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgIDwvc3Bhbj4KICAgICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgPC90ZD4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgPHRkIGJhY2tncm91bmQ9Imh0dHA6Ly9sLnlpbWcuY29tL2EvaS91cy 9jY3Mv Y2NzLzc5MjgvZnJpZW5kX3JpZ2h0LmdpZiIgdmFsaWduPSJ0b3AiIHdpZHRoPSI2Ij48aW 1nIHNy Yz0iaHR0cDovL2wueWltZy5jb20vYS9pL3VzL2Njcy9jY3MvNzkyOC9mcmllbmRfcmlnaH QuZ2lm IiBoZWlnaHQ9IjE1OSIgd2lkdGg9IjYiPjwvdGQ+CiAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgPC90cj4KICAgICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICA8dHI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgIDx0ZCBjb2xzcGFuPSI0Ij48aW1nIHNyYz0iaHR0cDovL2wueWltZy5jb20vYS 9pL3Vz L2Njcy9jY3MvNzkyOC9mcmllbmRfYm90LmdpZiIgaGVpZ2h0PSIxMCIgd2lkdGg9IjU1Mi I+PC90 ZD4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3RyPg ogICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC90Ym9keT4KICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgPC90YWJsZT4KICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICA8L3RkPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgPC90cj4KICAgIC AgICAg ICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgPHRyPg ogICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgIDx0ZCBzdHlsZT0icGFkZGluZzogMjBweC AzMHB4 OyIgYWxpZ249ImxlZnQiIGJhY2tncm91bmQ9Imh0dHA6Ly9sLnlpbWcuY29tL2EvaS91cy 9jY3Mv Y2NzLzc5MjgvYm94X2JrZy5naWYiIHZhbGlnbj0idG9wIj4KICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgPGltZyBzcmM9Imh0dHA6Ly9sLnlpbWcuY29tL2EvaS91cy9jY3 MvY2Nz Lzc5MjgvaG9yel9kaXYuZ2lmIiBoZWlnaHQ9IjEiIHdpZHRoPSI1MTAiPgogICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgIDwvdGQ+CiAgICAgICAgICAgICAgICAgICAgICAgICAgIC A8L3Ry PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgPHRyPgogICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgIDx0ZCBzdHlsZT0icGFkZGluZzogMHB0IDMwcHggMjBweDsgZm9udC1mYW 1pbHk6 IEFyaWFsLEhlbHZldGljYSxzYW5zLXNlcmlmOyBmb250LXNpemU6IDEzcHg7IGNvbG9yOi ByZ2Io NTEsIDUxLCA1MSk7IiBhbGlnbj0ibGVmdCIgYmFja2dyb3VuZD0iaHR0cDovL2wueWltZy 5jb20v YS9pL3VzL2Njcy9jY3MvNzkyOC9ib3hfYmtnLmdpZiIgdmFsaWduPSJ0b3AiPgogICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICA8dGFibGUgYm9yZGVyPSIwIiBjZWxscGFkZG luZz0i MCIgY2VsbHNwYWNpbmc9IjAiIHdpZHRoPSI1MTAiPgogICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgPHRib2R5PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgIDx0cj4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgPHRkIGNvbHNwYW49IjIiIGFsaWduPSJsZWZ0IiBoZWlnaHQ9IjI1IiB2YWxpZ2 49InRv cCIgc3R5bGU9ImZvbnQtZmFtaWx5OiBBcmlhbCxIZWx2ZXRpY2Esc2Fucy1zZXJpZjsgZm 9udC1z aXplOiAxM3B4OyBjb2xvcjogcmdiKDUxLCA1MSwgNTEpOyI+CiAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8c3Ryb25nPjxzcGFuIHN0eWxlPS Jmb250 LXNpemU6IDE1cHg7Ij4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgT25jZSB5b3UgYWNjZXB0IHRoaXMgaW52aXRhdGlvbiwgeW91IHdpbGwgYmUgYW JsZSB0 byBzaGFyZSB1cGRhdGVzIG9uIFkhLCBpbmNsdWRpbmc6CiAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgIDwvc3Bhbj48L3N0cm9uZz4KICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC90ZD4KICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICA8L3RyPgogICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgIDx0cj4KICAgICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgPHRkIGFsaWduPSJsZWZ0IiB2YWxpZ249InRvcCIgd2lkdGg9Ij giPiZi dWxsOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC A8L3Rk PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dG QgYWxp Z249ImxlZnQiIGhlaWdodD0iMTciIHZhbGlnbj0idG9wIiB3aWR0aD0iNTAyIiBzdHlsZT 0iZm9u dC1mYW1pbHk6IEFyaWFsLEhlbHZldGljYSxzYW5zLXNlcmlmOyBmb250LXNpemU6IDEzcH g7IGNv bG9yOiByZ2IoNTEsIDUxLCA1MSk7Ij4KICAgICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgIFN0YXR1cyBtZXNzYWdlcywgcGhvdG9zLCByZXZpZXdzIGFuZCBtb3JlCiAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3RkPgogICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgIDwvdHI+CiAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgPHRyPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICA8dGQgYWxpZ249ImxlZnQiIHZhbGlnbj0idG9wIiB3aWR0aD0iOC I+JmJ1 bGw7PC90ZD4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg PHRkIGFsaWduPSJsZWZ0IiBoZWlnaHQ9IjE3IiB2YWxpZ249InRvcCIgd2lkdGg9IjUwMi Igc3R5 bGU9ImZvbnQtZmFtaWx5OiBBcmlhbCxIZWx2ZXRpY2Esc2Fucy1zZXJpZjsgZm9udC1zaX plOiAx M3B4OyBjb2xvcjogcmdiKDUxLCA1MSwgNTEpOyI+CiAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICBBdXRvbWF0aWMgYmlydGhkYXkgcmVtaW5kZXJzCi AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvdGQ+CiAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC90cj4KICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dHI+CiAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgIDx0ZCBhbGlnbj0ibGVmdCIgdmFsaWduPSJ0b3 AiIHdp ZHRoPSI4Ij4mYnVsbDs8L3RkPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICA8dGQgYWxpZ249ImxlZnQiIHdpZHRoPSI1MDIiIHN0eWxlPSJmb250LW ZhbWls eTogQXJpYWwsSGVsdmV0aWNhLHNhbnMtc2VyaWY7IGZvbnQtc2l6ZTogMTNweDsgY29sb3 I6IHJn Yig1MSwgNTEsIDUxKTsiPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICBDb250YWN0IGluZm9ybWF0aW9uIGNoYW5nZXMKICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgPC90ZD4KICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICA8L3RyPgogICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgPC90Ym9keT4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC AgPC90 YWJsZT4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGJyPgogICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICA8YSBocmVmPSJodHRwOi8vcHJvZmlsZXMueW Fob28u Y29tL2FjY2VwdC9xb3FGMVEyWUxjeGpoNmdWblFWZHplRUxUcUFVY3pFNHpyWEpLa0pOSD dNTXFu MEtpdG5ma2lIaTdKTVY/cT0wIj48aW1nIHNyYz0iaHR0cDovL2wueWltZy5jb20vYS9pL3 VzL2Nt dHkvY3RhX3ZpZXcuZ2lmIiBhbHQ9IkFjY2VwdCBpbnZpdGF0aW9uIiBib3JkZXI9IjAiPj wvYT4K ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGJyPjxicj4KICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgVG8gQmxvY2sgdGhpcyB1c2VyIGZyb20gc2VlaW 5nIHlv dXIgdXBkYXRlcywgY2xpY2sgPGEgaHJlZj0iaHR0cDovL3Byb2ZpbGVzLnlhaG9vLmNvbS 91L1BO UklBSVNRSUlVV01JQVFMSEFOUk9IVzdRIj5oZXJlPC9hPi4KICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgPGJyPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgID wvdGQ+ CiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3RyPgogICAgICAgICAgICAgICAgIC AgICAg ICAgICAgPHRyPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDx0ZCBoZWlnaH Q9IjEy IiB3aWR0aD0iNTcwIj48aW1nIHNyYz0iaHR0cDovL2wueWltZy5jb20vYS9pL3VzL2Njcy 9jY3Mv NzkyOC9ib3hfYm90LmdpZiIgaGVpZ2h0PSIxMiIgd2lkdGg9IjU3MCI+PC90ZD4KICAgIC AgICAg ICAgICAgICAgICAgICAgICAgIDwvdHI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgIC A8dHI+ CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHRkIHN0eWxlPSJwYWRkaW5nOi AxM3B4 IDMwcHggMHB0OyBmb250LWZhbWlseTogQXJpYWwsSGVsdmV0aWNhLHNhbnMtc2VyaWY7IG ZvbnQt c2l6ZTogMTFweDsgY29sb3I6IHJnYig1MSwgNTEsIDUxKTsiIGFsaWduPSJsZWZ0IiBoZW lnaHQ9 IjEyIiB2YWxpZ249InRvcCI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC AgIFdo YXQgYXJlIDxhIGhyZWY9Imh0dHA6Ly9oZWxwLnlhaG9vLmNvbS9sL3VzL3lhaG9vL3Byb2 ZpbGVz L3VwZGF0ZXMvIj51cGRhdGVzIG9uIFlhaG9vITwvYT4/CiAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgIDxicj4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC AgVGhp cyBpbnZpdGF0aW9uIHdpbGwgZXhwaXJlIGFmdGVyIDE4MCBkYXlzLgogICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICA8YnI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgIFdhbnQgdG8gY29udHJvbCB3aGljaCBlbWFpbHMgeW91IHJlY2VpdmUgYWJvdXQgeW 91ciBj b25uZWN0aW9ucyBhbmQgeW91ciBwcm9maWxlIG9uIFlhaG9vIT88YnI+CiAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgIEdvIHRvOiA8YSBocmVmPSJodHRwOi8vcHJvZmlsZX MueWFo b28uY29tL3NldHRpbmdzL25vdGlmaWNhdGlvbnMiIHN0eWxlPSJjb2xvcjogcmdiKDUxLC AxMDIs IDIwNCk7IHRleHQtZGVjb3JhdGlvbjogbm9uZTsiPmh0dHA6Ly9wcm9maWxlcy55YWhvby 5jb20v c2V0dGluZ3Mvbm90aWZpY2F0aW9uczwvYT4KICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICA8L3RkPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgPC90cj4KICAgICAgICAgIC AgICAg ICAgICAgICAgPC90Ym9keT4KICAgICAgICAgICAgICAgICAgICAgICAgPC90YWJsZT4KIC AgICAg ICAgICAgICAgICAgICA8L3RkPgogICAgICAgICAgICAgICAgPC90cj4KICAgICAgICAgIC AgPC90 Ym9keT4KICAgICAgICA8L3RhYmxlPgogICAgPC9ib2R5Pgo8L2h0bWw+Cgo= From owner-freebsd-questions@FreeBSD.ORG Wed Jun 2 04:53:26 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0FFB11065670 for ; Wed, 2 Jun 2010 04:53:26 +0000 (UTC) (envelope-from kline@thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id C18F28FC13 for ; Wed, 2 Jun 2010 04:53:25 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by ethic.thought.org (8.14.3/8.14.3) with ESMTP id o524rEkg012394; Tue, 1 Jun 2010 21:53:14 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Tue, 1 Jun 2010 21:53:13 -0700 (PDT) Date: Tue, 1 Jun 2010 21:53:13 -0700 From: Gary Kline To: Bernt Hansson Message-ID: <20100602045312.GA20938@thought.org> References: <20100529211104.GA55411@thought.org> <4C020BDA.9070508@infracaninophile.co.uk> <20100530075135.GA9594@thought.org> <4C05CE51.3090406@bah.homeip.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C05CE51.3090406@bah.homeip.net> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-0.2 required=3.6 tests=ALL_TRUSTED,BAYES_00, GUARANTEED_100_PERCENT,T_RP_MATCHES_RCVD autolearn=no version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on ethic.thought.org Cc: FreeBSD Mailing List Subject: Re: fonts qstns. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2010 04:53:26 -0000 On Wed, Jun 02, 2010 at 05:21:53AM +0200, Bernt Hansson wrote: > 2010-05-30 09:51, Gary Kline skrev: > > > > according to one fellow, the top display shows only 72dpi; > > that is why sans serif [like arial] render better than, say, > > times. does this still hold? > > No it does not. My display has 96 DPI and it is 12-15 years old and > 35 Kg. thabks! it may be that this guy is too used to the DOG/Lose program-loader. he did show me my www.thought.org page on an LCD display, and my time or time-roman fonts did not render very well using XP. or whatever. -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org 99 44/100% Guaranteed Novel From owner-freebsd-questions@FreeBSD.ORG Wed Jun 2 06:03:00 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35A601065674 for ; Wed, 2 Jun 2010 06:03:00 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-01.bluehost.com (cpoproxy1-pub.bluehost.com [69.89.21.11]) by mx1.freebsd.org (Postfix) with SMTP id F3D128FC08 for ; Wed, 2 Jun 2010 06:02:58 +0000 (UTC) Received: (qmail 24312 invoked by uid 0); 2 Jun 2010 06:02:57 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by cpoproxy1.bluehost.com with SMTP; 2 Jun 2010 06:02:57 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=IXxbXAxa+9oSmDvGrNwlXjBTiMmgXYnw0JBLINSNqv25BBmLI6Stn7g/JUHjJm6DUQnScmddI+XaNC2QTjsjfkQoEVa3XLOQgtN/itwR6zQ5/+y9mWa+Bz6inG1tu7nI; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kukaburra.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1OJh2W-0005Me-0I for freebsd-questions@freebsd.org; Wed, 02 Jun 2010 00:02:57 -0600 Received: by kukaburra.hydra (sSMTP sendmail emulation); Wed, 02 Jun 2010 00:02:44 -0600 Date: Wed, 2 Jun 2010 00:02:44 -0600 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20100602060244.GA7993@guilt.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <201005311636.o4VGarkt001701@mail.r-bonomi.com> <20100531203204.GB2167@guilt.hydra> <87476863@bb.ipt.ru> <20100601130842.GA5717@guilt.hydra> <98188708@bb.ipt.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qDbXVdCdHGoSgWSk" Content-Disposition: inline In-Reply-To: <98188708@bb.ipt.ru> User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Subject: Re: text editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2010 06:03:00 -0000 --qDbXVdCdHGoSgWSk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 01, 2010 at 05:23:55PM +0400, Boris Samorodov wrote: > On Tue, 1 Jun 2010 07:08:42 -0600 Chad Perrin wrote: > > On Tue, Jun 01, 2010 at 12:21:20PM +0400, Boris Samorodov wrote: > > > On Mon, 31 May 2010 14:32:04 -0600 Chad Perrin wrote: > > >=20 > > > > Unfortunately, the "killer feature" that keeps me with Vim instead = of nvi > > > > is its support for multiple levels of undo. > > >=20 > > > Have you ever tried "u" (undo command) followed by "." (repeat > > > last command)? ;-) >=20 > > . . . but how do you redo what you've undone? >=20 > If I understand the question correctly then: it's just one more "u" > (undo command) followed by "." (repeat last command)... That's rather odd. Okay, thanks. That works beautifully. I *really* wish the help stuff for nvi was more helpful so I wouldn't have to learn this stuff on the mailing list. All this time, I thought all I could do with u is one level each of undo and redo. I suspect I've been mistrained by Vim's subtle incompatibilities with traditional vi. Thanks for setting me straight. I'll give nvi a try as my primary editor for a while, and see if I run into any other show-stopping problems. --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --qDbXVdCdHGoSgWSk Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwF9AQACgkQ9mn/Pj01uKWq5gCgktBZft0qDfDK1uvSwvrOLRJ+ Ls4AoKrECgjy8XgEIhFyXiJJlKxHS93R =39eJ -----END PGP SIGNATURE----- --qDbXVdCdHGoSgWSk-- From owner-freebsd-questions@FreeBSD.ORG Wed Jun 2 06:10:13 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D15E61065674 for ; Wed, 2 Jun 2010 06:10:13 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-158.bluehost.com (cpoproxy2-pub.bluehost.com [67.222.39.38]) by mx1.freebsd.org (Postfix) with SMTP id 9B24B8FC13 for ; Wed, 2 Jun 2010 06:10:13 +0000 (UTC) Received: (qmail 12028 invoked by uid 0); 2 Jun 2010 06:10:13 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by cpoproxy2.bluehost.com with SMTP; 2 Jun 2010 06:10:13 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=lpnygXi3waVzOrZ0YSONjiQNIVh0UvKKUXXYO0gFZgfarDuqNgtxbb3Hp3PVhi51/3SHg0kXjlvZtGjyjFtgeXwikT0aTu86VHKpGCNx4eE3Bku2/RBPaVW5WPgYLWGV; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kukaburra.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1OJh9X-0006iq-PI for freebsd-questions@freebsd.org; Wed, 02 Jun 2010 00:10:12 -0600 Received: by kukaburra.hydra (sSMTP sendmail emulation); Wed, 02 Jun 2010 00:10:02 -0600 Date: Wed, 2 Jun 2010 00:10:01 -0600 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20100602061001.GB7993@guilt.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <201005311636.o4VGarkt001701@mail.r-bonomi.com> <87zkzgx8rd.fsf@kobe.laptop> <20100531203115.GA2167@guilt.hydra> <4C04AD94.7040706@infracaninophile.co.uk> <20100601130946.GB5717@guilt.hydra> <20100601161022.GB36228@libertas.local.camdensoftware.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gj572EiMnwbLXET9" Content-Disposition: inline In-Reply-To: <20100601161022.GB36228@libertas.local.camdensoftware.com> User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Subject: Re: text editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2010 06:10:13 -0000 --gj572EiMnwbLXET9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 01, 2010 at 09:10:22AM -0700, Chip Camden wrote: > I remember writing our own text editor, and it had to fit in 64K. I remember when . . . I got nuthin'. I think my first text editor was edlin, and it *sucked*. =2E . . not counting this nifty editor I called "pencil". --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --gj572EiMnwbLXET9 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwF9bkACgkQ9mn/Pj01uKXPFgCfVWqnabEaAo7aRp0OCdTCeHcV kvMAoIv4XZnpA8XGERRdnB8ttyd9+XrW =QdF0 -----END PGP SIGNATURE----- --gj572EiMnwbLXET9-- From owner-freebsd-questions@FreeBSD.ORG Wed Jun 2 06:16:36 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24E721065749 for ; Wed, 2 Jun 2010 06:16:36 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 8C4F78FC17 for ; Wed, 2 Jun 2010 06:16:35 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o526GK0P039369 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Wed, 2 Jun 2010 07:16:27 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4C05F734.1060404@infracaninophile.co.uk> Date: Wed, 02 Jun 2010 07:16:20 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: Bernt Hansson References: <20100529211104.GA55411@thought.org> <4C020BDA.9070508@infracaninophile.co.uk> <20100530075135.GA9594@thought.org> <4C05CE51.3090406@bah.homeip.net> In-Reply-To: <4C05CE51.3090406@bah.homeip.net> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.96.1 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=2.0 required=5.0 tests=DKIM_ADSP_ALL,SPF_FAIL autolearn=no version=3.3.1 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Cc: Gary Kline , FreeBSD Mailing List Subject: Re: fonts qstns. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2010 06:16:36 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 02/06/2010 04:21:53, Bernt Hansson wrote: > 2010-05-30 09:51, Gary Kline skrev: >> >> according to one fellow, the top display shows only 72dpi; >> that is why sans serif [like arial] render better than, say, >> times. does this still hold? > > No it does not. My display has 96 DPI and it is 12-15 years old and > 35 Kg. Even that is pretty coarse nowadays. This Mac does 1920x1200 on a display approximately 370x230mm. Which is 132dpi. Even so, you still need special fonts to display clearly on screen: unless the hinting is done very carefully, letter spacing will appear to vary arbitrarily on anything below about 200dpi. Sans-serif similarly works well when there are fewer pixels per glyph. However, once you start printing, it's a different story. Even a really cheap laser printer will do 600dpi nowadays, and most are better than that. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwF9zQACgkQ8Mjk52CukIy/3ACfSgRkJ5VfABKE3EIZ/AUO4Cvk ZeAAnRIvywcMuLmWpirGSmpaLi0Q8Eh/ =ue8E -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Wed Jun 2 06:20:10 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7274710656C2 for ; Wed, 2 Jun 2010 06:20:10 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id C45E78FC17 for ; Wed, 2 Jun 2010 06:20:09 +0000 (UTC) Received: by vws10 with SMTP id 10so4561625vws.13 for ; Tue, 01 Jun 2010 23:20:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=F217IzLpoc9gQfsouJjuijWvY1tdNQEgRm+RtzIjTrg=; b=kS+nafGqREVXtR5cmJgBzRXrMzkYzq9RZHm9e6HTPAuWQj3Sm5OxbZjoZwvsAFhnnb oOqLQVwFn1TwT/FjgjqWapxBcd2pBmbSpWt0E1iLkvCc74sWKvliFD5hwKTJGth53Yeh d1lpQe6V70U4N6VB14wlL+AnljLIjA7iics3o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=qoILy4QHlxXmlIzuKQkppR+H+oici4j1QfPC5zrtwC7kSOxYR9CaMzVSeJQ3sAAId2 amYVtXdpU7kEk9qT7mPtnsFqv8/WBPCK+ole47/9hWG19GVB1IG+2ReVOkXme4MGhsp/ OjKhaeHZ8KYfgy5j4EACbWFPEyk7/xWisjGck= MIME-Version: 1.0 Received: by 10.224.105.80 with SMTP id s16mr3061473qao.337.1275459607938; Tue, 01 Jun 2010 23:20:07 -0700 (PDT) Received: by 10.229.99.67 with HTTP; Tue, 1 Jun 2010 23:20:07 -0700 (PDT) In-Reply-To: <20100602061001.GB7993@guilt.hydra> References: <201005311636.o4VGarkt001701@mail.r-bonomi.com> <87zkzgx8rd.fsf@kobe.laptop> <20100531203115.GA2167@guilt.hydra> <4C04AD94.7040706@infracaninophile.co.uk> <20100601130946.GB5717@guilt.hydra> <20100601161022.GB36228@libertas.local.camdensoftware.com> <20100602061001.GB7993@guilt.hydra> Date: Wed, 2 Jun 2010 01:20:07 -0500 Message-ID: From: Adam Vande More To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: text editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2010 06:20:10 -0000 On Wed, Jun 2, 2010 at 1:10 AM, Chad Perrin wrote: > On Tue, Jun 01, 2010 at 09:10:22AM -0700, Chip Camden wrote: > > I remember writing our own text editor, and it had to fit in 64K. > > I remember when . . . > > I got nuthin'. I think my first text editor was edlin, and it *sucked*. > > . . . not counting this nifty editor I called "pencil". > > The phrase "son of an edlin" has happily been retired in my vocabulary for some time. If you're not aware of it, ed(1) is as capable or more of causing pain as edlin was and it's still in the FreeBSD base. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Wed Jun 2 06:44:09 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A57561065672 for ; Wed, 2 Jun 2010 06:44:09 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 62B338FC18 for ; Wed, 2 Jun 2010 06:44:09 +0000 (UTC) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1OJhgN-000AwS-Vo; Wed, 02 Jun 2010 10:44:08 +0400 From: Boris Samorodov To: Olivier Nicole References: <201006010425.o514PAN1025009@banyan.cs.ait.ac.th> Date: Wed, 02 Jun 2010 10:44:07 +0400 In-Reply-To: <201006010425.o514PAN1025009@banyan.cs.ait.ac.th> (Olivier Nicole's message of "Tue, 1 Jun 2010 11:25:10 +0700 (ICT)") Message-ID: <50028792@bb.ipt.ru> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Sending alarms to my mobile phone X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2010 06:44:09 -0000 On Tue, 1 Jun 2010 11:25:10 +0700 (ICT) Olivier Nicole wrote: > I would like my FreeBSD server to send alarms to my mobile phone, it > could be voice messages or SMS. > I think I can hook a voice modem to that machine, but any suggestion > on the software side? I've wrote it a while back and it works fine: http://lists.freebsd.org/pipermail/freebsd-isp/2006-June/004139.html http://lists.freebsd.org/pipermail/freebsd-isp/2006-June/004140.html -- WBR, Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-questions@FreeBSD.ORG Wed Jun 2 07:11:25 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C02431065673 for ; Wed, 2 Jun 2010 07:11:25 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (unknown [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id 9B7368FC22 for ; Wed, 2 Jun 2010 07:11:25 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id o527BN3J064651 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 2 Jun 2010 00:11:23 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id o527BNGI064650; Wed, 2 Jun 2010 00:11:23 -0700 (PDT) Received: from fbsd61 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA26142; Wed, 2 Jun 10 00:09:15 PDT Date: Wed, 02 Jun 2010 00:06:31 -0700 From: perryh@pluto.rain.com To: m.seaman@infracaninophile.co.uk Message-Id: <4c0602f7.HfbXfFdnL1zldWiD%perryh@pluto.rain.com> References: <201005311636.o4VGarkt001701@mail.r-bonomi.com> <87zkzgx8rd.fsf@kobe.laptop> <20100531203115.GA2167@guilt.hydra> <4C04AD94.7040706@infracaninophile.co.uk> In-Reply-To: <4C04AD94.7040706@infracaninophile.co.uk> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: text editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2010 07:11:25 -0000 Matthew Seaman wrote: > Young whippersnappers. *Eight* was the good old days, > back before the web was invented. Dept of (in)famous last words: There is no reason for anyone to have a computer in their home. -- Gordon Bell, founder of DEC No one will ever need more than 640K. -- Bill Gates, perpetrator of Microsoft From owner-freebsd-questions@FreeBSD.ORG Wed Jun 2 07:42:00 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 43FBB106564A for ; Wed, 2 Jun 2010 07:42:00 +0000 (UTC) (envelope-from akashb503@yahoo.co.in) Received: from n8-vm0.bullet.mail.in.yahoo.com (n8-vm0.bullet.mail.in.yahoo.com [202.86.4.189]) by mx1.freebsd.org (Postfix) with SMTP id 6E7478FC17 for ; Wed, 2 Jun 2010 07:41:59 +0000 (UTC) Received: from [202.86.5.125] by n8.bullet.mail.in.yahoo.com with NNFMP; 02 Jun 2010 07:28:07 -0000 Received: from [203.104.17.89] by t5.bullet.mail.in.yahoo.com with NNFMP; 02 Jun 2010 07:28:07 -0000 Received: from [127.0.0.1] by omp103.mail.in2.yahoo.com with NNFMP; 02 Jun 2010 07:28:07 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 898014.92972.bm@omp103.mail.in2.yahoo.com Received: (qmail 32269 invoked by uid 60001); 2 Jun 2010 07:28:07 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.in; s=s1024; t=1275463687; bh=0NFb9lDz6zo8zDQFTys8LUqGgERYEihYYJJ4Kos2vnc=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=ZI9bqeJnCbyBv3ND4C8qr5eT4c19O3zWQxQI3zePU6I4ifvGmYxdow6OukalfM//b/j64GhhGDSgTt5ojG5LdtgRrvYToRHpeiplWFgcA2zS+xFokysyZqt5yswNvGdhPojHfc6tDwceoG4lZJtVLKEBGsdivUhf7pJwC3kl2m4= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=pWXXMPiQgtoA/wjrwILkVXTJ7CM36bhRE6AHVn0F339N6F5s/DYHNOunlo7WiZvJpnkm+xI6Px1VaCQoGyT2HPT6rRuGd6wZWRRyME9usmr8l1B0161Rhi4gIdRZ/FMw+AIJ9PuEr9dkUWMBHz24ENkvJ9oXzJbDOoBzhqTIb+U=; Message-ID: <629087.29185.qm@web95103.mail.in2.yahoo.com> X-YMail-OSG: 9UGvQ.0VM1kstgjmaXc4wm0TCNhNO5YmLa.cp1nbxCcQNcz HxjjlvZQeroXacFoF14h3bOlAiuctys519wKx4l4dM1vnZJG6TNLXbtTWv99 f8OLlgU_YwcLQC9SGNlRivNwYWk9YO5XqriRTdJ5dEktNJnTcOqCSbTf7iZC QpjPDK7dLfJSUaQk4WCG0oAUwk_Fl2lVxKg4NPw-- Received: from [122.181.19.78] by web95103.mail.in2.yahoo.com via HTTP; Wed, 02 Jun 2010 12:58:07 IST X-Mailer: YahooMailRC/374.4 YahooMailWebService/0.8.103.269680 Date: Wed, 2 Jun 2010 12:58:07 +0530 (IST) From: akash kumar To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: minicom freebsd 8.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2010 07:42:00 -0000 Hi,=0A=0ACan some one help me with the steps configuring minicom on freebsd= 8.0. =0AI have a serial to usb converter running between my board and hos= t machine. =0A=0AThanks,=0AAkash.=0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Wed Jun 2 08:15:28 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0CC771065673 for ; Wed, 2 Jun 2010 08:15:28 +0000 (UTC) (envelope-from aiza21@comclark.com) Received: from avmxsmtp1.comclark.com (avmxsmtp1.comclark.com [202.69.191.115]) by mx1.freebsd.org (Postfix) with ESMTP id 9E3728FC14 for ; Wed, 2 Jun 2010 08:15:27 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiAcAFuwBUzKRa1aPGdsb2JhbAAHh2SWNAEBAQE1J78phRQEg0U X-IronPort-AV: E=Sophos;i="4.53,346,1272816000"; d="scan'208";a="1662651" Received: from unknown (HELO [10.0.10.3]) ([202.69.173.90]) by avmxsmtp4.comclark.com with ESMTP; 02 Jun 2010 16:15:25 +0800 Message-ID: <4C06131A.6010107@comclark.com> Date: Wed, 02 Jun 2010 16:15:22 +0800 From: Aiza User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: "questions@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: command to strip suffix in .sh script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2010 08:15:28 -0000 I have this code archive_name=`echo -n "${fromarchive}" | tr -c '[:alnum:]' _` ` is the key under Esc key and ' key is next to enter key. fromarchive value is archivename-201006021514.34.tar.gz I want to strip the suffix -201006021514.34.tar.gz from the archivename. The archivename can be upper and lower case letters interspersed with _ Do I have syntax problem with the code? I get no error on it. Do I have the tr command coded correctly? Or should I be using something else instead of tr command? Help please. From owner-freebsd-questions@FreeBSD.ORG Wed Jun 2 08:24:06 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CBB5C106564A for ; Wed, 2 Jun 2010 08:24:06 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 888908FC21 for ; Wed, 2 Jun 2010 08:24:04 +0000 (UTC) Received: from [193.31.11.193] (helo=current.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1OJjF1-0005zO-5N; Wed, 02 Jun 2010 10:23:59 +0200 Received: from current.Sisis.de (current [127.0.0.1]) by current.Sisis.de (8.14.3/8.14.3) with ESMTP id o528O1An002921; Wed, 2 Jun 2010 10:24:01 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by current.Sisis.de (8.14.3/8.14.3/Submit) id o528O1ZV002920; Wed, 2 Jun 2010 10:24:01 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: current.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Wed, 2 Jun 2010 10:24:01 +0200 From: Matthias Apitz To: Aiza Message-ID: <20100602082401.GA2876@current.Sisis.de> References: <4C06131A.6010107@comclark.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4C06131A.6010107@comclark.com> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 8.0-CURRENT (i386) X-Con-Id: 51246 X-Originating-IP: 193.31.11.193 Cc: "questions@freebsd.org" Subject: Re: command to strip suffix in .sh script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2010 08:24:06 -0000 El día Wednesday, June 02, 2010 a las 04:15:22PM +0800, Aiza escribió: > I have this code > > archive_name=`echo -n "${fromarchive}" | tr -c '[:alnum:]' _` > > ` is the key under Esc key and ' key is next to enter key. > > fromarchive value is archivename-201006021514.34.tar.gz > > I want to strip the suffix -201006021514.34.tar.gz from the archivename. > > The archivename can be upper and lower case letters interspersed with _ > > > Do I have syntax problem with the code? I get no error on it. > > Do I have the tr command coded correctly? > > Or should I be using something else instead of tr command? $ echo 'archivename-201006021514.34.tar.gz' | sed 's/-.*$//' HIH matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Solidarity with the zionistic pirates of Israel? Not in my name! ¿Solidaridad con los piratas sionistas de Israel? ¡No en mi nombre! From owner-freebsd-questions@FreeBSD.ORG Wed Jun 2 08:30:31 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51DB91065670 for ; Wed, 2 Jun 2010 08:30:31 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id BB0F48FC1D for ; Wed, 2 Jun 2010 08:30:30 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o528UI7o062390 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Wed, 2 Jun 2010 09:30:18 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4C06169A.9090604@infracaninophile.co.uk> Date: Wed, 02 Jun 2010 09:30:18 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: Matthias Apitz References: <4C06131A.6010107@comclark.com> <20100602082401.GA2876@current.Sisis.de> In-Reply-To: <20100602082401.GA2876@current.Sisis.de> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Scanned: clamav-milter 0.96.1 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=2.0 required=5.0 tests=DKIM_ADSP_ALL,SPF_FAIL autolearn=no version=3.3.1 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Cc: Aiza , "questions@freebsd.org" Subject: Re: command to strip suffix in .sh script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2010 08:30:31 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 02/06/2010 09:24:01, Matthias Apitz wrote: > El día Wednesday, June 02, 2010 a las 04:15:22PM +0800, Aiza escribió: > >> I have this code >> >> archive_name=`echo -n "${fromarchive}" | tr -c '[:alnum:]' _` >> >> ` is the key under Esc key and ' key is next to enter key. >> >> fromarchive value is archivename-201006021514.34.tar.gz >> >> I want to strip the suffix -201006021514.34.tar.gz from the archivename. >> >> The archivename can be upper and lower case letters interspersed with _ >> >> >> Do I have syntax problem with the code? I get no error on it. >> >> Do I have the tr command coded correctly? >> >> Or should I be using something else instead of tr command? > > $ echo 'archivename-201006021514.34.tar.gz' | sed 's/-.*$//' archive_name=${fromarchive%-*} Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwGFpoACgkQ8Mjk52CukIz2IQCfRPPnh+1+Y12iY9dz5MeO0P++ 80QAnishOceHvFymn4S9miFK8lemmlHQ =99QV -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Wed Jun 2 08:32:36 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7EAC41065677 for ; Wed, 2 Jun 2010 08:32:36 +0000 (UTC) (envelope-from fbsd1@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 68F228FC29 for ; Wed, 2 Jun 2010 08:32:36 +0000 (UTC) Received: from [10.0.10.3] ([202.69.173.90]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 2 Jun 2010 01:32:36 -0700 Message-ID: <4C06171E.2070608@a1poweruser.com> Date: Wed, 02 Jun 2010 16:32:30 +0800 From: Fbsd1 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: akash kumar References: <629087.29185.qm@web95103.mail.in2.yahoo.com> In-Reply-To: <629087.29185.qm@web95103.mail.in2.yahoo.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 02 Jun 2010 08:32:36.0407 (UTC) FILETIME=[27774470:01CB022E] X-Sender: fbsd1@a1poweruser.com Cc: freebsd-questions@freebsd.org Subject: Re: minicom freebsd 8.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2010 08:32:36 -0000 akash kumar wrote: > Hi, > > Can some one help me with the steps configuring minicom on freebsd 8.0. > I have a serial to usb converter running between my board and host machine. > > Thanks, > Akash. > > I take it a minicom is a external serial modem for internet access over the phone lines. First off you better check if this is a windows modem. Phone modems are manufactured for two target markets, MS/Windows (Winmodems) and every thing else. Winmodems are cheep because the hardware controller function is handled by the software you have to install into MS/Windows. This hardware controller function is normally contained in a chip on the modem circuit board. Winmodems are missing this chip and directs the modem to use driver software running in the MS/Windows system to perform the controller function. The most common Winmodem chips are manufactured by Lucent. There are many versions of this Lucent chip resulting in each chip version needing a different MS/Windows software driver version. Up until version 4.4, FBSD did not have any solution to using Winmodems, but with the release of 4.4 the ports collection now contains the "Linux Winmodem 'ltmdm' driver" which was ported to FBSD. This port is very poorly documented, only works with a limited number of Lucent chip version, and can be somewhat unreliable. Your whole Internet connection is managed by your modem and trying to shoe horn a modem specially manufactured for the MS/Windows operating system into FreeBSD is not the way to achieve a satisfactory dialup Internet connection. Plug the usb to serial converter into a usb port on the pc. Plug the serial cable into the modem and the converter. Power on the minicon, and boot your pc. Check your boot messages for the address of the usb to serial converter and use that address in your ppp config for dialing your ISP. If you can't id the address you need, then post your boot message log here for next step in help. Use dmesg > boot.msg.file to get a copy of the boot log. From owner-freebsd-questions@FreeBSD.ORG Wed Jun 2 08:40:29 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 455761065679 for ; Wed, 2 Jun 2010 08:40:29 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id ED7F08FC1A for ; Wed, 2 Jun 2010 08:40:28 +0000 (UTC) Received: by vws10 with SMTP id 10so4736062vws.13 for ; Wed, 02 Jun 2010 01:40:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=Ly5MM2J/1dqy3VFbLdFrQMU5uTBkalSq4H9uSh5LSTM=; b=TDETLqxG7ERp5pE9J3acTOayxbZ9wAHfkIoUpM6k5GbY5I+/36Be+gj2ADb1XMVNfc HX3mVpoc/FO7TW2grbpx28DAMVC3YnBaIQfcJv7iJv/BhrD/UE/hQQbYrJOL6kim+b6R h5eBOAsszhQj59Ip57hqRAVX9fvgvvDD9wcR0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=VPArnDgGEk2CKM6Lj5USviX2L2micZlszwxoN12tfzUq5YnC8iPLsYzzUYeihEO57r xhADUljS5vkAHwELgfEEPr5uO00Kbi2fQp9l/I9x9w84qx+b3gKFtpauHxoNgc4XHWed /k/rhN25Vz33rG8tmIQOkPExwt9/jjonb5B5o= MIME-Version: 1.0 Received: by 10.224.78.204 with SMTP id m12mr3047866qak.371.1275468027950; Wed, 02 Jun 2010 01:40:27 -0700 (PDT) Received: by 10.229.99.67 with HTTP; Wed, 2 Jun 2010 01:40:27 -0700 (PDT) In-Reply-To: <20100602082401.GA2876@current.Sisis.de> References: <4C06131A.6010107@comclark.com> <20100602082401.GA2876@current.Sisis.de> Date: Wed, 2 Jun 2010 03:40:27 -0500 Message-ID: From: Adam Vande More To: Matthias Apitz Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Aiza , "questions@freebsd.org" Subject: Re: command to strip suffix in .sh script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2010 08:40:29 -0000 On Wed, Jun 2, 2010 at 3:24 AM, Matthias Apitz wrote: > El d=EDa Wednesday, June 02, 2010 a las 04:15:22PM +0800, Aiza escribi=F3= : > > > I have this code > > > > archive_name=3D`echo -n "${fromarchive}" | tr -c '[:alnum:]' _` > > > > ` is the key under Esc key and ' key is next to enter key. > > > > fromarchive value is archivename-201006021514.34.tar.gz > > > > I want to strip the suffix -201006021514.34.tar.gz from the archivename= . > > > > The archivename can be upper and lower case letters interspersed with _ > > > > > > Do I have syntax problem with the code? I get no error on it. > > > > Do I have the tr command coded correctly? > > > > Or should I be using something else instead of tr command? > > $ echo 'archivename-201006021514.34.tar.gz' | sed 's/-.*$//' > > One more echo 'archivename-201006021514.34.tar.gz' | awk -F - '{print $1}' --=20 Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Wed Jun 2 09:22:16 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F2FF5106564A for ; Wed, 2 Jun 2010 09:22:15 +0000 (UTC) (envelope-from ilcsfe@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.27]) by mx1.freebsd.org (Postfix) with ESMTP id 819038FC1A for ; Wed, 2 Jun 2010 09:22:15 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id d26so227776eyd.9 for ; Wed, 02 Jun 2010 02:22:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=rpO1ZdAnTVoqboG1sPTJEC/isAGd1FNDhXDF6vMftpE=; b=JUWZPHjJufmqxtGw52GdEgiplzjQPmwxEqy9ATsei/174a5TW5Y97CRyD4q3DrQp27 iUksP/8Wta39MSB7n3jCi9NhTSI1tJFYFnyyKIQc3p62LrAYh8BSt4Kll4zgGdGdFJGi FmRh3scbYU5twrmqYGL0dkyfmWswDHpcmOk8I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=jOkf0y7Lcv36bdSD7HtFYTz2EUdQZOpbN3jWriWoLvVXCp9Euw0t//g5nUdDJn/b0u pQLRNJUvvQSU2vx5G0xsXNeY4XAoLrgMrRVgwgVv6nrZdGUWAqBjOIuV+QnaTOyzcIwt bLHAeJSVXYkK9L+Y0g36WrfOhSPHT/CTSMEPc= Received: by 10.213.113.193 with SMTP id b1mr4572705ebq.24.1275470534448; Wed, 02 Jun 2010 02:22:14 -0700 (PDT) Received: from [192.168.1.222] ([213.141.83.3]) by mx.google.com with ESMTPS id 16sm4323294ewy.15.2010.06.02.02.22.12 (version=SSLv3 cipher=RC4-MD5); Wed, 02 Jun 2010 02:22:12 -0700 (PDT) Message-ID: <4C0622C2.7080408@gmail.com> Date: Wed, 02 Jun 2010 11:22:10 +0200 From: John User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: Tim Judd References: <4BF532F7.7070003@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: John , freebsd-questions@freebsd.org Subject: Re: Apache 2.2, mod_auth_kerb X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2010 09:22:16 -0000 On 2010-05-20 23:34, Tim Judd wrote: > On 5/20/10, John wrote: >> Hi list. >> >> I'm having problems getting mod_auth_kerb to play nice on one of my servers. >> I have the exact same setup on other machines and it works perfectly, >> only difference is this ones running CURRENT while they track RELEASE. >> >> Some info: >> >> # pkg_info|grep apache&& pkg_info|grep kerb >> apache-2.2.15_7 Version 2.2.x of Apache web server with prefork MPM. >> mod_auth_kerb-5.4 An Apache module for authenticating users with >> Kerberos v5 >> >> # uname -a >> FreeBSD host.example.com 9.0-CURRENT FreeBSD 9.0-CURRENT #5: Tue May 11 >> 20:04:45 UTC 2010 host.example.com:/usr/obj/usr/src/sys/HOST i386 >> >> >> Everything compiles and installs nicely, but when I try to do a >> 'apachectl start' I get this: >> >> httpd: Syntax error on line 4 of /usr/local/etc/apache22/httpd.conf: >> Cannot load /usr/local/libexec/apache22/mod_auth_kerb.so into server: >> /usr/local/libexec/apache22/mod_auth_kerb.so: Undefined symbol >> "gsskrb5_register_acceptor_identity" >> >> Is this due to running current? >> If it is I will drop the issue right now, I just want to know for sure >> before I spend hours trying to solve it. >> > > > It begins to look like GSSAPI is not in there. GSSAPI is part of > world. You may need to rebuild kerberos with GSSAPI support. Are you > using the builtin MIT or the add-on heimdal kerberos? I'm using the builtin. How do I rebuild kerberos with GSSAPI support, I though that was builtin by default in FreeBSD since 5.1 somewhere? klist, kinit and kdestroy all works fine and I can authenticate against an Active Directory server, but I just cant get Apache to load the mod_auth_kerb module. I just did a clean install of a FreeBSD 8.1-PRERELEASE, and I have exactly the same error there so it's not related to running current. What am I doing wrong? -- John From owner-freebsd-questions@FreeBSD.ORG Wed Jun 2 09:56:48 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D5F51065672 for ; Wed, 2 Jun 2010 09:56:48 +0000 (UTC) (envelope-from akashb503@yahoo.co.in) Received: from n4-vm0.bullet.mail.in.yahoo.com (n4-vm0.bullet.mail.in.yahoo.com [202.86.5.189]) by mx1.freebsd.org (Postfix) with SMTP id 466E68FC13 for ; Wed, 2 Jun 2010 09:56:46 +0000 (UTC) Received: from [202.86.5.126] by n4.bullet.mail.in.yahoo.com with NNFMP; 02 Jun 2010 09:56:45 -0000 Received: from [203.104.18.53] by t6.bullet.mail.in.yahoo.com with NNFMP; 02 Jun 2010 09:56:45 -0000 Received: from [127.0.0.1] by omp105.mail.in2.yahoo.com with NNFMP; 02 Jun 2010 09:56:45 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 896208.58856.bm@omp105.mail.in2.yahoo.com Received: (qmail 98649 invoked by uid 60001); 2 Jun 2010 09:30:05 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.in; s=s1024; t=1275471005; bh=D8Aiuhj6aYSeGyLC6fKT6ucGwcPzEqjhbHLgD/QfPII=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=euUv447cGsT9nGzNsLcBxPGLk7qb2htdWdSGQTjROHg02RdfpRPSATQgFeS8YMbXIRlddLQOr+6yjdk2kLNO0rk/NuIRCt75qipmk2Fd2vlIf5a+EgQ28N/gU6GG7auj4dyhX0dsQ0BXAHuqLAHlVqP3vWg+7xaDKPZfsmH/TtQ= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=pBqK5uhQSQHxnvTjqUNv6VKeJFSO17uy/h5qz1QN9VtOdVk8J6hJhtBm9rvXR5Mm3OTSIXBgeMSaJ52WT35nd60oY4OK2qsWhtGBIPXG9DwkZ9BmH31Qbk+NIJtQnVKb41+2tsQeaN1Q0uswBQxwwuo/H/4I2HwkU2PM6LWSVC0=; Message-ID: <382060.97070.qm@web95103.mail.in2.yahoo.com> X-YMail-OSG: BFlGHh0VM1kNposd9M9yZ_DyhDERo29jXdLpJp5wLKs29Zn BIeevyQHNJfKgn.PUAP7szseWEqtWsN1cYoDvDGG.hpcn.2gHAFEfJjdrXs0 UVTT_kNXQ_OvIYO0ZtFJtiIQajgXJvspJljtxcBBkrKpraJOndl8EGfdCjUD 84eiqrnlcBTUXHvaMlSJa8rHYTUGv83WYTYwdmy3wY_V5gxfkXBVU0azdETR A7yiHk3NLfmDdnYeNxhI- Received: from [122.181.19.78] by web95103.mail.in2.yahoo.com via HTTP; Wed, 02 Jun 2010 15:00:05 IST X-Mailer: YahooMailRC/374.4 YahooMailWebService/0.8.103.269680 References: <629087.29185.qm@web95103.mail.in2.yahoo.com> <4C06171E.2070608@a1poweruser.com> Date: Wed, 2 Jun 2010 15:00:05 +0530 (IST) From: akash kumar To: Fbsd1 In-Reply-To: <4C06171E.2070608@a1poweruser.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: minicom freebsd 8.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2010 09:56:48 -0000 Hi,=0A=0AI was referring to minicom command similar to one on linux. =0AOn = linux the config file is /etc/minirc. and the Serial Device is= /dev/ttyUSB0, which was working for me.=0AOn freebsd the config file is = /usr/local/etc/minicom/minirc., but not sure what to update in = the field 'pu port'. =0A=0AI tried with /dev/ugen2.2 but got below error=0A= > minicom: cannot open /dev/ugen2.2: Permission denied=0A=0APlease let me k= now what needs to be updated in the 'pu port' field.=0A=0AThanks,=0AAkash.= =0A=0A=0A=0A=0A________________________________=0AFrom: Fbsd1 =0ATo: akash kumar =0ACc: freebsd-question= s@freebsd.org=0ASent: Wed, 2 June, 2010 2:02:30 PM=0ASubject: Re: minicom f= reebsd 8.0=0A=0Aakash kumar wrote:=0A> Hi,=0A> =0A> Can some one help me wi= th the steps configuring minicom on freebsd 8.0. I have a serial to usb con= verter running between my board and host machine. =0A> Thanks,=0A> Akash.= =0A> =0A> =0A=0AI take it a minicom is a external serial modem for internet= access over the phone lines.=0A=0AFirst off you better check if this is a = windows modem.=0A=0APhone modems are manufactured for two target markets, M= S/Windows (Winmodems) and every thing else. Winmodems are cheep because the= hardware controller function is handled by the software you have to instal= l into MS/Windows. This hardware controller function is normally contained = in a chip on the modem circuit board. Winmodems are missing this chip and d= irects the modem to use driver software running in the MS/Windows system to= perform the controller function. The most common Winmodem chips are manufa= ctured by Lucent. There are many versions of this Lucent chip resulting in = each chip version needing a different MS/Windows software driver version.= =0A=0AUp until version 4.4, FBSD did not have any solution to using Winmode= ms, but with the release of 4.4 the ports collection now contains the "Linu= x Winmodem 'ltmdm' driver" which was ported to FBSD. This port is very poor= ly documented, only works with a limited number of Lucent chip version, and= can be somewhat unreliable. Your whole Internet connection is managed by y= our modem and trying to shoe horn a modem specially manufactured for the MS= /Windows operating system into FreeBSD is not the way to achieve a satisfac= tory dialup Internet connection.=0A=0A=0A=0APlug the usb to serial converte= r into a usb port on the pc.=0APlug the serial cable into the modem and the= converter.=0APower on the minicon, and boot your pc.=0ACheck your boot mes= sages for the address of the usb to serial converter=0Aand use that address= in your ppp config for dialing your ISP.=0A=0AIf you can't id the address = you need, then post your boot message log here for next step in help. Use d= mesg > boot.msg.file to get a copy of the boot log.=0A=0A From owner-freebsd-questions@FreeBSD.ORG Wed Jun 2 09:57:37 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 20EC3106564A for ; Wed, 2 Jun 2010 09:57:37 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from mail-ew0-f209.google.com (mail-ew0-f209.google.com [209.85.219.209]) by mx1.freebsd.org (Postfix) with ESMTP id B58878FC24 for ; Wed, 2 Jun 2010 09:57:36 +0000 (UTC) Received: by ewy1 with SMTP id 1so1531280ewy.33 for ; Wed, 02 Jun 2010 02:57:35 -0700 (PDT) MIME-Version: 1.0 Received: by 10.213.108.71 with SMTP id e7mr4651125ebp.6.1275472655323; Wed, 02 Jun 2010 02:57:35 -0700 (PDT) Received: by 10.213.27.211 with HTTP; Wed, 2 Jun 2010 02:57:35 -0700 (PDT) X-Originating-IP: [93.203.38.218] In-Reply-To: <4C06171E.2070608@a1poweruser.com> References: <629087.29185.qm@web95103.mail.in2.yahoo.com> <4C06171E.2070608@a1poweruser.com> Date: Wed, 2 Jun 2010 11:57:35 +0200 Message-ID: From: "C. P. Ghost" To: Fbsd1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org, akash kumar Subject: Re: minicom freebsd 8.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2010 09:57:37 -0000 On Wed, Jun 2, 2010 at 10:32 AM, Fbsd1 wrote: > akash kumar wrote: >> >> Hi, >> >> Can some one help me with the steps configuring minicom on freebsd 8.0. = I >> have a serial to usb converter running between my =A0board and host mach= ine. >> Thanks, >> Akash. >> >> > > I take it a minicom is a external serial modem for internet access over t= he > phone lines. I guess akash is asking about the port comms/minicom, the special files under /dev and the kernel modules needed to access the serial port of the modem via a usb-to-serial converter. -cpghost. --=20 Cordula's Web. http://www.cordula.ws/ From owner-freebsd-questions@FreeBSD.ORG Wed Jun 2 10:06:59 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 816851065674 for ; Wed, 2 Jun 2010 10:06:59 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from mail-ew0-f209.google.com (mail-ew0-f209.google.com [209.85.219.209]) by mx1.freebsd.org (Postfix) with ESMTP id 2056D8FC17 for ; Wed, 2 Jun 2010 10:06:58 +0000 (UTC) Received: by ewy1 with SMTP id 1so1533446ewy.33 for ; Wed, 02 Jun 2010 03:06:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.213.108.71 with SMTP id e7mr4663131ebp.6.1275473214987; Wed, 02 Jun 2010 03:06:54 -0700 (PDT) Received: by 10.213.27.211 with HTTP; Wed, 2 Jun 2010 03:06:54 -0700 (PDT) X-Originating-IP: [93.203.38.218] In-Reply-To: <382060.97070.qm@web95103.mail.in2.yahoo.com> References: <629087.29185.qm@web95103.mail.in2.yahoo.com> <4C06171E.2070608@a1poweruser.com> <382060.97070.qm@web95103.mail.in2.yahoo.com> Date: Wed, 2 Jun 2010 12:06:54 +0200 Message-ID: From: "C. P. Ghost" To: akash kumar Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: minicom freebsd 8.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2010 10:06:59 -0000 On Wed, Jun 2, 2010 at 11:30 AM, akash kumar wrote: > Hi, > > I was referring to minicom command similar to one on linux. > On linux the config file is /etc/minirc. and the =A0Serial De= vice is =A0/dev/ttyUSB0, which was working for me. > On freebsd =A0the config file is /usr/local/etc/minicom/minirc., but not sure what to update in the field 'pu port'. > > I tried with /dev/ugen2.2 but got below error >> minicom: cannot open /dev/ugen2.2: Permission denied > > Please let me know what needs to be updated in the 'pu port' field. Ah, okay. ugen is a generic device. I think you can't use that directly if you have a usb-to-serial converter. I guess you need to kldload a kernel module specific to your usb-to-serial converter. For example something like uplcom, umodem etc. This would create a new entry in /dev that you can use in minicom. Permissions for those devices can be set in /etc/devfs.rules (and restartin= g devfs with /etc/rc.d/devfs restart). You may also want to look at /etc/devd= .conf I'm not familiar with usb-to-serial converters, so I can't help more than t= hat. Others may have more experience there. > Thanks, > Akash. -cpghost. --=20 Cordula's Web. http://www.cordula.ws/ From owner-freebsd-questions@FreeBSD.ORG Wed Jun 2 10:10:15 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 74A831065674 for ; Wed, 2 Jun 2010 10:10:15 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 36EDA8FC12 for ; Wed, 2 Jun 2010 10:10:14 +0000 (UTC) Received: from r55.edvax.de (port-92-195-249-33.dynamic.qsc.de [92.195.249.33]) by mx02.qsc.de (Postfix) with ESMTP id B0DB61DAE8; Wed, 2 Jun 2010 12:10:13 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o52AACcF001503; Wed, 2 Jun 2010 12:10:13 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 2 Jun 2010 12:10:12 +0200 From: Polytropon To: Aiza Message-Id: <20100602121012.38e91934.freebsd@edvax.de> In-Reply-To: <4C06131A.6010107@comclark.com> References: <4C06131A.6010107@comclark.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "questions@freebsd.org" Subject: Re: command to strip suffix in .sh script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2010 10:10:15 -0000 On Wed, 02 Jun 2010 16:15:22 +0800, Aiza wrote: > I have this code > > archive_name=`echo -n "${fromarchive}" | tr -c '[:alnum:]' _` > > ` is the key under Esc key and ' key is next to enter key. > > fromarchive value is archivename-201006021514.34.tar.gz > > I want to strip the suffix -201006021514.34.tar.gz from the archivename. > > The archivename can be upper and lower case letters interspersed with _ > > > Do I have syntax problem with the code? I get no error on it. > > Do I have the tr command coded correctly? > > Or should I be using something else instead of tr command? Maybe "cut" can help: % echo 'archivename-201006021514.34.tar.gz' | cut -d '-' -f 1 archivename Cutting -f 2 will give you the remaining component. % echo 'archivename-201006021514.34.tar.gz' | cut -d '-' -f 2 201006021514.34.tar.gz To cut off the suffix (.tar.gz), consider using "basename". -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Wed Jun 2 11:26:49 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA7C21065673 for ; Wed, 2 Jun 2010 11:26:49 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (tunnel490.ipv6.xs4all.nl [IPv6:2001:888:10:1ea::2]) by mx1.freebsd.org (Postfix) with ESMTP id 7417C8FC20 for ; Wed, 2 Jun 2010 11:26:49 +0000 (UTC) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.14.3/8.14.3) with ESMTP id o52BQir0091074; Wed, 2 Jun 2010 13:26:44 +0200 (CEST) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.14.3/8.14.3/Submit) id o52BQiKD091073; Wed, 2 Jun 2010 13:26:44 +0200 (CEST) (envelope-from mail25@bzerk.org) Date: Wed, 2 Jun 2010 13:26:44 +0200 From: Ruben de Groot To: Adam Vande More Message-ID: <20100602112644.GA90934@ei.bzerk.org> Mail-Followup-To: Ruben de Groot , Adam Vande More , freebsd-questions@freebsd.org References: <201005311636.o4VGarkt001701@mail.r-bonomi.com> <87zkzgx8rd.fsf@kobe.laptop> <20100531203115.GA2167@guilt.hydra> <4C04AD94.7040706@infracaninophile.co.uk> <20100601130946.GB5717@guilt.hydra> <20100601161022.GB36228@libertas.local.camdensoftware.com> <20100602061001.GB7993@guilt.hydra> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ei.bzerk.org X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0.1 (ei.bzerk.org [127.0.0.1]); Wed, 02 Jun 2010 13:26:48 +0200 (CEST) Cc: freebsd-questions@freebsd.org Subject: Re: text editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2010 11:26:50 -0000 On Wed, Jun 02, 2010 at 01:20:07AM -0500, Adam Vande More typed: > On Wed, Jun 2, 2010 at 1:10 AM, Chad Perrin wrote: > > > On Tue, Jun 01, 2010 at 09:10:22AM -0700, Chip Camden wrote: > > > I remember writing our own text editor, and it had to fit in 64K. > > > > I remember when . . . > > > > I got nuthin'. I think my first text editor was edlin, and it *sucked*. > > > > . . . not counting this nifty editor I called "pencil". > > > > > The phrase "son of an edlin" has happily been retired in my vocabulary for > some time. If you're not aware of it, ed(1) is as capable or more of > causing pain as edlin was and it's still in the FreeBSD base. Most usefull traditional Unix tools can cause pain or foot-shooting. That's what makes them usefull. From owner-freebsd-questions@FreeBSD.ORG Wed Jun 2 11:33:48 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B6411065673 for ; Wed, 2 Jun 2010 11:33:48 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 222518FC1E for ; Wed, 2 Jun 2010 11:33:48 +0000 (UTC) Received: from [193.31.11.193] (helo=current.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1OJmCf-0004Q7-03; Wed, 02 Jun 2010 13:33:45 +0200 Received: from current.Sisis.de (current [127.0.0.1]) by current.Sisis.de (8.14.3/8.14.3) with ESMTP id o52BXiEC004035; Wed, 2 Jun 2010 13:33:44 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by current.Sisis.de (8.14.3/8.14.3/Submit) id o52BXiY4004034; Wed, 2 Jun 2010 13:33:44 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: current.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Wed, 2 Jun 2010 13:33:44 +0200 From: Matthias Apitz To: Ruben de Groot , Adam Vande More , freebsd-questions@freebsd.org Message-ID: <20100602113344.GA3995@current.Sisis.de> References: <201005311636.o4VGarkt001701@mail.r-bonomi.com> <87zkzgx8rd.fsf@kobe.laptop> <20100531203115.GA2167@guilt.hydra> <4C04AD94.7040706@infracaninophile.co.uk> <20100601130946.GB5717@guilt.hydra> <20100601161022.GB36228@libertas.local.camdensoftware.com> <20100602061001.GB7993@guilt.hydra> <20100602112644.GA90934@ei.bzerk.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20100602112644.GA90934@ei.bzerk.org> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 8.0-CURRENT (i386) X-Con-Id: 51246 X-Originating-IP: 193.31.11.193 Cc: Subject: Re: text editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2010 11:33:48 -0000 El día Wednesday, June 02, 2010 a las 01:26:44PM +0200, Ruben de Groot escribió: > > The phrase "son of an edlin" has happily been retired in my vocabulary for > > some time. If you're not aware of it, ed(1) is as capable or more of > > causing pain as edlin was and it's still in the FreeBSD base. > > Most usefull traditional Unix tools can cause pain or foot-shooting. That's > what makes them usefull. The ed(1) is *extremely* useful when it comes to editing text files on the fly in shell scripts (i.e. without user interaction). matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Solidarity with the zionistic pirates of Israel? Not in my name! ¿Solidaridad con los piratas sionistas de Israel? ¡No en mi nombre! From owner-freebsd-questions@FreeBSD.ORG Wed Jun 2 11:50:36 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B557D1065679 for ; Wed, 2 Jun 2010 11:50:36 +0000 (UTC) (envelope-from elon@emmi.physik-pool.tu-berlin.de) Received: from emmi.physik-pool.tu-berlin.de (emmi.physik-pool.tu-berlin.de [130.149.58.146]) by mx1.freebsd.org (Postfix) with ESMTP id 42AA68FC20 for ; Wed, 2 Jun 2010 11:50:35 +0000 (UTC) Received: from emmi.physik-pool.tu-berlin.de (localhost.physik-pool.tu-berlin.de [127.0.0.1]) by emmi.physik-pool.tu-berlin.de (8.14.4/8.14.4) with ESMTP id o52BoY71019174 for ; Wed, 2 Jun 2010 13:50:34 +0200 (CEST) (envelope-from elon@emmi.physik-pool.tu-berlin.de) Received: (from elon@localhost) by emmi.physik-pool.tu-berlin.de (8.14.4/8.14.4/Submit) id o52BoYeL019173 for freebsd-questions@freebsd.org; Wed, 2 Jun 2010 13:50:34 +0200 (CEST) (envelope-from elon) Date: Wed, 2 Jun 2010 13:50:33 +0200 From: Leon =?iso-8859-15?Q?Me=DFner?= To: freebsd-questions@freebsd.org Message-ID: <20100602115033.GQ1023@emmi.physik-pool.tu-berlin.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FmdPcZLZZW6lDAYm" Content-Disposition: inline User-Agent: Mutt/1.5.19 (2009-01-05) Subject: freeBSD nullfs together nfs and "silly rename" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2010 11:50:36 -0000 --FmdPcZLZZW6lDAYm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, I hope this is not the wrong list to ask. Didn't get any answers on -questions. When you try to do the following inside a nullfs mounted directory, where the nullfs origin is itself mounted via nfs you get an error: # foo=20 # tail -f foo&=20 # rm -f foo=20 tail: foo: Stale NFS file handle # fg This is really a problem when running services inside jails and using NFS as storage. As of [2] it looks like this problem is known for a while. On a normal NFS mount this does not happen as "silly renaming" [1] works there (producing nasty little .nfsXXXX files). TIA, Leon [1] http://nfs.sourceforge.net/#faq_d2 [2] http://ftp.freebsd.org/pub/FreeBSD/development/FreeBSD-CVS/src/sys/nfsc= lient/nfsnode.h,v rev:1.32.2.1 --FmdPcZLZZW6lDAYm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkwGRYkACgkQJCh4HSRvNnw3bQCdHR+pn8smIgbcSNdgHu8uSt36 9fAAoI8lGlDnszEnsMRXXeqiD2dDA9jL =3Xay -----END PGP SIGNATURE----- --FmdPcZLZZW6lDAYm-- From owner-freebsd-questions@FreeBSD.ORG Wed Jun 2 12:54:33 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 750CE1065676 for ; Wed, 2 Jun 2010 12:54:33 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-01.bluehost.com (cpoproxy1-pub.bluehost.com [69.89.21.11]) by mx1.freebsd.org (Postfix) with SMTP id EE9378FC13 for ; Wed, 2 Jun 2010 12:54:32 +0000 (UTC) Received: (qmail 19266 invoked by uid 0); 2 Jun 2010 12:54:31 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by cpoproxy1.bluehost.com with SMTP; 2 Jun 2010 12:54:31 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=OaBbXdlzTt6pm6gbGfS/B5aCIQbzAyTY/6906CyAAvCkn9ftkILF6M4DlUZFKAZyquXTRk3BmyII67rIoSLbMH/wzb0YJ7zkDS9o05gc+CBKujHmHeaOmEUXFkQ9wp6H; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kukaburra.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1OJnSo-0008NO-Cv for freebsd-questions@freebsd.org; Wed, 02 Jun 2010 06:54:31 -0600 Received: by kukaburra.hydra (sSMTP sendmail emulation); Wed, 02 Jun 2010 06:54:16 -0600 Date: Wed, 2 Jun 2010 06:54:16 -0600 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20100602125416.GA9981@guilt.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <201005311636.o4VGarkt001701@mail.r-bonomi.com> <87zkzgx8rd.fsf@kobe.laptop> <20100531203115.GA2167@guilt.hydra> <4C04AD94.7040706@infracaninophile.co.uk> <20100601130946.GB5717@guilt.hydra> <20100601161022.GB36228@libertas.local.camdensoftware.com> <20100602061001.GB7993@guilt.hydra> <20100602112644.GA90934@ei.bzerk.org> <20100602113344.GA3995@current.Sisis.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oyUTqETQ0mS9luUI" Content-Disposition: inline In-Reply-To: <20100602113344.GA3995@current.Sisis.de> User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Subject: Re: text editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2010 12:54:33 -0000 --oyUTqETQ0mS9luUI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 02, 2010 at 01:33:44PM +0200, Matthias Apitz wrote: >=20 > The ed(1) is *extremely* useful when it comes to editing text files on > the fly in shell scripts (i.e. without user interaction). This is why I don't consider ed the kind of abomination that edlin was; it exists within a stronger command toolset so that it can actually be put to good use. Plus, y'know, there are also other editors available in Unix systems these days, so I have something other than just ed available for interactive editing. When edlin was all I had available, and it was stuck in the DOS world where there was nothing like a Unix shell to make reasonable use of it, it was nothing but frustration. --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --oyUTqETQ0mS9luUI Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwGVHgACgkQ9mn/Pj01uKW2KACfTNhY8y5MOlbjBecMYOiR07Lm uq8AoJoR7At5SuF6k84SBdbIn4tTdPAa =KQaP -----END PGP SIGNATURE----- --oyUTqETQ0mS9luUI-- From owner-freebsd-questions@FreeBSD.ORG Wed Jun 2 14:18:15 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3377A106566C for ; Wed, 2 Jun 2010 14:18:15 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: from smtp-gw29.mailanyone.net (smtp-gw29.mailanyone.net [208.70.128.55]) by mx1.freebsd.org (Postfix) with ESMTP id F08DF8FC15 for ; Wed, 2 Jun 2010 14:18:13 +0000 (UTC) Received: from mailanyone.net by smtp-gw29.mailanyone.net with esmtpa (MailAnyone extSMTP jalmberg@identry.com) id 1OJolF-0007CH-Cp for freebsd-questions@freebsd.org; Wed, 02 Jun 2010 09:17:38 -0500 Message-ID: <4C066824.5090407@identry.com> Date: Wed, 02 Jun 2010 10:18:12 -0400 From: John Almberg User-Agent: Postbox 1.1.4 (Macintosh/20100408) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4C0515F3.7060006@identry.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Add watermark to PDF X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2010 14:18:15 -0000 Thanks CP, Nathan, & Kevin. You've given me some good places to start looking. -- John C. P. Ghost wrote: > On Tue, Jun 1, 2010 at 4:15 PM, John Almberg wrote: > >> So basically this script would have to read in the PDF and (ideally) a plain >> text file, and output a PDF with the plain text merged into the PDF as a >> footer. >> > > Maybe this will help? > http://www.reportlab.com/software/opensource/rl-toolkit/ > There's even a FreeBSD port for it: > print/py-reportlab2 > > >> Any ideas, much appreciated. >> >> -- John >> > > -cpghost. > > From owner-freebsd-questions@FreeBSD.ORG Wed Jun 2 15:55:10 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B3396106566B for ; Wed, 2 Jun 2010 15:55:10 +0000 (UTC) (envelope-from elon@emmi.physik-pool.tu-berlin.de) Received: from emmi.physik-pool.tu-berlin.de (emmi.physik-pool.tu-berlin.de [130.149.58.146]) by mx1.freebsd.org (Postfix) with ESMTP id 3E4838FC1C for ; Wed, 2 Jun 2010 15:55:09 +0000 (UTC) Received: from emmi.physik-pool.tu-berlin.de (localhost.physik-pool.tu-berlin.de [127.0.0.1]) by emmi.physik-pool.tu-berlin.de (8.14.4/8.14.4) with ESMTP id o52Ft8vh050872 for ; Wed, 2 Jun 2010 17:55:08 +0200 (CEST) (envelope-from elon@emmi.physik-pool.tu-berlin.de) Received: (from elon@localhost) by emmi.physik-pool.tu-berlin.de (8.14.4/8.14.4/Submit) id o52Ft8W7050870 for freebsd-questions@freebsd.org; Wed, 2 Jun 2010 17:55:08 +0200 (CEST) (envelope-from elon) Date: Wed, 2 Jun 2010 17:55:08 +0200 From: Leon =?iso-8859-15?Q?Me=DFner?= To: freebsd-questions@freebsd.org Message-ID: <20100602155507.GR1023@emmi.physik-pool.tu-berlin.de> References: <20100602115033.GQ1023@emmi.physik-pool.tu-berlin.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DzFMwNuU1QL7hgxO" Content-Disposition: inline In-Reply-To: <20100602115033.GQ1023@emmi.physik-pool.tu-berlin.de> User-Agent: Mutt/1.5.19 (2009-01-05) Subject: Re: freeBSD nullfs together nfs and "silly rename" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2010 15:55:10 -0000 --DzFMwNuU1QL7hgxO Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable nevermind.. resend and forgot to change the addressee. If anyone has an idea i would of course still be grateful. Regards, leon On Wed, Jun 02, 2010 at 01:50:33PM +0200, Leon Me=DFner wrote: > Hi, > I hope this is not the wrong list to ask. Didn't get any answers on > -questions. >=20 > When you try to do the following inside a nullfs mounted directory, > where the nullfs origin is itself mounted via nfs you get an error: >=20 > # foo=20 > # tail -f foo&=20 > # rm -f foo=20 > tail: foo: Stale NFS file handle > # fg >=20 > This is really a problem when running services inside jails and using > NFS as storage. As of [2] it looks like this problem is known for a > while. On a normal NFS mount this does not happen as "silly renaming" > [1] works there (producing nasty little .nfsXXXX files). >=20 > TIA, > Leon >=20 > [1] http://nfs.sourceforge.net/#faq_d2 > [2] http://ftp.freebsd.org/pub/FreeBSD/development/FreeBSD-CVS/src/sys/nf= sclient/nfsnode.h,v rev:1.32.2.1 --DzFMwNuU1QL7hgxO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkwGftsACgkQJCh4HSRvNnwxRgCfQeFcERdOzqWIYvSsDEfhYVXy OksAn2Vu2Ss31qtnovwVyNMABPgbHTJs =UIfR -----END PGP SIGNATURE----- --DzFMwNuU1QL7hgxO-- From owner-freebsd-questions@FreeBSD.ORG Wed Jun 2 16:45:39 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C0D1E106566B for ; Wed, 2 Jun 2010 16:45:39 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (ns2.r-bonomi.com [204.87.227.129]) by mx1.freebsd.org (Postfix) with ESMTP id 777668FC12 for ; Wed, 2 Jun 2010 16:45:39 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.3/rdb1) id o52GjEvM022143 for freebsd-questions@freebsd.org; Wed, 2 Jun 2010 11:45:14 -0500 (CDT) Date: Wed, 2 Jun 2010 11:45:14 -0500 (CDT) From: Robert Bonomi Message-Id: <201006021645.o52GjEvM022143@mail.r-bonomi.com> To: freebsd-questions@freebsd.org Subject: Re: text editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2010 16:45:39 -0000 > From owner-freebsd-questions@freebsd.org Wed Jun 2 01:20:03 2010 > Date: Wed, 2 Jun 2010 01:20:07 -0500 > From: Adam Vande More > To: freebsd-questions@freebsd.org > Subject: Re: text editor > > On Wed, Jun 2, 2010 at 1:10 AM, Chad Perrin wrote: > > > On Tue, Jun 01, 2010 at 09:10:22AM -0700, Chip Camden wrote: > > > I remember writing our own text editor, and it had to fit in 64K. > > > > I remember when . . . > > > > I got nuthin'. I think my first text editor was edlin, and it *sucked*. > > > > . . . not counting this nifty editor I called "pencil". > > > > > The phrase "son of an edlin" has happily been retired in my vocabulary for > some time. If you're not aware of it, ed(1) is as capable or more of > causing pain as edlin was and it's still in the FreeBSD base. Anybody else familiar with TECO? <*EVIL* grin> It could do a _LOT_ of things, but a complex command string was nearly indistinguishable from line noise. :) From owner-freebsd-questions@FreeBSD.ORG Wed Jun 2 16:48:09 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 769131065673 for ; Wed, 2 Jun 2010 16:48:09 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (ns2.r-bonomi.com [204.87.227.129]) by mx1.freebsd.org (Postfix) with ESMTP id 32CEF8FC14 for ; Wed, 2 Jun 2010 16:48:08 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.3/rdb1) id o52GljcG022168 for freebsd-questions@freebsd.org; Wed, 2 Jun 2010 11:47:45 -0500 (CDT) Date: Wed, 2 Jun 2010 11:47:45 -0500 (CDT) From: Robert Bonomi Message-Id: <201006021647.o52GljcG022168@mail.r-bonomi.com> To: freebsd-questions@freebsd.org Subject: Re: text editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2010 16:48:09 -0000 > From owner-freebsd-questions@freebsd.org Wed Jun 2 02:11:23 2010 > Date: Wed, 02 Jun 2010 00:06:31 -0700 > From: perryh@pluto.rain.com > To: m.seaman@infracaninophile.co.uk > Cc: freebsd-questions@freebsd.org > Subject: Re: text editor > > Matthew Seaman wrote: > > > Young whippersnappers. *Eight* was the good old days, > > back before the web was invented. > > Dept of (in)famous last words: > > There is no reason for anyone to have a computer in their home. > -- Gordon Bell, founder of DEC > > No one will ever need more than 640K. > -- Bill Gates, perpetrator of Microsoft Worldwide, there might be a demand for five to eight computers -- T. Watson, head of IBM From owner-freebsd-questions@FreeBSD.ORG Wed Jun 2 16:56:49 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F30D21065678 for ; Wed, 2 Jun 2010 16:56:48 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from mail-pz0-f175.google.com (mail-pz0-f175.google.com [209.85.222.175]) by mx1.freebsd.org (Postfix) with ESMTP id C354F8FC1D for ; Wed, 2 Jun 2010 16:56:48 +0000 (UTC) Received: by pzk5 with SMTP id 5so3503243pzk.14 for ; Wed, 02 Jun 2010 09:56:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=uEqMWWM3ohKUDjFP4Ht8SyG9aGXeiObccWS0tarWYLk=; b=Ur2yzEXh2wL3mt4dZhuyO+1HngV81mBoeTl1z3m/LU57H/5ZChaZX6UP/rkQl3faX3 s8AheRmGWSuBreKs0+E6IyJEjAr899cYSFdJ50+SCVJR8XA5tRQQ/38oWAamSvW9onsW zD1/kE/Uy/ApGCbDHXmxnQhlS238Ck9owr1Kg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=scgRiEkOyUcfoPqGeB6/zX2fy6hMo63U2YktbW+e5sR6Gfo4LxQzLczIxOSzT2y8N7 JZF/Rcyz6kbeAmqyi5eCvX7lIyuE+248ibkqQDDzX2UoDpXTG645Oz22FYjxVoBzeqyv TczgQErZr1sop9ZfGFu/m1rw5ZgSiouzC0myQ= MIME-Version: 1.0 Received: by 10.143.87.2 with SMTP id p2mr5091641wfl.323.1275497807687; Wed, 02 Jun 2010 09:56:47 -0700 (PDT) Received: by 10.231.141.215 with HTTP; Wed, 2 Jun 2010 09:56:47 -0700 (PDT) In-Reply-To: <4C0622C2.7080408@gmail.com> References: <4BF532F7.7070003@gmail.com> <4C0622C2.7080408@gmail.com> Date: Wed, 2 Jun 2010 10:56:47 -0600 Message-ID: From: Tim Judd To: John Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Apache 2.2, mod_auth_kerb X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2010 16:56:49 -0000 On 6/2/10, John wrote: > On 2010-05-20 23:34, Tim Judd wrote: >> On 5/20/10, John wrote: >>> Hi list. >>> >>> I'm having problems getting mod_auth_kerb to play nice on one of my >>> servers. >>> I have the exact same setup on other machines and it works perfectly, >>> only difference is this ones running CURRENT while they track RELEASE. >>> >>> Some info: >>> >>> # pkg_info|grep apache&& pkg_info|grep kerb >>> apache-2.2.15_7 Version 2.2.x of Apache web server with prefork MPM. >>> mod_auth_kerb-5.4 An Apache module for authenticating users with >>> Kerberos v5 >>> >>> # uname -a >>> FreeBSD host.example.com 9.0-CURRENT FreeBSD 9.0-CURRENT #5: Tue May 11 >>> 20:04:45 UTC 2010 host.example.com:/usr/obj/usr/src/sys/HOST i386 >>> >>> >>> Everything compiles and installs nicely, but when I try to do a >>> 'apachectl start' I get this: >>> >>> httpd: Syntax error on line 4 of /usr/local/etc/apache22/httpd.conf: >>> Cannot load /usr/local/libexec/apache22/mod_auth_kerb.so into server: >>> /usr/local/libexec/apache22/mod_auth_kerb.so: Undefined symbol >>> "gsskrb5_register_acceptor_identity" >>> >>> Is this due to running current? >>> If it is I will drop the issue right now, I just want to know for sure >>> before I spend hours trying to solve it. >>> >> >> >> It begins to look like GSSAPI is not in there. GSSAPI is part of >> world. You may need to rebuild kerberos with GSSAPI support. Are you >> using the builtin MIT or the add-on heimdal kerberos? > > I'm using the builtin. How do I rebuild kerberos with GSSAPI support, I > though that was builtin by default in FreeBSD since 5.1 somewhere? > > klist, kinit and kdestroy all works fine and I can authenticate against > an Active Directory server, but I just cant get Apache to load the > mod_auth_kerb module. > > I just did a clean install of a FreeBSD 8.1-PRERELEASE, and I have > exactly the same error there so it's not related to running current. > What am I doing wrong? I don't know if I'm reading bsd.apache.mk right (included due to the dependency of apache webserver), but mod_auth_kerb may require apache 1.3, not 2.x does your 8.1 have apache1.3? Maybe it has both nd 1.3 is running? I would bet that a 1.3 module won't work in 2.x does apache2.x have a kerberos module? there have been a ton of additions to apache2.x Let us know. From owner-freebsd-questions@FreeBSD.ORG Wed Jun 2 16:57:21 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5BD741065679 for ; Wed, 2 Jun 2010 16:57:21 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from ozzie.tundraware.com (ozzie.tundraware.com [75.145.138.73]) by mx1.freebsd.org (Postfix) with ESMTP id 1CDB18FC2D for ; Wed, 2 Jun 2010 16:57:20 +0000 (UTC) Received: from [192.168.0.2] (viper.tundraware.com [192.168.0.2]) (authenticated bits=0) by ozzie.tundraware.com (8.14.4/8.14.4) with ESMTP id o52GvE0D024677 (version=TLSv1/SSLv3 cipher=DHE-DSS-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 2 Jun 2010 11:57:14 -0500 (CDT) (envelope-from tundra@tundraware.com) Message-ID: <4C068D67.1010706@tundraware.com> Date: Wed, 02 Jun 2010 11:57:11 -0500 From: Tim Daneliuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: FreeBSD Mailing List X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.5 (ozzie.tundraware.com [75.145.138.73]); Wed, 02 Jun 2010 11:57:14 -0500 (CDT) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: o52GvE0D024677 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No Subject: SMBFS Question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2010 16:57:21 -0000 I have DAGS and cannot find a good explanation for this, so if some kind soul could help it would be appreciated... I use FreeBSD (various versions/flavors) to connect to a USB drive shared off a WinXP machine to write large backup files. I mount this using the SMBFS capabilities. On a pretty regular basis, I see log messages in the form: smb_iod_recvall: drop resp with mid 30562 Are these benign? What exactly do they mean? TIA, ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/ From owner-freebsd-questions@FreeBSD.ORG Wed Jun 2 17:04:20 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CFBE71065673 for ; Wed, 2 Jun 2010 17:04:20 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh2.interactivevillages.com (wh2.interactivevillages.com [75.125.250.34]) by mx1.freebsd.org (Postfix) with ESMTP id A979A8FC14 for ; Wed, 2 Jun 2010 17:04:20 +0000 (UTC) Received: from 174-21-99-21.tukw.qwest.net ([174.21.99.21] helo=_HOSTNAME_) by wh2.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1OJrFo-0002lT-Ik for freebsd-questions@freebsd.org; Wed, 02 Jun 2010 09:57:21 -0700 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Wed, 02 Jun 2010 10:04:14 -0700 Date: Wed, 2 Jun 2010 10:04:14 -0700 From: Chip Camden To: freebsd-questions@freebsd.org Message-ID: <20100602170414.GA49742@libertas.local.camdensoftware.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <201006021645.o52GjEvM022143@mail.r-bonomi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201006021645.o52GjEvM022143@mail.r-bonomi.com> User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh2.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com Subject: Re: text editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2010 17:04:20 -0000 On Jun 02 2010 11:45, Robert Bonomi wrote: > > > On Tue, Jun 01, 2010 at 09:10:22AM -0700, Chip Camden wrote: > > > > I remember writing our own text editor, and it had to fit in 64K. > > > > > > I remember when . . . > > > > > > I got nuthin'. I think my first text editor was edlin, and it *sucked*. > > > > > > . . . not counting this nifty editor I called "pencil". > > > > > > > > The phrase "son of an edlin" has happily been retired in my vocabulary for > > some time. If you're not aware of it, ed(1) is as capable or more of > > causing pain as edlin was and it's still in the FreeBSD base. > > Anybody else familiar with TECO? <*EVIL* grin> > > It could do a _LOT_ of things, but a complex command string was nearly > indistinguishable from line noise. :) > ED is the standard text editor! http://www.gnu.org/fun/jokes/ed.msg.html Yes, I remember TECO -- I've used it to trash many a file. From owner-freebsd-questions@FreeBSD.ORG Wed Jun 2 17:56:24 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2ADC106564A for ; Wed, 2 Jun 2010 17:56:24 +0000 (UTC) (envelope-from btillman99@yahoo.com) Received: from web36508.mail.mud.yahoo.com (web36508.mail.mud.yahoo.com [209.191.85.8]) by mx1.freebsd.org (Postfix) with SMTP id 94ED18FC0A for ; Wed, 2 Jun 2010 17:56:24 +0000 (UTC) Received: (qmail 48815 invoked by uid 60001); 2 Jun 2010 17:56:24 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1275501384; bh=glWj2Hb1rTKPU7TTY3dtl+AR7ZyIorWZkdtcMjFVjkU=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=CQo1I6qvJrOB+1dx6reLiaErlN//gBb7FCkpu/xLeyawt9bZHMLZhIFjxpXlE39/GXJ4qjxudSKJnJXHxlpbzFp5o5EQanWX7+jh8wjMf1gQrMWrSGVRiwRA7+p6B61GWnZOoo8jiPD+9L2yB+brPtQ+8nie163+70qN/Runhnk= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=mY8AhfGSqJk4rFzjS8uoTqdqzTKoo4QSnp2AkbnTUPq1FWE1Z3wxUiGEwOJXZ+hZRWIcerVuNYcpe/udK5xXVgJi2+P1V5MgMWHZqOAP9JjugTyf8nmLdJtUXrl/i0CsMIOAY5FEcRdxh8TzswNREFmVoRWtZW6cC9buYgSFWio=; Message-ID: <999254.57950.qm@web36508.mail.mud.yahoo.com> X-YMail-OSG: Ic2BmEQVM1mM5csRU6shKjoIVogSiJkFz2zf0XmLNSBw_z0 ZTROGSukjMa_0vUoCq5FdiyMIIOUBsyHYD_GeHBYbKDtELROu.BCCmC.fgaJ dP3s67e4jrEwRjGKP5tCNBBza795u9qF5nnE1wbHJjJPlb60.bQ2C_xPE8mj 5hx_Ye4X6hX5nt5xWbOmkqtZpNuKpjeAhLpZOnXpcnZvujRYTXl8XIL7HKUd xrXEtM0JfTrUGjDn_p86O4xug1zyqOmmrrpJ6cb2hPkOIm8RkWhFopEt3Xz8 l0UpIh16VW9fbgA-- Received: from [98.242.233.74] by web36508.mail.mud.yahoo.com via HTTP; Wed, 02 Jun 2010 10:56:23 PDT X-Mailer: YahooMailClassic/11.0.8 YahooMailWebService/0.8.103.269680 Date: Wed, 2 Jun 2010 10:56:23 -0700 (PDT) From: Bill Tillman To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Add watermark to PDF X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2010 17:56:24 -0000 Date: Tue, 1 Jun 2010 19:36:02 +0200 From: "C. P. Ghost" Subject: Re: Add watermark to PDF To: John Almberg Cc: freebsd-questions@freebsd.org Message-ID: =A0=A0=A0 Content-Type: text/plain; charset=3DISO-8859-1 On Tue, Jun 1, 2010 at 4:15 PM, John Almberg wrote: > So basically this script would have to read in the PDF and (ideally) a pl= ain > text file, and output a PDF with the plain text merged into the PDF as a > footer. Maybe this will help? =A0 http://www.reportlab.com/software/opensource/rl-toolkit/ There's even a FreeBSD port for it: =A0 print/py-reportlab2 > Any ideas, much appreciated. > > -- John -cpghost. I think the reportlab program is a bit overkill not to mention the huge lea= rning curve. I have used the port=20 =A0 =A0=A0=A0=A0 /usr/port/print/pdftk =A0 with some success to insert watermarks, merge files and rotate the pages. N= othing beats the real thing when working with PDF files and while Adobe Acr= obat Professional is not cheap, if your doing real work it's worth the inve= stment.=0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Wed Jun 2 20:41:15 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47B931065678 for ; Wed, 2 Jun 2010 20:41:14 +0000 (UTC) (envelope-from ilcsfe@gmail.com) Received: from smtprelay-h22.telenor.se (smtprelay-h22.telenor.se [195.54.99.197]) by mx1.freebsd.org (Postfix) with ESMTP id E1A5D8FC1F for ; Wed, 2 Jun 2010 20:41:13 +0000 (UTC) Received: from ipb1.telenor.se (ipb1.telenor.se [195.54.127.164]) by smtprelay-h22.telenor.se (Postfix) with ESMTP id 32F69CEFF for ; Wed, 2 Jun 2010 22:16:42 +0200 (CEST) X-SENDER-IP: [85.224.52.135] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkgvABpZBkxV4DSHPGdsb2JhbACBOIRDmDABAQEBNbEmh1UuiFSFFgQ X-IronPort-AV: E=Sophos;i="4.53,348,1272837600"; d="scan'208";a="87152883" Received: from c-8734e055.520-1-64736c10.cust.bredbandsbolaget.se (HELO [85.224.52.135]) ([85.224.52.135]) by ipb1.telenor.se with ESMTP; 02 Jun 2010 22:16:41 +0200 Message-ID: <4C06BC26.5040404@gmail.com> Date: Wed, 02 Jun 2010 22:16:38 +0200 From: John User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: Tim Judd References: <4BF532F7.7070003@gmail.com> <4C0622C2.7080408@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Apache 2.2, mod_auth_kerb X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2010 20:41:15 -0000 On 2010-06-02 18:56, Tim Judd wrote: > On 6/2/10, John wrote: >> On 2010-05-20 23:34, Tim Judd wrote: >>> On 5/20/10, John wrote: >>>> Hi list. >>>> >>>> I'm having problems getting mod_auth_kerb to play nice on one of my >>>> servers. >>>> I have the exact same setup on other machines and it works perfectly, >>>> only difference is this ones running CURRENT while they track RELEASE. >>>> >>>> Some info: >>>> >>>> # pkg_info|grep apache&& pkg_info|grep kerb >>>> apache-2.2.15_7 Version 2.2.x of Apache web server with prefork MPM. >>>> mod_auth_kerb-5.4 An Apache module for authenticating users with >>>> Kerberos v5 >>>> >>>> # uname -a >>>> FreeBSD host.example.com 9.0-CURRENT FreeBSD 9.0-CURRENT #5: Tue May 11 >>>> 20:04:45 UTC 2010 host.example.com:/usr/obj/usr/src/sys/HOST i386 >>>> >>>> >>>> Everything compiles and installs nicely, but when I try to do a >>>> 'apachectl start' I get this: >>>> >>>> httpd: Syntax error on line 4 of /usr/local/etc/apache22/httpd.conf: >>>> Cannot load /usr/local/libexec/apache22/mod_auth_kerb.so into server: >>>> /usr/local/libexec/apache22/mod_auth_kerb.so: Undefined symbol >>>> "gsskrb5_register_acceptor_identity" >>>> >>>> Is this due to running current? >>>> If it is I will drop the issue right now, I just want to know for sure >>>> before I spend hours trying to solve it. >>>> >>> >>> >>> It begins to look like GSSAPI is not in there. GSSAPI is part of >>> world. You may need to rebuild kerberos with GSSAPI support. Are you >>> using the builtin MIT or the add-on heimdal kerberos? >> >> I'm using the builtin. How do I rebuild kerberos with GSSAPI support, I >> though that was builtin by default in FreeBSD since 5.1 somewhere? >> >> klist, kinit and kdestroy all works fine and I can authenticate against >> an Active Directory server, but I just cant get Apache to load the >> mod_auth_kerb module. >> >> I just did a clean install of a FreeBSD 8.1-PRERELEASE, and I have >> exactly the same error there so it's not related to running current. >> What am I doing wrong? > > > I don't know if I'm reading bsd.apache.mk right (included due to the > dependency of apache webserver), but mod_auth_kerb may require apache > 1.3, not 2.x > > does your 8.1 have apache1.3? Maybe it has both nd 1.3 is running? > > I would bet that a 1.3 module won't work in 2.x > > does apache2.x have a kerberos module? there have been a ton of > additions to apache2.x > > > > Let us know. Are you looking at /usr/ports/www/mod_auth_kerb or /usr/ports/www/mod_auth_kerb2? mod_auth_kerb2 is for apache 2.x From owner-freebsd-questions@FreeBSD.ORG Wed Jun 2 21:03:53 2010 Return-Path: Delivered-To: freebsd-questions@freeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7AF5F106564A for ; Wed, 2 Jun 2010 21:03:53 +0000 (UTC) (envelope-from pcc@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id C2B548FC15 for ; Wed, 2 Jun 2010 21:03:52 +0000 (UTC) Received: (qmail 26460 invoked by uid 0); 2 Jun 2010 21:03:51 -0000 Received: from 84.163.250.212 by www060.gmx.net with HTTP; Wed, 02 Jun 2010 23:03:50 +0200 (CEST) Content-Type: text/plain; charset="utf-8" Date: Wed, 02 Jun 2010 23:03:50 +0200 From: "Peter Cornelius" Message-ID: <20100602210350.132600@gmx.net> MIME-Version: 1.0 To: FreeBSD Questions X-Authenticated: #491680 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) X-Priority: 3 X-Provags-ID: V01U2FsdGVkX194m5oVDal4p7TnwIOij3ESxNL6gTEuSS8I+e+Ihx 6Heik1TkageKO05B0SldQZGApENnGCFxxHiQ== Content-Transfer-Encoding: 8bit X-GMX-UID: foFgJqRFaHItcNrSISUl72RiamdhZIQ9 X-FuHaFi: 0.70999999999999996 Cc: Subject: Completely jailed tinderbox? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2010 21:03:53 -0000 Dear list, Has anyone ever succeeded to run a tinderbox in a jail who is willing to elaborate on the configuration because it's driving me NUTS. Happy to do that off-list and summarise later on. Looks like neither NFS nor nullfs mounts would work in a jail which is breaking tinderbox builds. Sysctls are set to permit mounts etc. Thanks, Peter. -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 From owner-freebsd-questions@FreeBSD.ORG Wed Jun 2 23:04:25 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E8001065676 for ; Wed, 2 Jun 2010 23:04:25 +0000 (UTC) (envelope-from kline@thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id C3A508FC19 for ; Wed, 2 Jun 2010 23:04:24 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by ethic.thought.org (8.14.3/8.14.3) with ESMTP id o52N4LfT020478 for ; Wed, 2 Jun 2010 16:04:21 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Wed, 2 Jun 2010 16:04:20 -0700 (PDT) Date: Wed, 2 Jun 2010 16:04:20 -0700 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20100602230415.GA30913@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-0.2 required=3.6 tests=ALL_TRUSTED,BAYES_00, GUARANTEED_100_PERCENT,T_RP_MATCHES_RCVD autolearn=no version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on ethic.thought.org Cc: Subject: two questions.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2010 23:04:25 -0000 guys, i just found a truckload of Just Outstanding fonts. at the CTAN .org site there must be hundreds of these superb serif typefaces. in my /home/kline/ directory, i have a ~/.fonts directory. but it's been awhile since i've added to it. what's the magic to getting these tex-gyre fonts can use them? i would like these to be available for abiword, OOo, as well as my tex packages. clues, please. the second question is that a few hours ago i reinstalled something from /usr/ports/print, the lyx15 port. i played around with this only one time and would like this list's opinion of it. i'll probably continue to typeset my manuscripts by hand the way i was learning in the early 90's. would still like the general consensus on lyx and related. tia, gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org 99 44/100% Guaranteed Novel From owner-freebsd-questions@FreeBSD.ORG Wed Jun 2 23:32:31 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C396B106567C for ; Wed, 2 Jun 2010 23:32:31 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail6.sea5.speakeasy.net (mail6.sea5.speakeasy.net [69.17.117.50]) by mx1.freebsd.org (Postfix) with ESMTP id 9D3E68FC08 for ; Wed, 2 Jun 2010 23:32:29 +0000 (UTC) Received: (qmail 9079 invoked from network); 2 Jun 2010 23:32:28 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail6.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 2 Jun 2010 23:32:28 -0000 Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.6]) by be-well.ilk.org (Postfix) with ESMTP id 062C05082E; Wed, 2 Jun 2010 19:32:21 -0400 (EDT) Received: by lowell-desk.lan (Postfix, from userid 1147) id 381A31CC23; Wed, 2 Jun 2010 19:32:21 -0400 (EDT) From: Lowell Gilbert To: Gary Kline References: <20100602230415.GA30913@thought.org> Date: Wed, 02 Jun 2010 19:32:20 -0400 In-Reply-To: <20100602230415.GA30913@thought.org> (Gary Kline's message of "Wed, 2 Jun 2010 16:04:20 -0700") Message-ID: <44hbllf1tn.fsf@lowell-desk.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: FreeBSD Mailing List Subject: Re: two questions.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2010 23:32:31 -0000 Gary Kline writes: > guys, i just found a truckload of Just Outstanding fonts. at the > CTAN .org site there must be hundreds of these superb serif > typefaces. in my /home/kline/ directory, i have a ~/.fonts > directory. but it's been awhile since i've added to it. what's > the magic to getting these tex-gyre fonts can use them? i would > like these to be available for abiword, OOo, as well as my tex > packages. clues, please. mkfontdir(1) and mkfontscale(1) are all you need. From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 00:12:00 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B071106566B for ; Thu, 3 Jun 2010 00:12:00 +0000 (UTC) (envelope-from kline@thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 08D568FC1F for ; Thu, 3 Jun 2010 00:11:59 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by ethic.thought.org (8.14.3/8.14.3) with ESMTP id o530Bsc8020810; Wed, 2 Jun 2010 17:11:54 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Wed, 2 Jun 2010 17:11:53 -0700 (PDT) Date: Wed, 2 Jun 2010 17:11:53 -0700 From: Gary Kline To: Lowell Gilbert Message-ID: <20100603001153.GB38184@thought.org> References: <20100602230415.GA30913@thought.org> <44hbllf1tn.fsf@lowell-desk.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44hbllf1tn.fsf@lowell-desk.lan> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-0.2 required=3.6 tests=ALL_TRUSTED,BAYES_00, GUARANTEED_100_PERCENT,T_RP_MATCHES_RCVD autolearn=no version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on ethic.thought.org Cc: FreeBSD Mailing List Subject: Re: two questions.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 00:12:00 -0000 On Wed, Jun 02, 2010 at 07:32:20PM -0400, Lowell Gilbert wrote: > Gary Kline writes: > > > guys, i just found a truckload of Just Outstanding fonts. at the > > CTAN .org site there must be hundreds of these superb serif > > typefaces. in my /home/kline/ directory, i have a ~/.fonts > > directory. but it's been awhile since i've added to it. what's > > the magic to getting these tex-gyre fonts can use them? i would > > like these to be available for abiword, OOo, as well as my tex > > packages. clues, please. > > mkfontdir(1) and mkfontscale(1) are all you need. yeah, check my notes; wsasn't clear. do i run each command in ~/.fonts/TTF and ~/.fonts/Type1 [[[ after i move the tex-* over there? [there are already scores of fonts there.] Matthew mumbled something about 'sadmin' and i found the biary like that. it changed my printer name and said it added 28 ttf fonts.... [?] -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org 99 44/100% Guaranteed Novel From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 00:13:27 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D318C106566C for ; Thu, 3 Jun 2010 00:13:27 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr18.xs4all.nl (smtp-vbr18.xs4all.nl [194.109.24.38]) by mx1.freebsd.org (Postfix) with ESMTP id 627A48FC1D for ; Thu, 3 Jun 2010 00:13:25 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr18.xs4all.nl (8.13.8/8.13.8) with ESMTP id o530DM3b045821; Thu, 3 Jun 2010 02:13:22 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id 19748BAA7; Thu, 3 Jun 2010 02:13:22 +0200 (CEST) Date: Thu, 3 Jun 2010 02:13:22 +0200 From: Roland Smith To: Lowell Gilbert Message-ID: <20100603001322.GA86606@slackbox.erewhon.net> References: <20100602230415.GA30913@thought.org> <44hbllf1tn.fsf@lowell-desk.lan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Qxx1br4bt0+wmkIi" Content-Disposition: inline In-Reply-To: <44hbllf1tn.fsf@lowell-desk.lan> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: Gary Kline , FreeBSD Mailing List Subject: Re: two questions.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 00:13:27 -0000 --Qxx1br4bt0+wmkIi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 02, 2010 at 07:32:20PM -0400, Lowell Gilbert wrote: > Gary Kline writes: >=20 > > guys, i just found a truckload of Just Outstanding fonts. at the > > CTAN .org site there must be hundreds of these superb serif > > typefaces. in my /home/kline/ directory, i have a ~/.fonts > > directory. but it's been awhile since i've added to it. what's > > the magic to getting these tex-gyre fonts can use them? i would > > like these to be available for abiword, OOo, as well as my tex > > packages. clues, please. =20 >=20 > mkfontdir(1) and mkfontscale(1) are all you need. And fc-cache(1), I think. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --Qxx1br4bt0+wmkIi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwG86IACgkQEnfvsMMhpyWFFACfcPh4F67446EEuPwyFZm5RYnZ TboAnR7qaDjIKISrOO8NF9YdgdED9lIP =HIs4 -----END PGP SIGNATURE----- --Qxx1br4bt0+wmkIi-- From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 00:24:15 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 374601065673 for ; Thu, 3 Jun 2010 00:24:15 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id E68E28FC17 for ; Thu, 3 Jun 2010 00:24:14 +0000 (UTC) Received: by gwj23 with SMTP id 23so5986635gwj.13 for ; Wed, 02 Jun 2010 17:24:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=8m4pZjv+YmtA+4xXhgAunSCZK6throMCT7yRdrk3ddQ=; b=mny4YFl7yExlii5HNebP2OhhoPBXObWGkh7J06uLcj7/XKCzNriUrmpPofmE5xZkI9 jquP8mLUITkBlnhlXbMYtUtd2ZrcpEF7Ks7FhLN+w4Mjn1GEq2NF+IX7gjHQ5vUBs465 cIITgGUh2ItQCePTtym3zLFfKIKzZ1moKWQtc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=h54oBTjdIQQxmzWWPRB6c6lHrpgFOHubkribU1t3dQnHs4wyu9eHjaYCE7/GhiH06O drkm8l7lNtVixA79D6TDxBZyNT7/VjsqM3aBSOOu2GEDJDTyxuhdoHPEuKOZIc6AMrse JFPGSItOYzTB2tel4m1l+YTaMmubFtkTGD/YA= MIME-Version: 1.0 Received: by 10.231.187.3 with SMTP id cu3mr10764496ibb.75.1275524653652; Wed, 02 Jun 2010 17:24:13 -0700 (PDT) Received: by 10.231.141.215 with HTTP; Wed, 2 Jun 2010 17:24:13 -0700 (PDT) In-Reply-To: <4C06BC26.5040404@gmail.com> References: <4BF532F7.7070003@gmail.com> <4C0622C2.7080408@gmail.com> <4C06BC26.5040404@gmail.com> Date: Wed, 2 Jun 2010 18:24:13 -0600 Message-ID: From: Tim Judd To: John Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Apache 2.2, mod_auth_kerb X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 00:24:15 -0000 On 6/2/10, John wrote: > On 2010-06-02 18:56, Tim Judd wrote: >> On 6/2/10, John wrote: >>> On 2010-05-20 23:34, Tim Judd wrote: >>>> On 5/20/10, John wrote: >>>>> Hi list. >>>>> >>>>> I'm having problems getting mod_auth_kerb to play nice on one of my >>>>> servers. >>>>> I have the exact same setup on other machines and it works perfectly, >>>>> only difference is this ones running CURRENT while they track RELEASE. >>>>> >>>>> Some info: >>>>> >>>>> # pkg_info|grep apache&& pkg_info|grep kerb >>>>> apache-2.2.15_7 Version 2.2.x of Apache web server with prefork >>>>> MPM. >>>>> mod_auth_kerb-5.4 An Apache module for authenticating users with >>>>> Kerberos v5 >>>>> >>>>> # uname -a >>>>> FreeBSD host.example.com 9.0-CURRENT FreeBSD 9.0-CURRENT #5: Tue May 11 >>>>> 20:04:45 UTC 2010 host.example.com:/usr/obj/usr/src/sys/HOST i386 >>>>> >>>>> >>>>> Everything compiles and installs nicely, but when I try to do a >>>>> 'apachectl start' I get this: >>>>> >>>>> httpd: Syntax error on line 4 of /usr/local/etc/apache22/httpd.conf: >>>>> Cannot load /usr/local/libexec/apache22/mod_auth_kerb.so into server: >>>>> /usr/local/libexec/apache22/mod_auth_kerb.so: Undefined symbol >>>>> "gsskrb5_register_acceptor_identity" >>>>> >>>>> Is this due to running current? >>>>> If it is I will drop the issue right now, I just want to know for sure >>>>> before I spend hours trying to solve it. >>>>> >>>> >>>> >>>> It begins to look like GSSAPI is not in there. GSSAPI is part of >>>> world. You may need to rebuild kerberos with GSSAPI support. Are you >>>> using the builtin MIT or the add-on heimdal kerberos? >>> >>> I'm using the builtin. How do I rebuild kerberos with GSSAPI support, I >>> though that was builtin by default in FreeBSD since 5.1 somewhere? >>> >>> klist, kinit and kdestroy all works fine and I can authenticate against >>> an Active Directory server, but I just cant get Apache to load the >>> mod_auth_kerb module. >>> >>> I just did a clean install of a FreeBSD 8.1-PRERELEASE, and I have >>> exactly the same error there so it's not related to running current. >>> What am I doing wrong? >> >> >> I don't know if I'm reading bsd.apache.mk right (included due to the >> dependency of apache webserver), but mod_auth_kerb may require apache >> 1.3, not 2.x >> >> does your 8.1 have apache1.3? Maybe it has both nd 1.3 is running? >> >> I would bet that a 1.3 module won't work in 2.x >> >> does apache2.x have a kerberos module? there have been a ton of >> additions to apache2.x >> >> >> >> Let us know. > > Are you looking at /usr/ports/www/mod_auth_kerb or > /usr/ports/www/mod_auth_kerb2? > > mod_auth_kerb2 is for apache 2.x was looking at ports/www/mod_auth_kerb i think i'm outta ideas. was basic troubleshooting, but I've kind of given up on kerberos auth. binding to LDAP works when working against Microsoft AD From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 00:46:47 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B54C7106564A for ; Thu, 3 Jun 2010 00:46:47 +0000 (UTC) (envelope-from vogelke@beta.hcst.com) Received: from beta.hcst.com (beta.hcst.com [192.52.183.241]) by mx1.freebsd.org (Postfix) with ESMTP id 7FEE58FC18 for ; Thu, 3 Jun 2010 00:46:45 +0000 (UTC) Received: from beta.hcst.com (localhost [127.0.0.1]) by beta.hcst.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o530XuKt012550 for ; Wed, 2 Jun 2010 20:33:56 -0400 Received: (from vogelke@localhost) by beta.hcst.com (8.14.3/8.14.3/Submit) id o530Xu7w012549; Wed, 2 Jun 2010 20:33:56 -0400 Received: by bsd118.wpafb.af.mil (Postfix, from userid 583) id EF2F6BE86; Wed, 2 Jun 2010 20:15:41 -0400 (EDT) To: freebsd-questions@freebsd.org In-reply-to: <50028792@bb.ipt.ru> (message from Boris Samorodov on Wed, 02 Jun 2010 10:44:07 +0400) Organization: Array Infotech X-Disclaimer: I don't speak for the USAF or Array Infotech. X-GPG-ID: 1024D/711752A0 2006-06-27 Karl Vogel X-GPG-Fingerprint: 56EB 6DBF 4224 C953 F417 CC99 4C7C 7D46 7117 52A0 Message-Id: <20100603001541.EF2F6BE86@bsd118.wpafb.af.mil> Date: Wed, 2 Jun 2010 20:15:41 -0400 (EDT) From: vogelke@bsd118.wpafb.af.mil (Karl Vogel) Subject: Re: Sending alarms to my mobile phone X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vogelke+unix@pobox.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 00:46:47 -0000 >> On Tue, 1 Jun 2010 11:25:10 +0700 (ICT) Olivier Nicole wrote: O> I would like my FreeBSD server to send alarms to my mobile phone, it O> could be voice messages or SMS. Some vendors provide email addresses for text messaging in the USA. Substitute your phone number including area code for the X's. These addresses were valid as of 10 Feb 2010. YMMV, etc. ATT Wireless Example: xxxxxxxxxx@att.com Customer service - 1-800-331-0500 http://www.att.com/wireless Sprint PCS Example: xxxxxxxxxx@messaging.sprintpcs.com Customer service - 1-888-211-4727 http://www.sprint.com/ T-Mobile Example: xxxxxxxxxx@tmomail.net http://www.t-mobile.com/ USA Mobility Example: xxxxxxxxxx@usamobility.com for Alpha/Digital Customers xxxxxxxxxx@usamobility.net for 2-way customers Customer service - 1-888-957-7243 http://www.usamobility.com/ Verizon Wireless Example: xxxxxxxxxx@vtext.com Customer service - 1-800-561-6227 http://www.verizonwireless.com/ -- Karl Vogel I don't speak for the USAF or my company Irrationality is the square root of all evil. --Douglas Hofstadter From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 00:59:15 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B8E2106564A for ; Thu, 3 Jun 2010 00:59:15 +0000 (UTC) (envelope-from prvs=07631e7a27=johnl@iecc.com) Received: from gal.iecc.com (gal.iecc.com [64.57.183.53]) by mx1.freebsd.org (Postfix) with ESMTP id D3C978FC0A for ; Thu, 3 Jun 2010 00:59:14 +0000 (UTC) Received: (qmail 44433 invoked from network); 3 Jun 2010 00:31:13 -0000 Received: from mail1.iecc.com (64.57.183.56) by mail1.iecc.com with QMQP; 3 Jun 2010 00:31:13 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=iecc.com; h=date:message-id:from:to:subject:in-reply-to:cc:mime-version:content-type:content-transfer-encoding; s=k1006; olt=johnl@user.iecc.com; bh=7jsbaXXWw7OUy0Lb3X3cI+0ROE5e9/bDP8xYSo3Yjfw=; b=C+pyKB3AGAmfJIsCnorAA+BP7YPElttaT4jtYlX3mNbJ0H7wDHojOxc0RzBW3pFyiDfB2ykgzPE/vilEdX7u7Rq9JHTp4wN3v6rso19gI3ifnQVIarRcHdE7Axr0cjYA0Gh3czgqvinjHl1y5rMXI89PD8zLtYv/GyCmigNWZ0E= Date: 3 Jun 2010 00:31:12 -0000 Message-ID: <20100603003112.46031.qmail@joyce.lan> From: John Levine To: freebsd-questions@freebsd.org In-Reply-To: <201006021645.o52GjEvM022143@mail.r-bonomi.com> Organization: X-Headerized: yes Mime-Version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7bit Cc: bonomi@mail.r-bonomi.com Subject: Re: text editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 00:59:15 -0000 >Anybody else familiar with TECO? <*EVIL* grin> Oh, you mean that editor I used on a PDP-6? Sigh. Yes. R's, John From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 01:11:19 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 241C9106568C for ; Thu, 3 Jun 2010 01:11:19 +0000 (UTC) (envelope-from MTaylor@bytecraft.com.au) Received: from bcmelmx.bytecraft.au.com (bcmelmx.bytecraft.au.com [203.39.118.2]) by mx1.freebsd.org (Postfix) with ESMTP id 895BE8FC14 for ; Thu, 3 Jun 2010 01:11:16 +0000 (UTC) Received: from svmailmarshal.bytecraft.internal ([10.48.0.3]) by bcmelmx.bytecraft.au.com (8.13.8/8.12.11) with ESMTP id o531BDId075859; Thu, 3 Jun 2010 11:11:13 +1000 (EST) (envelope-from MTaylor@bytecraft.com.au) Received: from svmailmel.bytecraft.internal (Not Verified[10.48.0.24]) by svmailmarshal.bytecraft.internal with MailMarshal (v6, 7, 2, 8378) id ; Thu, 03 Jun 2010 11:11:13 +1000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Thu, 3 Jun 2010 11:11:12 +1000 Message-ID: In-Reply-To: <20100603003112.46031.qmail@joyce.lan> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: text editor Thread-Index: AcsCuBUx1XU2FFVRTfKG7JudwvYoIAAAQIuQ From: "Murray Taylor" To: "John Levine" , Cc: bonomi@mail.r-bonomi.com Subject: RE: text editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 01:11:19 -0000 Hmm i remember a 'game' where you opened a file then predicted what would happen if you just typed your name at the command prompt... then of course you had to do it to see if your guess was right... ie in vi "dwight" would delete a word then insert "ght"=20 =20 destroyed the odd file or two i remember with the addition of 'random' control key additions.... Murray Taylor Bytecraft Systems Special Projects Engineer P: +61 3 8710 0600 D: +61 3 9238 4275 F: +61 3 9238 4140 -- =20|_|0|_| "Absence of evidence =20|_|_|0| is not evidence of absence" =20|0|0|0| Carl Sagan -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of John Levine Sent: Thursday, June 03, 2010 10:31 AM To: freebsd-questions@freebsd.org Cc: bonomi@mail.r-bonomi.com Subject: Re: text editor >Anybody else familiar with TECO? <*EVIL* grin> Oh, you mean that editor I used on a PDP-6? Sigh. Yes. R's, John _______________________________________________ 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" --------------------------------------------------------------- The information transmitted in this e-mail is for the exclusive use of the intended addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material.=20 E-mails may not be secure, may contain computer viruses and may be corrupted in transmission. Please carefully check this e-mail (and any attachment) accordingly. No warranties are given and no liability is accepted for any loss or damage caused by such matters. --------------------------------------------------------------- ### This e-mail message has been scanned for Viruses by Bytecraft ### From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 01:32:23 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2FCEA1065670 for ; Thu, 3 Jun 2010 01:32:23 +0000 (UTC) (envelope-from aiza21@comclark.com) Received: from avmxsmtp1.comclark.com (avmxsmtp1.comclark.com [202.69.191.115]) by mx1.freebsd.org (Postfix) with ESMTP id BEA398FC0C for ; Thu, 3 Jun 2010 01:32:22 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArEjAPCiBkzKRa1aPGdsb2JhbAAHh2SWRAEBAQE1J8BHhRYEg0Y X-IronPort-AV: E=Sophos;i="4.53,350,1272816000"; d="scan'208";a="1811106" Received: from unknown (HELO [10.0.10.3]) ([202.69.173.90]) by avmxsmtp4.comclark.com with ESMTP; 03 Jun 2010 09:32:21 +0800 Message-ID: <4C070621.5060109@comclark.com> Date: Thu, 03 Jun 2010 09:32:17 +0800 From: Aiza User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: "questions@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: .sh & tar X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 01:32:23 -0000 When I exec tar from within a .sh shell script I get this message tar: Removing leading '/' from member names I have tar outputting to > /dev/null and still get this message. With -v or without makes no difference. How can I stop this From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 01:41:38 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8402B106566B for ; Thu, 3 Jun 2010 01:41:38 +0000 (UTC) (envelope-from merlyn@stonehenge.com) Received: from red.stonehenge.com (red.stonehenge.com [208.79.95.2]) by mx1.freebsd.org (Postfix) with ESMTP id 706DF8FC0A for ; Thu, 3 Jun 2010 01:41:38 +0000 (UTC) Received: by red.stonehenge.com (Postfix, from userid 1001) id 92676158DE; Wed, 2 Jun 2010 18:41:37 -0700 (PDT) From: merlyn@stonehenge.com (Randal L. Schwartz) To: Robert Bonomi References: <201006021645.o52GjEvM022143@mail.r-bonomi.com> x-mayan-date: Long count = 12.19.17.7.7; tzolkin = 7 Manik; haab = 0 Zotz Date: Wed, 02 Jun 2010 18:41:37 -0700 In-Reply-To: <201006021645.o52GjEvM022143@mail.r-bonomi.com> (Robert Bonomi's message of "Wed, 2 Jun 2010 11:45:14 -0500 (CDT)") Message-ID: <86typk6gfi.fsf@red.stonehenge.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: text editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 01:41:38 -0000 >>>>> "Robert" == Robert Bonomi writes: Robert> Anybody else familiar with TECO? <*EVIL* grin> I wrote a screen-based editor in it, having heard of Emacs, wanting to do the same thing. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 02:04:30 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B52D2106566C for ; Thu, 3 Jun 2010 02:04:30 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-313.bluehost.com (cpoproxy3-pub.bluehost.com [67.222.54.6]) by mx1.freebsd.org (Postfix) with SMTP id 824208FC12 for ; Thu, 3 Jun 2010 02:04:29 +0000 (UTC) Received: (qmail 6379 invoked by uid 0); 3 Jun 2010 02:04:29 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by cpoproxy3.bluehost.com with SMTP; 3 Jun 2010 02:04:29 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=ciMGGpfehtNhGDzKtUgDbMU5X6+rmGZnDASCarGMs5VyMool43/AMKpU0lShnhnYBr533rvRQtL3KstVEZc9g8cu2LrL8YmpaGZHZyfeYwyMNh1VAWa2flOZVdel02U0; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kukaburra.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1OJznI-0000a2-8t for freebsd-questions@freebsd.org; Wed, 02 Jun 2010 20:04:29 -0600 Received: by kukaburra.hydra (sSMTP sendmail emulation); Wed, 02 Jun 2010 20:04:16 -0600 Date: Wed, 2 Jun 2010 20:04:15 -0600 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20100603020415.GA11766@guilt.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <201006021645.o52GjEvM022143@mail.r-bonomi.com> <86typk6gfi.fsf@red.stonehenge.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6TrnltStXW4iwmi0" Content-Disposition: inline In-Reply-To: <86typk6gfi.fsf@red.stonehenge.com> User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Subject: Re: text editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 02:04:30 -0000 --6TrnltStXW4iwmi0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 02, 2010 at 06:41:37PM -0700, Randal L. Schwartz wrote: > >>>>> "Robert" =3D=3D Robert Bonomi writes: >=20 > Robert> Anybody else familiar with TECO? <*EVIL* grin> >=20 > I wrote a screen-based editor in it, having heard of Emacs, wanting to > do the same thing. How did that work out -- and what happened to it? --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --6TrnltStXW4iwmi0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwHDZ8ACgkQ9mn/Pj01uKVYbwCgqotgcDQ5jxDVDjhav15WB46A nlgAnj7NV1PMYdg+C/b3jwCI3cBe3km0 =Eq5U -----END PGP SIGNATURE----- --6TrnltStXW4iwmi0-- From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 02:06:45 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 082741065670 for ; Thu, 3 Jun 2010 02:06:45 +0000 (UTC) (envelope-from qdc@qdc.com.my) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id C17E18FC18 for ; Thu, 3 Jun 2010 02:06:44 +0000 (UTC) Received: by pvh11 with SMTP id 11so355336pvh.13 for ; Wed, 02 Jun 2010 19:06:44 -0700 (PDT) Received: by 10.142.56.12 with SMTP id e12mr5793096wfa.162.1275529476637; Wed, 02 Jun 2010 18:44:36 -0700 (PDT) Received: from QDC ([115.133.65.141]) by mx.google.com with ESMTPS id 20sm6089212pzk.11.2010.06.02.18.44.28 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 02 Jun 2010 18:44:35 -0700 (PDT) Organization: Quality Dynamics Consultancy Sdn Bhd Message-ID: <96e1816943e59816e80c7555001451aa@qdc.com.my> From: "Quality Dynamics Consultancy Sdn Bhd" To: Date: Thu, 3 Jun 2010 09:25:11 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Malaysian Customs Procedures & Accounting Skills For Accounts Clerks & Assistants Training X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: qdc@qdc.com.my List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 02:06:45 -0000 Disclaimer: If this mail has been sent to you by mistake or if you prefer = not to receive any future emails on Training Program from us, please reply = this e-mail with "REMOVE" in the subject line. We apologize for any = inconveniences caused. Thank you for your time=2E Please forward this e-mail to your relatives, colleagues, friends or any = of your contacts, if you feel that the program will benefit them.=20 Thank you for your time=2E QUALITY DYNAMICS CONSULTANCY SDN BHD (Co. No. 620717-P) ( www.qdc.com.my )=20 (PSMB Reg. No: 0938) (MoF Reg. No: 357-02064214) =20 PRESENTS Malaysian Customs Procedures=20 (by Mr. P. Nadaraja) ( 15 =96 16 June 2010 (Holiday Inn Glenmarie) OBJECTIVES At the end of the course, participants will be able to: =95 Gain an insight into how the Customs Department is organized into = various divisions =95 Ensure that businesses stay on the right side of the law as well=20 as guide the businesses on the required documentation=2E =95 assist businesses to discover the various facilities available in = order to remain competitive=20 =95 Explore and discover the possibilities of tax savings=2E PROGRAM CONTENT =95 Objectives, Responsibilities & Organizational structure of Customs = Department =95 Sales Tax Procedures - Licensing=20 - Scope & charge to Tax - Exemptions/Refund & Drawback - Facilities under Sales Tax Act - Offences & Penalties =95 Service Tax Procedures - Licensing - Scope & Charge to tax - Refund claims - Calculation of threshold =95 Valuation & Classification - General principles of valuation and Form Customs 1A - Principles and rules of classification =95 Import & Export Procedures & Documentation - Legislations - Legal landing place and mode of transport - Customs declaration forms - Examination and assessment by Customs - Claim for preferential rates of CEPT & AHTN - Customs clearance & Payment of duty - Payment under protest, transhipment & transportation - Import / Export Prohibition Orders - Procedures in Labuan & Langkawi - Offences under section 133 & 135 Customs Act 1967 =95 An outline of facilities under Customs Act 1967 - Licensed Warehouse under section 65 - Licensed Manufacturing Warehouse under section 65/65A - Temporary Import / ATA Carnet under section 97 Customs Act 1967 - Refund & Drawback under section 16,93,95 and 99=20 Customs Act 1967=20 - Treasury Exemptions under section 14(2) Customs=20 Act 1967 - International Procurement Centers=2E =95 Free Zones under Free Zone Act 1990 =95 Appeal System =95 Questions & Answers=2E INVESTMENT (Fee) Enjoy EARLY BIRD Rate by (02/06/10) at RM 910.00 per participant for a minimum of 2 participants from the same = company RM 960.00 per participant Group Discount : RM 1,010.00 per participant for a minimum of 2 = participants from the same company=2E Standard : RM 1,060.00 per participant Accounting Skills For Accounts Clerks & Assistants (by MR. Thye Foot Leong) (15=96 16 June 2010) (Holiday Inn Glenmarie) OBJECTIVES This course would enable accounting staff to understand and appreciate the = steps performed in the accounting process and their contribution to = management decision making=2E In today=92s computerized accounting world, accounting staff perform very = specific duties as part of the accounting process. They may be involved = in one specific area like handling accounts payable, accounts receivable, = payroll, cash book, etc. As a result, they are often very focused in = their respective areas of work that they may not be aware or knowledgeable = of the other important areas in accounting=2E With the advancement of computerized accounting packages, the accounting = process is somewhat isolated and as a result these staff do not see the = physical transaction actually taking place. This may lead to a lack of = understanding of the accounting process. Knowledge in these other areas = of accounting will enable the staff to contribute more effectively to the = organization=2E PROGRAM CONTENT INTRODUCTION =95 What is Accounting? =95 Accounting Process =95 Role in today=92s business =95 The Accounting Equation=20 =95 Transaction Analysis =09 THE RECORDING PROCESS DOUBLE ENTRY SYSTEM OF RECORDING =95 Assets =95 Liabilities =95 Capital =95 Revenue =95 Expenses =95 Extracting the Trial Balance =95 Exercise =20 PREPARING BASIC FINANCIAL STATEMENTS=20 =95 The Trading Account =95 The Profit & Loss Account =95 The Balance Sheet BOOKS OF ORIGINAL ENTRY JOURNALS =95 Cash Book =95 Sales & Purchases Journal =95 Returns Journal =95 The General Journal POSTING TO LEDGER =95 The Creditors Ledger =95 The Debtors Ledger =95 The General Ledger =95 Exercise ADJUSTMENTS AT FINANCIAL YEAR END =20 =95 Cash Versus Accrual Accounting =95 Matching Principle =95 Accrued Expenses =95 Prepayments =95 Unearned Revenue =95 Bad Debts & Provision for Doubtful Debts =95 Impact on Financial Statements =95 Exercise ACCOUNTING FOR FIXED ASSETS =95 Historical Cost Concept =95 Depreciation =96 Calculation & Recording =95 Gain or Loss on Sale =95 Impact on Financial Statements =95 Exercise PREPARATION OF FINANCIAL STATEMENTS WITH ADJUSTMENTS =20 =95 The Trading Account =95 The Profit & Loss Account =95 The Balance Sheet =95 Exercise FINANCIAL STATEMENT ANALYSIS USING RATIOS =95 Profitability Ratios =95 Efficiency Ratios =95 Liquidity Ratios =95 Gearing Ratios =95 Investment Ratios =95 Exercise BUDGETING =95 Sales Budget =95 Production Budget =95 Raw Materials Purchases Budget =95 Overhead Budget =95 Labour Budget =95 Cash Budget =95 Exercise WORKING CAPITAL MANAGEMENT =95 Importance of Working Capital=20 =95 The Operating cycle =95 The Cash conversion cycle =95 Accounts Receivable & Payable =95 Evaluating short-term finance EXERCISES ON WORKING CAPITAL=09 INVESTMENT (Fee) Enjoy EARLY BIRD Rate by (01/06/10) at RM 860.00 per participant for a minimum of 2 participants from the same = company RM 910.00 per participant Group Discount : RM 960.00 per participant for a minimum of 2 participants from the same company=2E Standard : RM 1,010.00 per participant Registration & payment Please call 03-78054587 / 03-78044196 for more information or any = enquiries. Our phone line operation hours are from 8:30am to 6:00pm from = Monday to Friday=2E Completed registration form with CHEQUES should be made in favor of = "Quality Dynamics Consultancy Sdn Bhd"=20 THIS PROGRAM IS CLAIMABLE UNDER SBL SCHEME=20 Quality Dynamics Consultancy Sdn Bhd reserves the right to cancel or = reschedule the above course and shall inform participants of the changes TRAINING SCHEDULE : JUNE 2010 08 Customer Service & Telephone Techniques 08 =96 09 Leadership & Managerial Skills for Executives & Supervisors 08 =96 10 Quality Improvement Camp (3 Days) 09 Kecemerlangan Kerja Dispatch, Pembantu Pejabat & Pemandu 09 =96 10 Kepimpinan & Penyeliaan Cemerlang 09 =96 10 Leadership, Motivation & Supervisory Development Skills 09 =96 10 Pencegahan & Pengurangan Pembaziran untuk Penyelia & Eksekutif 15 =96 16 Malaysian Custom Procedures 15 =96 16 Effective Negotiation Skills & Strategies in Supply Chain 15 =96 16 Problem Solving & Decision Making 15 =96 16 Latihan Juruaudit Dalaman 5S 15 =96 16 Accounting Skills For Accounts Clerks & Assistants 15 =96 16 Kemahiran Penyeliaan Yang Efektif 17 =96 18 7 New QC Tools 21 - 22 Managing Performance Excellence 21 - 22 Improve Your Writing Skills in Drafting a HR Documents 22 =96 23 Meningkatkan Kecemerlangan Setiausaha, Pembantu Tadbir & Penyelia 22 =96 23 ISO 9001:2008 QMS (Interpretation, Documentation, Implementation) 22 =96 23 Effective Data Analysis for Better Decision Making 24 =96 25 Statistical Process Control (SPC) for Executives and Engineers 29 =96 30 Amalan Kaizen (untuk Meningkatkan Kecekapan Proses)=20 29 =96 30 Motivasi ke Arah Kecemerlangan Prestasi 29 =96 30 Communication & Interpersonal Skills 29 =96 30 Understanding Sales Tax & Service Tax in Malaysia Anti-SPAM Policy Disclaimer: Mail cannot be considered spam as long as we = include contact information and a remove link for removal from this = mailing list. If this e-mail is unsolicited, please accept our apologies. = Further transmissions to you by the sender may be stopped at NO COST to = you. From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 02:15:10 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7721C106566C for ; Thu, 3 Jun 2010 02:15:10 +0000 (UTC) (envelope-from xkyanh@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2CEA28FC18 for ; Thu, 3 Jun 2010 02:15:09 +0000 (UTC) Received: by gwj23 with SMTP id 23so6069871gwj.13 for ; Wed, 02 Jun 2010 19:15:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:in-reply-to:references:organization:user-agent :x-operating-system:x-face:face:x-mailer:mime-version:content-type :content-transfer-encoding; bh=BL/NuxqEPKJmIEk+fvOWBGPjEO/wCgK0ZNYw8MU5pc0=; b=xKQzi5VUiYl6e+Tx8fM5rLcw48j3LP3zzKjNQU1eqxmJ1vu949BFOM+onwjPdRS/rv sXwrOTOI01nhPU67VNkyJ0c0DtCfZBQd+7kNvqF67/kOnNlysRWoBx6CmlxwMSSXSwhv K8LzilMRpVQcNoE/dbjiwKmRGBWY1/+e/5xCI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references :organization:user-agent:x-operating-system:x-face:face:x-mailer :mime-version:content-type:content-transfer-encoding; b=KPTOj7/vIRxLTST1OAyMiZcC6IMXCAuJ0lnEAqUEJDEhnLC3CcFE3IrlNvHBenaeXu FRyUEgIjiAYC+omnZmbomjx8Tk3bwfbjvy4vvbhP69zrSaUe4uKrjHHmy6UArn+IA+qe ZCdZumiB+MWnPPnAAP4rTeEqW977anko7DZ78= Received: by 10.42.7.210 with SMTP id f18mr2626202icf.9.1275531305211; Wed, 02 Jun 2010 19:15:05 -0700 (PDT) Received: from icy.localdomain ([115.78.0.218]) by mx.google.com with ESMTPS id b3sm39504762ibf.1.2010.06.02.19.15.03 (version=SSLv3 cipher=RC4-MD5); Wed, 02 Jun 2010 19:15:04 -0700 (PDT) Date: Thu, 3 Jun 2010 09:14:56 +0700 From: "Anh Ky Huynh" To: Aiza Message-ID: <20100603091456.4dc9dc8f@icy.localdomain> In-Reply-To: <4C070621.5060109@comclark.com> References: <4C070621.5060109@comclark.com> Organization: Vietnamese TeX Users Group User-Agent: FreeBSD X-Operating-System: FreeBSD X-Face: FreeBSD Face: FreeBSD X-Mailer: FreeBSD Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "questions@freebsd.org" Subject: Re: .sh & tar X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 02:15:10 -0000 On Thu, 03 Jun 2010 09:32:17 +0800 Aiza wrote: > When I exec tar from within a .sh shell script I get this message > tar: Removing leading '/' from member names > I have tar outputting to > /dev/null and still get this message. > With -v or without makes no difference. > > How can I stop this How about tar ... 1>/dev/null 2>&1 ? -- Anh Ky Huynh From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 02:16:10 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5DB35106564A for ; Thu, 3 Jun 2010 02:16:10 +0000 (UTC) (envelope-from merlyn@stonehenge.com) Received: from red.stonehenge.com (red.stonehenge.com [208.79.95.2]) by mx1.freebsd.org (Postfix) with ESMTP id 4A67E8FC16 for ; Thu, 3 Jun 2010 02:16:09 +0000 (UTC) Received: by red.stonehenge.com (Postfix, from userid 1001) id C60A2159CA; Wed, 2 Jun 2010 19:16:09 -0700 (PDT) From: merlyn@stonehenge.com (Randal L. Schwartz) To: freebsd-questions@freebsd.org References: <201006021645.o52GjEvM022143@mail.r-bonomi.com> <86typk6gfi.fsf@red.stonehenge.com> <20100603020415.GA11766@guilt.hydra> x-mayan-date: Long count = 12.19.17.7.7; tzolkin = 7 Manik; haab = 0 Zotz Date: Wed, 02 Jun 2010 19:16:09 -0700 In-Reply-To: <20100603020415.GA11766@guilt.hydra> (Chad Perrin's message of "Wed, 2 Jun 2010 20:04:15 -0600") Message-ID: <86ljaw6ety.fsf@red.stonehenge.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: text editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 02:16:10 -0000 >>>>> "Chad" == Chad Perrin writes: >> I wrote a screen-based editor in it, having heard of Emacs, wanting to >> do the same thing. Chad> How did that work out -- and what happened to it? It was used by my group at Tektronix from 1981 to 1983... not sure what happened to it after that. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 00:45:39 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E6E4E1065678 for ; Thu, 3 Jun 2010 00:45:39 +0000 (UTC) (envelope-from vinny-mail-01+freebsd20100602@palaceofretention.ca) Received: from www.giovannetti.ca (www.giovannetti.ca [206.248.136.48]) by mx1.freebsd.org (Postfix) with ESMTP id B03618FC15 for ; Thu, 3 Jun 2010 00:45:39 +0000 (UTC) Received: from the.palaceofretention.ca (intgateway.palaceofretention.ca [10.10.10.42]) by www.giovannetti.ca (Postfix) with ESMTPSA id 2B0042280C for ; Wed, 2 Jun 2010 20:38:28 -0400 (EDT) Message-ID: <4C06F680.1000608@palaceofretention.ca> Date: Wed, 02 Jun 2010 20:25:36 -0400 From: Vinny User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.5) Gecko/20100103 Thunderbird/3.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4C06131A.6010107@comclark.com> <20100602082401.GA2876@current.Sisis.de> <4C06169A.9090604@infracaninophile.co.uk> In-Reply-To: <4C06169A.9090604@infracaninophile.co.uk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Thu, 03 Jun 2010 02:44:14 +0000 Subject: Re: command to strip suffix in .sh script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 00:45:40 -0000 On 06/02/2010 04:30, Matthew Seaman wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 02/06/2010 09:24:01, Matthias Apitz wrote: >> El d=C3=83=C2=ADa Wednesday, June 02, 2010 a las 04:15:22PM +0800, Aiz= a escribi=C3=83=C2=B3: >> >>> I have this code [snip] >> $ echo 'archivename-201006021514.34.tar.gz' | sed 's/-.*$//' > > archive_name=3D${fromarchive%-*} > Thanks Matthew, that's really neat. It took me a long time to find the correct google incantation to find the documentation for that. ( bourne shell pattern-matching notation ) Sure is nice to learn something new everyday. From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 01:50:35 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A7F21065672 for ; Thu, 3 Jun 2010 01:50:35 +0000 (UTC) (envelope-from eric_delacruz@yahoo.com) Received: from n10.bullet.re3.yahoo.com (n10.bullet.re3.yahoo.com [68.142.237.123]) by mx1.freebsd.org (Postfix) with SMTP id E42878FC20 for ; Thu, 3 Jun 2010 01:50:34 +0000 (UTC) Received: from [68.142.237.87] by n10.bullet.re3.yahoo.com with NNFMP; 03 Jun 2010 01:37:40 -0000 Received: from [66.196.114.72] by t3.bullet.re3.yahoo.com with NNFMP; 03 Jun 2010 01:37:40 -0000 Received: from [127.0.0.1] by omp301.mail.re3.yahoo.com with NNFMP; 03 Jun 2010 01:37:34 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 45906.42201.bm@omp301.mail.re3.yahoo.com Received: (qmail 6741 invoked by uid 60001); 3 Jun 2010 01:37:34 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1275529053; bh=i7as1D9XoxIZWev+o8vBt1cWDkAvn5scjLUPFK617Ks=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=PZZgi4m6E+hD2efXOhrbnowF7F7x1jrZMY9FsSi+1dfUq83HZOVS8od39NC+7VjaluEDRMQfxHZK83AOfSNd7pvc7f4LEJa7btgToPH87mHUV1FryE0d5EIgM1+JDnmlDJJZMUZwWZI4pTqvLzCGaM2U3VWEEI414QDVR1A/DrI= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=L9QkDl5e0XQr5IueWHYrQJC3PzNpDIeUqVp14vNaUbizWweuhxwjsa2+4mn3LHMAlT50+o63wLdf9hdooTybpImHz5+1OeiTZqZONDCSqnGpnkRA4vZ+ffPBef5Avdp8dFJ+4WyMIgNvxqEjiZusUTo90LYgOwV2uYPegFi7uow=; Message-ID: <954791.4925.qm@web56305.mail.re3.yahoo.com> X-YMail-OSG: bvdhurMVM1lKDMCPdPy.Q1xwSVw0R9._Oto4YtLiiKt8jlQ cbrcBs6qcn53WyoqZ69yQ.DWItPOsfNOX_hQTpSxMVwFzeQojFZWOB1Ui3cC 3gayCPmoP0TBuc6E42BFnrlAZoWf8vzLRjcqfXyXkpSdfYP_6fR9jzqSuPXk A51DzxK.4RYpnVbZ1TB_AbNBK6hlyb7ox8xJx8cQY2_1iOgZgQf54K5lIHGn AYJc.IOn9eNO7Nvd0dTPt9SB70r.doS9RavAf5sCeTJQxqpiwMyGT1iMVS9z KVpJA76M- Received: from [189.202.50.186] by web56305.mail.re3.yahoo.com via HTTP; Wed, 02 Jun 2010 18:37:33 PDT X-Mailer: YahooMailRC/374.4 YahooMailWebService/0.8.103.269680 Date: Wed, 2 Jun 2010 18:37:33 -0700 (PDT) From: Eric De La Cruz Lugo To: freebsd-i18n@FreeBSD.org, freebsd-questions@freebsd.org MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 03 Jun 2010 02:44:40 +0000 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Hi es_MX internationalization needed..... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 01:50:35 -0000 Hi to every one. I have been checking the mail lists and haven`t found information about es_MX localization, in Ubuntu, OpenSUSE and other Linux distributions this can be achieved by something like. # locale-gen es_MX.UTF-8 # locale-gen es_MX But on FreeBSD I can`t find any command or tool to perform this. there is a es_ES locale on FreeBSD. I thinked about generating the es_MX locale with a file like es_MX.UTF-8.src or something like that, without success this is beyond my expertise right now. I need the es_MX because there is a postgreSQL database that "MUST" be encoded with the es_MX encoding, for a project am working on. On KDE 4 on FreeBSD 8.0 I can changed the region to Mexico (es_MX), but I can't change my locale variables (LC_) on my command line terminal. they look actually like this: [cursos] ~> locale LANG= LC_CTYPE="es_ES.UTF-8" LC_COLLATE="es_ES.UTF-8" LC_TIME="es_ES.UTF-8" LC_NUMERIC="es_ES.UTF-8" LC_MONETARY="es_ES.UTF-8" LC_MESSAGES="es_ES.UTF-8" LC_ALL= [cursos] ~> On other server i have OpenSUSE 11.2 and have this: (the way a needed it). edelacruz@sgi:~> locale LANG=es_MX.UTF-8 LC_CTYPE="es_MX.UTF-8" LC_NUMERIC="es_MX.UTF-8" LC_TIME="es_MX.UTF-8" LC_COLLATE="es_MX.UTF-8" LC_MONETARY="es_MX.UTF-8" LC_MESSAGES="es_MX.UTF-8" LC_PAPER="es_MX.UTF-8" LC_NAME="es_MX.UTF-8" LC_ADDRESS="es_MX.UTF-8" LC_TELEPHONE="es_MX.UTF-8" LC_MEASUREMENT="es_MX.UTF-8" LC_IDENTIFICATION="es_MX.UTF-8" LC_ALL= edelacruz@sgi:~> How do i do this on FreeBSD 8.0 i386 or amd64? Thanks in advance for your attention and help. LIA Eric De La Cruz Lugo. From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 04:42:39 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 23A3B1065678 for ; Thu, 3 Jun 2010 04:42:39 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 6A5378FC18 for ; Thu, 3 Jun 2010 04:42:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id o534gN4e032173; Thu, 3 Jun 2010 14:42:23 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Thu, 3 Jun 2010 14:42:22 +1000 (EST) From: Ian Smith To: David DEMELIER In-Reply-To: Message-ID: <20100603141648.E27982@sola.nimnet.asn.au> References: <20100601120131.A070C10657ED@hub.freebsd.org> <20100602001405.T27982@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-866469246-1275539744=:27982" Content-ID: <20100603143557.F27982@sola.nimnet.asn.au> Cc: freebsd-questions@freebsd.org Subject: Re: Automatic shutdown with devd. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 04:42:39 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-866469246-1275539744=:27982 Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-1 Content-Transfer-Encoding: 8BIT Content-ID: <20100603143557.C27982@sola.nimnet.asn.au> On Tue, 1 Jun 2010, David DEMELIER wrote: > 2010/6/1 Ian Smith : > > In freebsd-questions Digest, Vol 313, Issue 4, Message: 26 > > On Tue, 1 Jun 2010 10:55:08 +0200 David DEMELIER wrote: [..] > >  > Is there a way to make this conditional to do only if the laptop is > >  > not charging, AC plugged in ? > > > > Your script can check whether the AC power is on with: > > > >        AC=`sysctl -n hw.acpi.acline` > >        if [ $AC = 1 ]; then > >                exit 0          # or whatever, when on AC power > >        elif [ $AC = 0 ]; then > >                :               # do whatever when on battery > >        else > >                :               # AC/Battery state unknown .. > >        fi > > > > You could try just logging all state changes for a while; from critical > > charging to charging to high to discharging to critical discharging, I > > think that's the lot .. you can also check hw.acpi.battery.life etc. > > > > Okay I will try a script like this one. Let us know how it goes; it's clearer now from below why you need this. > > However, your system should do an 'emergency suspend' on critical low > > battery anyway .. usually set at 1% capacity but some BIOS will let you > > adjust that (see acpiconf -i0).  Only if suspend/resume works of course. > > > > It would be great if suspend/resume would works yes ! For the moment > it's not the case : > > http://www.freebsd.org/cgi/query-pr.cgi?pr=i386/146715 Ah yes. I guess you might have to try the freebsd-acpi list about that, after reading the ACPI debugging section of the Handbook, providing your dmesg and probably an acpidump of your ASL as shown there. I don't know the current status of suspend/resume on amd64, nor anything about your HP Probook 4510s. The freebsd-mobile list might be a better place to start, at least to ask whether anyone else shares your problem? cheers, Ian --0-866469246-1275539744=:27982-- From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 05:14:33 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 57278106566B for ; Thu, 3 Jun 2010 05:14:33 +0000 (UTC) (envelope-from blockade.runner@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 098A88FC14 for ; Thu, 3 Jun 2010 05:14:32 +0000 (UTC) Received: by vws12 with SMTP id 12so783239vws.13 for ; Wed, 02 Jun 2010 22:14:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:mime-version :content-transfer-encoding:message-id:content-type:to:from:subject :date:x-mailer; bh=C5Ej4ntwGjCFBhrrh8R6Yl/9xvaRpVaiHbMDlKhLF2o=; b=J0kNPVD/f9fpPl5k2Nk8k0zo3UAqdfIM7+eQZKo//WUxRA3spfvaUaYOVop3iceC+g yLKlf017Zzbf0kKP//AhYjKeOJKQ2DPFExVKBZYIiPVCW0/7gQ+5TeGzagzXR3RUS2OB i5qKNPYL+B1nA30bkulHnwD61LCBl2vNjueRU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:content-transfer-encoding:message-id:content-type:to :from:subject:date:x-mailer; b=QfQAEXGTNrN3/4xZyZWIoTZNsgfMVH31uNgQlQcp7Q8ESZGzSkn+5KpDJo/0baom3r kUEIpdKE+1aM4XW0BKUu3zY0f+JYXoYNIeQzad9W7eUguL9MEtmyomPKVe8jbMJ3VBfl VFHSkkfDSkgtEigTa+l6hiEPbaKTOlBV2OEpA= Received: by 10.220.61.137 with SMTP id t9mr6420978vch.191.1275540280053; Wed, 02 Jun 2010 21:44:40 -0700 (PDT) Received: from [10.0.1.5] (c-69-243-219-181.hsd1.va.comcast.net [69.243.219.181]) by mx.google.com with ESMTPS id z22sm38583963vco.22.2010.06.02.21.44.38 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 02 Jun 2010 21:44:39 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v753.1) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: freebsd-questions@FreeBSD.org From: Christopher Dillie Date: Thu, 3 Jun 2010 00:44:37 -0400 X-Mailer: Apple Mail (2.753.1) Cc: Subject: GNOME + sparc64 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 05:14:33 -0000 Hello, I have a Sun Ultra 10 running a UltraSPARC IIi 440MHz (64-bit/V9). I currently have FreeBSD installed and I want to add GNOME, but when I type "pkg_add -r gnome2" it returns the path to the FTP server and says, "Package Not Found." Is there GNOME for FreeBSD on sparc64? Thank you! -Chris From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 05:32:22 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E4EE510656CC for ; Thu, 3 Jun 2010 05:32:22 +0000 (UTC) (envelope-from kline@thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 61E7F8FC17 for ; Thu, 3 Jun 2010 05:32:21 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by ethic.thought.org (8.14.3/8.14.3) with ESMTP id o535W7Bj022937; Wed, 2 Jun 2010 22:32:10 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Wed, 2 Jun 2010 22:32:09 -0700 (PDT) Date: Wed, 2 Jun 2010 22:32:06 -0700 From: Gary Kline To: Roland Smith Message-ID: <20100603053206.GB39212@thought.org> References: <20100602230415.GA30913@thought.org> <44hbllf1tn.fsf@lowell-desk.lan> <20100603001322.GA86606@slackbox.erewhon.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100603001322.GA86606@slackbox.erewhon.net> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=1.0 required=3.6 tests=ALL_TRUSTED,BAYES_00, GUARANTEED_100_PERCENT, J_CHICKENPOX_12, J_CHICKENPOX_21, T_RP_MATCHES_RCVD autolearn=no version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on ethic.thought.org Cc: Lowell Gilbert , FreeBSD Mailing List Subject: Re: two questions.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 05:32:23 -0000 On Thu, Jun 03, 2010 at 02:13:22AM +0200, Roland Smith wrote: > On Wed, Jun 02, 2010 at 07:32:20PM -0400, Lowell Gilbert wrote: > > Gary Kline writes: > > > > > guys, i just found a truckload of Just Outstanding fonts. at the > > > CTAN .org site there must be hundreds of these superb serif > > > typefaces. in my /home/kline/ directory, i have a ~/.fonts > > > directory. but it's been awhile since i've added to it. what's > > > the magic to getting these tex-gyre fonts can use them? i would > > > like these to be available for abiword, OOo, as well as my tex > > > packages. clues, please. > > > > mkfontdir(1) and mkfontscale(1) are all you need. > > And fc-cache(1), I think. > i thought i mailed this several hours ago... anyway, i nowhave the tex-gyre font on both oo.org and abiword, but only on abiword are my entire set of ~/.fonts/* .... in several more houtrs i'll see what happens when i create a 10pt pdf file from my test.tex. gary > Roland > -- > R.F.Smith http://www.xs4all.nl/~rsmith/ > [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] > pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org 99 44/100% Guaranteed Novel From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 05:46:01 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E8AB1065672 for ; Thu, 3 Jun 2010 05:46:01 +0000 (UTC) (envelope-from ben@b1c1l1.com) Received: from lancer.b1c1l1.com (unknown [IPv6:2607:f358:1a:1a:1000::]) by mx1.freebsd.org (Postfix) with ESMTP id 565FA8FC22 for ; Thu, 3 Jun 2010 05:46:01 +0000 (UTC) Received: from supra.b1c1l1.com (supra.b1c1l1.com [IPv6:2001:470:83fb:0:225:ff:fe4d:54b6]) by lancer.b1c1l1.com (Postfix) with ESMTPSA id 347A45C30; Wed, 2 Jun 2010 22:45:56 -0700 (PDT) Message-ID: <4C07418B.90309@b1c1l1.com> Date: Wed, 02 Jun 2010 22:45:47 -0700 From: Benjamin Lee User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100531 Thunderbird/3.0.4 MIME-Version: 1.0 To: John References: <4BF532F7.7070003@gmail.com> In-Reply-To: <4BF532F7.7070003@gmail.com> X-Enigmail-Version: 1.0.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig585FB9BE984E14B4B71FB946" Cc: freebsd-questions@freebsd.org Subject: Re: Apache 2.2, mod_auth_kerb X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 05:46:01 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig585FB9BE984E14B4B71FB946 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 05/20/2010 06:02 AM, John wrote: > Hi list. >=20 > I'm having problems getting mod_auth_kerb to play nice on one of my > servers. > I have the exact same setup on other machines and it works perfectly, > only difference is this ones running CURRENT while they track RELEASE. >=20 > Some info: >=20 > # pkg_info|grep apache && pkg_info|grep kerb > apache-2.2.15_7 Version 2.2.x of Apache web server with prefork MPM= =2E > mod_auth_kerb-5.4 An Apache module for authenticating users with > Kerberos v5 >=20 > # uname -a > FreeBSD host.example.com 9.0-CURRENT FreeBSD 9.0-CURRENT #5: Tue May 11= > 20:04:45 UTC 2010 host.example.com:/usr/obj/usr/src/sys/HOST i386 >=20 >=20 > Everything compiles and installs nicely, but when I try to do a > 'apachectl start' I get this: >=20 > httpd: Syntax error on line 4 of /usr/local/etc/apache22/httpd.conf: > Cannot load /usr/local/libexec/apache22/mod_auth_kerb.so into server: > /usr/local/libexec/apache22/mod_auth_kerb.so: Undefined symbol > "gsskrb5_register_acceptor_identity" >=20 > Is this due to running current? > If it is I will drop the issue right now, I just want to know for sure > before I spend hours trying to solve it. Hi John, What is the output of 'ldd /usr/local/libexec/apache22/mod_auth_kerb.so'?= --=20 Benjamin Lee http://www.b1c1l1.com/ --------------enig585FB9BE984E14B4B71FB946 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJMB0GRAAoJEHBW16CPoSMCLoAQAJQN1goqazR/k+idvgkEdDk2 mwpHMrizbftDjOnAHoUaLTIDNq1rsnixEy5bclx9dcpD5scniXvXJx9BLu/rmBsi BX1JFwRoE/4ctoxvrvweuJPF0F+8gnNQWHvUgrQ8ojMC8RQkxSUe/6nhDnlNvZX0 zv30Z0ueP3JYC0GxIqwMzCzzNe+5y0Yed1iems1/jbb0eBxCFT514HAPeVMIRAl/ bUrfGrrBhMHSmu2/UJKEHT3tnDb2HOLIWaIVO6II7mR0YsuK10i7XJRcSVjez+ru PqwFVpVkyaSKiinK/hAC7gE3Wx8gHCuZKYRbD6+w54J/b+TyMx0u9/6+dORxzOvC gLJ11LmmD8DEStcR1FiI4w72kUGCbR4QCPahnK+gu6w9y6qMSMO91/bBjfDHvPAt 3w40YvGaPipJeJ/tDp1yGOUkhOznlUQfW/vWlQ7yFHSFjuGMxLHB+AVAB++TQyBH IA/fEqgQUdxeetwlhUyCoJ8H8V6ri7yslgBH0p6zpvrqvnm29vC/Mv2OzdgRXv7F vnXuFuXP9J0p8+jfpj9j29/fdjQeq2IMZ94EBJmzv1FSVDGShlc+QVHhj0GSJZnj tPv7zY2A8tmJEMuMJdML8PVdeJ9CDDZAGLrOsu7Nuo/rYZVy4f069+YYHi3OjdPV ofZS8UWutVzBxI4g5mVf =Qdfg -----END PGP SIGNATURE----- --------------enig585FB9BE984E14B4B71FB946-- From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 06:36:34 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C303E1065673 for ; Thu, 3 Jun 2010 06:36:34 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 386BC8FC13 for ; Thu, 3 Jun 2010 06:36:33 +0000 (UTC) X-Spam-Status: No X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-0.2, required 5, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_50 0.80) X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-ID: o536aAS0020658 Received: from kobe.laptop (188.4.35.31.dsl.dyn.forthnet.gr [188.4.35.31]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-9.1) with ESMTP id o536aAS0020658 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 3 Jun 2010 09:36:17 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.4/8.14.4) with ESMTP id o536a5nt004110 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 3 Jun 2010 09:36:05 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.4/8.14.4/Submit) id o536a31q004107; Thu, 3 Jun 2010 09:36:03 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: Gary Kline References: <20100602230415.GA30913@thought.org> Date: Thu, 03 Jun 2010 09:36:03 +0300 In-Reply-To: <20100602230415.GA30913@thought.org> (Gary Kline's message of "Wed, 2 Jun 2010 16:04:20 -0700") Message-ID: <87y6ew1v3g.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@FreeBSD.ORG Subject: Re: two questions.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 06:36:34 -0000 On Wed, 2 Jun 2010 16:04:20 -0700, Gary Kline wrote: > guys, i just found a truckload of Just Outstanding fonts. at the CTAN > .org site there must be hundreds of these superb serif typefaces. in > my /home/kline/ directory, i have a ~/.fonts directory. but it's been > awhile since i've added to it. what's the magic to getting these > tex-gyre fonts can use them? i would like these to be available for > abiword, OOo, as well as my tex packages. clues, please. Installing fonts in ~/.fonts makes them available for all the programs that use fontconfig after you run: fc-cache -v TeX and a few other applications (e.g. groff) have their own way of handling fonts. You may have to install them using a TeX-specific set of commands. Newer TeX-live installations support XeTeX too. To use a Truetype font in XeTeX you will need to copy the fonts to a path that is visible during xetex/xelatex runs and add something like this in your document's preamble: \usepackage{fontspec} \defaultfontfeatures{Mapping=tex-text} \setmainfont[Scale=0.9, BoldFont={*-Bold}, ItalicFont={*-Italic}, BoldItalicFont={*-BoldItalic}] {DejaVuSerifCondensed} \setsansfont[Scale=0.9, BoldFont={*-Bold}, ItalicFont={*-Italic}, BoldItalicFont={*-BoldItalic}] {DejaVuSansCondensed} % Monospace DejaVu fonts have to be scaled down a bit more than % their serif or sans-serif equivalents to look "nice" in print % output. \setmonofont[Scale=0.85, BoldFont={*-Bold}, ItalicFont={*-Oblique}, BoldItalicFont={*-BoldOblique}] {DejaVuSansMono} \usepackage{xunicode} \usepackage{xltxtra} This is the preamble text I use to write XeTeX documents using the DejaVu family of fonts. The results are fantastic. A sample of what these fonts yield can be seen at: http://students.ceid.upatras.gr/~keramida/free.pdf This is one of the books I converted from their HTML source to XeLaTeX when I was learning to use TrueType and OpenType fonts in TeX. Copying the DejaVu fonts in the same directory as the TeX source makes them immediately available to XeLaTeX. This is nice because you can package both the TeX source *and* the necessary fonts in the same archive :-) From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 07:10:41 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA549106566B for ; Thu, 3 Jun 2010 07:10:41 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id A5AAB8FC0A for ; Thu, 3 Jun 2010 07:10:41 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id o537AeAj072465 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 3 Jun 2010 00:10:40 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id o537Aem6072464; Thu, 3 Jun 2010 00:10:40 -0700 (PDT) Received: from fbsd61 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA29874; Thu, 3 Jun 10 00:06:53 PDT Date: Thu, 03 Jun 2010 00:04:06 -0700 From: perryh@pluto.rain.com To: merlyn@stonehenge.com Message-Id: <4c0753e6.SJehY7C+m4W6nTjb%perryh@pluto.rain.com> References: <201006021645.o52GjEvM022143@mail.r-bonomi.com> <86typk6gfi.fsf@red.stonehenge.com> In-Reply-To: <86typk6gfi.fsf@red.stonehenge.com> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: text editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 07:10:41 -0000 merlyn@stonehenge.com (Randal L. Schwartz) wrote: > Robert> Anybody else familiar with TECO? <*EVIL* grin> > I wrote a screen-based editor in it, having heard of Emacs, > wanting to do the same thing. Didn't Emacs start out as a reimplementation of TECO in Lisp? From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 09:16:31 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C51D61065677 for ; Thu, 3 Jun 2010 09:16:31 +0000 (UTC) (envelope-from ilcsfe@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.27]) by mx1.freebsd.org (Postfix) with ESMTP id 5373A8FC1F for ; Thu, 3 Jun 2010 09:16:30 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 25so39211eya.9 for ; Thu, 03 Jun 2010 02:16:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=tDzTj5TbeU5RSgSS23+WKjiV3OkqvPNZiZVAZkX2lwM=; b=wZ+iTFaBBsyK4sR10gle2u8zAUR3BtnbejvA5/n9pEoXdlka2z+ipILNnVi8Er21Ow yyzAN0JkgC1Hf5X2zY5j+tecBYuVfPqNqi+SqU38+bsPek3PH1YjK5xkLNbY2bgXdHz/ zzJmWFIpNTHuhUBHl2ysIhnN1jE8Oqk16Ah3I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=QfeIlMgk/mL9NxLmv7JtELKOJOAK/NfeW9Tc/V2SxT6m+kwssIhdO2kwa0hnOmpehv tJLfqCODrRp8949mG9Iu8tjBgap1ec0/8dbtB4O0gTx9vIdH9Nh47Zmag+3TmbQ2pPPm 59sWJpIGrqEhpMaJ/wrFbtsGGwhnm4I8f08nk= Received: by 10.213.114.13 with SMTP id c13mr5698972ebq.96.1275556590231; Thu, 03 Jun 2010 02:16:30 -0700 (PDT) Received: from [192.168.1.222] ([213.141.83.3]) by mx.google.com with ESMTPS id 13sm5002556ewy.5.2010.06.03.02.16.29 (version=SSLv3 cipher=RC4-MD5); Thu, 03 Jun 2010 02:16:29 -0700 (PDT) Message-ID: <4C0772EA.1060504@gmail.com> Date: Thu, 03 Jun 2010 11:16:26 +0200 From: John User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: Benjamin Lee References: <4BF532F7.7070003@gmail.com> <4C07418B.90309@b1c1l1.com> In-Reply-To: <4C07418B.90309@b1c1l1.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Apache 2.2, mod_auth_kerb X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 09:16:31 -0000 On 2010-06-03 07:45, Benjamin Lee wrote: > On 05/20/2010 06:02 AM, John wrote: > >> Hi list. >> >> I'm having problems getting mod_auth_kerb to play nice on one of my >> servers. >> I have the exact same setup on other machines and it works perfectly, >> only difference is this ones running CURRENT while they track RELEASE. >> >> Some info: >> >> # pkg_info|grep apache&& pkg_info|grep kerb >> apache-2.2.15_7 Version 2.2.x of Apache web server with prefork MPM. >> mod_auth_kerb-5.4 An Apache module for authenticating users with >> Kerberos v5 >> >> # uname -a >> FreeBSD host.example.com 9.0-CURRENT FreeBSD 9.0-CURRENT #5: Tue May 11 >> 20:04:45 UTC 2010 host.example.com:/usr/obj/usr/src/sys/HOST i386 >> >> >> Everything compiles and installs nicely, but when I try to do a >> 'apachectl start' I get this: >> >> httpd: Syntax error on line 4 of /usr/local/etc/apache22/httpd.conf: >> Cannot load /usr/local/libexec/apache22/mod_auth_kerb.so into server: >> /usr/local/libexec/apache22/mod_auth_kerb.so: Undefined symbol >> "gsskrb5_register_acceptor_identity" >> >> Is this due to running current? >> If it is I will drop the issue right now, I just want to know for sure >> before I spend hours trying to solve it. >> > Hi John, > > What is the output of 'ldd /usr/local/libexec/apache22/mod_auth_kerb.so'? > > /usr/local/libexec/apache22/mod_auth_kerb.so: libgssapi.so.10 => /usr/lib/libgssapi.so.10 (0x281b8000) libheimntlm.so.10 => /usr/lib/libheimntlm.so.10 (0x281c1000) libkrb5.so.10 => /usr/lib/libkrb5.so.10 (0x281c6000) libhx509.so.10 => /usr/lib/libhx509.so.10 (0x28224000) libcom_err.so.5 => /usr/lib/libcom_err.so.5 (0x2825a000) libcrypto.so.6 => /lib/libcrypto.so.6 (0x2825c000) libasn1.so.10 => /usr/lib/libasn1.so.10 (0x28800000) libroken.so.10 => /usr/lib/libroken.so.10 (0x283c1000) libcrypt.so.5 => /lib/libcrypt.so.5 (0x283d1000) libc.so.7 => /lib/libc.so.7 (0x28091000) From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 09:47:15 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 893731065673 for ; Thu, 3 Jun 2010 09:47:15 +0000 (UTC) (envelope-from fbsd1@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 71B628FC22 for ; Thu, 3 Jun 2010 09:47:11 +0000 (UTC) Received: from [10.0.10.3] ([202.69.173.90]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 3 Jun 2010 02:47:03 -0700 Message-ID: <4C077A0E.7020201@a1poweruser.com> Date: Thu, 03 Jun 2010 17:46:54 +0800 From: Fbsd1 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: "questions@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 03 Jun 2010 09:47:03.0954 (UTC) FILETIME=[B8BE9720:01CB0301] X-Sender: fbsd1@a1poweruser.com Cc: Subject: FreeBSD-update X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 09:47:15 -0000 After running FreeBSD-update fetch and install is there any way to tell it worked without rebooting? From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 09:58:34 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F2F81065677 for ; Thu, 3 Jun 2010 09:58:34 +0000 (UTC) (envelope-from xkyanh@gmail.com) Received: from mail-pz0-f175.google.com (mail-pz0-f175.google.com [209.85.222.175]) by mx1.freebsd.org (Postfix) with ESMTP id F2EFA8FC13 for ; Thu, 3 Jun 2010 09:58:33 +0000 (UTC) Received: by pzk5 with SMTP id 5so3891603pzk.14 for ; Thu, 03 Jun 2010 02:58:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:in-reply-to:references:organization:user-agent :x-operating-system:x-face:face:x-mailer:mime-version:content-type :content-transfer-encoding; bh=WpEGPUtFDwK1ToI8MHuCamMoEB9DY1ikQCpVfzQZevM=; b=O8UgjJ8aoNOkmn5GXNhrdMkbzRULP3R0nStgie9T3rGRtoQxUcLWMNxvjT+VMxNeJd KEQbgIXfyTsy7PIt+981xDJQzcOGH+BppGVV+J95WwdS5MxY+iG3n5wWsrhUOp3/P0ca NWORKlQr8mckKZSy+glUAXq1xoW+7/IS5WWnM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references :organization:user-agent:x-operating-system:x-face:face:x-mailer :mime-version:content-type:content-transfer-encoding; b=xqTy+Pai+y7e2TAShlMiCVnpudFDdTJXKovtaaOXQnlxJrM4TNo/IkflXDy6L2crot 9B8FtfI8N2Ba7t/Ss8bRz8uaCxFLuVutnyteaNMlVR9VdIiwQep/IVpvMtvR2tdjZTeG 8NzuqTcTdYc8vJu09rTBn6YLTmTbDa6R2tz1I= Received: by 10.143.26.19 with SMTP id d19mr6338597wfj.160.1275559112708; Thu, 03 Jun 2010 02:58:32 -0700 (PDT) Received: from icy.localdomain ([115.78.0.218]) by mx.google.com with ESMTPS id e16sm2981052wfg.2.2010.06.03.02.58.30 (version=SSLv3 cipher=RC4-MD5); Thu, 03 Jun 2010 02:58:32 -0700 (PDT) Date: Thu, 3 Jun 2010 16:57:59 +0700 From: "Anh Ky Huynh" To: Fbsd1 Message-ID: <20100603165759.5b9da9c3@icy.localdomain> In-Reply-To: <4C077A0E.7020201@a1poweruser.com> References: <4C077A0E.7020201@a1poweruser.com> Organization: Vietnamese TeX Users Group User-Agent: FreeBSD X-Operating-System: FreeBSD X-Face: FreeBSD Face: FreeBSD X-Mailer: FreeBSD Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "questions@freebsd.org" Subject: Re: FreeBSD-update X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 09:58:34 -0000 On Thu, 03 Jun 2010 17:46:54 +0800 Fbsd1 wrote: > After running FreeBSD-update fetch and install is there any way to > tell it worked without rebooting? A kernel upgrade requires your system to reboot :( -- Anh Ky Huynh From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 11:42:16 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1EEAA106564A for ; Thu, 3 Jun 2010 11:42:16 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id D53988FC1D for ; Thu, 3 Jun 2010 11:42:15 +0000 (UTC) Received: from r55.edvax.de (port-92-195-249-33.dynamic.qsc.de [92.195.249.33]) by mx02.qsc.de (Postfix) with ESMTP id 440861DEAA; Thu, 3 Jun 2010 13:42:13 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o53BgCqn001501; Thu, 3 Jun 2010 13:42:12 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 3 Jun 2010 13:42:12 +0200 From: Polytropon To: Aiza Message-Id: <20100603134212.f1b9b1c0.freebsd@edvax.de> In-Reply-To: <4C070621.5060109@comclark.com> References: <4C070621.5060109@comclark.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "questions@freebsd.org" Subject: Re: .sh & tar X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 11:42:16 -0000 On Thu, 03 Jun 2010 09:32:17 +0800, Aiza wrote: > When I exec tar from within a .sh shell script I get this message > tar: Removing leading '/' from member names > I have tar outputting to > /dev/null and still get this message. > With -v or without makes no difference. > > How can I stop this Depends on WHAT you want to stop - the illness or just its symptoms. :-) If it's just about symptoms, redirect the error messages into nirvana. tar [opts] [file] 1>/dev/null 2>&1 If you want to remove the REASON for "tar: Removing leading '/' from member names", you need to re-create the archives and start archiving from a relative point (instead of from an absolute one), e. g. # cd / # tar cvf etc.tar etc/ (lazy man's method) instead of # tar cvf etc.tar /etc/ The extraction of the archive will usually start in the current directory, so # cd /usr/local/bin # tar xvf etc.tar won't give you an etc/ subtree in /usr/local/bin directory. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 13:12:08 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1713C106564A for ; Thu, 3 Jun 2010 13:12:08 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-158.bluehost.com (cpoproxy2-pub.bluehost.com [67.222.39.38]) by mx1.freebsd.org (Postfix) with SMTP id D78D08FC14 for ; Thu, 3 Jun 2010 13:12:07 +0000 (UTC) Received: (qmail 3796 invoked by uid 0); 3 Jun 2010 13:12:07 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by cpoproxy2.bluehost.com with SMTP; 3 Jun 2010 13:12:06 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=P0BJ7ZQh2+PkFEo5khrp8S0zzvM6fubxjckQjbjKH3YzjSzV7yUupIeeQTiha4lNKYK9YqXfX7E0aB/MpuTw43u+NGqVwDRu7VJFMffY5abO3W2wQtCKFyFf+Jd3r/hd; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kukaburra.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1OKADN-0006ea-Ks for freebsd-questions@freebsd.org; Thu, 03 Jun 2010 07:12:06 -0600 Received: by kukaburra.hydra (sSMTP sendmail emulation); Thu, 03 Jun 2010 07:11:52 -0600 Date: Thu, 3 Jun 2010 07:11:52 -0600 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20100603131152.GA14296@guilt.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <201006021645.o52GjEvM022143@mail.r-bonomi.com> <86typk6gfi.fsf@red.stonehenge.com> <4c0753e6.SJehY7C+m4W6nTjb%perryh@pluto.rain.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fUYQa+Pmc3FrFX/N" Content-Disposition: inline In-Reply-To: <4c0753e6.SJehY7C+m4W6nTjb%perryh@pluto.rain.com> User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Subject: Re: text editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 13:12:08 -0000 --fUYQa+Pmc3FrFX/N Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 03, 2010 at 12:04:06AM -0700, perryh@pluto.rain.com wrote: > merlyn@stonehenge.com (Randal L. Schwartz) wrote: >=20 > > Robert> Anybody else familiar with TECO? <*EVIL* grin> > > I wrote a screen-based editor in it, having heard of Emacs, > > wanting to do the same thing. >=20 > Didn't Emacs start out as a reimplementation of TECO in Lisp? As I recall, it started out as a collection of TECO macros. --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --fUYQa+Pmc3FrFX/N Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwHqhcACgkQ9mn/Pj01uKXUCwCgkzXz6uEw2bwpfLc5mEEci9MY jqMAoJ85K7hMpdK2OrQuuZ9MoKKYpBLw =BNzw -----END PGP SIGNATURE----- --fUYQa+Pmc3FrFX/N-- From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 14:03:06 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8000B1065675 for ; Thu, 3 Jun 2010 14:03:06 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3B96C8FC18 for ; Thu, 3 Jun 2010 14:03:05 +0000 (UTC) Received: by yxg6 with SMTP id 6so63682yxg.13 for ; Thu, 03 Jun 2010 07:03:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=336uEOFp/3T9qYd6QIxArYHjpJKUKSojbm5OhkOFTM0=; b=ZZ5BdEuVa7n5yDW+/WSGctKwQYrhKx04mn2wJP3qQ67B22z+mVQyWsVJnmigQHvWH2 RrBtklyq5BsliVVXRkJgkIjga1mERS+rPFSqZsZRa5z+OdJlsgWnNEOZ8CLIFKGaPBMX P6pJ9jCs8ZEn72fgQRYhmUuM1VRYbj+Roz5D8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=H/9bUvQNcZVXni6P7ayIgcX/p8XwWYauiqnPoKGOjZNUvwCimZNMTgFmifgC98joTP wPfEioyL5rmjEZYrTf+GzjizwK1w4oWAt0SeU4X4LcMJTMPVZ+0Y4EF6Nyr5o069vQqu bv8bgDY+DA4PXzpisEfbjUvBvrLSRrkcpSvEc= MIME-Version: 1.0 Received: by 10.91.182.18 with SMTP id j18mr4386254agp.116.1275573784439; Thu, 03 Jun 2010 07:03:04 -0700 (PDT) Received: by 10.90.84.19 with HTTP; Thu, 3 Jun 2010 07:03:04 -0700 (PDT) In-Reply-To: <20100603134212.f1b9b1c0.freebsd@edvax.de> References: <4C070621.5060109@comclark.com> <20100603134212.f1b9b1c0.freebsd@edvax.de> Date: Thu, 3 Jun 2010 10:03:04 -0400 Message-ID: From: "illoai@gmail.com" To: Polytropon Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Aiza , "questions@freebsd.org" Subject: Re: .sh & tar X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 14:03:06 -0000 On 3 June 2010 07:42, Polytropon wrote: > On Thu, 03 Jun 2010 09:32:17 +0800, Aiza wrote: >> When I exec tar from within a .sh shell script I get this message >> tar: Removing leading '/' from member names >> I have tar outputting to > /dev/null and still get this message. >> With -v or without makes no difference. >> >> How can I stop this > > Depends on WHAT you want to stop - the illness or just its symptoms. :-) > > If it's just about symptoms, redirect the error messages into > nirvana. > > =A0 =A0 =A0 =A0tar [opts] [file] 1>/dev/null 2>&1 > > If you want to remove the REASON for "tar: Removing leading '/' > from member names", you need to re-create the archives and > start archiving from a relative point (instead of from an > absolute one), e. g. > > =A0 =A0 =A0 =A0# cd / > =A0 =A0 =A0 =A0# tar cvf etc.tar etc/ > > (lazy man's method) instead of > > =A0 =A0 =A0 =A0# tar cvf etc.tar /etc/ > > The extraction of the archive will usually start in the > current directory, so > > =A0 =A0 =A0 =A0# cd /usr/local/bin > =A0 =A0 =A0 =A0# tar xvf etc.tar > > won't give you an etc/ subtree in /usr/local/bin directory. > tar -cvf - ./ -C / > /dev/null ? --=20 -- From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 14:14:21 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D20A4106566B for ; Thu, 3 Jun 2010 14:14:21 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 904B98FC15 for ; Thu, 3 Jun 2010 14:14:20 +0000 (UTC) Received: by yxg6 with SMTP id 6so71803yxg.13 for ; Thu, 03 Jun 2010 07:14:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type:content-transfer-encoding; bh=jgo9vY/SHbvQWxAMScvoVtF6D3B8d3dVpyUxFugrXXA=; b=iQCa3dDtdpOApat8tDdkJr93IaTV1yGGKECLxhWHkEPJSkCyA4p8MPapFjEgj/x8X9 SCbfvgyz8RKbeDOfwep8V19TDbCD2qytNxMDaZl4sb3JFF7Ezv1TiPEj3QnC6D3a54/S wahegGaV1lHVQi3tf5UvXeBZKCqddP6QG/EgA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=HwFC+jrEl5Rn6YHhFslcQ8F3JUWRoJMBlUfJwE23zYhJtEQyEn686yf52m015WWZnu UeE9QFW50ztpp5kVldThJZO4OZVg1NzMKz+59FsBrXpL9bEBJDFdDN7vFyhDV72n+orD O2LMO1BJ4uGfUj1p4kPlOYASgIgEQz6fzPTaM= MIME-Version: 1.0 Received: by 10.91.182.18 with SMTP id j18mr4394403agp.116.1275574459833; Thu, 03 Jun 2010 07:14:19 -0700 (PDT) Received: by 10.90.84.19 with HTTP; Thu, 3 Jun 2010 07:14:19 -0700 (PDT) Date: Thu, 3 Jun 2010 10:14:19 -0400 Message-ID: From: "illoai@gmail.com" To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Strying off topic, but Re: text editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 14:14:21 -0000 On 31 May 2010 17:38, Chad Perrin wrote: > I meant to reply to the list, as a response to this, but accidentally > replied directly to Giorgos Keramidas. > > On Mon, May 31, 2010 at 08:45:07PM +0300, Giorgos Keramidas wrote: >> On Mon, 31 May 2010 09:59:00 -0600, Chad Perrin wr= ote: >> > Does Vim install more than the binary? =A0I've got this: >> > >> > =A0 =A0 > ls -l /usr/local/bin/vim >> > =A0 =A0 -rwxr-xr-x =A01 root =A0wheel =A01650340 Apr 18 12:20 /usr/loc= al/bin/vim >> >> Yes, it does: help files; syntax highlighting rules; manpages; around 14 >> binaries in /usr/local/bin; including more than a thousand files in >> /usr/local/share. > > After some off-list discussion, it has come to my attention that of the > 14 "binaries" that are "installed", one of them is the vim binary itself, > two of them are vimtutor binaries, one is a hex dumper, and the other ten > are links (hard or soft) to the vim binary itself (and thus not actually > separate binaries). =A0It seems kind of silly to include a tutor and a > hexdumper in the "size" of the editor just because the port for that > editor installs them, too. =A0Furthermore, documentation like manpages an= d > help files should not count against an application's size in my opinion, > since more documentation is a *good* thing, and counting it toward the > size of the application is marking it in the *bad* column. > > The grand total size of that hex dumper and two tutor binaries is about > 15KB, by the way -- so even if you include them with the editor for > determining its size, they're still pretty negligible. > > Considering I could just delete all the syntax highlighting files and it > wouldn't even affect the way I use Vim (I tend to prefer monochrome, even > when editing code), I don't realy think I'd count those against the size > of Vim either. > > Vim looks pretty small to me, compared with other editors of similar > power (emacs, GUI IDEs, et cetera). > I don't know much, but the source tarball is slightly over 7m. In any case, the executable size is only loosely related to the actual running size. --=20 -- From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 14:14:34 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE60B10656C3 for ; Thu, 3 Jun 2010 14:14:34 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-ww0-f54.google.com (mail-ww0-f54.google.com [74.125.82.54]) by mx1.freebsd.org (Postfix) with ESMTP id 42ACE8FC12 for ; Thu, 3 Jun 2010 14:14:33 +0000 (UTC) Received: by wwb22 with SMTP id 22so146407wwb.13 for ; Thu, 03 Jun 2010 07:14:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:mime-version:content-type:content-disposition:user-agent; bh=eVwg7ilFB8RApBXXtNe5q7M2+4r6FSfUJ+lD8k28aqY=; b=IPcG2rwu7ki6J5Vxhfg1Lca4bYXf2W3B0VR0gJbntgBTL0qgD/6iTYRxxVwuMQruNF fkvlkgbhOcsKvtk6yUR4cXR0W2z4NMwnYy6viWAhca7G4u9zme3s7K6l0qt4nT2n6OF9 rp66RULkpZj337U77LqSeEEk2iE7ZVmBJ+b5Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; b=sxxUoFUf4paPzKQ/gP3W/lOF/LAli98wsrTQLH+Rex0E9RiRi/qKy6dn+e1V+sx9aB S5Ppu8tSRsG/6OF5/l1twYKeHRNtGFJixvaTfnlxkYhkIevkGFJLu3FXxE4SGIZ6UZ3+ olYhdygoFm6guFVcgjhqoUwhDPDRKICXs57sQ= Received: by 10.216.85.194 with SMTP id u44mr1243586wee.10.1275574471599; Thu, 03 Jun 2010 07:14:31 -0700 (PDT) Received: from Melon.malikania.fr (123.21.102-84.rev.gaoland.net [84.102.21.123]) by mx.google.com with ESMTPS id k13sm75120wed.11.2010.06.03.07.14.29 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 03 Jun 2010 07:14:30 -0700 (PDT) Date: Thu, 3 Jun 2010 16:13:44 +0200 From: Demelier David To: freebsd-questions@freebsd.org Message-ID: <20100603141344.GA1975@Melon.malikania.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Xorg .Xauthority troubles X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 14:14:34 -0000 Hi freebsd-questions@, Sometimes when I type startx, Xorg starts but nothing happens and I get a lot of : Invalid MIT-MAGIC-COOKIE-1 key In the console. The only way to remove this is deleting ~/.Xauthority* files because xinit starts with : xauth: error in locking authority file /home/markand/.Xauthority I don't understand why sometimes it works and why sometimes not. Is it because I run shutdown -p now inside X? I heard that these files are normally deleted when X shutdown. If you have any tips, it will be graceful. King regards. -- Demelier David From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 14:20:41 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 15FC8106567A for ; Thu, 3 Jun 2010 14:20:41 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id C934D8FC21 for ; Thu, 3 Jun 2010 14:20:40 +0000 (UTC) Received: from r55.edvax.de (port-92-195-249-33.dynamic.qsc.de [92.195.249.33]) by mx01.qsc.de (Postfix) with ESMTP id 0EC433DEC3; Thu, 3 Jun 2010 16:20:28 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o53EJPIj002006; Thu, 3 Jun 2010 16:20:10 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 3 Jun 2010 16:19:25 +0200 From: Polytropon To: "illoai@gmail.com" Message-Id: <20100603161925.a6979dc4.freebsd@edvax.de> In-Reply-To: References: <4C070621.5060109@comclark.com> <20100603134212.f1b9b1c0.freebsd@edvax.de> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Aiza , "questions@freebsd.org" Subject: Re: .sh & tar X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 14:20:41 -0000 On Thu, 3 Jun 2010 10:03:04 -0400, "illoai@gmail.com" wrote: > tar -cvf - ./ -C / > /dev/null > ? Yes, of course! But I said "lazy man's method", and lazy does only include x, c, v and f options, and -C is substituted by a cd command. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 15:08:14 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB77D106567A for ; Thu, 3 Jun 2010 15:08:14 +0000 (UTC) (envelope-from bogdan@pvp.ro) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8E24F8FC17 for ; Thu, 3 Jun 2010 15:08:14 +0000 (UTC) Received: by pvh11 with SMTP id 11so109829pvh.13 for ; Thu, 03 Jun 2010 08:08:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.141.125.10 with SMTP id c10mr4834744rvn.214.1275575821402; Thu, 03 Jun 2010 07:37:01 -0700 (PDT) Received: by 10.220.193.13 with HTTP; Thu, 3 Jun 2010 07:37:01 -0700 (PDT) X-Originating-IP: [86.35.191.240] Date: Thu, 3 Jun 2010 17:37:01 +0300 Message-ID: From: Bogdan Webb To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Issues reinstalling Bind9 on FreeBSD 8.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 15:08:14 -0000 Ok i'll make it short coz it's the 2nd time i write this -.-' and don't even ask why :D So here it goes: Fresh FreeBSD 8.0 install, installed bind97 to witch i have busted up the named.conf fine and tought, at the time, that deleting the whole content of /etc/namedb and reinstalling the bind port will simply write the files up again. Well it's not like that... i;ve did pgk_delete, make deinstall, make rmconfig, tryed to manually delete all the files required but no joy. Now i've tryed to use all bind9 bind96 and bind97 from ports and even get the source from isc.org but they all did the same, even more after a reboot and again the same process (source+ports) the builds didn't even install the named binary /etc/rc.d/named: WARNING: run_rc_command: cannot run /usr/sbin/named Please do tell me how to purge completly a port, delete all it's files and configs then install it again from scratch... I'm using a 64bit FreeBSD 8.0 on AMD Athlon X2. Best regards, Bogdan. From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 15:11:31 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06B38106567B for ; Thu, 3 Jun 2010 15:11:31 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh2.interactivevillages.com (wh2.interactivevillages.com [75.125.250.34]) by mx1.freebsd.org (Postfix) with ESMTP id C4C7F8FC16 for ; Thu, 3 Jun 2010 15:11:30 +0000 (UTC) Received: from 174-21-99-21.tukw.qwest.net ([174.21.99.21] helo=_HOSTNAME_) by wh2.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1OKBy5-0001HR-J7 for questions@freebsd.org; Thu, 03 Jun 2010 08:04:26 -0700 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Thu, 03 Jun 2010 08:11:25 -0700 Date: Thu, 3 Jun 2010 08:11:25 -0700 From: Chip Camden To: "questions@freebsd.org" Message-ID: <20100603151125.GA44719@libertas.local.camdensoftware.com> Mail-Followup-To: "questions@freebsd.org" References: <4C070621.5060109@comclark.com> <20100603134212.f1b9b1c0.freebsd@edvax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh2.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com Cc: Subject: Re: .sh & tar X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 15:11:31 -0000 On Jun 03 2010 10:03, illoai@gmail.com wrote: > On 3 June 2010 07:42, Polytropon wrote: > > On Thu, 03 Jun 2010 09:32:17 +0800, Aiza wrote: > >> When I exec tar from within a .sh shell script I get this message > >> tar: Removing leading '/' from member names > >> I have tar outputting to > /dev/null and still get this message. > >> With -v or without makes no difference. > >> > >> How can I stop this > > > > Depends on WHAT you want to stop - the illness or just its symptoms. :-) > > > > If it's just about symptoms, redirect the error messages into > > nirvana. > > > >        tar [opts] [file] 1>/dev/null 2>&1 > > > > If you want to remove the REASON for "tar: Removing leading '/' > > from member names", you need to re-create the archives and > > start archiving from a relative point (instead of from an > > absolute one), e. g. > > > >        # cd / > >        # tar cvf etc.tar etc/ > > > > (lazy man's method) instead of > > > >        # tar cvf etc.tar /etc/ > > > > The extraction of the archive will usually start in the > > current directory, so > > > >        # cd /usr/local/bin > >        # tar xvf etc.tar > > > > won't give you an etc/ subtree in /usr/local/bin directory. > > > > tar -cvf - ./ -C / > /dev/null > ? > I can't help wondering why the 'v' option is being specified, unless /dev/null needs more playing time. -- Sterling (Chip) Camden | camdensoftware.com | chipstips.com | chipsquips.com From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 15:51:14 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B6C4B1065674 for ; Thu, 3 Jun 2010 15:51:14 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id 5CFD28FC14 for ; Thu, 3 Jun 2010 15:51:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.cs.ait.ac.th (Postfix) with ESMTP id 9C9C53A3974; Thu, 3 Jun 2010 22:51:12 +0700 (ICT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.ait.ac.th; h= references:subject:subject:in-reply-to:from:from:message-id:date :date:received:received:received; s=selector1; t=1275580272; x= 1277394672; bh=PXXOgXmLM12PMB2GxnYKqFI5m946UJ8Fep0b/L15kzg=; b=b vQUhV48gnlm8j/a8COc4SmpAQ2wDUhC0aYZfbb5yAAR29ecZexJrrETchnrlBRBs zs4/4U6ahkQUK0+LwIz2fmFIz3DT7Jgcftr3ShpTfFknWtiNewkevKMK1RlFEEH3 eqvmCt+8jU9UFFk6IYxgnWg79/cKB8NfUM37dsKggA= X-Virus-Scanned: amavisd-new at cs.ait.ac.th Received: from mail.cs.ait.ac.th ([127.0.0.1]) by localhost (mail.cs.ait.ac.th [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id qlW9QFj5D3nT; Thu, 3 Jun 2010 22:51:12 +0700 (ICT) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cs.ait.ac.th (Postfix) with ESMTPS id 3B2793A38FC; Thu, 3 Jun 2010 22:51:12 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.3/8.14.3/Submit) id o53Fp964055541; Thu, 3 Jun 2010 22:51:09 +0700 (ICT) (envelope-from on) Date: Thu, 3 Jun 2010 22:51:09 +0700 (ICT) Message-Id: <201006031551.o53Fp964055541@banyan.cs.ait.ac.th> From: Olivier Nicole To: bogdan@pvp.ro In-reply-to: (message from Bogdan Webb on Thu, 3 Jun 2010 17:37:01 +0300) References: Cc: freebsd-questions@freebsd.org Subject: Re: Issues reinstalling Bind9 on FreeBSD 8.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 15:51:14 -0000 Hi, > /etc/rc.d/named: WARNING: run_rc_command: cannot run /usr/sbin/named /etc/rc.d/named ans /usr/sbin/named are not from the ports but from native FreeBSD distribution. Portsx will go into /usr/local/ only. So apparently you mixed-up distribution and port, deleted part of one and part of the other... If you have a fresh FreeBSD install, just reinstall it? Olivier From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 13:22:39 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27DFB106566B for ; Thu, 3 Jun 2010 13:22:39 +0000 (UTC) (envelope-from samuelwang22@gmail.com) Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id F277D8FC14 for ; Thu, 3 Jun 2010 13:22:37 +0000 (UTC) Received: by pxi7 with SMTP id 7so37554pxi.13 for ; Thu, 03 Jun 2010 06:22:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=eLRPa+CbQPW55FL47zjmFxH4TA7kAkInA+jCucqcN+w=; b=ax6k6k+ovDWhB7Nsg1FfjTTgVpJLyLFdV2pcX4tk7yDOuJS0xqE/NemgrCLWT1ZsdA P12do8UT/5AEOWrV6xBsuTM7oK2Am11AvYCkr9DGw4RB9wOPBJhSaJcrfUj2Op7ujPZ+ 9c0+xqymiOGk4e/0u3vPyyHlEXFdSsTEBwDD4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=SG1kg962RKKILf2Bt3YiVaLoqbKgUZKxo/6xgavS+qzA4KvTEvS3r/tKZFGymSaOXD ZnwtxiQYoJnjCjMravofsmhAA1hSLMA7eDIS+5iKFDR6y1llZO5PNVVyRiuv0ZZMxmnz nkLU645CAWl3wtfxQotzcwW+ekUjZVNCXXhjQ= Received: by 10.140.83.40 with SMTP id g40mr8105474rvb.102.1275569500244; Thu, 03 Jun 2010 05:51:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.191.21 with HTTP; Thu, 3 Jun 2010 05:51:20 -0700 (PDT) From: samuelwang Date: Thu, 3 Jun 2010 20:51:20 +0800 Message-ID: To: freebsd-questions@freebsd.org X-Mailman-Approved-At: Thu, 03 Jun 2010 15:58:00 +0000 Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: cannot ping private IP within the same subnet of AP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 13:22:39 -0000 Dear all: I have setup an AP by using freeBSD 8 on eeebox b202. The eeebox has two network interface. One is ethernet and the other is wireless. I setup AP, DHCP, NAT on it. I can already connect to this AP and connect to the internet normally. But, I can't ping the other client which is connected to this AP. ping error message is destination unreachable. I check the firewall, dhcp settings, and gateway. Everything is just find. Then I use netstat -nr to check the routing table: Internet: Destination Gateway Flags Refs Use Netif Expire default 140.112.42.254 UGS 8 35878 re0 127.0.0.1 link#3 UH 0 0 lo0 140.112.42.0/24 link#1 U 2 184 re0 140.112.42.165 link#1 UHS 0 0 lo0 192.168.0.0/24 link#4 U 0 2615 wlan0 192.168.0.254 link#4 UHS 0 0 lo0 I found that there is no C Flags in 192.168.0.0/24 link#4. In official handbook, C: Clone: Generates a new route based upon this route for machines we connect to. This type of route is normally used for local networks. I don't know the How could i enable this C Flags by anything settings? thanks. -- Po-Jung Wang Graduate Institute of Communication Engineering, National Taiwan University Blog: http://language99.blogspot.com From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 16:11:38 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DCD04106567A for ; Thu, 3 Jun 2010 16:11:38 +0000 (UTC) (envelope-from xkyanh@gmail.com) Received: from mail-pz0-f175.google.com (mail-pz0-f175.google.com [209.85.222.175]) by mx1.freebsd.org (Postfix) with ESMTP id A8B3D8FC15 for ; Thu, 3 Jun 2010 16:11:38 +0000 (UTC) Received: by pzk5 with SMTP id 5so139506pzk.14 for ; Thu, 03 Jun 2010 09:11:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:in-reply-to:references:organization:user-agent :x-operating-system:x-face:face:x-mailer:mime-version:content-type :content-transfer-encoding; bh=T2SD+b/Nx4IuvjVkWln8IeIEHPQ4chgS1VypGMD9P4A=; b=U+XfRKgzJbeEp5YoheOlH5H9GlmwFzfPMTgWYkJ8UWIPHtEkQQpsL3mMiBar07NBh0 Kg6XFTaXG3bQaK/WA+o89h+cBRpzCBqZw2T4FDo3f7s521/RZdslEUs8snzqYDsKGpuW uvqdFC7z55vBflUUxnqwu+cMcjftjurv+1IZk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references :organization:user-agent:x-operating-system:x-face:face:x-mailer :mime-version:content-type:content-transfer-encoding; b=uH8+oQw7/8s9k13h3IZ211pNkmwHCF35QlK3AqT/E+ZdEexhj8CLGwVRMoS2GUfjjX jF3FAoXSMZlouYkjQSkH864bmpH3FEIo97FP+mJPFosnHUrCgChnb92AjLoHB+tebzAV CvvZRLQLITf4+6fdR0tOjfcILA5WHJPjuzX9w= Received: by 10.143.177.5 with SMTP id e5mr6805122wfp.304.1275581495855; Thu, 03 Jun 2010 09:11:35 -0700 (PDT) Received: from icy.localdomain ([123.20.12.235]) by mx.google.com with ESMTPS id s21sm187424wff.0.2010.06.03.09.11.33 (version=SSLv3 cipher=RC4-MD5); Thu, 03 Jun 2010 09:11:35 -0700 (PDT) Date: Thu, 3 Jun 2010 23:11:16 +0700 From: "Anh Ky Huynh" To: Vinny Message-ID: <20100603231116.5e1ef41f@icy.localdomain> In-Reply-To: <4C06F680.1000608@palaceofretention.ca> References: <4C06131A.6010107@comclark.com> <20100602082401.GA2876@current.Sisis.de> <4C06169A.9090604@infracaninophile.co.uk> <4C06F680.1000608@palaceofretention.ca> Organization: Vietnamese TeX Users Group User-Agent: FreeBSD X-Operating-System: FreeBSD X-Face: FreeBSD Face: FreeBSD X-Mailer: FreeBSD Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: command to strip suffix in .sh script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 16:11:38 -0000 On Wed, 02 Jun 2010 20:25:36 -0400 Vinny wrote: > On 06/02/2010 04:30, Matthew Seaman wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > On 02/06/2010 09:24:01, Matthias Apitz wrote: > >> El d=C3=83=C2=ADa Wednesday, June 02, 2010 a las 04:15:22PM +0800, Aiza > >> escribi=C3=83=C2=B3: > >> > >>> I have this code > [snip] > >> $ echo 'archivename-201006021514.34.tar.gz' | sed 's/-.*$//' > > > > archive_name=3D${fromarchive%-*} > > >=20 > Thanks Matthew, that's really neat. It took me a long time > to find the correct google incantation to find the documentation > for that. ( bourne shell pattern-matching notation ) In fact I know about that from Bash's documents:) IMHO, there are more Bash= 's documents than Bourne's ones. Cheers, --=20 Anh Ky Huynh From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 16:17:17 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 979AA1065677 for ; Thu, 3 Jun 2010 16:17:17 +0000 (UTC) (envelope-from tjado.ml.freebsd-questions@maecke.net) Received: from mail.xuat.net (maecke.net [85.25.179.71]) by mx1.freebsd.org (Postfix) with ESMTP id 5DF088FC0A for ; Thu, 3 Jun 2010 16:17:17 +0000 (UTC) Received: from [192.168.10.33] (g230073159.adsl.alicedsl.de [92.230.73.159]) by mail.xuat.net (Postfix) with ESMTPSA id ABC206F50 for ; Thu, 3 Jun 2010 18:07:00 +0200 (CEST) Message-ID: <4C07D318.5080307@maecke.net> Date: Thu, 03 Jun 2010 18:06:48 +0200 From: =?ISO-8859-15?Q?Tjado_M=E4cke?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: USB-Boot over fat32 parition X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 16:17:17 -0000 Hi there, I'm trying to boot FreeBSD 8.0 over or rather from an USB stick. The memstick freebsd version doesn't work because my pc reboots after it wants to boot from the stick (written with Windows dd on the stick). This happens also, if i format the stick myself with ufs2 and install the boot stuff... So I setup the kernel on a GPT partition but then, my pc freeze before the bios searchs for any connected devices. With the "zfsboot" i get some strange characters on the screen but nothing happens anymore ( http://wiki.freebsd.org/ZFSOnRootWithZFSboot ). I tried also different USB sticks (different manufacturers).... My mainboard is a Abit KN9 Ultra with latest bios update from 2007 :( Memtest86+ works with USB boot that is on a fat32 partition Can i setup a fat32 partition that boots then the kernel from this or an other ufs2 label on the stick? I read also about http://doc.ctrlaltdel.ch/freebsd/handbook/internals.html but I didn't find any further information for FreeBSD 8.0. Thanks for any information :) tjado From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 16:17:55 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2C8E1065672 for ; Thu, 3 Jun 2010 16:17:55 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh2.interactivevillages.com (wh2.interactivevillages.com [75.125.250.34]) by mx1.freebsd.org (Postfix) with ESMTP id 8B68D8FC20 for ; Thu, 3 Jun 2010 16:17:55 +0000 (UTC) Received: from 174-21-99-21.tukw.qwest.net ([174.21.99.21] helo=_HOSTNAME_) by wh2.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1OKD0M-0004hM-53 for freebsd-questions@freebsd.org; Thu, 03 Jun 2010 09:10:51 -0700 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Thu, 03 Jun 2010 09:17:49 -0700 Date: Thu, 3 Jun 2010 09:17:49 -0700 From: Chip Camden To: freebsd-questions@freebsd.org Message-ID: <20100603161749.GB44719@libertas.local.camdensoftware.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <20100603003112.46031.qmail@joyce.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh2.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com Subject: Re: text editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 16:17:55 -0000 On Jun 03 2010 11:11, Murray Taylor wrote: > Hmm i remember a 'game' where you opened a file > then predicted what would happen if you just typed > your name at the command prompt... then of course you had to do it > to see if your guess was right... > > ie in vi > > "dwight" would delete a word then insert "ght" > > destroyed the odd file or two i remember with the addition > of 'random' control key additions.... > It would be unfortunate if your parents named you ":!rm -r *", even though they affectionately called you "little Remy Star" and you made good friends with Bobby Tables (http://xkcd.com/327/). -- Sterling (Chip) Camden | camdensoftware.com | chipstips.com | chipsquips.com From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 16:49:10 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8ADA0106566C for ; Thu, 3 Jun 2010 16:49:10 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id F0E248FC1B for ; Thu, 3 Jun 2010 16:49:09 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o53GmoEN037356 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Thu, 3 Jun 2010 17:48:51 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4C07DCF2.7020507@infracaninophile.co.uk> Date: Thu, 03 Jun 2010 17:48:50 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: Olivier Nicole References: <201006031551.o53Fp964055541@banyan.cs.ait.ac.th> In-Reply-To: <201006031551.o53Fp964055541@banyan.cs.ait.ac.th> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.96.1 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=1.6 required=5.0 tests=BAYES_50,DKIM_ADSP_ALL, SPF_FAIL autolearn=no version=3.3.1 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org, bogdan@pvp.ro Subject: Re: Issues reinstalling Bind9 on FreeBSD 8.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 16:49:10 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 03/06/2010 16:51:09, Olivier Nicole wrote: >> /etc/rc.d/named: WARNING: run_rc_command: cannot run /usr/sbin/named > > /etc/rc.d/named ans /usr/sbin/named are not from the ports but from > native FreeBSD distribution. > > Portsx will go into /usr/local/ only. > > So apparently you mixed-up distribution and port, deleted part of one > and part of the other... > > If you have a fresh FreeBSD install, just reinstall it? Also, if you're trying to run one of the bind ports, then you should just use all the default configuration stuff in /etc/namedb (which is really /var/named/etc/namedb) and the rc script /etc/rc.d/named with the binaries installed by the port by putting the following in /etc/rc.conf: named_enable="YES" named_program="/usr/local/sbin/named" named_flags="-c /etc/namedb/named.conf" This is a bit unusual -- most ports install their own startup script in /usr/local/etc/rc.d/ and their own config files under /usr/local/etc or subdirs thereof. One handy hint is to link /usr/local/etc/rndc.conf to /etc/namedb/rndc.conf which helps the rc-script control the named process better. (Or .../rndc.key, depending on how you set things up.) Actually, I believe the various bind ports do this automatically now, but it doesn't hurt to double check. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwH3PIACgkQ8Mjk52CukIwDFQCfQRnuL/eOlV4V6lERkE480+OT J4QAnRHrzd5VWzEKswpR0eUtDa20zTzo =+8Vv -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 16:53:50 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C7431065677 for ; Thu, 3 Jun 2010 16:53:50 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 835708FC18 for ; Thu, 3 Jun 2010 16:53:49 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o53GrjOV037422 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Thu, 3 Jun 2010 17:53:45 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4C07DE19.3090004@infracaninophile.co.uk> Date: Thu, 03 Jun 2010 17:53:45 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4C06131A.6010107@comclark.com> <20100602082401.GA2876@current.Sisis.de> <4C06169A.9090604@infracaninophile.co.uk> <4C06F680.1000608@palaceofretention.ca> <20100603231116.5e1ef41f@icy.localdomain> In-Reply-To: <20100603231116.5e1ef41f@icy.localdomain> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.96.1 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=1.6 required=5.0 tests=BAYES_50,DKIM_ADSP_ALL, SPF_FAIL,TO_NO_BRKTS_DIRECT autolearn=no version=3.3.1 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Subject: Re: command to strip suffix in .sh script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 16:53:50 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 03/06/2010 17:11:16, Anh Ky Huynh wrote: > On Wed, 02 Jun 2010 20:25:36 -0400 > Vinny wrote: >> On 06/02/2010 04:30, Matthew Seaman wrote: >>> archive_name=${fromarchive%-*} >> Thanks Matthew, that's really neat. It took me a long time >> to find the correct google incantation to find the documentation >> for that. ( bourne shell pattern-matching notation ) > In fact I know about that from Bash's documents:) IMHO, there are > more Bash's documents than Bourne's ones. Most of what I know about sh programming is due to close reading of the sh(1) man page and studying examples of periodic and rc scripts and the like. Quantity of documentation really is no substitute for quality. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwH3hkACgkQ8Mjk52CukIwTMACePjyFyiXiEV4pAAOWPZDYI9Zy ApYAn1s91AGLUYwVinrQjSWoxPLp893D =3jcR -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 17:00:33 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA40A1065675 for ; Thu, 3 Jun 2010 17:00:33 +0000 (UTC) (envelope-from freebsd@optimis.net) Received: from mail.optimis.net (mail.optimis.net [69.104.191.124]) by mx1.freebsd.org (Postfix) with ESMTP id 655298FC08 for ; Thu, 3 Jun 2010 17:00:33 +0000 (UTC) Received: from marvin.optimis.net (marvin.optimis.net [192.168.1.3]) by mail.optimis.net (8.14.3/8.14.3) with ESMTP id o53H0WC2020638 for ; Thu, 3 Jun 2010 10:00:32 -0700 (PDT) (envelope-from freebsd@optimis.net) Received: from marvin.optimis.net (localhost [127.0.0.1]) by marvin.optimis.net (8.14.3/8.14.3) with ESMTP id o53H0WIm096208; Thu, 3 Jun 2010 10:00:32 -0700 (PDT) (envelope-from freebsd@optimis.net) Received: (from george@localhost) by marvin.optimis.net (8.14.3/8.14.3/Submit) id o53H0Wpw096207; Thu, 3 Jun 2010 10:00:32 -0700 (PDT) (envelope-from freebsd@optimis.net) Date: Thu, 3 Jun 2010 10:00:32 -0700 From: George Davidovich To: freebsd-questions@freebsd.org Message-ID: <20100603170032.GA95992@marvin.optimis.net> References: <4C06131A.6010107@comclark.com> <20100602082401.GA2876@current.Sisis.de> <4C06169A.9090604@infracaninophile.co.uk> <4C06F680.1000608@palaceofretention.ca> <20100603231116.5e1ef41f@icy.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100603231116.5e1ef41f@icy.localdomain> User-Agent: Mutt/1.5.19 (2009-01-05) Subject: Re: command to strip suffix in .sh script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 17:00:33 -0000 On Thu, Jun 03, 2010 at 11:11:16PM +0700, Anh Ky Huynh wrote: > On Wed, 02 Jun 2010 20:25:36 -0400 Vinny wrote: > > On 06/02/2010 04:30, Matthew Seaman wrote: > > > On 02/06/2010 09:24:01, Matthias Apitz wrote: > > > > Aiza wrote: > > > > > > > > > I have this code > > [snip] > > > > $ echo 'archivename-201006021514.34.tar.gz' | sed 's/-.*$//' > > > > > > archive_name=${fromarchive%-*} > > > > Thanks Matthew, that's really neat. It took me a long time to find > > the correct google incantation to find the documentation for that. > > ( bourne shell pattern-matching notation ) > > In fact I know about that from Bash's documents:) IMHO, there are more > Bash's documents than Bourne's ones. Kids today. ;-) No need for Magick Google Incantations: man sh | less -p 'Parameter Expansion$' man bash | less -p 'Parameter Expansion$' -- George From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 17:16:31 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BBF111065678 for ; Thu, 3 Jun 2010 17:16:31 +0000 (UTC) (envelope-from eric_delacruz@yahoo.com) Received: from n7.bullet.re3.yahoo.com (n7.bullet.re3.yahoo.com [68.142.237.92]) by mx1.freebsd.org (Postfix) with SMTP id 4FE5D8FC1F for ; Thu, 3 Jun 2010 17:16:30 +0000 (UTC) Received: from [68.142.237.90] by n7.bullet.re3.yahoo.com with NNFMP; 03 Jun 2010 17:16:30 -0000 Received: from [216.252.110.140] by t6.bullet.re3.yahoo.com with NNFMP; 03 Jun 2010 17:16:30 -0000 Received: from [127.0.0.1] by omp210.mail.re3.yahoo.com with NNFMP; 03 Jun 2010 17:16:30 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 206229.88469.bm@omp210.mail.re3.yahoo.com Received: (qmail 4397 invoked by uid 60001); 3 Jun 2010 17:16:30 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1275585390; bh=YgxPfFKCz8bNKT9ZiO7VYBCUt5UjU/QEMCL7r/ELlLo=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=tfmG4vFIZZDk324YyIpPTmEkflLonmm8JnHgVgCPWDBzbKJGDfEjB+2mtEV4romBlyrKNtVN3WOgFDHLenGMmguFZNCJdw8m0wIBW8IwpnvGj4cTfAYFLRxw3dbt2aqkmeJY90pUIN6XSGrYfTPkpnKC3bVv0daRM22K7Y6LUOs= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=I4jM3WAFFE3p6zvreNHNOOdc/XqRV2sN+Jr5vdQioTDX4BNeqA8iE6Xk20zH1sc1UolNH7lme3OQwcs5xeYmN6e2r4X1webp9+cO48R3L0rTYp724/YiOF3+1kdGZzt95dPXFWUVP9ZmkWinBzmJx2ZldIcBRZN0lANl0MrFiTQ=; Message-ID: <110358.4145.qm@web56303.mail.re3.yahoo.com> X-YMail-OSG: IwR6z_YVM1lroiHb3CbufWqkYIyTFsTbfF_qthmu.jRFolx ZkF6EHAscz1SXi8XwRTe1EiSwGk5u2A_IGuUqoa0pbpseCtoitG8DsW5unVr YUGJRMo7DKrrGl3PiWEZy9FxvNq9cu33bIsSSvGSyn..29Nl0a8qFpZZvnf_ VPhg1LST7kYKyxb7d8isn9LkTFCVYiEjHrhkQIXCCW9XEp25y8heWORA3Ns0 9BS3ys0PewY2.rhGSWQHb3L.Yy3L4LtyFYJygLLRHdq9fVTOvx70m4YmvGfD y6S0FPIOFUs9vPlXiekygqteMV.kOMnjOnMaTH8qpdyuf7Q-- Received: from [201.134.190.210] by web56303.mail.re3.yahoo.com via HTTP; Thu, 03 Jun 2010 10:16:29 PDT X-Mailer: YahooMailRC/374.4 YahooMailWebService/0.8.103.269680 References: <954791.4925.qm@web56305.mail.re3.yahoo.com> <4C072070.4010205@bah.homeip.net> Date: Thu, 3 Jun 2010 10:16:29 -0700 (PDT) From: Eric De La Cruz Lugo To: Bernt Hansson In-Reply-To: <4C072070.4010205@bah.homeip.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org, freebsd-i18n@freebsd.org Subject: Re: Hi es_MX internationalization needed..... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 17:16:31 -0000 Bernt:=0A=0AThanks for your reply, I read it already, and ended my self rea= ding=A0the mklocale manuals=0A=0AThe problem i have now is where to find a = suitable es_MX.UTF-8.src file, I looked here:=0A=0Ahttp://cvsup.hu.freebsd.= org/viewvc/FreeBSD/src/share/mklocale/?sortby=3Dfile=0A=0Ato no avail.=0A= =0ADo you know or some one know here in the list where i can find a src fil= e for es_MX.UTF-8 ?=0A=0AThanks in advance.=0A=0ALIA Eric De La Cruz Lugo= =0AM=E9rida, Yucat=E1n, M=E9xico, The MayaLand.=0A=0A=A0=0A=0A=0A=0A_______= _________________________=0AFrom: Bernt Hansson =0ATo= : Eric De La Cruz Lugo =0ACc: freebsd-i18n@freebsd= .org; freebsd-questions@freebsd.org=0ASent: Wed, June 2, 2010 10:24:32 PM= =0ASubject: Re: Hi es_MX internationalization needed.....=0A=0A2010-06-03 0= 3:37, Eric De La Cruz Lugo skrev:=0A> Hi to every one.=0A>=0A> I=A0 have be= en checking the mail lists and haven`t found information about es_MX locali= zation, in Ubuntu, OpenSUSE and other Linux distributions this can be achie= ved by something like.=0A>=0A>=0A> # locale-gen es_MX.UTF-8=0A=0ANot the fr= eebsd way of doing it.=0Ahava a look at:=0A=0Ahttp://www.se.freebsd.org/doc= /en_US.ISO8859-1/books/handbook/l10n.html=0A=0A=0A> # locale-gen es_MX=0A> = But on FreeBSD I can`t find any command or tool to perform this.=0A>=0A> th= ere is a es_ES locale on FreeBSD.=0A>=0A> I thinked about generating the es= _MX locale with a file like es_MX.UTF-8.src or something like that, without= success this is beyond my expertise right now.=0A>=0A> I need the es_MX be= cause there is a postgreSQL database that "MUST" be encoded with the es_MX = encoding, for a project am working on.=0A>=0A> On KDE 4 on FreeBSD 8.0 I ca= n changed the region to Mexico (es_MX), but I can't change my locale variab= les (LC_) on my command line terminal.=0A>=0A> they look actually like this= :=0A>=0A>=0A> [cursos] ~>=A0 locale=0A> LANG=3D=0A> LC_CTYPE=3D"es_ES.UTF-8= "=0A> LC_COLLATE=3D"es_ES.UTF-8"=0A> LC_TIME=3D"es_ES.UTF-8"=0A> LC_NUMERIC= =3D"es_ES.UTF-8"=0A> LC_MONETARY=3D"es_ES.UTF-8"=0A> LC_MESSAGES=3D"es_ES.U= TF-8"=0A> LC_ALL=3D=0A> [cursos] ~>=0A>=0A> On other server i have OpenSUSE= 11.2 and have this:=A0 (the way a needed it).=0A>=0A> edelacruz@sgi:~>=A0 = locale=0A> LANG=3Des_MX.UTF-8=0A> LC_CTYPE=3D"es_MX.UTF-8"=0A> LC_NUMERIC= =3D"es_MX.UTF-8"=0A> LC_TIME=3D"es_MX.UTF-8"=0A> LC_COLLATE=3D"es_MX.UTF-8"= =0A> LC_MONETARY=3D"es_MX.UTF-8"=0A> LC_MESSAGES=3D"es_MX.UTF-8"=0A> LC_PAP= ER=3D"es_MX.UTF-8"=0A> LC_NAME=3D"es_MX.UTF-8"=0A> LC_ADDRESS=3D"es_MX.UTF-= 8"=0A> LC_TELEPHONE=3D"es_MX.UTF-8"=0A> LC_MEASUREMENT=3D"es_MX.UTF-8"=0A> = LC_IDENTIFICATION=3D"es_MX.UTF-8"=0A> LC_ALL=3D=0A> edelacruz@sgi:~>=0A>=0A= >=0A> How do i do this on FreeBSD 8.0 i386 or amd64?=0A>=0A> Thanks in adva= nce for your attention and help.=0A>=0A> LIA Eric De La Cruz Lugo.=0A>=0A>= =0A>=0A> _______________________________________________=0A> freebsd-questi= ons@freebsd.org mailing list=0A> http://lists.freebsd.org/mailman/listinfo/= freebsd-questions=0A> To unsubscribe, send any mail to "freebsd-questions-u= nsubscribe@freebsd.org"=0A>=0A>=0A=0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 19:10:35 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 697C4106564A for ; Thu, 3 Jun 2010 19:10:35 +0000 (UTC) (envelope-from andyjhiscock@yahoo.com) Received: from web26105.mail.ukl.yahoo.com (web26105.mail.ukl.yahoo.com [217.146.182.146]) by mx1.freebsd.org (Postfix) with SMTP id EAC298FC15 for ; Thu, 3 Jun 2010 19:10:33 +0000 (UTC) Received: (qmail 22745 invoked by uid 60001); 3 Jun 2010 19:10:33 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1275592232; bh=1DsTUC3LQxsl6HSUinuDrAmYqaDaynryIj4JrD9mp5E=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=C8yMfHygQ/udjX94+GSWDP1dGCi9apCUNS9oimVEuUvHN4/P1chiHcPCwlDwjyeJw7rfzUiMAwPvW3AwfdLIYg6DhRVkl0InaJ7cOyE67ktcbM7+KbYGLVfHATD9uSF9OUOJ99zav5p0cjqiZvOWEFL8r6yuafmE3kuJbUU53MI= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=fxrLAD7An39k7e/8d7eEqmlCGf9CdtmQDQcxE+v2g5wGqpFcJXxYRHrhIAhIQ5Med/pKGkpmLGtA/sjAF2MYW4JAJIz9+i7/eIYwPk38YFs/78XR9Qx4OID0pdGKOhcgSa0Zrw7Zo7wej9GFm5suWr94l2fhZn/qbIqRM08LeAE=; Message-ID: <929158.22715.qm@web26105.mail.ukl.yahoo.com> X-YMail-OSG: new1bAgVM1lLPoJ1JOtDLR_zvynYJCPAzwLl0TlhuwFnfpQ kw0BTwfVITOvFTYLQTvZmOl_XSEKyJQfr0OMNryS5VtaCdYShFx74xrlDTh0 laekaeyy51lFcW7f1cC4Xb2DiQFzXPY9sDvstt8kO9ih0GH2A_Vfwwnb1UP3 yv3NBO8jhjDC_GgORFlIA0fAyku_lNCcQuVNyBwmOpplMJqAQeaUvG25t3AD 1.0ILbRctepV_MOg1y5uMe43EmxypV61hOZYm27goy9qXDxNYlgArljgaB5o - Received: from [86.28.230.6] by web26105.mail.ukl.yahoo.com via HTTP; Thu, 03 Jun 2010 19:10:32 GMT X-Mailer: YahooMailRC/374.4 YahooMailWebService/0.8.103.269680 Date: Thu, 3 Jun 2010 19:10:32 +0000 (GMT) From: Andy Hiscock To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 19:10:35 -0000 After being advised to upgrade after a freebsd-update I have successfully u= pgraded from 7.2 to 8.0-p3. OK but have come across a major problem for me.= =0A=0AOK time for a BIG rant this has been going on for 2 days (very sorry)= =0A=0AAfter the install of the new kernel Samba isn't working. I TTL's on= to the server and tried a testparm but the error messages suggest I have de= pendancies missing?! - surely this should be taken into account when upgrad= ing versions - Major schoolboy error on FreeBSD when Linux can do this basi= c task seamlessly!=0A=0AOK I try sysinstall and find SAMBA isn't marked as = installed. I select samba for install but when installing SAMBA get a erro= r code -1 (WTF is that all about REALLY USEFUL error message mate!)=0A=0ALo= oked on google and keeps referring to PORTS being installed. Tried the exa= mples of how to install SAMBA but get loads of failed command line instruct= ions - Doesn't say anything about installing "PORTS" during initial install= ation. So I guess you can say I don't have "Ports" installed - why isn't t= his done automatically if its absolutely so critical for the OS to function= right? Error messages that mean nothing to the every day user. Apparent= ly I am meant to have something called PORTS installed before I've even set= up the server. Im really beginning to lose my rag with this OS. Is it mea= nt for gurus only?=0A=0ASo what am I meant to do now. Now I have XXX GB of= data I cant access though SAMBA prior to the install?=0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 19:46:58 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D77A9106578B for ; Thu, 3 Jun 2010 19:46:58 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 7E9D88FC29 for ; Thu, 3 Jun 2010 19:46:58 +0000 (UTC) Received: from r55.edvax.de (port-92-195-249-33.dynamic.qsc.de [92.195.249.33]) by mx02.qsc.de (Postfix) with ESMTP id 9FA021E098; Thu, 3 Jun 2010 21:46:56 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o53Jkthi001571; Thu, 3 Jun 2010 21:46:56 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 3 Jun 2010 21:46:55 +0200 From: Polytropon To: Andy Hiscock Message-Id: <20100603214655.7345b75c.freebsd@edvax.de> In-Reply-To: <929158.22715.qm@web26105.mail.ukl.yahoo.com> References: <929158.22715.qm@web26105.mail.ukl.yahoo.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 19:46:58 -0000 On Thu, 3 Jun 2010 19:10:32 +0000 (GMT), Andy Hiscock wrote: > After being advised to upgrade after a freebsd-update I have > successfully upgraded from 7.2 to 8.0-p3. OK but have come > across a major problem for me. > > OK time for a BIG rant this has been going on for 2 days (very sorry) > > After the install of the new kernel Samba isn't working. I TTL's > onto the server and tried a testparm but the error messages suggest > I have dependancies missing?! - surely this should be taken into > account when upgrading versions - Major schoolboy error on FreeBSD > when Linux can do this basic task seamlessly! When you upgraded from 7 to 8, you need to recompile your ports (or delete and re-install from packages). You can also install the 7 compatibility libraries. > OK I try sysinstall and find SAMBA isn't marked as installed. The sysinstall program doesn't know what's installed. It's just a selection interface to the pkg_add program. > I select samba for install but when installing SAMBA get a error > code -1 (WTF is that all about REALLY USEFUL error message mate!) The sysinstall program can't tell you what's the problem. The pkg_add program probably exited with -1, and that's what sysinstall is informing you about. > Looked on google and keeps referring to PORTS being installed. > Tried the examples of how to install SAMBA but get loads of failed > command line instructions - Doesn't say anything about installing > "PORTS" during initial installation. At this moment, it would be useful if you could provide (1st) what command you entered and (2nd) what the system responded. Basically, in order to perform a major update of a system, you first update your ports tree (e. g. using portsnap), then you enter the port's directory in question and do "make deinstall", followed by "make reinstall". You can of course use programs like portmaster, portupgrade or portmanager to take care of this. For example, per- forming the upgrade of all installed applications, the command "portupgrade -a" can be used. I may repeat: Major version updates of the OS usually require the re-compilation of all installed ports. > So I guess you can say I don't have "Ports" installed - why isn't > this done automatically if its absolutely so critical for the OS > to function right? In fact, it isn't. You can live without the ports collection. This collection is just a subtree /usr/ports that is usually installed together with the OS. You can use sysinstall to install the ports collection after the system has been installed, or you can use portsnap to obtain it. This subtree contains a hierarchy with files describing how to handle (configure, install, deinstall, upgrade) applications. It is meant to make compiling programs easier (no "./configure && make && make install"), and there are programs interfacing with this system. If you don't want to use ports, use packages. This is usually done through sysinstall or pkg_add (see "man pkg_add"), as well as, for example, "portinstall -PP samba" (see "man portupgrade") which will install sanba by utilizing the ports tree, but not by compiling - instead by getting the package. > Error messages that mean nothing to the every day user. When you're dealing with ports and packages, you're not an "every day user" (in terms of "average user"). In such a case, you shouldn't even consider upgrading your system without reading the instructions telling you how to do it. I may politely point you at the excellent documentation provided for FreeBSD - The FreeBSD Handbook and the FAQ. Feel free to read more about OS and application upgrade there, and find out how easy it is as soon as you *know* what to do. > Apparently I am meant to have something called PORTS installed > before I've even setup the server. No. You don't need the ports collection, and you can install it whenever you want. Please read in the documentation what a port exactly is, and what a package is. > Im really beginning to lose my rag with this OS. > Is it meant for gurus only? No. > So what am I meant to do now. Maybe first you bring your ports tree up to date, then install portupgrade, and finally do "portupgrade -a". Before you do this, read "man portupgrade", and maybe "man ports". > Now I have XXX GB of data I cant access though SAMBA prior to the install? I don't understand, sorry. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 20:15:56 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 164A31065679 for ; Thu, 3 Jun 2010 20:15:56 +0000 (UTC) (envelope-from the.real.david.allen@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id DF5558FC18 for ; Thu, 3 Jun 2010 20:15:55 +0000 (UTC) Received: by pwj1 with SMTP id 1so337629pwj.13 for ; Thu, 03 Jun 2010 13:15:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=abobVVhqAO/C4RFqiHzfI9GIrOTKuXayaNFOIGGgPWU=; b=xDCxh3sUVbGUu81C1smXCmRXlG6wjVqqi+A8GaegujER7Lju1OJ6Sx8As/UQgzH9ff ZhljHNO+S1PU6g84BvlJYjWWzEtexciNuRPlC3I3lX4tWEWoOxhINgCCgr0jNIzvcI2n +22uz1IIOKbr+CSCHr3U6TyPYx2MmzPiJeHZE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=E5yK/sZMKBBJpcSGOQBpVi5if5LBJRnKYeX2QJrggNWD9UMJK5xIhzI3PrCZbg4o+e /LFt9Q4KdFwSjZ1goMjVvDDcEvohEdruKcTanoZaSt8XY5/fEGaJuY9OGWEPNinvEh2n d555IfOFDZbHbORddrlekIxMBT1jEI1ns0yC0= MIME-Version: 1.0 Received: by 10.142.195.15 with SMTP id s15mr7366839wff.206.1275596155438; Thu, 03 Jun 2010 13:15:55 -0700 (PDT) Received: by 10.140.128.12 with HTTP; Thu, 3 Jun 2010 13:15:55 -0700 (PDT) In-Reply-To: <929158.22715.qm@web26105.mail.ukl.yahoo.com> References: <929158.22715.qm@web26105.mail.ukl.yahoo.com> Date: Thu, 3 Jun 2010 12:15:55 -0800 Message-ID: From: David Allen To: Andy Hiscock Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 20:15:56 -0000 On 6/3/10, Andy Hiscock wrote: > After being advised to upgrade after a freebsd-update I have successfully > upgraded from 7.2 to 8.0-p3. OK but have come across a major problem for me. > > OK time for a BIG rant this has been going on for 2 days (very sorry) > > After the install of the new kernel Samba isn't working. I TTL's onto the > server and tried a testparm but the error messages suggest I have > dependancies missing?! - surely this should be taken into account when > upgrading versions - Major schoolboy error on FreeBSD when Linux can do this > basic task seamlessly! [snip rest of useless rant] Never come across this myself til now, but it seems there's a problem in ports that touches Samba. Probably related to your Samba install complaining. From a ports tree updated just a while ago: bash3-3.2.51 Dependency: gettext-0.17_1 gettext-0.17_1 Information for gettext-0.17_1: lynx-2.8.7.1_1,1 Dependency: gettext-0.18_1 mutt-devel-1.5.20_5 Dependency: gettext-0.18_1 popt-1.14_1 Dependency: gettext-0.18_1 samba34-3.4.5_1 Dependency: gettext-0.18_1 wget-1.12_1 Dependency: gettext-0.18_1 I guess it's a choice between bash working, or everything else working. From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 20:21:31 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB2581065673 for ; Thu, 3 Jun 2010 20:21:31 +0000 (UTC) (envelope-from andyjhiscock@yahoo.com) Received: from web26103.mail.ukl.yahoo.com (web26103.mail.ukl.yahoo.com [217.146.182.144]) by mx1.freebsd.org (Postfix) with SMTP id 4D0FB8FC08 for ; Thu, 3 Jun 2010 20:21:30 +0000 (UTC) Received: (qmail 66611 invoked by uid 60001); 3 Jun 2010 20:21:30 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1275596490; bh=h85lbk2xgr9zG7XzH9XKPwrfFUrhG/seKDye571Xv78=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=0Efn28opHun0nNwM40tB4bnqYs84PTvghWKsGtpg19UogcIrxWKw3sYft7WSggcFn9/YsIpFVaXmhP7b1jbItui3G24snPU/a0p1b+tg2uCqV/JhB/FUmDIFfqulDN+3fT+r5Xe7ZMKp/jE2RtQrg+ZUDMeEcg6a7W0p7prIOKw= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=ed0NftOg8imIt23PhZ6CNydcjbD7QKGIGfTVTD3ychQe1LQoX0qUCAs1Ythgq/BKG6UpQLJV8/31mlDTFddaKFeahtDJ+VvMSR2d9C64qaZcr6aV4IwxynbZ15isDgFv5bD4oLdF9qne/nehfIFO8zkEdFHME7K0y9gZyu2KOb8=; Message-ID: <125527.66409.qm@web26103.mail.ukl.yahoo.com> X-YMail-OSG: 6ghtVaMVM1l8a3CIU1EjKCVjj8qo3dNSR72WtrNUsdMKtFd 4STVOH8f0VyK5dZQBqeC50CJHpcXJlogu18kPf4tSATK29eGXTqKzk_XtQkF VG51NJk2MMImg_MQp_kW5p2JVM093i3VVDJiX_toKLxvTwykSsJ7fhYX4WUp MKZBDHnUdewtZWKw.8X3RloT_aIJmP9rHFcNp_CsZzQ.h8wDSzEHSpLIvObz 3jKY4EEMzRP.XT44LFFmfYS4QImBevJcv6E7uVRPrjGgDgwq4h7J5DlpJ6CY NbV1lvtmUE8S7KXYTU4MHtfDYI0aazjfcZA-- Received: from [86.28.230.6] by web26103.mail.ukl.yahoo.com via HTTP; Thu, 03 Jun 2010 20:21:29 GMT X-Mailer: YahooMailRC/374.4 YahooMailWebService/0.8.103.269680 References: <929158.22715.qm@web26105.mail.ukl.yahoo.com> Date: Thu, 3 Jun 2010 20:21:29 +0000 (GMT) From: Andy Hiscock To: David Allen In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 20:21:31 -0000 Again Ports? What is that about... I've run the server and upgraded from= 7.0-7,2 with no problem or need to change any config files before. Its up= graded with no problem before.=0A=0AHow do I install "Ports"? How do I rei= nstall Samba without getting a error -1 in sysinstall?=0A=0A=0A=0A_________= _______________________=0AFrom: David Allen =0ATo: Andy Hiscock =0ACc: freebsd-questions@freeb= sd.org=0ASent: Thu, 3 June, 2010 21:15:55=0ASubject: Re: UPGRADE TO RELEASE= 8.0-P3/SAMBA HELP REQUIRED=0A=0AOn 6/3/10, Andy Hiscock wrote:=0A> After being advised to upgrade after a freebsd-update I h= ave successfully=0A> upgraded from 7.2 to 8.0-p3. OK but have come across a= major problem for me.=0A>=0A> OK time for a BIG rant this has been going o= n for 2 days (very sorry)=0A>=0A> After the install of the new kernel Samba= isn't working. I TTL's onto the=0A> server and tried a testparm but the = error messages suggest I have=0A> dependancies missing?! - surely this shou= ld be taken into account when=0A> upgrading versions - Major schoolboy erro= r on FreeBSD when Linux can do this=0A> basic task seamlessly!=0A=0A[snip r= est of useless rant]=0A=0ANever come across this myself til now, but it see= ms there's a problem=0Ain ports that touches Samba. Probably related to yo= ur Samba install=0Acomplaining. From a ports tree updated just a while ago:= =0A=0Abash3-3.2.51 Dependency: gettext-0.17_1=0Agettext-0.17_1 Information = for gettext-0.17_1:=0Alynx-2.8.7.1_1,1 Dependency: gettext-0.18_1=0Amutt-de= vel-1.5.20_5 Dependency: gettext-0.18_1=0Apopt-1.14_1 Dependency: gettext-0= .18_1=0Asamba34-3.4.5_1 Dependency: gettext-0.18_1=0Awget-1.12_1 Dependency= : gettext-0.18_1=0A=0AI guess it's a choice between bash working, or everyt= hing else working.=0A_______________________________________________=0Afree= bsd-questions@freebsd.org mailing list=0Ahttp://lists.freebsd.org/mailman/l= istinfo/freebsd-questions=0ATo unsubscribe, send any mail to "freebsd-quest= ions-unsubscribe@freebsd.org"=0A=0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 20:27:35 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF4D0106564A for ; Thu, 3 Jun 2010 20:27:35 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 6E5EC8FC1B for ; Thu, 3 Jun 2010 20:27:35 +0000 (UTC) Received: from r55.edvax.de (port-92-195-249-33.dynamic.qsc.de [92.195.249.33]) by mx02.qsc.de (Postfix) with ESMTP id 96F311E338; Thu, 3 Jun 2010 22:27:34 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o53KRXDE002202; Thu, 3 Jun 2010 22:27:34 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 3 Jun 2010 22:27:33 +0200 From: Polytropon To: Andy Hiscock Message-Id: <20100603222733.65e140e4.freebsd@edvax.de> In-Reply-To: <153741.9349.qm@web26102.mail.ukl.yahoo.com> References: <929158.22715.qm@web26105.mail.ukl.yahoo.com> <20100603214655.7345b75c.freebsd@edvax.de> <153741.9349.qm@web26102.mail.ukl.yahoo.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 20:27:35 -0000 Re-including the list... On Thu, 3 Jun 2010 20:14:03 +0000 (GMT), Andy Hiscock wrote: > Right how can I uninstall back to 7.2? Well... I have to admit that I've never done that. Basically, it should be possible if you install the sources of 7.2 (e. g. from the CD) to overwrite /usr/src. Then you basically do what the Handbook says about upgrading from source, or, to quote from /usr/src/Makefile (worth reading its beginning): # 1. `cd /usr/src' (or to the directory containing your source tree). # 2. `make buildworld' # 3. `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). # 4. `make installkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). # [steps 3. & 4. can be combined by using the "kernel" target] # 5. `reboot' (in single user mode: boot -s from the loader prompt). # 6. `mergemaster -p' # 7. `make installworld' # 8. `make delete-old' # 9. `mergemaster' (you may wish to use -U or -ai). # 10. `reboot' # 11. `make delete-old-libs' (in case no 3rd party program uses them anymore) This should then give you the 7.2 version of FreeBSD back - removing everything that freebsd-update might have updated. I am not sure if you can use freebsd-update for this task (but I don't see why it should not be possible); in this case, refer to "man freebsd-update", especially the -r parameter (new release). Maybe a third possibility is to install FreeBSD 7.2 from the CD (I just assume you installed from CD or have the CD there), without any formatting, just overwriting. But this may be problematic - MAY, I'm not sure. Sorry, I'm really lacking experience in downgrading a system, as I have never done this, so I sadly can't be more specific. Maybe somebody on-list can be more precise (that's why I took the freedom to re-include the list, hope that's okay). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 20:29:30 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 894841065672 for ; Thu, 3 Jun 2010 20:29:30 +0000 (UTC) (envelope-from andyjhiscock@yahoo.com) Received: from web26105.mail.ukl.yahoo.com (web26105.mail.ukl.yahoo.com [217.146.182.146]) by mx1.freebsd.org (Postfix) with SMTP id 160AA8FC20 for ; Thu, 3 Jun 2010 20:29:29 +0000 (UTC) Received: (qmail 63644 invoked by uid 60001); 3 Jun 2010 20:29:29 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1275596969; bh=LiW/+pVwFgYMfqdZJpRbJnvYY5A+XlgnzdZ64UqkKc0=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=EGNMp2YdwLSapGgFiOZ21A0tjmT9EW2UPiGZn6jHDkucXo7rTRoBcSJOojvWtwe/1ATe7RZIec5E932/XPl+Ut0tKxMISpyhYnXez7q8E2R4AiI9s2mwlLTcB9OFpC3UoRrCC65Aq8a6waVuPALE77oQKB96hcTbktIkCf5/qfw= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=EwM6STyUOfw3zT4uBNvcvPIcRDAd/c4v2k29k9GW69UjJBXgupo8FfMsG7pG7WLMbaVQ9eQmOZwHpu3QnsPWPl772BG8UJrF/V+e4uzusJ6zSfd3JjcfLginWhTOG5ryDvE+hOrFoDNr8yXmsZjjICsWn4BJydroqn+Bzzp0GuI=; Message-ID: <68898.63609.qm@web26105.mail.ukl.yahoo.com> X-YMail-OSG: 4q7uJpUVM1lcOfeQSH8Q2JJWPvvwlIXqIHi7UD9BgL5a1Qr Pvgq_R4FXlsO2HK6vN7umiwec0LTC2AzePBq2U15QhcdMwxdhLBnA7NXnLgn zliHASuLXrs9dXrue1kzP3LCSa4Q9HwfItvWOMoDtq6RKc3mCwcJrUqCsRB8 CIVLl0cssuLsPREd2.KxpOIZrQ1kQMoFmpWNG2d2zZOHuns.I8aHP6S_Oax0 oxylsYeVaM.xjmshBMv2GISR9cDJMsn93QBzR3kdtRGDax78th9sAXH.GFJ3 rDCHhfbEPH4p1xGO6nvK_OySM1OFiqL9B4w-- Received: from [86.28.230.6] by web26105.mail.ukl.yahoo.com via HTTP; Thu, 03 Jun 2010 20:29:28 GMT X-Mailer: YahooMailRC/374.4 YahooMailWebService/0.8.103.269680 References: <929158.22715.qm@web26105.mail.ukl.yahoo.com> <125527.66409.qm@web26103.mail.ukl.yahoo.com> Date: Thu, 3 Jun 2010 20:29:28 +0000 (GMT) From: Andy Hiscock To: freebsd-questions@freebsd.org In-Reply-To: <125527.66409.qm@web26103.mail.ukl.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 20:29:30 -0000 Why during the upgrade process the "inspecting system" shouldnt be able to = find and identify and prepair everything that needs to be upgraded and reco= nfigured accordingly. Surely thats what "Inspecting system" is meant to be= doing. No matter if it is FreeBSD 1.0 or the prior version to the upgrade= =0A=0A=0A=0A________________________________=0AFrom: Andy Hiscock =0ATo: David Allen =0ACc: fr= eebsd-questions@freebsd.org=0ASent: Thu, 3 June, 2010 21:21:29=0ASubject: R= e: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED=0A=0AAgain Ports? What i= s that about... I've run the server and upgraded from 7.0-7,2 with no prob= lem or need to change any config files before. Its upgraded with no proble= m before.=0A=0AHow do I install "Ports"? How do I reinstall Samba without = getting a error -1 in sysinstall?=0A=0A=0A=0A______________________________= __=0AFrom: David Allen =0ATo: Andy Hiscock = =0ACc: freebsd-questions@freebsd.org=0ASent: Thu, 3= June, 2010 21:15:55=0ASubject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP RE= QUIRED=0A=0AOn 6/3/10, Andy Hiscock wrote:=0A> Aft= er being advised to upgrade after a freebsd-update I have successfully=0A> = upgraded from 7.2 to 8.0-p3. OK but have come across a major problem for me= .=0A>=0A> OK time for a BIG rant this has been going on for 2 days (very so= rry)=0A>=0A> After the install of the new kernel Samba isn't working. I T= TL's onto the=0A> server and tried a testparm but the error messages sugges= t I have=0A> dependancies missing?! - surely this should be taken into acco= unt when=0A> upgrading versions - Major schoolboy error on FreeBSD when Lin= ux can do this=0A> basic task seamlessly!=0A=0A[snip rest of useless rant]= =0A=0ANever come across this myself til now, but it seems there's a problem= =0Ain ports that touches Samba. Probably related to your Samba install=0Ac= omplaining. From a ports tree updated just a while ago:=0A=0Abash3-3.2.51 D= ependency: gettext-0.17_1=0Agettext-0.17_1 Information for gettext-0.17_1:= =0Alynx-2.8.7.1_1,1 Dependency: gettext-0.18_1=0Amutt-devel-1.5.20_5 Depend= ency: gettext-0.18_1=0Apopt-1.14_1 Dependency: gettext-0.18_1=0Asamba34-3.4= .5_1 Dependency: gettext-0.18_1=0Awget-1.12_1 Dependency: gettext-0.18_1=0A= =0AI guess it's a choice between bash working, or everything else working.= =0A_______________________________________________=0Afreebsd-questions@free= bsd.org mailing list=0Ahttp://lists.freebsd.org/mailman/listinfo/freebsd-qu= estions=0ATo unsubscribe, send any mail to "freebsd-questions-unsubscribe@f= reebsd.org"=0A=0A=0A=0A=0A_______________________________________________= =0Afreebsd-questions@freebsd.org mailing list=0Ahttp://lists.freebsd.org/ma= ilman/listinfo/freebsd-questions=0ATo unsubscribe, send any mail to "freebs= d-questions-unsubscribe@freebsd.org"=0A=0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 20:38:25 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 41FB1106566C for ; Thu, 3 Jun 2010 20:38:25 +0000 (UTC) (envelope-from andyjhiscock@yahoo.com) Received: from web26106.mail.ukl.yahoo.com (web26106.mail.ukl.yahoo.com [217.146.182.147]) by mx1.freebsd.org (Postfix) with SMTP id C41378FC14 for ; Thu, 3 Jun 2010 20:38:23 +0000 (UTC) Received: (qmail 35440 invoked by uid 60001); 3 Jun 2010 20:38:22 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1275597502; bh=iokMrTcaedOGl7uao4Bs9v16f+Zm0Y2qobwJICwWb2Q=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=ZxE6i+MR4yJn8OgRZ7dSGKyDswL6d0sZL9wtZu4kFtIxWkkKTNlPwfBt72gFPi1SG/lV6jcaUlTcjQGnqxJrsslyVmicxxrIYOe079qKyuzpAs21UpMqarUjP5kOfEIURucFXo0BbxDKGo5YeVquDA6bwb8LLXeWCZXSryiUhbY= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=xjN133FKp9IDCoD43jrYLZaxvMDqr2xX0JNsszOWyYeQ2cnkpvMp0hwwhOLnE/Wjgov8SF8AXeD88IT6XWxV+Umn1eYVH+ilFpvAB7XDLwWnAZK5U0LI965nd1uXAmkUtOgc8M506Fl3KgeEmUHeKCCM4e9eon6n7Q/DYYe0n40=; Message-ID: <227464.34171.qm@web26106.mail.ukl.yahoo.com> X-YMail-OSG: RBSs35IVM1mUu7FcgnBXTVSjEa.7mcjttW661l9x7tedzk4 66eMet2x_ObInFp6Y11S1EI.l9s4xL8zfg37tYNgO.1PUxGhdl8E_vtPS0IL DXkrJnr154EYGN9trfBetF8mrI_QNmyTUzo2ifw0jcDbB7WquJWnA8S8BGyi j9bSYYsodORHRQw1n7JsBpnUEnOd0WJkd6_VNZUemxyGBnKoWCnz6Y.P1Zwn ENcgcjGbXGNcoyjyg7.g709Ora5.7T2Yw4EgpIdoR9Bx4mD_dQeFN1YhnWHr j9pr_BXC9oEIOp4YI Received: from [86.28.230.6] by web26106.mail.ukl.yahoo.com via HTTP; Thu, 03 Jun 2010 20:38:22 GMT X-Mailer: YahooMailRC/374.4 YahooMailWebService/0.8.103.269680 References: <929158.22715.qm@web26105.mail.ukl.yahoo.com> <20100603214655.7345b75c.freebsd@edvax.de> <153741.9349.qm@web26102.mail.ukl.yahoo.com> <20100603222733.65e140e4.freebsd@edvax.de> Date: Thu, 3 Jun 2010 20:38:22 +0000 (GMT) From: Andy Hiscock To: Polytropon In-Reply-To: <20100603222733.65e140e4.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 20:38:25 -0000 ok so then running testparm i'm getting=0A=0Aleopard# testparm=0A/libexec/l= d-elf.so.1: Shared object "libcrypt.so.4" not found, required by "testparm"= =0Aleopard# =0A=0A=0A=0A=0A________________________________=0AFrom: Polytro= pon =0ATo: Andy Hiscock =0ACc: fr= eebsd-questions@freebsd.org=0ASent: Thu, 3 June, 2010 21:27:33=0ASubject: R= e: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED=0A=0ARe-including the list= ...=0A=0AOn Thu, 3 Jun 2010 20:14:03 +0000 (GMT), Andy Hiscock wrote:=0A> Right how can I uninstall back to 7.2?=0A=0AWell...= I have to admit that I've never done that. Basically,=0Ait should be possi= ble if you install the sources of 7.2 (e. g.=0Afrom the CD) to overwrite /u= sr/src. Then you basically do what=0Athe Handbook says about upgrading from= source, or, to quote=0Afrom /usr/src/Makefile (worth reading its beginning= ):=0A=0A# 1. `cd /usr/src' (or to the directory containing your sou= rce tree).=0A# 2. `make buildworld'=0A# 3. `make buildkernel KERNCONF= =3DYOUR_KERNEL_HERE' (default is GENERIC).=0A# 4. `make installkernel= KERNCONF=3DYOUR_KERNEL_HERE' (default is GENERIC).=0A# [steps 3. &= 4. can be combined by using the "kernel" target]=0A# 5. `reboot' = (in single user mode: boot -s from the loader prompt).=0A# 6. `mergemaste= r -p'=0A# 7. `make installworld'=0A# 8. `make delete-old'=0A# 9. `mer= gemaster' (you may wish to use -U or -ai).=0A# 10. = `reboot'=0A# 11. `make delete-old-libs' (in case no 3rd party program use= s them anymore)=0A=0AThis should then give you the 7.2 version of FreeBSD b= ack - removing=0Aeverything that freebsd-update might have updated.=0A=0A= =0A=0AI am not sure if you can use freebsd-update for this task (but I=0Ado= n't see why it should not be possible); in this case, refer to=0A"man freeb= sd-update", especially the -r parameter (new release).=0A=0A=0A=0AMaybe a t= hird possibility is to install FreeBSD 7.2 from the=0ACD (I just assume you= installed from CD or have the CD there),=0Awithout any formatting, just ov= erwriting. But this may be=0Aproblematic - MAY, I'm not sure.=0A=0A=0A=0ASo= rry, I'm really lacking experience in downgrading a system, as=0AI have nev= er done this, so I sadly can't be more specific. Maybe=0Asomebody on-list c= an be more precise (that's why I took the freedom=0Ato re-include the list,= hope that's okay).=0A=0A=0A=0A-- =0APolytropon=0AMagdeburg, Germany=0AHapp= y FreeBSD user since 4.0=0AAndra moi ennepe, Mousa, ...=0A=0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 20:43:43 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 884281065677 for ; Thu, 3 Jun 2010 20:43:43 +0000 (UTC) (envelope-from andyjhiscock@yahoo.com) Received: from web26102.mail.ukl.yahoo.com (web26102.mail.ukl.yahoo.com [217.146.182.143]) by mx1.freebsd.org (Postfix) with SMTP id E309C8FC0A for ; Thu, 3 Jun 2010 20:43:42 +0000 (UTC) Received: (qmail 25755 invoked by uid 60001); 3 Jun 2010 20:43:41 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1275597821; bh=es8283VO8FzVwNiwCoRX7B3ip4hJrKLJC5DzOxSq9ow=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=Q88J/1lnBy/VoSzoEJYdmUf2tbuMYF6zYX7AplOAPxfYzoeh0siBVz4p0vJG8I+efRmhqJ5neu3g/LIS4e2KbPKkNl1AbTCsyBnuvw+V1T1c8zNhG/X5F7OSJus+uz2VDPb9XdOJDp/radsURmRD9JW364EBH2rqynJGHQFDXG0= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=SP4ndsg49a1idrs87vgamjKHIW6GTVVU/fAsfBIJt9KBLadrVASJZxCNgR5z67BmfRVMBRB27Bc19c1/CxUEGSTGrhp/20vgpMvMgWy99ms5f6qe7l/RzZAfRvEHaqMCk732EMSMYRM4dSHjJDTTYSMKCWmALaEBFWeqCetDmVI=; Message-ID: <819311.25202.qm@web26102.mail.ukl.yahoo.com> X-YMail-OSG: dsjG3FkVM1maXn9roQ_sWiyN0W50Wobi7Lyc1got_B4csis 7iZV6.Nf64ayidBQ_.Hd22QpEBLxoAqHwLVWamrFZrZEK2ghlUULhydErugv VZYcHFSzTZU9WOGafa7bhGfcJl1fDXp.zgiRP713sqdIgRkR6v3R66fH8uwF wePCr8dKbSeac51VL15UX3jAll7fWN6MYyGjVBhxt38wPowvzU8A5rDNW5IY _ixXghO9KFk9QGOC8CIR.25SnJ5lt9hk3_aS983nMLJvtHi._z2.qa9ltRhD 5W7Hdmy__Q9Ke_s8qDQ_CmxKIl0qvXSWgDQ-- Received: from [86.28.230.6] by web26102.mail.ukl.yahoo.com via HTTP; Thu, 03 Jun 2010 20:43:41 GMT X-Mailer: YahooMailRC/374.4 YahooMailWebService/0.8.103.269680 References: <929158.22715.qm@web26105.mail.ukl.yahoo.com> <125527.66409.qm@web26103.mail.ukl.yahoo.com> <68898.63609.qm@web26105.mail.ukl.yahoo.com> Date: Thu, 3 Jun 2010 20:43:41 +0000 (GMT) From: Andy Hiscock To: freebsd-questions@freebsd.org In-Reply-To: <68898.63609.qm@web26105.mail.ukl.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 20:43:43 -0000 Anyone want to log on to my server and investigate/correct?=0A=0A=0A=0A____= ____________________________=0AFrom: Andy Hiscock = =0ATo: freebsd-questions@freebsd.org=0ASent: Thu, 3 June, 2010 21:29:28=0AS= ubject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED=0A=0AWhy during t= he upgrade process the "inspecting system" shouldnt be able to find and ide= ntify and prepair everything that needs to be upgraded and reconfigured acc= ordingly. Surely thats what "Inspecting system" is meant to be doing. No = matter if it is FreeBSD 1.0 or the prior version to the upgrade=0A=0A=0A=0A= ________________________________=0AFrom: Andy Hiscock =0ATo: David Allen =0ACc: freebsd-questi= ons@freebsd.org=0ASent: Thu, 3 June, 2010 21:21:29=0ASubject: Re: UPGRADE T= O RELEASE 8.0-P3/SAMBA HELP REQUIRED=0A=0AAgain Ports? What is that about= ... I've run the server and upgraded from 7.0-7,2 with no problem or need = to change any config files before. Its upgraded with no problem before.=0A= =0AHow do I install "Ports"? How do I reinstall Samba without getting a er= ror -1 in sysinstall?=0A=0A=0A=0A________________________________=0AFrom: D= avid Allen =0ATo: Andy Hiscock =0ACc: freebsd-questions@freebsd.org=0ASent: Thu, 3 June, 2010 = 21:15:55=0ASubject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED=0A=0A= On 6/3/10, Andy Hiscock wrote:=0A> After being adv= ised to upgrade after a freebsd-update I have successfully=0A> upgraded fro= m 7.2 to 8.0-p3. OK but have come across a major problem for me.=0A>=0A> OK= time for a BIG rant this has been going on for 2 days (very sorry)=0A>=0A>= After the install of the new kernel Samba isn't working. I TTL's onto th= e=0A> server and tried a testparm but the error messages suggest I have=0A>= dependancies missing?! - surely this should be taken into account when=0A>= upgrading versions - Major schoolboy error on FreeBSD when Linux can do th= is=0A> basic task seamlessly!=0A=0A[snip rest of useless rant]=0A=0ANever c= ome across this myself til now, but it seems there's a problem=0Ain ports t= hat touches Samba. Probably related to your Samba install=0Acomplaining. F= rom a ports tree updated just a while ago:=0A=0Abash3-3.2.51 Dependency: ge= ttext-0.17_1=0Agettext-0.17_1 Information for gettext-0.17_1:=0Alynx-2.8.7.= 1_1,1 Dependency: gettext-0.18_1=0Amutt-devel-1.5.20_5 Dependency: gettext-= 0.18_1=0Apopt-1.14_1 Dependency: gettext-0.18_1=0Asamba34-3.4.5_1 Dependenc= y: gettext-0.18_1=0Awget-1.12_1 Dependency: gettext-0.18_1=0A=0AI guess it'= s a choice between bash working, or everything else working.=0A____________= ___________________________________=0Afreebsd-questions@freebsd.org mailing= list=0Ahttp://lists.freebsd.org/mailman/listinfo/freebsd-questions=0ATo un= subscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"=0A= =0A=0A=0A=0A_______________________________________________=0Afreebsd-quest= ions@freebsd.org mailing list=0Ahttp://lists.freebsd.org/mailman/listinfo/f= reebsd-questions=0ATo unsubscribe, send any mail to "freebsd-questions-unsu= bscribe@freebsd.org"=0A=0A=0A=0A=0A________________________________________= _______=0Afreebsd-questions@freebsd.org mailing list=0Ahttp://lists.freebsd= .org/mailman/listinfo/freebsd-questions=0ATo unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org"=0A=0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 20:46:07 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 525B0106564A for ; Thu, 3 Jun 2010 20:46:07 +0000 (UTC) (envelope-from barry@redbutton.co.za) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id E9D238FC1C for ; Thu, 3 Jun 2010 20:46:06 +0000 (UTC) Received: by wyf28 with SMTP id 28so523436wyf.13 for ; Thu, 03 Jun 2010 13:46:06 -0700 (PDT) Received: by 10.227.146.21 with SMTP id f21mr3832979wbv.172.1275596615038; Thu, 03 Jun 2010 13:23:35 -0700 (PDT) Received: from [192.168.2.201] ([41.207.239.190]) by mx.google.com with ESMTPS id z33sm3593034wbd.13.2010.06.03.13.23.33 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 03 Jun 2010 13:23:34 -0700 (PDT) Message-ID: <4C080F42.7080006@redbutton.co.za> Date: Thu, 03 Jun 2010 22:23:30 +0200 From: Barry Steyn User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Sluggish Apache Server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 20:46:07 -0000 Hi guys, We're having a serious problem here with our live server, it's very sluggish all of a sudden. The problem is that Apache is *really* slow responding to https requests but still fairly quick on http. We've checked and ruled out all of the following: * CPU usage is normal and so is memory usage * All other system daemons seem to be running just fine * smartctl -a on both our disks (gmirror RAID 1) says health test PASSED, gmirror status fine, smartd running for a week now with nothing in the logs * nothing strange in the apache access or error logs * restarted apache, stopped jboss, upgraded apache to latest patch level, even soft rebooted the box but to no avail * nobody has done any upgrades, code changes, physical changes or anything else to the box before the problem first manifested itself * hosting problems - this problem even occurs when you do a wget on the same box with https://localhost/... , in fact then it doesn't even get to the SSL handshake as it doesn't get to complain about the certificate mismatch The weird thing is that the first time this happened a week ago, there was only jboss/seam (which runs behind apache via mod_proxy_ajp) that had an issue with sluggishness, all other https pages worked just fine. Our tech time was desperate when nobody senior was available and decided to hard reboot (power off and on again) the box after which it acted really strangely (with disk errors in the logs, other system daemons dying randomly) but eventually came right. A week later, sometime this afternoon, the problems reoccurred but this time they are chronic, nothing we do seems to help. So, I keep thinking it must be a hardware problem. Not disk (or maybe it is?), then perhaps faulty RAM? I always thought faulty RAM results in nasty kernel panics, segfaults and other obvious symptoms but not a sluggishness in one particular daemon... Any ideas? -- Barry From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 21:01:26 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA823106566B for ; Thu, 3 Jun 2010 21:01:26 +0000 (UTC) (envelope-from andyjhiscock@yahoo.com) Received: from web26106.mail.ukl.yahoo.com (web26106.mail.ukl.yahoo.com [217.146.182.147]) by mx1.freebsd.org (Postfix) with SMTP id 565A88FC14 for ; Thu, 3 Jun 2010 21:01:26 +0000 (UTC) Received: (qmail 46565 invoked by uid 60001); 3 Jun 2010 21:01:25 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1275598885; bh=fXv/TH2NHFAjkB5QgRYE/jEjb1lZf7puZIUetUHxJIg=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=ruAu9XmzHQyD8Hr0/hZaR9KE+wE+5TRTvVVYXRyTN/U+GTnY/tlxxPfb9LCxmLTOm0UIV5q36HiFS4bWBS87ASRXv/CKBVAfy/p6Rd7XgK85oim8Stew7ztRcatw11KXWFRaXJFWcV3wlaBDQLaRNnbAsg78zmlSRDlNJHDkA5s= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=aExxyHMOt1MFKZUCmwYwo9fIAPneVSnbyftQl36RDZjkEj+As76Aj1j7CDW+Maw8ejoDTDDJQR8TWc7OLTBN7sKyUmVc1dKq47LXRaQGgrHCpcNeE7BiWBoTsiSHxIRbWigQWvQyCa5I6ePFPAT4Z4Fwb6+1k7DHpITQo868hPo=; Message-ID: <300849.40208.qm@web26106.mail.ukl.yahoo.com> X-YMail-OSG: NniCoBYVM1mSsEnndaC_05HdyobhHA5UhgEYCBppuurHYw9 pn_vQFGIVMgQTvb__tjtI_9yRjVRSV1aSFRS9._qW9Kx6iGKXupz1syRqHxE 0oG1h5mp3Gu6B6bdwYuvL6_pLVuVOPLLnGHWTnx3tqq1yuxdEnNKxy_Ah1Zx D7b9zDDgribaKdguAysqZH3k4bB6vFXbI.j_jc43xq5JkQZ8gBDfkmaohBgz xOAj_Ol36J7W_AilbtJkGWx8w_Lz9Tkf7uknNFxhmux.OAtSCRyUJKOq1Yc4 LBaN8MPW5mGrVLlvzEjHJBbUBmS.mf2Z6LQ-- Received: from [86.28.230.6] by web26106.mail.ukl.yahoo.com via HTTP; Thu, 03 Jun 2010 21:01:25 GMT X-Mailer: YahooMailRC/374.4 YahooMailWebService/0.8.103.269680 References: <929158.22715.qm@web26105.mail.ukl.yahoo.com> <125527.66409.qm@web26103.mail.ukl.yahoo.com> <68898.63609.qm@web26105.mail.ukl.yahoo.com> <819311.25202.qm@web26102.mail.ukl.yahoo.com> Date: Thu, 3 Jun 2010 21:01:25 +0000 (GMT) From: Andy Hiscock To: freebsd-questions@freebsd.org In-Reply-To: <819311.25202.qm@web26102.mail.ukl.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 21:01:26 -0000 LOL - now stuck in and endless loop of:=0A=0A Message =E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=90=0A =E2=94=82Unable to get packages/INDEX file= from selected media. =0A=0AThis is like a poorly written shareware app!= =0A Really getting pissd here!=0A=0A=0A=0A________________________________= =0AFrom: Andy Hiscock =0ATo: freebsd-questions@free= bsd.org=0ASent: Thu, 3 June, 2010 21:43:41=0ASubject: Re: UPGRADE TO RELEAS= E 8.0-P3/SAMBA HELP REQUIRED=0A=0AAnyone want to log on to my server and in= vestigate/correct?=0A=0A=0A=0A________________________________=0AFrom: Andy= Hiscock =0ATo: freebsd-questions@freebsd.org=0ASen= t: Thu, 3 June, 2010 21:29:28=0ASubject: Re: UPGRADE TO RELEASE 8.0-P3/SAMB= A HELP REQUIRED=0A=0AWhy during the upgrade process the "inspecting system"= shouldnt be able to find and identify and prepair everything that needs to= be upgraded and reconfigured accordingly. Surely thats what "Inspecting s= ystem" is meant to be doing. No matter if it is FreeBSD 1.0 or the prior v= ersion to the upgrade=0A=0A=0A=0A________________________________=0AFrom: A= ndy Hiscock =0ATo: David Allen =0ACc: freebsd-questions@freebsd.org=0ASent: Thu, 3 June, 2010 = 21:21:29=0ASubject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED=0A=0A= Again Ports? What is that about... I've run the server and upgraded from= 7.0-7,2 with no problem or need to change any config files before. Its up= graded with no problem before.=0A=0AHow do I install "Ports"? How do I rei= nstall Samba without getting a error -1 in sysinstall?=0A=0A=0A=0A_________= _______________________=0AFrom: David Allen =0ATo: Andy Hiscock =0ACc: freebsd-questions@freeb= sd.org=0ASent: Thu, 3 June, 2010 21:15:55=0ASubject: Re: UPGRADE TO RELEASE= 8.0-P3/SAMBA HELP REQUIRED=0A=0AOn 6/3/10, Andy Hiscock wrote:=0A> After being advised to upgrade after a freebsd-update I h= ave successfully=0A> upgraded from 7.2 to 8.0-p3. OK but have come across a= major problem for me.=0A>=0A> OK time for a BIG rant this has been going o= n for 2 days (very sorry)=0A>=0A> After the install of the new kernel Samba= isn't working. I TTL's onto the=0A> server and tried a testparm but the = error messages suggest I have=0A> dependancies missing?! - surely this shou= ld be taken into account when=0A> upgrading versions - Major schoolboy erro= r on FreeBSD when Linux can do this=0A> basic task seamlessly!=0A=0A[snip r= est of useless rant]=0A=0ANever come across this myself til now, but it see= ms there's a problem=0Ain ports that touches Samba. Probably related to yo= ur Samba install=0Acomplaining. From a ports tree updated just a while ago:= =0A=0Abash3-3.2.51 Dependency: gettext-0.17_1=0Agettext-0.17_1 Information = for gettext-0.17_1:=0Alynx-2.8.7.1_1,1 Dependency: gettext-0.18_1=0Amutt-de= vel-1.5.20_5 Dependency: gettext-0.18_1=0Apopt-1.14_1 Dependency: gettext-0= .18_1=0Asamba34-3.4.5_1 Dependency: gettext-0.18_1=0Awget-1.12_1 Dependency= : gettext-0.18_1=0A=0AI guess it's a choice between bash working, or everyt= hing else working.=0A_______________________________________________=0Afree= bsd-questions@freebsd.org mailing list=0Ahttp://lists.freebsd.org/mailman/l= istinfo/freebsd-questions=0ATo unsubscribe, send any mail to "freebsd-quest= ions-unsubscribe@freebsd.org"=0A=0A=0A=0A=0A_______________________________= ________________=0Afreebsd-questions@freebsd.org mailing list=0Ahttp://list= s.freebsd.org/mailman/listinfo/freebsd-questions=0ATo unsubscribe, send any= mail to "freebsd-questions-unsubscribe@freebsd.org"=0A=0A=0A=0A=0A________= _______________________________________=0Afreebsd-questions@freebsd.org mai= ling list=0Ahttp://lists.freebsd.org/mailman/listinfo/freebsd-questions=0AT= o unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"= =0A=0A=0A=0A=0A_______________________________________________=0Afreebsd-qu= estions@freebsd.org mailing list=0Ahttp://lists.freebsd.org/mailman/listinf= o/freebsd-questions=0ATo unsubscribe, send any mail to "freebsd-questions-u= nsubscribe@freebsd.org"=0A=0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 21:26:57 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A5ABD106566C for ; Thu, 3 Jun 2010 21:26:57 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id 735E88FC12 for ; Thu, 3 Jun 2010 21:26:56 +0000 (UTC) Received: from localhost (pr40.pitbpa0.pub.collaborativefusion.com [206.210.89.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTPSA id 4BA00F7427; Thu, 3 Jun 2010 17:26:55 -0400 (EDT) Date: Thu, 3 Jun 2010 17:26:54 -0400 From: Bill Moran To: Barry Steyn Message-Id: <20100603172654.ec6f5958.wmoran@potentialtech.com> In-Reply-To: <4C080F42.7080006@redbutton.co.za> References: <4C080F42.7080006@redbutton.co.za> Organization: Bill Moran X-Mailer: Sylpheed 3.0.2 (GTK+ 2.18.7; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Sluggish Apache Server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 21:26:57 -0000 In response to Barry Steyn : > Hi guys, > > We're having a serious problem here with our live server, it's very > sluggish all of a sudden. The problem is that Apache is *really* slow > responding to https requests but still fairly quick on http. We've > checked and ruled out all of the following: > > * CPU usage is normal and so is memory usage > * All other system daemons seem to be running just fine > * smartctl -a on both our disks (gmirror RAID 1) says health test > PASSED, gmirror status fine, smartd running for a week now with > nothing in the logs > * nothing strange in the apache access or error logs > * restarted apache, stopped jboss, upgraded apache to latest patch > level, even soft rebooted the box but to no avail > * nobody has done any upgrades, code changes, physical changes or > anything else to the box before the problem first manifested itself > * hosting problems - this problem even occurs when you do a wget on > the same box with https://localhost/... , in fact then it doesn't > even get to the SSL handshake as it doesn't get to complain about > the certificate mismatch > > The weird thing is that the first time this happened a week ago, there > was only jboss/seam (which runs behind apache via mod_proxy_ajp) that > had an issue with sluggishness, all other https pages worked just fine. > Our tech time was desperate when nobody senior was available and decided > to hard reboot (power off and on again) the box after which it acted > really strangely (with disk errors in the logs, other system daemons > dying randomly) but eventually came right. A week later, sometime this > afternoon, the problems reoccurred but this time they are chronic, > nothing we do seems to help. > > So, I keep thinking it must be a hardware problem. Not disk (or maybe it > is?), then perhaps faulty RAM? I always thought faulty RAM results in > nasty kernel panics, segfaults and other obvious symptoms but not a > sluggishness in one particular daemon... > > Any ideas? Given your description of the symptoms, I suspect hardware. Sure, SMART is nice, but it's not failproof. It also doesn't monitor the disk controller, which can have problems. The fact that it gave you all sorts of disk issues after a reboot tells me that there is something wrong that SMART and other hardware diagnostics aren't detecting. I've seen systems fail in ways that defy all attempts to predict and detect. Saw a RAID system die in such a way that the system locked up tight, in spite of the fact that there was a backup RAID card installed that should have taken over. If your budget allows, I'd make it top priority to migrate off that system and onto a new one, then get that system into a dedicated testing setup to see if you can isolate any problems in the hardware. Whatever else you do, make sure you have good backups of any data on that system right away. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 21:38:44 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7E81106566C for ; Thu, 3 Jun 2010 21:38:44 +0000 (UTC) (envelope-from andyjhiscock@yahoo.com) Received: from web26101.mail.ukl.yahoo.com (web26101.mail.ukl.yahoo.com [217.146.182.142]) by mx1.freebsd.org (Postfix) with SMTP id E96E68FC08 for ; Thu, 3 Jun 2010 21:38:43 +0000 (UTC) Received: (qmail 26394 invoked by uid 60001); 3 Jun 2010 21:38:43 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1275601122; bh=U3ViOlZfWzz+8gT+njaN7E71gHZZhiMCxxFpC/WwqfM=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=MrhaHvrpdmYRUswQ4kQ7rIzhNsIc6dqohpk6z4Be79SGOB4SLe/r3GQRbyjDVip8HNE89+0zwPwI5/xpDbNHue7AQby7LOQ2rmIxhJTRgmzxFu0X72UaTNTPsEpCj76nTv0QUeNAG/b3dbo516MzBMvgulpqolQKBaw3rFAY9VQ= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=jU2AjFygf0lXQ6E45JgDCrjZCq/MbCZy2PJGI0hNeyOlHozlYvCFv0sY4Q4VyCquE6hwh3D1OohnuyjMloh2vu1k+ZUjoPBW+p9pY8Qg1tng58DReeZVbM2l6ttiMSig8pQiX30ZAXja5Gk9BxYsqvfVfPqEflUKt5Le8YJHB1M=; Message-ID: <933998.25528.qm@web26101.mail.ukl.yahoo.com> X-YMail-OSG: .e1bqE8VM1ml2Cp_NWDGAsQm3P4EZxHN.R7nRFUsSsJvEph NLGdzdERutXHL33SghRwocAsAaBD5_1IIjCkOWXFsWjFNVgCHu9swp8ykmun VAeD._9mA8XXa6wPczg2BsiWxow88_H2khtBdElOwcdJqGoRx2zMSApv1c7b AFCYPncjOfCV4T0xyWKNRWs6yDv0J68VXwa2fLpNuNFpHNfyWqKvGQbfWfU6 aVw4mj2qKGbZdD4vq4_PJXGTxz8_BbQW1l4icutZifBrId6QMLqr2JdAnlOv fexLUlYI_CBQgEycFDieBapTB81wAYvt7pQ-- Received: from [86.28.230.6] by web26101.mail.ukl.yahoo.com via HTTP; Thu, 03 Jun 2010 21:38:42 GMT X-Mailer: YahooMailRC/374.4 YahooMailWebService/0.8.103.269680 References: <29459b6383b9f3a03defbb8bb9a0b73c@secure.mpcustomer.com> Date: Thu, 3 Jun 2010 21:38:42 +0000 (GMT) From: Andy Hiscock To: freebsd-questions@freebsd.org In-Reply-To: <29459b6383b9f3a03defbb8bb9a0b73c@secure.mpcustomer.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: [#24536008] Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 21:38:44 -0000 Ah seems like FTP as well as Samba is blocked after the upgrade.... =0A= =0AI have ran FreeBSD 7 to 7.2 using the freebsd upgrade process painless i= n the past, however.. =0A=0AHave followed the instructions for upgrade 7.2 = to 8.0-P3 from the FreeBSD website. As I am not a FreeBSD guru all I can s= ay is the update process is NOT a smooth process as per EVERY OTHER O/S in = the open source market. I appreciate the support you have given but whatev= er you suggest just doesn't work.=0A=0AI am very angered being lead in to b= elieving freebsd-update will be the able to update your OS - this isn't the= case. Does FreeBSD want to be a "fanatics only" OS? No other OS's seems = to have no such problems updating. I have even offered access to my serve= r to sort out the problem but no one has offered. I just get cut/copy ema= ils in reply that doesn't work. After 5 years of painless usage perhaps I = ought to look at another better support OS?=0A=0A=0A=0A____________________= ____________=0AFrom: "freebsd-questions@freebsd.org" =0ATo: Andy Hiscock =0ASent: Thu, 3 June, = 2010 22:02:05=0ASubject: [#24536008] Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HE= LP REQUIRED=0A=0AHello,=0A=0AThis is an automated response to inform you th= at your question has been entered into our system, and will be reviewed sho= rtly. Your ticket has been submitted into the "General Support" department.= =0A=0AWe will respond to you as soon as possible.=0A=0A=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=0APlease keep this information, and use it when re= fering to your ticket:=0A=0ATicket subject: Re: UPGRADE TO RELEASE 8.0-P3/S= AMBA HELP REQUIRED =0ATicket number: 24536008=0ATicket link: https://secure= .mpcustomer.com/ticket.php?ticket=3D24536008=0ATicket body: LOL - now stuck= in and endless loop of:=0A=0AMessage =E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=90=0A =E2=94=82Unable to get packages/INDEX file from selected = media. =0A=0AThis is like a poorly written shareware app!=0A Really getti= ng pissd here!=0A=0A=0A=0A________________________________=0AFrom: Andy His= cock =0ATo: freebsd-questions@freebsd.org=0ASent: T= hu, 3 June, 2010 21:43:41=0ASubject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HE= LP REQUIRED=0A=0AAnyone want to log on to my server and investigate/correct= ?=0A=0A=0A=0A________________________________=0AFrom: Andy Hiscock =0ATo: freebsd-questions@freebsd.org=0ASent: Thu, 3 June, 2= 010 21:29:28=0ASubject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED= =0A=0AWhy during the upgrade process the "inspecting system" shouldnt be ab= le to find and identify and prepair everything that needs to be upgraded an= d reconfigured accordingly. Surely thats what "Inspecting system" is meant= to be doing. No matter if it is FreeBSD 1.0 or the prior version to the u= pgrade=0A=0A=0A=0A________________________________=0AFrom: Andy Hiscock =0ATo: David Allen =0A= Cc: freebsd-questions@freebsd.org=0ASent: Thu, 3 June, 2010 21:21:29=0ASubj= ect: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED=0A=0AAgain Ports? = What is that about... I've run the server and upgraded from 7.0-7,2 with n= o problem or need to change any config files before. Its upgraded with no = problem before.=0A=0AHow do I install "Ports"? How do I reinstall Samba wi= thout getting a error -1 in sysinstall?=0A=0A=0A=0A________________________= ________=0AFrom: David Allen =0ATo: Andy Hi= scock =0ACc: freebsd-questions@freebsd.org=0ASent: = Thu, 3 June, 2010 21:15:55=0ASubject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA H= ELP REQUIRED=0A=0AOn 6/3/10, Andy Hiscock wrote:= =0A> After being advised to upgrade after a freebsd-update I have successfu= lly=0A> upgraded from 7.2 to 8.0-p3. OK but have come across a major proble= m for me.=0A>=0A> OK time for a BIG rant this has been going on for 2 days = (very sorry)=0A>=0A> After the install of the new kernel Samba isn't workin= g. I TTL's onto the=0A> server and tried a testparm but the error message= s suggest I have=0A> dependancies missing?! - surely this should be taken i= nto account when=0A> upgrading versions - Major schoolboy error on FreeBSD = when Linux can do this=0A> basic task seamlessly!=0A=0A[snip rest of useles= s rant]=0A=0ANever come across this myself til now, but it seems there's a = problem=0Ain ports that touches Samba. Probably related to your Samba inst= all=0Acomplaining. From a ports tree updated just a while ago:=0A=0Abash3-3= .2.51 Dependency: gettext-0.17_1=0Agettext-0.17_1 Information for gettext-0= .17_1:=0Alynx-2.8.7.1_1,1 Dependency: gettext-0.18_1=0Amutt-devel-1.5.20_5 = Dependency: gettext-0.18_1=0Apopt-1.14_1 Dependency: gettext-0.18_1=0Asamba= 34-3.4.5_1 Dependency: gettext-0.18_1=0Awget-1.12_1 Dependency: gettext-0.1= 8_1=0A=0AI guess it's a choice between bash working, or everything else wor= king.=0A_______________________________________________=0Afreebsd-questions= @freebsd.org mailing list=0Ahttp://lists.freebsd.org/mailman/listinfo/freeb= sd-questions=0ATo unsubscribe, send any mail to "freebsd-questions-unsubscr= ibe@freebsd.org"=0A=0A=0A=0A=0A____________________________________________= ___=0Afreebsd-questions@freebsd.org mailing list=0Ahttp://lists.freebsd.org= /mailman/listinfo/freebsd-questions=0ATo unsubscribe, send any mail to "fre= ebsd-questions-unsubscribe@freebsd.org"=0A=0A=0A=0A=0A_____________________= __________________________=0Afreebsd-questions@freebsd.org mailing list=0Ah= ttp://lists.freebsd.org/mailman/listinfo/freebsd-questions=0ATo unsubscribe= , send any mail to "freebsd-questions-unsubscribe@freebsd.org"=0A=0A=0A=0A= =0A_______________________________________________=0Afreebsd-questions@free= bsd.org mailing list=0Ahttp://lists.freebsd.org/mailman/listinfo/freebsd-qu= estions=0ATo unsubscribe, send any mail to "freebsd-questions-unsubscribe@f= reebsd.org"=0A=0A=0A=0A =0A___________________________________________= ____=0Afreebsd-questions@freebsd.org mailing list=0Ahttp://lists.freebsd.or= g/mailman/listinfo/freebsd-questions=0ATo unsubscribe, send any mail to "fr= eebsd-questions-unsubscribe@freebsd.org"=0A=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 21:39:24 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93D11106564A for ; Thu, 3 Jun 2010 21:39:24 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 532C78FC15 for ; Thu, 3 Jun 2010 21:39:24 +0000 (UTC) Received: from r55.edvax.de (port-92-195-249-33.dynamic.qsc.de [92.195.249.33]) by mx02.qsc.de (Postfix) with ESMTP id E81D21E1A0; Thu, 3 Jun 2010 23:39:22 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o53LdL4D002507; Thu, 3 Jun 2010 23:39:22 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 3 Jun 2010 23:39:21 +0200 From: Polytropon To: Andy Hiscock Message-Id: <20100603233921.1bd8e8ba.freebsd@edvax.de> In-Reply-To: <125527.66409.qm@web26103.mail.ukl.yahoo.com> References: <929158.22715.qm@web26105.mail.ukl.yahoo.com> <125527.66409.qm@web26103.mail.ukl.yahoo.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 21:39:24 -0000 On Thu, 3 Jun 2010 20:21:29 +0000 (GMT), Andy Hiscock wrote: > Again Ports? What is that about... I've run the server and > upgraded from 7.0-7,2 with no problem or need to change any > config files before. Its upgraded with no problem before. That's correct. Upgrading the base system usually doesn't require you to upgrade your applications as well. The freebsd-update binary updating program takes care of everything. > How do I install "Ports"? The ports collection can be installed via sysinstall. Choose configure - distributions - ports. The /usr/ports subtree will then be installed. > How do I reinstall Samba without getting a error -1 in sysinstall? You can first use pkg_delete to delete it, e. g. # pkg_delete -x samba and then re-install it from packages, e. g. # pkg_add -r samba See "man pkg_add" and "man pkg_delete" to make sure you're understanding that you're doing the right thing. I'm not sure if you need to explicitely add a version number for samba as I am not using it. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 21:41:24 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 20623106567D for ; Thu, 3 Jun 2010 21:41:24 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from aiolos.otenet.gr (aiolos.otenet.gr [83.235.67.30]) by mx1.freebsd.org (Postfix) with ESMTP id 8BF728FC19 for ; Thu, 3 Jun 2010 21:41:23 +0000 (UTC) Received: from pulstar.local (athedsl-4363069.home.otenet.gr [79.130.3.45]) by aiolos.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id o53LfIQ7008180; Fri, 4 Jun 2010 00:41:21 +0300 Message-ID: <4C08217E.7070709@otenet.gr> Date: Fri, 04 Jun 2010 00:41:18 +0300 From: Manolis Kiagias User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: Andy Hiscock References: <929158.22715.qm@web26105.mail.ukl.yahoo.com> <125527.66409.qm@web26103.mail.ukl.yahoo.com> <68898.63609.qm@web26105.mail.ukl.yahoo.com> <819311.25202.qm@web26102.mail.ukl.yahoo.com> <300849.40208.qm@web26106.mail.ukl.yahoo.com> In-Reply-To: <300849.40208.qm@web26106.mail.ukl.yahoo.com> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 21:41:24 -0000 On 04/06/2010 12:01 Ï€.μ., Andy Hiscock wrote: > LOL - now stuck in and endless loop of: > > Message ─────────────────────────────┠> │Unable to get packages/INDEX file from selected media. > > This is like a poorly written shareware app! > Really getting pissd here! > > > > My guess is you need to do some reading first, it seems you are administering a system you don't quite understand. When doing a minor version upgrade (i.e. from 7.0 to 7.2) there is no need to touch anything in the extra programs you've installed (hint: those that come from packages or ports). Minor versions are binary compatible (few apps may need some attention but this is rare). When you do a major upgrade, you will be able to execute your 7.x installed apps on 8.x. But by the time you start installing programs to your new version, you will start replacing libraries of the 7.x system with new ones and the programs compiled for 7.x will stop functioning. My guess is you already installed some packages from the 8.0 media, so this has happened already. The recommended path for such an upgrade is to upgrade all your installed ports for your new system. Most people use ports (meaning they build the software on their own machine, it is quite straightforward and mostly automated) but it seems you are using packages. It should still be possible to do this. Please read the following section in the FreeBSD Handbook: http://www.freebsd.org/doc/en/books/handbook/updating-upgrading-freebsdupdate.html esp. 24.2.3 When upgrading from packages, change the command: portupgrade -af to portupgrade -af -PP which effectively means: "Use packages only" And yes, you will need a ports tree for portupgrade to work properly (although you won't be compiling anything). You don't need to keep it afterwords but it is handy to have and does not consume a lot of space. So get one: portsnap fetch extract And after finishing the upgrade, you can rm -rf /usr/ports if you don't want to keep it. You may wish to have a good read of the FreeBSD Handbook, esp. chapter 4 that deals with ports and packages. From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 21:43:23 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16E031065673 for ; Thu, 3 Jun 2010 21:43:23 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id C9F5B8FC29 for ; Thu, 3 Jun 2010 21:43:22 +0000 (UTC) Received: from r55.edvax.de (port-92-195-249-33.dynamic.qsc.de [92.195.249.33]) by mx02.qsc.de (Postfix) with ESMTP id 076241F086; Thu, 3 Jun 2010 23:43:21 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o53LhLB7002515; Thu, 3 Jun 2010 23:43:21 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 3 Jun 2010 23:43:21 +0200 From: Polytropon To: Andy Hiscock Message-Id: <20100603234321.06784375.freebsd@edvax.de> In-Reply-To: <68898.63609.qm@web26105.mail.ukl.yahoo.com> References: <929158.22715.qm@web26105.mail.ukl.yahoo.com> <125527.66409.qm@web26103.mail.ukl.yahoo.com> <68898.63609.qm@web26105.mail.ukl.yahoo.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 21:43:23 -0000 On Thu, 3 Jun 2010 20:29:28 +0000 (GMT), Andy Hiscock wrote: > Why during the upgrade process the "inspecting system" shouldnt > be able to find and identify and prepair everything that needs > to be upgraded and reconfigured accordingly. Because this is the responsibility of the administrator - to decide WHAT to upgrade, WHY and WHEN, and even HOW. The base system tools (such as sysinstall, freebsd-upgrade) do not have any clue about what's going on in /usr/local. This subtree is reserved for installed applications (that do NOT belong to the base system). There are two files you should ALWAYS have a look at when performing an update: /usr/src/UPDATING /usr/ports/UPDATING They continue very important information for the person who does the administration for a particular system, e. g. it tells you that libxyz has gotten a major update and all applications linked to this library need to be recompiled. > Surely thats what "Inspecting system" is meant to be doing. I could come up with hundreds of other ideas what "Inspecting system" could mean. :-) > No matter if it is FreeBSD 1.0 or the prior version to the upgrade -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 21:46:03 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4852D106564A for ; Thu, 3 Jun 2010 21:46:03 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 08D0F8FC15 for ; Thu, 3 Jun 2010 21:46:02 +0000 (UTC) Received: from r55.edvax.de (port-92-195-249-33.dynamic.qsc.de [92.195.249.33]) by mx02.qsc.de (Postfix) with ESMTP id 289DA1E2B2; Thu, 3 Jun 2010 23:46:02 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o53Lk1Sr002538; Thu, 3 Jun 2010 23:46:01 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 3 Jun 2010 23:46:01 +0200 From: Polytropon To: Andy Hiscock Message-Id: <20100603234601.4740dee2.freebsd@edvax.de> In-Reply-To: <271981.65066.qm@web26105.mail.ukl.yahoo.com> References: <929158.22715.qm@web26105.mail.ukl.yahoo.com> <20100603214655.7345b75c.freebsd@edvax.de> <153741.9349.qm@web26102.mail.ukl.yahoo.com> <20100603222733.65e140e4.freebsd@edvax.de> <271981.65066.qm@web26105.mail.ukl.yahoo.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 21:46:03 -0000 On Thu, 3 Jun 2010 20:33:49 +0000 (GMT), Andy Hiscock wrote: > # 1. `cd /usr/src' (or to the directory containing your source tree). > > Doesn't exist To install FreeBSD from source, you need to install the "src" distribution, or get the desired sources via CVS (csup). There are examples in /usr/share/examples/cvsup/ for this paritular task. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 21:49:37 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5CAA7106566B for ; Thu, 3 Jun 2010 21:49:37 +0000 (UTC) (envelope-from rcfarnes@broadpark.no) Received: from thalia-smout.broadpark.no (thalia-smout.broadpark.no [80.202.8.21]) by mx1.freebsd.org (Postfix) with ESMTP id 152CA8FC14 for ; Thu, 3 Jun 2010 21:49:36 +0000 (UTC) MIME-version: 1.0 Content-disposition: inline Content-type: text/plain; charset=iso-8859-1 Received: from terra-smin.broadpark.no ([unknown] [80.202.8.13]) by thalia-smout.broadpark.no (Sun Java(tm) System Messaging Server 7u3-12.01 64bit (built Oct 15 2009)) with ESMTP id <0L3G00LRGHTUZ190@thalia-smout.broadpark.no> for freebsd-questions@freebsd.org; Thu, 03 Jun 2010 22:49:06 +0200 (CEST) Received: from unknown-00-11-09-ab-bf-c1.lan ([unknown] [80.202.84.52]) by terra-smin.broadpark.no (Sun Java(tm) System Messaging Server 7u3-12.01 64bit (built Oct 15 2009)) with ESMTP id <0L3G006AKHTT79C0@terra-smin.broadpark.no> for freebsd-questions@freebsd.org; Thu, 03 Jun 2010 22:49:06 +0200 (CEST) From: Richard T C Farnes To: freebsd-questions@freebsd.org, Matthias Apitz Date: Thu, 03 Jun 2010 22:49:04 +0200 User-Agent: KMail/1.9.7 References: <201005311636.o4VGarkt001701@mail.r-bonomi.com> <20100602112644.GA90934@ei.bzerk.org> <20100602113344.GA3995@current.Sisis.de> In-reply-to: <20100602113344.GA3995@current.Sisis.de> Content-transfer-encoding: quoted-printable Message-id: <201006032249.05275.rcfarnes@broadpark.no> Cc: Adam Vande More , Ruben de Groot Subject: Re: text editor and your postscript X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 21:49:37 -0000 To Matthias Apitz I read with interest your contribution and those of others in text editor=20 usage. In this I do not have much to contribute as I am so far perfectly=20 happy with vi. BUT I noticed your political comment at the end of your contribution. I fi= nd=20 this out of place as this questions site is for FreeBSD problems and not= =20 political ones. Could you please take your political comments and place th= em=20 on appropriate sites where such comments belong. I keep with president Bara= ck=20 Obama, who has a law degree from Harvard and sees the necessity to set up a= =20 commission to analyse the matter before taking part in the=20 international "howling choir" against Israel. Yours sincerely Richard Farnes On Wednesday 02 June 2010 13:33:44 Matthias Apitz wrote: > El d=EDa Wednesday, June 02, 2010 a las 01:26:44PM +0200, Ruben de Groot= =20 escribi=F3: > > > The phrase "son of an edlin" has happily been retired in my vocabulary > > > for some time. If you're not aware of it, ed(1) is as capable or more > > > of causing pain as edlin was and it's still in the FreeBSD base. > > > > Most usefull traditional Unix tools can cause pain or foot-shooting. > > That's what makes them usefull. > > The ed(1) is *extremely* useful when it comes to editing text files on > the fly in shell scripts (i.e. without user interaction). > > matthias Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Solidarity with the zionistic pirates of Israel? =A0 Not in my =A0name! =BFSolidaridad con los piratas sionistas de Israel? =A1No en mi nombre! From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 21:51:48 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AFB341065706 for ; Thu, 3 Jun 2010 21:51:48 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 6FFE98FC18 for ; Thu, 3 Jun 2010 21:51:48 +0000 (UTC) Received: from r55.edvax.de (port-92-195-249-33.dynamic.qsc.de [92.195.249.33]) by mx02.qsc.de (Postfix) with ESMTP id B0DE71EED8; Thu, 3 Jun 2010 23:51:47 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o53LpktO004200; Thu, 3 Jun 2010 23:51:47 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 3 Jun 2010 23:51:46 +0200 From: Polytropon To: Andy Hiscock Message-Id: <20100603235146.e2e2eb3d.freebsd@edvax.de> In-Reply-To: <227464.34171.qm@web26106.mail.ukl.yahoo.com> References: <929158.22715.qm@web26105.mail.ukl.yahoo.com> <20100603214655.7345b75c.freebsd@edvax.de> <153741.9349.qm@web26102.mail.ukl.yahoo.com> <20100603222733.65e140e4.freebsd@edvax.de> <227464.34171.qm@web26106.mail.ukl.yahoo.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 21:51:48 -0000 On Thu, 3 Jun 2010 20:38:22 +0000 (GMT), Andy Hiscock wrote: > ok so then running testparm i'm getting > > leopard# testparm > /libexec/ld-elf.so.1: Shared object "libcrypt.so.4" not found, required by "testparm" > leopard# Seems like something failed during the update. Program version and major OS release don't match. This is a reason to install the compat- ports. For example, if you are on 7.2 and update to 8.0, your system will run, but most of your applications wouldn't. Installing misc/compat7x from ports (or via "pkg_add -r compat7x" as a package) will provide the libraries for compatibility to 7 on a 8 system. It's a good solution if you don't want to recompile / reinstall, but personally, I consider it a short-time solution. Of course, there can be settings where this is your only solution, e. g. if you have a binary that's compiled for 7, and you can not compile it for 8 (because there is no source code). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 21:55:14 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6EC8C1065670 for ; Thu, 3 Jun 2010 21:55:14 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 2C9028FC19 for ; Thu, 3 Jun 2010 21:55:13 +0000 (UTC) Received: from r55.edvax.de (port-92-195-249-33.dynamic.qsc.de [92.195.249.33]) by mx02.qsc.de (Postfix) with ESMTP id 210AE1F088; Thu, 3 Jun 2010 23:55:13 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o53LtCH8004220; Thu, 3 Jun 2010 23:55:12 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 3 Jun 2010 23:55:12 +0200 From: Polytropon To: Andy Hiscock Message-Id: <20100603235512.3fb6a899.freebsd@edvax.de> In-Reply-To: <300849.40208.qm@web26106.mail.ukl.yahoo.com> References: <929158.22715.qm@web26105.mail.ukl.yahoo.com> <125527.66409.qm@web26103.mail.ukl.yahoo.com> <68898.63609.qm@web26105.mail.ukl.yahoo.com> <819311.25202.qm@web26102.mail.ukl.yahoo.com> <300849.40208.qm@web26106.mail.ukl.yahoo.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 21:55:14 -0000 On Thu, 3 Jun 2010 21:01:25 +0000 (GMT), Andy Hiscock wrote: > LOL - now stuck in and endless loop of: > > Message ─────────────────────────────┠> │Unable to get packages/INDEX file from selected media. Do you obtain data via network (up & running checked?) or from CD? If you know which package to install - if you know its NAME - why bother with sysinstall? Simply use "pkg_add -r ". > This is like a poorly written shareware app! No, I think it's acting completely as intended and predictable. Maybe it's due to a partially failed upgrade process? > Really getting pissd here! You lack patience, maybe knowledge, at least experience. :-) But that's no problem as long as you're willing to learn from the given sources and hints. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 22:09:23 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1ED721065672 for ; Thu, 3 Jun 2010 22:09:23 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id BCBE28FC15 for ; Thu, 3 Jun 2010 22:09:22 +0000 (UTC) Received: from r55.edvax.de (port-92-195-249-33.dynamic.qsc.de [92.195.249.33]) by mx02.qsc.de (Postfix) with ESMTP id E832F1E17C; Fri, 4 Jun 2010 00:09:21 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o53M9Lhk004283; Fri, 4 Jun 2010 00:09:21 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 4 Jun 2010 00:09:20 +0200 From: Polytropon To: Andy Hiscock Message-Id: <20100604000920.b4073a1c.freebsd@edvax.de> In-Reply-To: <933998.25528.qm@web26101.mail.ukl.yahoo.com> References: <29459b6383b9f3a03defbb8bb9a0b73c@secure.mpcustomer.com> <933998.25528.qm@web26101.mail.ukl.yahoo.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 22:09:23 -0000 On Thu, 3 Jun 2010 21:38:42 +0000 (GMT), Andy Hiscock wrote: > Ah seems like FTP as well as Samba is blocked after the upgrade.... This explains the error message presented. If you want to install from FTP, but FTP can't reach anything, then... well... no INDEX for you. :-) > > I have ran FreeBSD 7 to 7.2 using the freebsd upgrade process > painless in the past, however.. > > Have followed the instructions for upgrade 7.2 to 8.0-P3 from the > FreeBSD website. As I am not a FreeBSD guru all I can say is the > update process is NOT a smooth process as per EVERY OTHER O/S in > the open source market. I have different experiences, but that doesn't matter here. :-) > I appreciate the support you have given but whatever you suggest > just doesn't work. Maybe because the conditions aren't meeting the requirements. > I am very angered being lead in to believing freebsd-update will > be the able to update your OS - this isn't the case. It IS the case. Keep in mind that FreeBSD differentiates between the OS (which is updated by freebsd-update) and installed appli- cations, or "everything else", which is updated by the tools of your choice (make update, portmaster, portmanager, portupgrade). Check "uname -r". Do you get a version number of the 8 branch? If yes - update has been performed correctly. > Does FreeBSD want to be a "fanatics only" OS? I'm not sure what it wants, but I may say that I'm not a fanatic, but still using FreeBSD for many years nearly exclusively. > No other OS's seems to have no such problems updating. I could show you some that have. :-) > I have even offered access to my server to sort out the problem > but no one has offered. Sorry, I don't think freebsd-questions@ is intended to fix your problems for you, keeping you from learning important skills in IT business. > I just get cut/copy emails in reply that doesn't work. For my replies, I have no source where I do copy them from. I write them by myself; copied things are obviously marked as copied (e. g. some lines from /usr/src/Makefile). > After 5 years of painless usage perhaps I ought to look at > another better support OS? Maybe you should. But 5 years or painless usage should convince you that it may be worth to invest 5 hours to read, learn and repair. If I would be impolite, I would ask you why you don't use your backups to restore the "has worked for 5 years" state, but I know how annoying a malfunctioning system can be. Did you take the time to read "man freebsd-update"? I just did it, and found this: rollback Uninstall the most recently installed updates. (I copied this line from the manual page.) Did you try # freebsd-update rollback For safety, this should be done in single-user mode. I'm not sure if this really applies, but I'm a bit nervous anyway, so I do all dangerous stuff in SUM, under least-dangerous circumstances. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 22:16:16 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E355D1065678 for ; Thu, 3 Jun 2010 22:16:16 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id A2F6E8FC12 for ; Thu, 3 Jun 2010 22:16:15 +0000 (UTC) Received: from r55.edvax.de (port-92-195-249-33.dynamic.qsc.de [92.195.249.33]) by mx02.qsc.de (Postfix) with ESMTP id DF7911E1F0; Fri, 4 Jun 2010 00:16:14 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o53MGEQU004315; Fri, 4 Jun 2010 00:16:14 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 4 Jun 2010 00:16:14 +0200 From: Polytropon To: Andy Hiscock Message-Id: <20100604001614.3fe5b1f8.freebsd@edvax.de> In-Reply-To: <145150.78052.qm@web26106.mail.ukl.yahoo.com> References: <929158.22715.qm@web26105.mail.ukl.yahoo.com> <125527.66409.qm@web26103.mail.ukl.yahoo.com> <20100603233921.1bd8e8ba.freebsd@edvax.de> <145150.78052.qm@web26106.mail.ukl.yahoo.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 22:16:17 -0000 On Thu, 3 Jun 2010 22:02:44 +0000 (GMT), Andy Hiscock wrote: > leopard# pkg_delete -x samba > pkg_delete: file '/usr/local/share/swat/js' doesn't exist > pkg_delete: unable to completely remove directory '/usr/local/share/swat/js' > pkg_delete: couldn't entirely delete package (perhaps the packing list is > incorrectly specified?) > WARNING: If you will *NOT* use this package anymore, please remove the > following directories manually: > /usr/local/etc/samba > /var/log/samba > /var/db/samba That's okay. > leopard# pkg_add -r samba > Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.0-release/Latest/samba.tbz: File unavailable (e.g., file not found, no access) > pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.0-release/Latest/samba.tbz' by URL Ah, I guess you need to specify a version number. There are different versions of Samba in the ports tree, so I think there are also different packages, e. g. try # pkg_add -r samba34 This should give you the latest version, 3.4. There's also 3, 3.2 and 3.3 available (same naming scheme for the package). Anyway, check if you can connect to (or just ping) ftp.freebsd.org to make sure - REALLY SURE - that a connection is possible. PS. Please try to avoid top-posting plus full quotes, or quoted replies, it makes the list unreadable. Thanks! -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 22:29:04 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5BFBF1065678 for ; Thu, 3 Jun 2010 22:29:04 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 1B4248FC1A for ; Thu, 3 Jun 2010 22:29:04 +0000 (UTC) Received: from r55.edvax.de (port-92-195-249-33.dynamic.qsc.de [92.195.249.33]) by mx02.qsc.de (Postfix) with ESMTP id 42BE41EB4B; Fri, 4 Jun 2010 00:29:03 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o53MT2ek004356; Fri, 4 Jun 2010 00:29:02 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 4 Jun 2010 00:29:02 +0200 From: Polytropon To: Andy Hiscock Message-Id: <20100604002902.6bd0c69b.freebsd@edvax.de> In-Reply-To: <617920.42674.qm@web26101.mail.ukl.yahoo.com> References: <929158.22715.qm@web26105.mail.ukl.yahoo.com> <125527.66409.qm@web26103.mail.ukl.yahoo.com> <68898.63609.qm@web26105.mail.ukl.yahoo.com> <20100603234321.06784375.freebsd@edvax.de> <617920.42674.qm@web26101.mail.ukl.yahoo.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 22:29:04 -0000 On Thu, 3 Jun 2010 22:15:16 +0000 (GMT), Andy Hiscock wrote: > OK now I know... Why should I have to know this in the fist place? Hey, that's no problem - I also learned about this some time AFTER is has been common. :-) > If Im just as "User" getting worrying messages about needing to > upgrade. Where did those messages come from? FreeBSD 7.2 is still supported and no problem to run. I even know a setting where somebody is using a 4.0 server for internal backups. You should consider thinking about updating more intensively. There has just been a related discussion about this topic on this list. > If I don't I am under the impression no security patches will be > available? No. FreeBSD 7 (releases) still gets patches, allthough they are called "legacy". Depending on what you're doing with your server, it may be wise to upgrade to 8 - or not - depends. > The point I'm making to the end user, shouldn't a seamless > update experience be achieved? :) Usually, it does - honestly; freebsd-update and portupgrade -af, and the show is running again. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 22:33:44 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7CCD3106566C for ; Thu, 3 Jun 2010 22:33:44 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 3AA938FC1F for ; Thu, 3 Jun 2010 22:33:44 +0000 (UTC) Received: from r55.edvax.de (port-92-195-249-33.dynamic.qsc.de [92.195.249.33]) by mx02.qsc.de (Postfix) with ESMTP id 3C22D1DB31; Fri, 4 Jun 2010 00:33:43 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o53MXgbA004379; Fri, 4 Jun 2010 00:33:42 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 4 Jun 2010 00:33:42 +0200 From: Polytropon To: Andy Hiscock Message-Id: <20100604003342.c33b39d0.freebsd@edvax.de> In-Reply-To: <922734.44548.qm@web26101.mail.ukl.yahoo.com> References: <929158.22715.qm@web26105.mail.ukl.yahoo.com> <125527.66409.qm@web26103.mail.ukl.yahoo.com> <68898.63609.qm@web26105.mail.ukl.yahoo.com> <20100603234321.06784375.freebsd@edvax.de> <922734.44548.qm@web26101.mail.ukl.yahoo.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 22:33:44 -0000 On Thu, 3 Jun 2010 22:20:50 +0000 (GMT), Andy Hiscock wrote: > well surely if the upgrade IS going to affect ANY pre installed > package that should be taken into consideration? - Im not having > a dig, Im just suggesting how FreeBSD has fallen behind in the > "User Experience" This depends on the users, not the OS. :-) Honestly: How are system upgrading tools supposed to know what's going on in the application area? There ARE tools to take care of that - freebsd-update is not one of them. Of course it takes knwoledge and experience to find out how to correctly perform an update of the operating system AND the installed software, but that's what you learn by using FreeBSD. I also did crash some of my systems by skipping the step "think", but it's a great chance to learn, and if it's just how you dump & restore. :-) > BTW I got an error after the last message: > > leopard# pkg_add -r samba > Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.0-release/Latest/samba.tbz: File unavailable (e.g., file not found, no access) > pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.0-release/Latest/samba.tbz' by URL > leopard# Have you tried adding a version number, e. g. samba34? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 22:35:39 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65DE0106564A for ; Thu, 3 Jun 2010 22:35:39 +0000 (UTC) (envelope-from fbsd1@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 50B588FC25 for ; Thu, 3 Jun 2010 22:35:39 +0000 (UTC) Received: from [10.0.10.3] ([202.69.173.90]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 3 Jun 2010 15:35:39 -0700 Message-ID: <4C082E32.7020301@a1poweruser.com> Date: Fri, 04 Jun 2010 06:35:30 +0800 From: Fbsd1 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Walt Pawley References: <201005311636.o4VGarkt001701@mail.r-bonomi.com> <87zkzgx8rd.fsf@kobe.laptop><20100531203115.GA2167@guilt.hydra > <4C043D4B.1010203@a1poweruser.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 03 Jun 2010 22:35:39.0351 (UTC) FILETIME=[17A9BE70:01CB036D] X-Sender: fbsd1@a1poweruser.com Cc: freebsd-questions@freebsd.org Subject: Re: text editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 22:35:39 -0000 Walt Pawley wrote: > On Sun, 30 May 2010, Fbsd1 wrote: > >> Been using ee and been happy. >> >> Now I have need for an editor with block commands. > > I'd suggest looking into aee. That has what I am looking and so simple. Thanks for your info. From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 22:38:54 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 632911065670 for ; Thu, 3 Jun 2010 22:38:54 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 216A58FC0C for ; Thu, 3 Jun 2010 22:38:54 +0000 (UTC) Received: from r55.edvax.de (port-92-195-249-33.dynamic.qsc.de [92.195.249.33]) by mx01.qsc.de (Postfix) with ESMTP id D45713D694; Fri, 4 Jun 2010 00:38:46 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o53MciiP004402; Fri, 4 Jun 2010 00:38:44 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 4 Jun 2010 00:38:43 +0200 From: Polytropon To: Andy Hiscock Message-Id: <20100604003843.687a6307.freebsd@edvax.de> In-Reply-To: <975732.25337.qm@web26105.mail.ukl.yahoo.com> References: <929158.22715.qm@web26105.mail.ukl.yahoo.com> <125527.66409.qm@web26103.mail.ukl.yahoo.com> <20100603233921.1bd8e8ba.freebsd@edvax.de> <145150.78052.qm@web26106.mail.ukl.yahoo.com> <20100604001614.3fe5b1f8.freebsd@edvax.de> <975732.25337.qm@web26105.mail.ukl.yahoo.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 22:38:54 -0000 On Thu, 3 Jun 2010 22:29:28 +0000 (GMT), Andy Hiscock wrote: > I have sort of giving up and the "cant be arsed Ill put windows on" > factor has stepped in. Have you considered entering single user mode and trying to get back to 7.2 ("freebsd-update rollback")? In this case, you will need to re-install samba (you've removed it); but as you are already in 8, have you tried "pkg_add -r samba43"? > I understand config files and DOS scripting but BSD is unsupported? Well, FreeBSD isn't DOS, nor is it "Windows". It's a complex operating system (as all operating systems are a complex thing), and it needs more than knowledge about config files and scripts to maintain it properly and provide good administration. But finally, that's what you learn by using it. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 22:41:24 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF3D31065672 for ; Thu, 3 Jun 2010 22:41:24 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 6D74E8FC08 for ; Thu, 3 Jun 2010 22:41:24 +0000 (UTC) Received: from r55.edvax.de (port-92-195-249-33.dynamic.qsc.de [92.195.249.33]) by mx01.qsc.de (Postfix) with ESMTP id 7C9393DAA5; Fri, 4 Jun 2010 00:41:23 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o53MfMnK004409; Fri, 4 Jun 2010 00:41:22 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 4 Jun 2010 00:41:22 +0200 From: Polytropon To: Andy Hiscock Message-Id: <20100604004122.5cf0570b.freebsd@edvax.de> In-Reply-To: <727564.27410.qm@web26105.mail.ukl.yahoo.com> References: <929158.22715.qm@web26105.mail.ukl.yahoo.com> <125527.66409.qm@web26103.mail.ukl.yahoo.com> <20100603233921.1bd8e8ba.freebsd@edvax.de> <145150.78052.qm@web26106.mail.ukl.yahoo.com> <20100604001614.3fe5b1f8.freebsd@edvax.de> <727564.27410.qm@web26105.mail.ukl.yahoo.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 22:41:24 -0000 On Thu, 3 Jun 2010 22:32:56 +0000 (GMT), Andy Hiscock wrote: > I assume the only other solution is download all the CDs of the > latest FreeBSD. Do a clean install and replace the data?=20 It's possible, but why reach for the "big weapons" in the first place? Did you (1) check FTP is up & running, (2) run "pkg_add -r samba34" or maybe (3) run "freebsd-up=FCdate rollback" in SUM? > - This is not a "clean upgrade" admittedly! I think the OS has been upgraded properly. What does "uname -r" say? It would REALLY be helpful to see some output of the suggested commands. --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 23:03:41 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A302106564A for ; Thu, 3 Jun 2010 23:03:41 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 374FC8FC1B for ; Thu, 3 Jun 2010 23:03:41 +0000 (UTC) Received: from r55.edvax.de (port-92-195-249-33.dynamic.qsc.de [92.195.249.33]) by mx01.qsc.de (Postfix) with ESMTP id 4E7973DB76; Fri, 4 Jun 2010 01:03:34 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o53N3XTo004550; Fri, 4 Jun 2010 01:03:33 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 4 Jun 2010 01:03:33 +0200 From: Polytropon To: Andy Hiscock Message-Id: <20100604010333.91e1c3e5.freebsd@edvax.de> In-Reply-To: <965757.87919.qm@web26103.mail.ukl.yahoo.com> References: <929158.22715.qm@web26105.mail.ukl.yahoo.com> <125527.66409.qm@web26103.mail.ukl.yahoo.com> <68898.63609.qm@web26105.mail.ukl.yahoo.com> <20100603234321.06784375.freebsd@edvax.de> <922734.44548.qm@web26101.mail.ukl.yahoo.com> <20100604003342.c33b39d0.freebsd@edvax.de> <965757.87919.qm@web26103.mail.ukl.yahoo.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 23:03:41 -0000 On Thu, 3 Jun 2010 22:47:57 +0000 (GMT), Andy Hiscock wrote: > I stopped reading after the line "freebsd-update is not one of them". You're missing the best parts. :-) > I know its not your fault. But before progressing with technology > perhaps support and support while upgrading is more important - > especially when receiving alerts suggesting your version is no > longer supported rather than failed installs being solved by people > like yourself. FreeBSD has excellent support, in my opinion. The documentation is far better than most things I've seen in other open source projects. The mailing list is friendly and very helpful. Where did you get alerts from that FreeBSD 7 isn't supported anymore? Did you take the time to verify this? Allthough 7 is a legacy release, it's still FULLY supported, and many users are still using it. You've received many suggestions from this mailing list, but I fail to see that you're "working with it". Without YOU, your actions, your activity, the problem won't go away. Of course, you can just copy your important data, then get the install CD for FreeBSD 8 (or maybe install it via net, which is very common), then install samba, and finally get your data back onto the system. But from my "diagnostics" (which are, in fact, mostly guessings, due to the lack of information from you, your performed commands and the respnses), I would not reach for such a "big weapon" at this moment. It's far easier to upgrade your applications (as your OS is already updated, just install the ports subtree as suggested by Giorgos Keramidas - "portsnap fetch extract", then "pkg_add -r portupgrade", and "portupgrade -af -PP"). This should give you a working Samba (as well as all other applications upgraded). Always keep in mind: Upgrading a system is something that you should do CAREFULLY. You can run into big trouble if you do it wrong (as I know from my own experience). FreeBSD is a system that does not tell you what you do and holds your hand while it does what it thinks is the best for you; instead, it does EXACTLY what you tell it to do. You can even take that literally. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 23:11:43 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71280106564A for ; Thu, 3 Jun 2010 23:11:43 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 2D41C8FC1D for ; Thu, 3 Jun 2010 23:11:43 +0000 (UTC) Received: from r55.edvax.de (port-92-195-249-33.dynamic.qsc.de [92.195.249.33]) by mx01.qsc.de (Postfix) with ESMTP id 3F9A93DCDF; Fri, 4 Jun 2010 01:11:42 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o53NBfxR004587; Fri, 4 Jun 2010 01:11:41 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 4 Jun 2010 01:11:41 +0200 From: Polytropon To: Andy Hiscock Message-Id: <20100604011141.a9351681.freebsd@edvax.de> In-Reply-To: <394109.6601.qm@web26106.mail.ukl.yahoo.com> References: <929158.22715.qm@web26105.mail.ukl.yahoo.com> <125527.66409.qm@web26103.mail.ukl.yahoo.com> <68898.63609.qm@web26105.mail.ukl.yahoo.com> <20100603234321.06784375.freebsd@edvax.de> <922734.44548.qm@web26101.mail.ukl.yahoo.com> <20100604003342.c33b39d0.freebsd@edvax.de> <394109.6601.qm@web26106.mail.ukl.yahoo.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 23:11:43 -0000 On Thu, 3 Jun 2010 22:58:48 +0000 (GMT), Andy Hiscock wrote: > So am I lead to believe FreeBSD is mean to be a "Mechanics" > Operating system? I say that in the nicest way. I wouldn't go that far, but FreeBSD, as well as repairing a car, requires certain knowledge and experience, I agree. > "We are not interested about the "uneducated" user." But PC-BSD is interested in them. :-) No, honestly, I don't want to insult PC-BSD. Maybe you should have a look at it: It's a FreeBSD based operating system and application bundle, just like a Linux distribution, and comes preconfigured with KDE and many tools aiming at users who are not able or do not want to know about their OS. It's an "every day task" system that perfectly fits "Joe Q. Sixpack" users. And I really mean this as a positive statement. You should really take a look at their website to see if this is what you want. By the way, PC-BSD is a good starting point for better BSD education, but nothing is better than building your own system from scratch. :-) > or "Leave the idiots to Windows/Mac or Linux point and click"? Using a real operating system requires real knowledge. It is very important to understand that computers aren't easy, in contra- diction to what advertising wants people to believe. > As updating my BSD version has been nothing but problems. Because you haven't fully performed it. To use a car analogy: You put a new motor in the car, but you didn't connect it with all the other parts inside the car, and you notice: "Hey, I can't drive this damn car!" :-) > The transition from BSD 7 to 8 is equivalent to a windows > service pack or Mac OS release, both which happen seamlessly. The transition from 7 to 8 involves more work than the transition within 7. I think Giorgos Keramidas explained this better than I did. Just imagine my "fun" when having to go from 5 to 7! I got 20 years older in one week. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 23:26:22 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE3BC1065673 for ; Thu, 3 Jun 2010 23:26:22 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 68EF08FC1C for ; Thu, 3 Jun 2010 23:26:21 +0000 (UTC) Received: from r55.edvax.de (port-92-195-249-33.dynamic.qsc.de [92.195.249.33]) by mx01.qsc.de (Postfix) with ESMTP id 0F7003DC39; Fri, 4 Jun 2010 01:26:14 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o53NQEtM004663; Fri, 4 Jun 2010 01:26:14 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 4 Jun 2010 01:26:13 +0200 From: Polytropon To: Andy Hiscock Message-Id: <20100604012613.f140917a.freebsd@edvax.de> In-Reply-To: <929.51813.qm@web26108.mail.ukl.yahoo.com> References: <929158.22715.qm@web26105.mail.ukl.yahoo.com> <125527.66409.qm@web26103.mail.ukl.yahoo.com> <68898.63609.qm@web26105.mail.ukl.yahoo.com> <20100603234321.06784375.freebsd@edvax.de> <922734.44548.qm@web26101.mail.ukl.yahoo.com> <20100604003342.c33b39d0.freebsd@edvax.de> <965757.87919.qm@web26103.mail.ukl.yahoo.com> <20100604010333.91e1c3e5.freebsd@edvax.de> <929.51813.qm@web26108.mail.ukl.yahoo.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 23:26:22 -0000 On Thu, 3 Jun 2010 23:18:48 +0000 (GMT), Andy Hiscock wrote: > right scrolling to to top... Gonna go back to VHS here.. > Do a clean install as far as i'm concerned "freebsd-update" only > works for patches and not for OS upgrades from experiences or > considering ubuntu who's updates works. The freebsd-update program REALLY WORKS for OS updates. It works for patches (i. e. staying within a certain release) and even across major releases (e. g. from 7.2 to 8.0). As I mentioned before: There's MORE you have to take care of. If your applications are made for a version 7 system, and you suddenly have a version 8 system, problems may occur, for example if a library is required that's not present anymore. > Have to say after 2 years of using BSD am seriously > disappointed with FreeBSD, every other OS perform a > clean upgrade except.... I'm sad to hear that, as it contradicts my own experiences, and surely those of other FreeBSD users. There are users who update their OS and applications once a week, and others once a month; others perform the update when a new patchlevel is offered, and others do stay with the same system for years ("install once, then use"). How you handle things absolutely depends on your goals and requirements. As FreeBSD leaves you the freedom to decide what to do, YOU have to decide. That's what system administration basically is: Decisions lead by knowledge, experience and facts. > With not support to fix online. As I said, the mailing list is not a "free support center" with "support" in terms of what you usually get when paying for a maintenance contract. But did YOU already try to fix it? You got so much suggestions of what to do and how. I'm missing your cooperation. It won't fix itself, sorry. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 23:27:51 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F7131065670 for ; Thu, 3 Jun 2010 23:27:51 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 19D378FC18 for ; Thu, 3 Jun 2010 23:27:51 +0000 (UTC) Received: from r55.edvax.de (port-92-195-249-33.dynamic.qsc.de [92.195.249.33]) by mx01.qsc.de (Postfix) with ESMTP id 489FF3DC55; Fri, 4 Jun 2010 01:27:50 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o53NRnGg004673; Fri, 4 Jun 2010 01:27:49 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 4 Jun 2010 01:27:49 +0200 From: Polytropon To: Andy Hiscock Message-Id: <20100604012749.db51d5e0.freebsd@edvax.de> In-Reply-To: <178912.49445.qm@web26105.mail.ukl.yahoo.com> References: <929158.22715.qm@web26105.mail.ukl.yahoo.com> <125527.66409.qm@web26103.mail.ukl.yahoo.com> <68898.63609.qm@web26105.mail.ukl.yahoo.com> <20100603234321.06784375.freebsd@edvax.de> <922734.44548.qm@web26101.mail.ukl.yahoo.com> <20100604003342.c33b39d0.freebsd@edvax.de> <394109.6601.qm@web26106.mail.ukl.yahoo.com> <20100604011141.a9351681.freebsd@edvax.de> <178912.49445.qm@web26105.mail.ukl.yahoo.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: UPGRADE TO RELEASE 8.0-P3/SAMBA HELP REQUIRED X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 23:27:51 -0000 On Thu, 3 Jun 2010 23:19:28 +0000 (GMT), Andy Hiscock wrote: > enough sarcasm No sarcasm in here, just honest and fact-based statements (except those obviously signed by a smiley). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 23:39:48 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D7DE1065673 for ; Thu, 3 Jun 2010 23:39:48 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 28B1A8FC08 for ; Thu, 3 Jun 2010 23:39:48 +0000 (UTC) Received: by iwn5 with SMTP id 5so604863iwn.13 for ; Thu, 03 Jun 2010 16:39:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=kV+1RHlcPfALyHxqOH4QbLL2D6ZAqjKEZ/4h7xS85KQ=; b=Ag5iJ7XFUdNtyPNQv9NbvTbyJgGzXKWo5ZM22b2gCrKAx+JhZYinvvYsAKF6ez90JJ 5lwtCvP2qsPFa9jooUdA3wn0yEsVF83p2DaS0fkquxFxUPEeQR+dTdwG0++5dgTEonus tOe/SFzmWynK4xNKkO5EnDS4dqYf9X3UuMNnU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=wjOzMsanBm9p4a28OCFhLVqWpgwAJm8c1FtSEhBhucUZeTS6sknRzFnGYoW5KvVx1L qQVqFjC2dhJdwiqezEILtbUP0U6y7shGbYX4VXqdahLU5rNmoV+81NfcWIBM3Ej6Yeem iQ3EWoerAL+QoxMnI5O5CinwNtyaY2ZxnqqwY= MIME-Version: 1.0 Received: by 10.231.181.69 with SMTP id bx5mr72732ibb.189.1275608386051; Thu, 03 Jun 2010 16:39:46 -0700 (PDT) Received: by 10.231.168.2 with HTTP; Thu, 3 Jun 2010 16:39:46 -0700 (PDT) Date: Thu, 3 Jun 2010 16:39:46 -0700 Message-ID: From: Steve Franks To: FreeBSD Mailing List Content-Type: text/plain; charset=ISO-8859-1 Subject: x11/xfce ssh-agent once per logon for minimal (no gnome/kde) installation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 23:39:48 -0000 I'm totally lost. What I desire is to put in my passphrase for my public key(s) when I logon to my box. Since I usually install from ports and use xfce, I have no infrastructure for this, and I'm getting nowhere fast. My Fedora box popped up a nice little "enter passphrase" box the very first time I ssh'd to my server, and now it 'just works'. My FreeBSD boxes (which are many - everything *but* the laptop with Fedora), 'just don't work'. I've installed everything with 'ssh' and either 'key' or 'agent' in the name from ports/security, and gone through the manpages, and tweaked countless environment variables, but every time I ssh on a FreeBSD box, it stubbornly locates the terminal I started any gui's from (i.e. meld + bzr), and asks for the passphrase a great many times daily. Add that I've started my gui with meld& (so as to continue using said terminal - don't love 'panels', 'choosers', 'menus', etc - guis are for word processors and file managers, not desktops), I can't even type in the passphrase there. I generally like using FreeBSD caveman style, but this is starting to drive me nuts. No meld/bzr==no work from home==no happiness ;) Anyone have a 'standard' / FreeBSD-friendly best-practices for this? I think I'm just cluttering up my system here. Best, Steve From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 23:46:22 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9BF84106566B for ; Thu, 3 Jun 2010 23:46:22 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from cpoproxy2-pub.bluehost.com (cpoproxy2-pub.bluehost.com [67.222.39.38]) by mx1.freebsd.org (Postfix) with SMTP id 6770D8FC12 for ; Thu, 3 Jun 2010 23:46:21 +0000 (UTC) Received: (qmail 8068 invoked by uid 0); 3 Jun 2010 23:46:21 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by cpoproxy2.bluehost.com with SMTP; 3 Jun 2010 23:46:21 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=n9NGiCLb5dcwNPyrAZAd0EUSkEEJnoeBSpjjabuGjUHeB1aphHqyErrq5f3xXr1JIKQEOZPAIwmgY/2KTx4bDAb6K18ubydKzjPXUUlVh+0TfPitX+IMQh2MgLq03ZnD; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kukaburra.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1OKK7A-0007sX-BH for freebsd-questions@freebsd.org; Thu, 03 Jun 2010 17:46:21 -0600 Received: by kukaburra.hydra (sSMTP sendmail emulation); Thu, 03 Jun 2010 17:46:05 -0600 Date: Thu, 3 Jun 2010 17:46:05 -0600 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20100603234605.GA15773@guilt.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <201005311636.o4VGarkt001701@mail.r-bonomi.com> <20100602112644.GA90934@ei.bzerk.org> <20100602113344.GA3995@current.Sisis.de> <201006032249.05275.rcfarnes@broadpark.no> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gBBFr7Ir9EOA20Yy" Content-Disposition: inline In-Reply-To: <201006032249.05275.rcfarnes@broadpark.no> User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Subject: Re: text editor and your postscript X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 23:46:22 -0000 --gBBFr7Ir9EOA20Yy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 03, 2010 at 10:49:04PM +0200, Richard T C Farnes wrote: > To Matthias Apitz > I read with interest your contribution and those of others in text editor= =20 > usage. In this I do not have much to contribute as I am so far perfectly= =20 > happy with vi. > BUT I noticed your political comment at the end of your contribution. I = find=20 > this out of place as this questions site is for FreeBSD problems and no= t=20 > political ones. Could you please take your political comments and place = them=20 > on appropriate sites where such comments belong. I keep with president Ba= rack=20 > Obama, who has a law degree from Harvard and sees the necessity to set up= a=20 > commission to analyse the matter before taking part in the=20 > international "howling choir" against Israel. > Yours sincerely > Richard Farnes I don't recall any "netiquette" rules about making your signature block on-topic. Aren't you getting a bit uptight? If anything, it's *you* who took things into the realm of politics by pulling it out of the signature block where it belonged. --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --gBBFr7Ir9EOA20Yy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwIPr0ACgkQ9mn/Pj01uKXYLQCfWz8XMfp11VJyeBrStlwRYkIm rz8An37zEmqPYkAUBXZSpMS6aEwFZLFm =E9CP -----END PGP SIGNATURE----- --gBBFr7Ir9EOA20Yy-- From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 23:55:08 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 663AF106564A for ; Thu, 3 Jun 2010 23:55:08 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from cpoproxy3-pub.bluehost.com (cpoproxy3-pub.bluehost.com [67.222.54.6]) by mx1.freebsd.org (Postfix) with SMTP id 32F268FC17 for ; Thu, 3 Jun 2010 23:55:07 +0000 (UTC) Received: (qmail 20554 invoked by uid 0); 3 Jun 2010 23:55:07 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by cpoproxy3.bluehost.com with SMTP; 3 Jun 2010 23:55:07 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=RuUGW/KbPUmC07JFffKS/es2j1+P03jL+gQHZA8EXY7tpIjdPkntmyHBmPkCY4ac9snqQSU6jUtzsEXisxeFGg0aWSGz5iAtyIUh5TJBDLV1dHknVfRE1/VA5jT7DP6y; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kukaburra.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1OKKFe-00027B-Ht for freebsd-questions@freebsd.org; Thu, 03 Jun 2010 17:55:07 -0600 Received: by kukaburra.hydra (sSMTP sendmail emulation); Thu, 03 Jun 2010 17:54:52 -0600 Date: Thu, 3 Jun 2010 17:54:52 -0600 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20100603235452.GB15773@guilt.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WhfpMioaduB5tiZL" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Subject: Re: Strying off topic, but Re: text editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 23:55:08 -0000 --WhfpMioaduB5tiZL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 03, 2010 at 10:14:19AM -0400, illoai@gmail.com wrote: >=20 > I don't know much, but the source tarball is slightly > over 7m. I suspect a lot of that is documentation. One thing Vim definitely has going for it is the breadth and depth of user documentation that comes with it. >=20 > In any case, the executable size is only loosely > related to the actual running size. True. On the other hand, to offer a comparison that actually came up in "real life", a co-worker once needed to edit a file. She tried using emacs to do so, but emacs couldn't open the file because it was so friggin' large that trying to open it with emacs exhausted system resources. She asked me how to achieve the same thing in Vim that she had intended to do with emacs because she discovered that it opened just fine in Vim. Obviously, this was very much an edge-case. The file was *huge*, measured in the gigabytes. It's not a problem you're likely to encounter in general usage. It does give me a little faith in the ability of Vim to avoid abusing system resources (and of vi in general). --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --WhfpMioaduB5tiZL Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwIQMwACgkQ9mn/Pj01uKXAwQCg0GsoAax4acHGSYCiHrJZtdti rlUAoJ04DuRSnC5JtoQl5IrQTPvXVsA6 =rB3Z -----END PGP SIGNATURE----- --WhfpMioaduB5tiZL-- From owner-freebsd-questions@FreeBSD.ORG Fri Jun 4 00:25:57 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 13BF31065670 for ; Fri, 4 Jun 2010 00:25:57 +0000 (UTC) (envelope-from steve@ipv6canada.com) Received: from smtp.ibctech.ca (v6.ibctech.ca [IPv6:2607:f118::b6]) by mx1.freebsd.org (Postfix) with SMTP id 8EE8A8FC08 for ; Fri, 4 Jun 2010 00:25:56 +0000 (UTC) Received: (qmail 75330 invoked by uid 89); 4 Jun 2010 00:30:08 -0000 Received: from unknown (HELO ?IPv6:2607:f118::5?) (steve@ibctech.ca@2607:f118::5) by 2607:f118::b6 with ESMTPA; 4 Jun 2010 00:30:08 -0000 Message-ID: <4C084812.1050605@ipv6canada.com> Date: Thu, 03 Jun 2010 20:25:54 -0400 From: Steve Bertrand User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20100111 Lightning/1.0b1 Thunderbird/3.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <201005311636.o4VGarkt001701@mail.r-bonomi.com> <20100602112644.GA90934@ei.bzerk.org> <20100602113344.GA3995@current.Sisis.de> <201006032249.05275.rcfarnes@broadpark.no> <20100603234605.GA15773@guilt.hydra> In-Reply-To: <20100603234605.GA15773@guilt.hydra> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: text editor and your postscript X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 00:25:57 -0000 On 2010.06.03 19:46, Chad Perrin wrote: > On Thu, Jun 03, 2010 at 10:49:04PM +0200, Richard T C Farnes wrote: >> To Matthias Apitz [ ...snip ...] >> Yours sincerely >> Richard Farnes > > I don't recall any "netiquette" rules about making your signature block > on-topic. Aren't you getting a bit uptight? > > If anything, it's *you* who took things into the realm of politics by > pulling it out of the signature block where it belonged. Nicely put Chad. sigs can be easily ignored, or filtered. Politics and religion are not allowed on this list, unless they relate to ``technical'' politics/religion. ...here's an example... use vi(m). It solves ALL of the world's problems. Steve ;) From owner-freebsd-questions@FreeBSD.ORG Fri Jun 4 00:40:31 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0FCA0106564A for ; Fri, 4 Jun 2010 00:40:31 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from cpoproxy2-pub.bluehost.com (cpoproxy2-pub.bluehost.com [67.222.39.38]) by mx1.freebsd.org (Postfix) with SMTP id CED998FC1A for ; Fri, 4 Jun 2010 00:40:30 +0000 (UTC) Received: (qmail 2266 invoked by uid 0); 4 Jun 2010 00:40:30 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by cpoproxy2.bluehost.com with SMTP; 4 Jun 2010 00:40:30 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=k9T5SlnM9zqBMo1u4Rj1FwJQDvx6HRdm3/mzMJ/9MfkPPlLsROFxgViSuCP1UMOfyBpbRTfZ7kM0ZD+a9xP4uEeqPClGPxTufR7faTsIrodObc7IwsoU3+8DyKFx+HF9; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kukaburra.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1OKKxZ-0005nf-C9 for freebsd-questions@freebsd.org; Thu, 03 Jun 2010 18:40:30 -0600 Received: by kukaburra.hydra (sSMTP sendmail emulation); Thu, 03 Jun 2010 18:40:14 -0600 Date: Thu, 3 Jun 2010 18:40:14 -0600 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20100604004014.GA16033@guilt.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <201005311636.o4VGarkt001701@mail.r-bonomi.com> <20100602112644.GA90934@ei.bzerk.org> <20100602113344.GA3995@current.Sisis.de> <201006032249.05275.rcfarnes@broadpark.no> <20100603234605.GA15773@guilt.hydra> <4C084812.1050605@ipv6canada.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="G4iJoqBmSsgzjUCe" Content-Disposition: inline In-Reply-To: <4C084812.1050605@ipv6canada.com> User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Subject: Re: text editor and your postscript X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 00:40:31 -0000 --G4iJoqBmSsgzjUCe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 03, 2010 at 08:25:54PM -0400, Steve Bertrand wrote: > On 2010.06.03 19:46, Chad Perrin wrote: > >=20 > > If anything, it's *you* who took things into the realm of politics by > > pulling it out of the signature block where it belonged. >=20 > Nicely put Chad. Thanks! >=20 > ...here's an example... use vi(m). It solves ALL of the world's problems. I'm beginning to think nvi, in particular, might do so. For one thing, it has a friendlier license (since we're getting "political") than Vim, and for another it has better undo support than I realized. --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --G4iJoqBmSsgzjUCe Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwIS24ACgkQ9mn/Pj01uKUt3wCgvI8a1B+yWwO4vJm/I6sdXSte 3qoAoPtvdr52koo5rQ/ThHViMs6Ll3fq =U9Wr -----END PGP SIGNATURE----- --G4iJoqBmSsgzjUCe-- From owner-freebsd-questions@FreeBSD.ORG Fri Jun 4 01:24:00 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C48E91065673 for ; Fri, 4 Jun 2010 01:24:00 +0000 (UTC) (envelope-from steve@ipv6canada.com) Received: from smtp.ibctech.ca (v6.ibctech.ca [IPv6:2607:f118::b6]) by mx1.freebsd.org (Postfix) with SMTP id 4ABFC8FC08 for ; Fri, 4 Jun 2010 01:24:00 +0000 (UTC) Received: (qmail 76887 invoked by uid 89); 4 Jun 2010 01:28:13 -0000 Received: from unknown (HELO ?IPv6:2607:f118::5?) (steve@ibctech.ca@2607:f118::5) by 2607:f118::b6 with ESMTPA; 4 Jun 2010 01:28:13 -0000 Message-ID: <4C0855AF.4010503@ipv6canada.com> Date: Thu, 03 Jun 2010 21:23:59 -0400 From: Steve Bertrand User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20100111 Lightning/1.0b1 Thunderbird/3.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <201005311636.o4VGarkt001701@mail.r-bonomi.com> <20100602112644.GA90934@ei.bzerk.org> <20100602113344.GA3995@current.Sisis.de> <201006032249.05275.rcfarnes@broadpark.no> <20100603234605.GA15773@guilt.hydra> <4C084812.1050605@ipv6canada.com> <20100604004014.GA16033@guilt.hydra> In-Reply-To: <20100604004014.GA16033@guilt.hydra> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: text editor and your postscript X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 01:24:00 -0000 On 2010.06.03 20:40, Chad Perrin wrote: > On Thu, Jun 03, 2010 at 08:25:54PM -0400, Steve Bertrand wrote: >> ...here's an example... use vi(m). It solves ALL of the world's problems. > > I'm beginning to think nvi, in particular, might do so. For one thing, > it has a friendlier license (since we're getting "political") than Vim, > and for another it has better undo support than I realized. Can I use my .vimrc? Steve From owner-freebsd-questions@FreeBSD.ORG Fri Jun 4 01:28:54 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B69D1065672 for ; Fri, 4 Jun 2010 01:28:54 +0000 (UTC) (envelope-from kline@thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id EAA728FC0C for ; Fri, 4 Jun 2010 01:28:53 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by ethic.thought.org (8.14.3/8.14.3) with ESMTP id o541So8s058914 for ; Thu, 3 Jun 2010 18:28:50 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Thu, 3 Jun 2010 18:28:49 -0700 (PDT) Date: Thu, 3 Jun 2010 18:28:49 -0700 From: Gary Kline To: freebsd-questions@freebsd.org Message-ID: <20100604012849.GA23996@thought.org> References: <201005311636.o4VGarkt001701@mail.r-bonomi.com> <20100602112644.GA90934@ei.bzerk.org> <20100602113344.GA3995@current.Sisis.de> <201006032249.05275.rcfarnes@broadpark.no> <20100603234605.GA15773@guilt.hydra> <4C084812.1050605@ipv6canada.com> <20100604004014.GA16033@guilt.hydra> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100604004014.GA16033@guilt.hydra> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-0.2 required=3.6 tests=ALL_TRUSTED,BAYES_00, GUARANTEED_100_PERCENT,T_RP_MATCHES_RCVD autolearn=no version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on ethic.thought.org Subject: Re: text editor and your postscript X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 01:28:54 -0000 On Thu, Jun 03, 2010 at 06:40:14PM -0600, Chad Perrin wrote: > On Thu, Jun 03, 2010 at 08:25:54PM -0400, Steve Bertrand wrote: > > On 2010.06.03 19:46, Chad Perrin wrote: > > > > > > If anything, it's *you* who took things into the realm of politics by > > > pulling it out of the signature block where it belonged. > > > > Nicely put Chad. > > Thanks! > > > > > > ...here's an example... use vi(m). It solves ALL of the world's problems. > > I'm beginning to think nvi, in particular, might do so. For one thing, > it has a friendlier license (since we're getting "political") than Vim, > and for another it has better undo support than I realized. > > -- > Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] my 27 cents' worth [[[inflation]]]: YES on the vim undo. i've lost scores of lines and messed up other files than code.' gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org 99 44/100% Guaranteed Novel From owner-freebsd-questions@FreeBSD.ORG Fri Jun 4 02:52:09 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4BEFF106566C for ; Fri, 4 Jun 2010 02:52:09 +0000 (UTC) (envelope-from steve@ipv6canada.com) Received: from smtp.ibctech.ca (v6.ibctech.ca [IPv6:2607:f118::b6]) by mx1.freebsd.org (Postfix) with SMTP id AB45A8FC13 for ; Fri, 4 Jun 2010 02:52:08 +0000 (UTC) Received: (qmail 79270 invoked by uid 89); 4 Jun 2010 02:56:22 -0000 Received: from unknown (HELO ?IPv6:2607:f118::5?) (steve@ibctech.ca@2607:f118::5) by 2607:f118::b6 with ESMTPA; 4 Jun 2010 02:56:22 -0000 Message-ID: <4C086A57.9060402@ipv6canada.com> Date: Thu, 03 Jun 2010 22:52:07 -0400 From: Steve Bertrand User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20100111 Lightning/1.0b1 Thunderbird/3.0.1 MIME-Version: 1.0 To: Fbsd1 References: <201005311636.o4VGarkt001701@mail.r-bonomi.com> <87zkzgx8rd.fsf@kobe.laptop><20100531203115.GA2167@guilt.hydra > <4C043D4B.1010203@a1poweruser.com> <4C082E32.7020301@a1poweruser.com> In-Reply-To: <4C082E32.7020301@a1poweruser.com> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, Walt Pawley Subject: Re: text editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 02:52:09 -0000 On 2010.06.03 18:35, Fbsd1 wrote: > Walt Pawley wrote: >> On Sun, 30 May 2010, Fbsd1 wrote: >> >>> Been using ee and been happy. >>> >>> Now I have need for an editor with block commands. >> >> I'd suggest looking into aee. > > > That has what I am looking and so simple. Simple is in the eye of the beholder. Also, simple isn't always the best solution. afair, you (FBSD1) (it'd be nice if you'd use your real name), are wanting to move from `ee' to a new editor. I'm almost certain that this was a question that I've asked here before. Moving from ee to a real editor. Search my name in the archives. Personally, I chose vim. I found that the 'vimtutor' was phenomenal, and I only had to spend one work day making notes for myself on paper to mentally remember the important commands. The mailing list is *very* good and *very* active, but again, the tutorial is excellent. Not only that, the :help system in vim contains ALL of the documentation for itself. All in all, I tried emacs, and I'm a bit used to it, but vim stuck. I am so used to the key commands now that I oftentimes use them in editors that I shouldn't ;) I won't go on about how flexible the config is, because I'm certain all of the other editors can do all sorts of special tricks (particularly when coding) too. iTry vim. ii:wq Steve From owner-freebsd-questions@FreeBSD.ORG Fri Jun 4 04:36:04 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53802106566B for ; Fri, 4 Jun 2010 04:36:04 +0000 (UTC) (envelope-from aiza21@comclark.com) Received: from avmxsmtp1.comclark.com (avmxsmtp1.comclark.com [202.69.191.115]) by mx1.freebsd.org (Postfix) with ESMTP id D728F8FC19 for ; Fri, 4 Jun 2010 04:36:03 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhscAMsfCEzKRa1aPGdsb2JhbAAHh2aWVgEBAQE1J74/hRYEg0Y X-IronPort-AV: E=Sophos;i="4.53,358,1272816000"; d="scan'208";a="1912192" Received: from unknown (HELO [10.0.10.3]) ([202.69.173.90]) by avmxsmtp5.comclark.com with ESMTP; 04 Jun 2010 12:36:01 +0800 Message-ID: <4C0882AC.4000504@comclark.com> Date: Fri, 04 Jun 2010 12:35:56 +0800 From: Aiza User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: "questions@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: .sh & getopts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 04:36:04 -0000 Have this code shift; while getopts :ugr: arg; do case ${arg} in u) action="freebsd-update";; g) action="freebsd-upgrade";; r) action="freebsd-rollback";; ?) exerr ${cmd_usage};; esac; done; shift $(( ${OPTION} -1 )) Command being executed looks like this, cmd action -flags aaaa bbbb Only a single -flag in allowed on the command. $# gives a count of parms ie: aaaa bbbb. in this example a count of 2. I am looking for something to check that holds the number of flags on the command. so I can code. if flag_count gt 1 = error Is there such a thing created by getopts? From owner-freebsd-questions@FreeBSD.ORG Fri Jun 4 06:56:37 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 498C41065670 for ; Fri, 4 Jun 2010 06:56:37 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id A09D48FC25 for ; Fri, 4 Jun 2010 06:56:36 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o546uVQ2045823 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Fri, 4 Jun 2010 07:56:32 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4C08A39F.5@infracaninophile.co.uk> Date: Fri, 04 Jun 2010 07:56:31 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.96.1 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=1.6 required=5.0 tests=BAYES_50,DKIM_ADSP_ALL, SPF_FAIL autolearn=no version=3.3.1 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Cc: Steve Franks Subject: Re: x11/xfce ssh-agent once per logon for minimal (no gnome/kde) installation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 06:56:37 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 04/06/2010 24:39:46, Steve Franks wrote: > I'm totally lost. What I desire is to put in my passphrase for my > public key(s) when I logon to my box. Since I usually install from > ports and use xfce, I have no infrastructure for this, and I'm getting > nowhere fast. My Fedora box popped up a nice little "enter > passphrase" box the very first time I ssh'd to my server, and now it > 'just works'. My FreeBSD boxes (which are many - everything *but* the > laptop with Fedora), 'just don't work'. I've installed everything > with 'ssh' and either 'key' or 'agent' in the name from > ports/security, and gone through the manpages, and tweaked countless > environment variables, but every time I ssh on a FreeBSD box, it > stubbornly locates the terminal I started any gui's from (i.e. meld + > bzr), and asks for the passphrase a great many times daily. Add that > I've started my gui with meld& (so as to continue using said terminal > - don't love 'panels', 'choosers', 'menus', etc - guis are for word > processors and file managers, not desktops), I can't even type in the > passphrase there. I generally like using FreeBSD caveman style, but > this is starting to drive me nuts. No meld/bzr==no work from home==no > happiness ;) > > Anyone have a 'standard' / FreeBSD-friendly best-practices for this? > I think I'm just cluttering up my system here. The problem you have is that you need to start ssh-agent(1) somewhere very early in your login process, so that your entire desktop environment can inherit all the necessary ssh-agent settings. Exactly what to do depends on how you get into X11. If you run startx(1) manually when you want to switch from console to X11 then you need to edit your ~/.xinitrc Alternatively, if you use a display manager like xdm(1) -- ie. there's an X based graphical login -- then you have two choices: edit your ~/.xsession or tweak the pam configuration for your login manager. If you want to go the 'edit .xinitrc or .xsession' route then you need to do basically the same thing for either of those two files. They're pretty much just scripts that start up the initial X applications for your login session: practically speaking, that means starting up your window manager. It's possible you don't have either of those files explicitly in your account: in either case the system will run a standard default script if it can't find a user specific version. The .xinitrc or .xsession file should look something like this: #!/bin/sh # Import user environment settings . ${HOME}/.profile eval $( ssh-agent -s ) # Eg. pop up an xterm so you can enter your ssh passphrase xterm -geometry 80x24-91+0 -e /usr/bin/ssh-add -c ${HOME}/.ssh/id_rsa & # Note: no '&' -- this should run in the foreground xfce eval $( ssh-agent -k ) # # That's All Folks! # This is just a rough outline, which you should adapt to your own needs - -- in particular there are nicer apps you can use for entering a passphrase. Also note that you can probably omit that bit from the .xinitrc or .xsession and have your window manager run it. In any case, the important bits are the two 'eval' lines bracketing the window-manager startup. The other possibility -- which is only available if you are using a display manager like xdm(1) -- is tweaking the pam settings. For xdm, edit the file /etc/pam.d/xdm and uncomment the two lines mentioning pam_ssh. Now you will be able to log into your system via xdm using your ssh passphrase, and xdm will start up ssh-agent for your session and add your key to it. Different display managers will have their own pam.d files (either in /etc/pam.d or in /usr/local/etc/pam.d) but you should be able to make equivalent changes there -- either uncomment or add pam_ssh lines in the auth or session sections. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwIo58ACgkQ8Mjk52CukIxm/ACgjwPTgJjq8YjN/e1uwD9be2xj vBcAoIQ8aP+1pyV/050ooHCr9yUFjuXh =S7kV -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Fri Jun 4 07:04:16 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 73928106564A for ; Fri, 4 Jun 2010 07:04:16 +0000 (UTC) (envelope-from steve@ipv6canada.com) Received: from smtp.ibctech.ca (v6.ibctech.ca [IPv6:2607:f118::b6]) by mx1.freebsd.org (Postfix) with SMTP id D60E28FC16 for ; Fri, 4 Jun 2010 07:04:15 +0000 (UTC) Received: (qmail 90351 invoked by uid 89); 4 Jun 2010 07:08:31 -0000 Received: from unknown (HELO ?IPv6:2607:f118::5?) (steve@ibctech.ca@2607:f118::5) by 2607:f118::b6 with ESMTPA; 4 Jun 2010 07:08:31 -0000 Message-ID: <4C08A56F.5050007@ipv6canada.com> Date: Fri, 04 Jun 2010 03:04:15 -0400 From: Steve Bertrand User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20100111 Lightning/1.0b1 Thunderbird/3.0.1 MIME-Version: 1.0 To: Aiza References: <4C0882AC.4000504@comclark.com> In-Reply-To: <4C0882AC.4000504@comclark.com> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "questions@freebsd.org" Subject: Re: .sh & getopts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 07:04:16 -0000 On 2010.06.04 00:35, Aiza wrote: > Have this code > > shift; while getopts :ugr: arg; do case ${arg} in > u) action="freebsd-update";; > g) action="freebsd-upgrade";; > r) action="freebsd-rollback";; > ?) exerr ${cmd_usage};; > esac; done; shift $(( ${OPTION} -1 )) > > > Command being executed looks like this, cmd action -flags aaaa bbbb > > Only a single -flag in allowed on the command. Here's my obligatory "use Perl;" # it's a dirty hack out of a util script I use that calls # methods out of a module. 99% of the code has been stripped, # so forgive me, especially for the dirty arg count check ;) # save file to test.pl # chmod 755 test.pl # Examples: # Help: # ./test.pl --help # ./test.pl -h # Man page: # ./test.pl --man # ./test.pl -M ---- copy/paste below this line, until _END_ #!/usr/bin/perl use strict; use warnings; use Getopt::Long; Getopt::Long::Configure qw( bundling ); use Pod::Usage; if ( $#ARGV > 0 ) { my $arg_num = $#ARGV +1 ; print "\nYou supplied $arg_num args, when only one is allowed\n\n"; die "See $0 -h\n\n"; } my ( $help, $man ) = 0; my $result = GetOptions( 'update|u' => \&update, 'upgrade|g' => \&upgrade, 'rollback|r' => \&rollback, 'help|h' => \$help, 'man|M' => \$man, ); # begin pod2usage pod2usage({ -verbose => 1 }) if $help; pod2usage({ -verbose => 2 }) if $man; sub update { print "We're updating!\n"; # do something fancy here.. exit; } sub upgrade { print "We're upgrading!\n"; # more fancy stuff... exit; } sub rollback { print "Ensure you have a backup, we're rolling back!\n"; # uber fancy!!! exit; } =head1 NAME perform_maintenance - Do maintenance on FreeBSD =head1 SYNOPSIS # Do update ./test.pl --update ./test.pl -u # Do upgrade ./test.pl --upgrade ./test.pl -g # Do a rollback ./test.pl --rollback ./test.pl -r # display help ./test.pl --help ./test.pl -h # display the manual page ./test.pl --man ./test.pl -M =head1 OPTIONS =over 1 =item --update | -u Do an update... this example simply outputs 'Update' to STDOUT. =item --upgrade | -g Do an upgrade... this example simply outputs 'Upgrade' to STDOUT. =item --rollback | -r Perform a rollback... again, of course, we only print out jibberish =back =head1 DESCRIPTION This is a copy/paste of a real-life Perl application that has been cleared out of all useful code, so it could be used as an example. It is however an extremely handy framework for accepting both the long and short forms of parameters, and the perldoc inclusion allows one to dump 'error' (or more favourably put) help pages onto STDOUT for the user. =cut __END__ From owner-freebsd-questions@FreeBSD.ORG Fri Jun 4 07:29:27 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B07F106564A for ; Fri, 4 Jun 2010 07:29:27 +0000 (UTC) (envelope-from aiza21@comclark.com) Received: from avmxsmtp1.comclark.com (avmxsmtp1.comclark.com [202.69.191.115]) by mx1.freebsd.org (Postfix) with ESMTP id 8F9758FC2D for ; Fri, 4 Jun 2010 07:29:26 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnEZAKhHCEzKRa1aPGdsb2JhbAAHh2aWVwEBAQE1vluFFgSDRg X-IronPort-AV: E=Sophos;i="4.53,360,1272816000"; d="scan'208";a="1939552" Received: from unknown (HELO [10.0.10.3]) ([202.69.173.90]) by avmxsmtp3.comclark.com with ESMTP; 04 Jun 2010 15:29:24 +0800 Message-ID: <4C08AB51.1030609@comclark.com> Date: Fri, 04 Jun 2010 15:29:21 +0800 From: Aiza User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Steve Bertrand References: <4C0882AC.4000504@comclark.com> <4C08A56F.5050007@ipv6canada.com> In-Reply-To: <4C08A56F.5050007@ipv6canada.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "questions@freebsd.org" Subject: Re: .sh & getopts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 07:29:27 -0000 Steve Bertrand wrote: > On 2010.06.04 00:35, Aiza wrote: >> Have this code >> >> shift; while getopts :ugr: arg; do case ${arg} in >> u) action="freebsd-update";; >> g) action="freebsd-upgrade";; >> r) action="freebsd-rollback";; >> ?) exerr ${cmd_usage};; >> esac; done; shift $(( ${OPTION} -1 )) >> >> >> Command being executed looks like this, cmd action -flags aaaa bbbb >> >> Only a single -flag in allowed on the command. > > Here's my obligatory "use Perl;" > > # it's a dirty hack out of a util script I use that calls > # methods out of a module. 99% of the code has been stripped, > # so forgive me, especially for the dirty arg count check ;) > > # save file to test.pl > # chmod 755 test.pl > # Examples: > > # Help: > # ./test.pl --help > # ./test.pl -h > > # Man page: > # ./test.pl --man > # ./test.pl -M > > ---- copy/paste below this line, until _END_ > #!/usr/bin/perl > > use strict; > use warnings; > > use Getopt::Long; > Getopt::Long::Configure qw( bundling ); > use Pod::Usage; > > if ( $#ARGV > 0 ) { > > my $arg_num = $#ARGV +1 ; > print "\nYou supplied $arg_num args, when only one is allowed\n\n"; > > die "See $0 -h\n\n"; > } > > my ( $help, $man ) = 0; > > my $result = GetOptions( > 'update|u' => \&update, > 'upgrade|g' => \&upgrade, > 'rollback|r' => \&rollback, > 'help|h' => \$help, > 'man|M' => \$man, > ); > > # begin pod2usage > > pod2usage({ -verbose => 1 }) if $help; > pod2usage({ -verbose => 2 }) if $man; > > sub update { > > print "We're updating!\n"; > > # do something fancy here.. > exit; > } > > sub upgrade > { > > print "We're upgrading!\n"; > # more fancy stuff... > exit; > } > > sub rollback { > > print "Ensure you have a backup, we're rolling back!\n"; > # uber fancy!!! > exit; > } > > > > =head1 NAME > > perform_maintenance - Do maintenance on FreeBSD > > =head1 SYNOPSIS > > # Do update > > ./test.pl --update > ./test.pl -u > > # Do upgrade > > ./test.pl --upgrade > ./test.pl -g > > # Do a rollback > > ./test.pl --rollback > ./test.pl -r > > # display help > > ./test.pl --help > ./test.pl -h > > # display the manual page > > ./test.pl --man > ./test.pl -M > > > > =head1 OPTIONS > > =over 1 > > > > =item --update | -u > > Do an update... this example simply outputs 'Update' to STDOUT. > > > > =item --upgrade | -g > > Do an upgrade... this example simply outputs 'Upgrade' to STDOUT. > > > > =item --rollback | -r > > Perform a rollback... again, of course, we only print out jibberish > > > > =back > > =head1 DESCRIPTION > > This is a copy/paste of a real-life Perl application that has been > cleared out of all useful code, so it could be used as an example. > > It is however an extremely handy framework for accepting both the long > and short forms of parameters, and the perldoc inclusion allows one to > dump 'error' (or more favourably put) help pages onto STDOUT for the user. > Steve Bertrand as the subject says .sh not perl. From owner-freebsd-questions@FreeBSD.ORG Fri Jun 4 07:55:31 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C68A51065678 for ; Fri, 4 Jun 2010 07:55:31 +0000 (UTC) (envelope-from fbsd1@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id B54618FC1C for ; Fri, 4 Jun 2010 07:55:31 +0000 (UTC) Received: from [10.0.10.3] ([202.69.173.90]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 4 Jun 2010 00:55:31 -0700 Message-ID: <4C08B16A.4040406@a1poweruser.com> Date: Fri, 04 Jun 2010 15:55:22 +0800 From: Fbsd1 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: "questions@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 04 Jun 2010 07:55:32.0099 (UTC) FILETIME=[4E804D30:01CB03BB] X-Sender: fbsd1@a1poweruser.com Cc: Subject: portsnap refuse X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 07:55:31 -0000 The postsnap says adding refuse statements to select the parts of the port tree you have use for will shorten the download process and conserve disk space on your host. That only the port categories not REFUSED will be selected and compressed for download. Well for a test I ran portsnap with out any portsnap.conf file. The download process took 16 minuets. The I mv portsnap.conf.sample to portsnap.conf and added REFUSE for all the categories except sysutils. Reran the portsnap and still it took 16 minuets. What gives here?? From owner-freebsd-questions@FreeBSD.ORG Fri Jun 4 07:59:21 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E7BF71065670 for ; Fri, 4 Jun 2010 07:59:21 +0000 (UTC) (envelope-from fbsd1@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id D10D88FC23 for ; Fri, 4 Jun 2010 07:59:21 +0000 (UTC) Received: from [10.0.10.3] ([202.69.173.90]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 4 Jun 2010 00:59:21 -0700 Message-ID: <4C08B252.8010008@a1poweruser.com> Date: Fri, 04 Jun 2010 15:59:14 +0800 From: Fbsd1 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: "questions@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 04 Jun 2010 07:59:22.0245 (UTC) FILETIME=[D7ADCB50:01CB03BB] X-Sender: fbsd1@a1poweruser.com Cc: Subject: /var/empty has schg flag turned on. Why? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 07:59:22 -0000 Why does the base RELEASE have schg flag turned for the /var/empty directory? Is that directory really used for anything? Is this a release build problem? From owner-freebsd-questions@FreeBSD.ORG Fri Jun 4 08:04:54 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1672E1065672 for ; Fri, 4 Jun 2010 08:04:54 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: from paka.cyberleo.net (paka.cyberleo.net [66.219.31.21]) by mx1.freebsd.org (Postfix) with ESMTP id E63F68FC18 for ; Fri, 4 Jun 2010 08:04:53 +0000 (UTC) Received: from [172.16.44.4] (h-74-2-96-2.chcgilgm.static.covad.net [74.2.96.2]) by paka.cyberleo.net (Postfix) with ESMTPSA id C269828424; Fri, 4 Jun 2010 04:04:52 -0400 (EDT) Message-ID: <4C08B3A3.5040105@cyberleo.net> Date: Fri, 04 Jun 2010 03:04:51 -0500 From: CyberLeo Kitsana User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100508 Thunderbird/3.0.4 MIME-Version: 1.0 To: Barry Steyn References: <4C080F42.7080006@redbutton.co.za> In-Reply-To: <4C080F42.7080006@redbutton.co.za> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Sluggish Apache Server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 08:04:54 -0000 On 06/03/2010 03:23 PM, Barry Steyn wrote: > Hi guys, > > We're having a serious problem here with our live server, it's very > sluggish all of a sudden. The problem is that Apache is *really* slow > responding to https requests but still fairly quick on http. Running out of entropy, perhaps? Public-key encryption needs quite a lot to function securely. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://wwww.fur.com/peace/ From owner-freebsd-questions@FreeBSD.ORG Fri Jun 4 08:22:48 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A1A2106564A for ; Fri, 4 Jun 2010 08:22:48 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: from paka.cyberleo.net (paka.cyberleo.net [66.219.31.21]) by mx1.freebsd.org (Postfix) with ESMTP id 2460F8FC22 for ; Fri, 4 Jun 2010 08:22:47 +0000 (UTC) Received: from [172.16.44.4] (h-74-2-96-2.chcgilgm.static.covad.net [74.2.96.2]) by paka.cyberleo.net (Postfix) with ESMTPSA id 566DC28424; Fri, 4 Jun 2010 04:22:47 -0400 (EDT) Message-ID: <4C08B7D6.5020604@cyberleo.net> Date: Fri, 04 Jun 2010 03:22:46 -0500 From: CyberLeo Kitsana User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100508 Thunderbird/3.0.4 MIME-Version: 1.0 To: Fbsd1 References: <4C08B252.8010008@a1poweruser.com> In-Reply-To: <4C08B252.8010008@a1poweruser.com> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 7bit Cc: "questions@freebsd.org" Subject: Re: /var/empty has schg flag turned on. Why? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 08:22:48 -0000 On 06/04/2010 02:59 AM, Fbsd1 wrote: > Why does the base RELEASE have schg flag turned for the /var/empty > directory? > > Is that directory really used for anything? > > Is this a release build problem? Certain daemons will chroot(2) to that directory to perform sensitive privilege-separation operations, or when they know they will not need to interact with the filesystem to perform their duties. The directory must remain empty to ensure the operation is secure. The best way to ensure no files are accidentally or intentionally created there is to set it schg, which forbids any changes to the directory (such as linking a file there). -- Fuzzy love, -CyberLeo Furry Peace! - http://www.fur.com/peace/ From owner-freebsd-questions@FreeBSD.ORG Fri Jun 4 11:31:51 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1493F106566B for ; Fri, 4 Jun 2010 11:31:51 +0000 (UTC) (envelope-from ndhertbsd@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 98F048FC1C for ; Fri, 4 Jun 2010 11:31:50 +0000 (UTC) Received: by bwz2 with SMTP id 2so489246bwz.13 for ; Fri, 04 Jun 2010 04:31:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=59Yk189YJVg6H9SVEhbGcsiVBY+MuR3WvOhB7cSMhvk=; b=xSvIwAEEayOVq/7MEwpAySACcaNGjNu4PxlY2ISijfosj4eJPVwGyqfCfQ/Exdb9AK cMonR0YOI0VjJydomw/d97CUecnmL6q1DTTxdfw7T4hpEeuV2u7uuHUzEyaxwUapGQVF s1E/Js+68k74773UxLOWH32k/fOQNrYJVuCqA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=tT/TSNr0c6MP8+dJUlUHS6ubF00DVZKW5u4IjRe47S6Pt39B+OPVDjMdE4CFqQ0vwJ Frsgiw7o9mD++d/REZIz38XPgmT/jhKUmU4cnjNAjuPHhR/rlD8S/VDzd/Va3/2cHBQw 6HwQuD37YLviTDlM5QdwxSOm1P3SYljdcS4gM= MIME-Version: 1.0 Received: by 10.204.10.139 with SMTP id p11mr3873342bkp.157.1275651109377; Fri, 04 Jun 2010 04:31:49 -0700 (PDT) Received: by 10.204.46.100 with HTTP; Fri, 4 Jun 2010 04:31:48 -0700 (PDT) Date: Fri, 4 Jun 2010 13:31:48 +0200 Message-ID: From: n dhert To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: hal-0.5.14_7 to _8 upgrade problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 11:31:51 -0000 I have a problem with upgrading hal-0.5.14_7 to hal-0.5.14_8 how to solve this? --- cc -DHAVE_CONFIG_H -I. -I../../.. -DPACKAGE_SYSCONF_DIR=\""/usr/local/etc"\" -D PACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_BIN_DIR=\""/usr/local/bin"\" - DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -DPACKAGE_LOCALSTATEDIR=\""/va r"\" -I../../.. -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/incl ude -I/usr/local/include -O2 -pipe -fno-strict-aliasing -Wall -Wchar-subscrip ts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-c ompare -MT probe-hiddev.o -MD -MP -MF .deps/probe-hiddev.Tpo -c -o probe-hiddev. o probe-hiddev.c^M probe-hiddev.c: In function 'main':^M probe-hiddev.c:81: error: 'USB_GET_REPORT_ID' undeclared (first use in this func tion)^M probe-hiddev.c:81: error: (Each undeclared identifier is reported only once^M probe-hiddev.c:81: error: for each function it appears in.)^M gmake[5]: *** [probe-hiddev.o] Error 1^M gmake[5]: Leaving directory `/usr/ports/sysutils/hal/work/hal-0.5.14/hald/freebs d/probing'^M gmake[4]: *** [all-recursive] Error 1^M gmake[4]: Leaving directory `/usr/ports/sysutils/hal/work/hal-0.5.14/hald/freebs d'^M gmake[3]: *** [all-recursive] Error 1^M gmake[3]: Leaving directory `/usr/ports/sysutils/hal/work/hal-0.5.14/hald'^M gmake[2]: *** [all] Error 2^M gmake[2]: Leaving directory `/usr/ports/sysutils/hal/work/hal-0.5.14/hald'^M gmake[1]: *** [all-recursive] Error 1^M gmake[1]: Leaving directory `/usr/ports/sysutils/hal/work/hal-0.5.14'^M gmake: *** [all] Error 2^M *** Error code 1^M ^M Stop in /usr/ports/sysutils/hal.^M ---> Build of sysutils/hal ended at: Thu, 03 Jun 2010 00:09:33 +0200 (consumed 00:00:31) ---> Upgrade of sysutils/hal ended at: Thu, 03 Jun 2010 00:09:33 +0200 (consume d 00:00:31) From owner-freebsd-questions@FreeBSD.ORG Fri Jun 4 15:02:40 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2F0D106566B for ; Fri, 4 Jun 2010 15:02:40 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh2.interactivevillages.com (wh2.interactivevillages.com [75.125.250.34]) by mx1.freebsd.org (Postfix) with ESMTP id 8E8BB8FC28 for ; Fri, 4 Jun 2010 15:02:40 +0000 (UTC) Received: from 174-21-99-21.tukw.qwest.net ([174.21.99.21] helo=_HOSTNAME_) by wh2.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1OKYIz-0001D3-KV for freebsd-questions@freebsd.org; Fri, 04 Jun 2010 07:55:31 -0700 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Fri, 04 Jun 2010 08:02:34 -0700 Date: Fri, 4 Jun 2010 08:02:34 -0700 From: Chip Camden To: FreeBSD Questions Message-ID: <20100604150234.GA56195@libertas.local.camdensoftware.com> Mail-Followup-To: FreeBSD Questions Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh2.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com Subject: ncurses X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 15:02:40 -0000 Thanks to some help from Joel Dahl on the mutt-users list, I was able to restore correct color support in my mutt installation. But it raises a question about ncurses. It seems that building mutt with the devel/ncurses port installed creates the problem I was experiencing: most colors do not show up in mutt, and the line-drawing characters are borked. Deinstalling devel/ncurses and rebuilding mutt with the base version of ncurses solves the problem. However, x11/rxvt-unicode depends on devel/ncurses, so any time urxvt needs rebuilding we get devel/ncurses reinstalled. Any subsequent rebuild of mutt restores the original problem. Is there any way to sort this out? -- Sterling (Chip) Camden | camdensoftware.com | chipstips.com | chipsquips.com From owner-freebsd-questions@FreeBSD.ORG Fri Jun 4 16:01:48 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3CD78106566C for ; Fri, 4 Jun 2010 16:01:48 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh2.interactivevillages.com (wh2.interactivevillages.com [75.125.250.34]) by mx1.freebsd.org (Postfix) with ESMTP id 157638FC18 for ; Fri, 4 Jun 2010 16:01:47 +0000 (UTC) Received: from 174-21-99-21.tukw.qwest.net ([174.21.99.21] helo=_HOSTNAME_) by wh2.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1OKZED-0001jE-82 for freebsd-questions@freebsd.org; Fri, 04 Jun 2010 08:54:38 -0700 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Fri, 04 Jun 2010 09:01:42 -0700 Date: Fri, 4 Jun 2010 09:01:42 -0700 From: Chip Camden To: FreeBSD Questions Message-ID: <20100604160142.GC56195@libertas.local.camdensoftware.com> Mail-Followup-To: FreeBSD Questions References: <20100604150234.GA56195@libertas.local.camdensoftware.com> <20100604153054.GA11402@pamparam.teteny.elte.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100604153054.GA11402@pamparam.teteny.elte.hu> User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh2.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com Subject: Re: ncurses X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 16:01:48 -0000 On Jun 04 2010 17:30, sghctoma wrote: > not exactly a solution, rather a workaround, but you can build mutt > with s-lang (WITH_MUTT_SLANG=YES) instead of ncurses.. it works for > me.. Thanks for the tip. I'm not sure if I'll go that route, but I'm copying your response to the list for posterity's sake. -- Sterling (Chip) Camden | camdensoftware.com | chipstips.com | chipsquips.com From owner-freebsd-questions@FreeBSD.ORG Fri Jun 4 16:04:24 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2825F1065676 for ; Fri, 4 Jun 2010 16:04:24 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr2.xs4all.nl (smtp-vbr2.xs4all.nl [194.109.24.22]) by mx1.freebsd.org (Postfix) with ESMTP id A22D58FC17 for ; Fri, 4 Jun 2010 16:04:23 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr2.xs4all.nl (8.13.8/8.13.8) with ESMTP id o54G4HWC009787 for ; Fri, 4 Jun 2010 18:04:22 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id CF094BAAC; Fri, 4 Jun 2010 18:04:16 +0200 (CEST) Date: Fri, 4 Jun 2010 18:04:16 +0200 From: Roland Smith To: FreeBSD Questions Message-ID: <20100604160416.GB26412@slackbox.erewhon.net> References: <20100604150234.GA56195@libertas.local.camdensoftware.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EuxKj2iCbKjpUGkD" Content-Disposition: inline In-Reply-To: <20100604150234.GA56195@libertas.local.camdensoftware.com> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Subject: Re: ncurses X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 16:04:24 -0000 --EuxKj2iCbKjpUGkD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 04, 2010 at 08:02:34AM -0700, Chip Camden wrote: >=20 > It seems that building mutt with the devel/ncurses port installed creates > the problem I was experiencing: most colors do not show up in mutt, and > the line-drawing characters are borked. Deinstalling devel/ncurses and > rebuilding mutt with the base version of ncurses solves the problem. >=20 > However, x11/rxvt-unicode depends on devel/ncurses, so any time urxvt > needs rebuilding we get devel/ncurses reinstalled. Any subsequent rebuild > of mutt restores the original problem. >=20 > Is there any way to sort this out? You could build mutt with 'slang' support instead of ncurses. Put the following in /etc/make.conf: .if ${.CURDIR:M*/mail/mutt} WITH_MUTT_SLANG=3Dyes .endif OTOH, I'm using mutt-devel built with the system ncurses library (libncursesw.so.8) in an rxvt-unicode terminal window without problems. I do have 'LANG=3Den_US.UTF-8' and 'LC_ALL=3Den_US.UTF-8' set in my environment,= 'set charset=3D"utf-8"' in my ~/.muttrc and am using the 'Rxvt*font: -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1' font set in ~/.Xresources.=20 Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --EuxKj2iCbKjpUGkD Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwJJAAACgkQEnfvsMMhpyVmIACgg6RBQLl0jTDV9VFTKqDA7EWb MpkAnjJnN+Jj50vqiLDgNanAGzHPF+do =514j -----END PGP SIGNATURE----- --EuxKj2iCbKjpUGkD-- From owner-freebsd-questions@FreeBSD.ORG Fri Jun 4 16:07:50 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC4821065670 for ; Fri, 4 Jun 2010 16:07:50 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: from mail-yw0-f182.google.com (mail-yw0-f182.google.com [209.85.211.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8BC068FC1D for ; Fri, 4 Jun 2010 16:07:50 +0000 (UTC) Received: by ywh12 with SMTP id 12so719101ywh.14 for ; Fri, 04 Jun 2010 09:07:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=40qqd8P2NTvM9QM1KyjoOuxW3SWaR7Tx/yU0iIZl0O0=; b=xiSHwmZZZ0sPZcqXT6/Q4pEqtGbAUM+VOX0hQqvbWsBO37qY1WKfWW5+l0tLOqEWJ3 qTXwUwNlDBTrYLXr3f9FbXvYz5zosdBUYjhNaOG5tRvmaMzt8D+jm1PJTqkB5Rvj2Wxs DfF5O297Rjct03hfevP7Cyom+aWavA+CUcqJA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=qP6M/kP/WCK0sUJTeGuEJdQkKg5bmyk5FctiRRXikuTNxTrZbFo59stfRLk8ach88h l6Z/hL6S+ytkXahukNsodYdWVlihSvSIV2T3a8mIcHZDgJvcn36/yF+fhsszWh3fUNLM kSb3unceYXNMD7eBh11eMM5yYw0Mj/DmvZLYg= MIME-Version: 1.0 Received: by 10.231.187.3 with SMTP id cu3mr1426945ibb.75.1275667669077; Fri, 04 Jun 2010 09:07:49 -0700 (PDT) Received: by 10.231.168.2 with HTTP; Fri, 4 Jun 2010 09:07:48 -0700 (PDT) In-Reply-To: <4C08A39F.5@infracaninophile.co.uk> References: <4C08A39F.5@infracaninophile.co.uk> Date: Fri, 4 Jun 2010 09:07:48 -0700 Message-ID: From: Steve Franks To: Matthew Seaman Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: x11/xfce ssh-agent once per logon for minimal (no gnome/kde) installation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 16:07:50 -0000 On Thu, Jun 3, 2010 at 11:56 PM, Matthew Seaman wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 04/06/2010 24:39:46, Steve Franks wrote: >> I'm totally lost. =A0What I desire is to put in my passphrase for my >> public key(s) when I logon to my box. =A0Since I usually install from >> ports and use xfce, I have no infrastructure for this, and I'm getting >> nowhere fast. =A0My Fedora box popped up a nice little "enter >> passphrase" box the very first time I ssh'd to my server, and now it >> 'just works'. =A0My FreeBSD boxes (which are many - everything *but* the >> laptop with Fedora), 'just don't work'. =A0I've installed everything >> with 'ssh' =A0and either 'key' or 'agent' in the name from >> ports/security, and gone through the manpages, and tweaked countless >> environment variables, but every time I ssh on a FreeBSD box, it >> stubbornly locates the terminal I started any gui's from (i.e. meld + >> bzr), and asks for the passphrase a great many times daily. =A0Add that >> I've started my gui with meld& (so as to continue using said terminal >> - don't love 'panels', 'choosers', 'menus', etc - guis are for word >> processors and file managers, not desktops), I can't even type in the >> passphrase there. =A0I =A0generally like using FreeBSD caveman style, bu= t >> this is starting to drive me nuts. =A0No meld/bzr=3D=3Dno work from home= =3D=3Dno >> happiness ;) >> >> Anyone have a 'standard' / FreeBSD-friendly best-practices for this? >> I think I'm just cluttering up my system here. > > The problem you have is that you need to start ssh-agent(1) somewhere > very early in your login process, so that your entire desktop > environment can inherit all the necessary ssh-agent settings. > > Exactly what to do depends on how you get into X11. =A0If you run > startx(1) manually when you want to switch from console to X11 then you > need to edit your ~/.xinitrc > > Alternatively, if you use a display manager like xdm(1) -- ie. there's > an X based graphical login -- then you have two choices: edit your > ~/.xsession or tweak the pam configuration for your login manager. > > If you want to go the 'edit .xinitrc or .xsession' route then you need > to do basically the same thing for either of those two files. =A0They're > pretty much just scripts that start up the initial X applications for > your login session: practically speaking, that means starting up your > window manager. =A0It's possible you don't have either of those files > explicitly in your account: in either case the system will run a > standard default script if it can't find a user specific version. > > The .xinitrc or .xsession file should look something like this: > > #!/bin/sh > > # Import user environment settings > . ${HOME}/.profile > > eval $( ssh-agent -s ) > > # Eg. pop up an xterm so you can enter your ssh passphrase > xterm -geometry 80x24-91+0 -e /usr/bin/ssh-add -c ${HOME}/.ssh/id_rsa & > > # Note: no '&' -- this should run in the foreground > xfce > > eval $( ssh-agent -k ) > # > # That's All Folks! > # > > This is just a rough outline, which you should adapt to your own needs > - -- in particular there are nicer apps you can use for entering a > passphrase. =A0Also note that you can probably omit that bit from the > .xinitrc or .xsession and have your window manager run it. =A0In any case= , > the important bits are the two 'eval' lines bracketing the > window-manager startup. > > The other possibility -- which is only available if you are using a > display manager like xdm(1) -- is tweaking the pam settings. =A0For xdm, > edit the file /etc/pam.d/xdm and uncomment the two lines mentioning > pam_ssh. =A0Now you will be able to log into your system via xdm using > your ssh passphrase, and xdm will start up ssh-agent for your session > and add your key to it. =A0Different display managers will have their own > pam.d files (either in /etc/pam.d or in /usr/local/etc/pam.d) but you > should be able to make equivalent changes there -- either uncomment or > add pam_ssh lines in the auth or session sections. > > =A0 =A0 =A0 =A0Cheers, > > =A0 =A0 =A0 =A0Matthew > > - -- > Dr Matthew J Seaman MA, D.Phil. =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 7 Pri= ory Courtyard > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0Flat 3 > PGP: http://www.infracaninophile.co.uk/pgpkey =A0 =A0 Ramsgate > JID: matthew@infracaninophile.co.uk =A0 =A0 =A0 =A0 =A0 =A0 =A0 Kent, CT1= 1 9PW > -----BEGIN PGP SIGNATURE----- > Version: GnuPG/MacGPG2 v2.0.14 (Darwin) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAkwIo58ACgkQ8Mjk52CukIxm/ACgjwPTgJjq8YjN/e1uwD9be2xj > vBcAoIQ8aP+1pyV/050ooHCr9yUFjuXh > =3DS7kV > -----END PGP SIGNATURE----- > Ah, sometimes you're just a command away! I'm surprised I couldn't google this (too many ssh examples, all the x11+agent ones must be hidden). So for posterity, this is the relevant portion of .xinitrc file: ... export SSH_ASKPASS=3D/usr/local/bin/x11-ssh-askpass ;export SSH_ASKPASS eval $( ssh-agent -s ) ssh-add & xfce4-session eval $( ssh-agent -k ) .... I was using "exec xfce4-session" as in most of the examples for .xinitrc files, which seemed to be mucking things up - ditching the exec was one of the key steps on my system. Now, when I login, xfce starts normally, and concurrently, a nice little window pops up asking for my passphrase for my keys! Now I can ssh (and bzr) with impunity. Thanks! Steve From owner-freebsd-questions@FreeBSD.ORG Fri Jun 4 17:07:58 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A5DA9106567B for ; Fri, 4 Jun 2010 17:07:58 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1B78A8FC1D for ; Fri, 4 Jun 2010 17:07:57 +0000 (UTC) Received: by iwn5 with SMTP id 5so1567190iwn.13 for ; Fri, 04 Jun 2010 10:07:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=Y37cLyeEFNs0c/SL70ibMCffvLeEB5lRNAYSKZKmtcg=; b=m+gLUMEbR5eurZqsfN1pWnAllAyv84innCfLp4NNUnDf/b0sfgYkL3NXMF2H9zXjY2 bW2fnhksJ7DtI4WZs670iTYoqNbdr0BcQGomgapZhtq3f9avtHoru4OWm2L2Dk32JA3C 9tv51p6fNWMan7l1nh0hFWa2QnkJup9uALdFI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=YW6TvvXkyiXHU9nxqV1SmiM3E/aib6l9ys/Vwk+BAAbf121K5qIF7Hqng/tDhnT4Rc MeDQCu/hh2Y8I8NDqnVFbHpxFNXmhFskHhLtvzNrPLGU0ClmGNoXKBylwsFTVT/xk/pH kGyAXxaZP7H37oBb2TCQkjhtTm/pxfEPXMh5M= MIME-Version: 1.0 Received: by 10.231.157.17 with SMTP id z17mr1106936ibw.124.1275671270766; Fri, 04 Jun 2010 10:07:50 -0700 (PDT) Received: by 10.231.168.2 with HTTP; Fri, 4 Jun 2010 10:07:50 -0700 (PDT) In-Reply-To: References: <4C08A39F.5@infracaninophile.co.uk> Date: Fri, 4 Jun 2010 10:07:50 -0700 Message-ID: From: Steve Franks To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: x11/xfce ssh-agent once per logon for minimal (no gnome/kde) installation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 17:07:58 -0000 On Fri, Jun 4, 2010 at 9:07 AM, Steve Franks wrot= e: > On Thu, Jun 3, 2010 at 11:56 PM, Matthew Seaman > wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> On 04/06/2010 24:39:46, Steve Franks wrote: >>> I'm totally lost. =A0What I desire is to put in my passphrase for my >>> public key(s) when I logon to my box. =A0Since I usually install from >>> ports and use xfce, I have no infrastructure for this, and I'm getting >>> nowhere fast. =A0My Fedora box popped up a nice little "enter >>> passphrase" box the very first time I ssh'd to my server, and now it >>> 'just works'. =A0My FreeBSD boxes (which are many - everything *but* th= e >>> laptop with Fedora), 'just don't work'. =A0I've installed everything >>> with 'ssh' =A0and either 'key' or 'agent' in the name from >>> ports/security, and gone through the manpages, and tweaked countless >>> environment variables, but every time I ssh on a FreeBSD box, it >>> stubbornly locates the terminal I started any gui's from (i.e. meld + >>> bzr), and asks for the passphrase a great many times daily. =A0Add that >>> I've started my gui with meld& (so as to continue using said terminal >>> - don't love 'panels', 'choosers', 'menus', etc - guis are for word >>> processors and file managers, not desktops), I can't even type in the >>> passphrase there. =A0I =A0generally like using FreeBSD caveman style, b= ut >>> this is starting to drive me nuts. =A0No meld/bzr=3D=3Dno work from hom= e=3D=3Dno >>> happiness ;) >>> >>> Anyone have a 'standard' / FreeBSD-friendly best-practices for this? >>> I think I'm just cluttering up my system here. >> >> The problem you have is that you need to start ssh-agent(1) somewhere >> very early in your login process, so that your entire desktop >> environment can inherit all the necessary ssh-agent settings. >> >> Exactly what to do depends on how you get into X11. =A0If you run >> startx(1) manually when you want to switch from console to X11 then you >> need to edit your ~/.xinitrc >> >> Alternatively, if you use a display manager like xdm(1) -- ie. there's >> an X based graphical login -- then you have two choices: edit your >> ~/.xsession or tweak the pam configuration for your login manager. >> >> If you want to go the 'edit .xinitrc or .xsession' route then you need >> to do basically the same thing for either of those two files. =A0They're >> pretty much just scripts that start up the initial X applications for >> your login session: practically speaking, that means starting up your >> window manager. =A0It's possible you don't have either of those files >> explicitly in your account: in either case the system will run a >> standard default script if it can't find a user specific version. >> >> The .xinitrc or .xsession file should look something like this: >> >> #!/bin/sh >> >> # Import user environment settings >> . ${HOME}/.profile >> >> eval $( ssh-agent -s ) >> >> # Eg. pop up an xterm so you can enter your ssh passphrase >> xterm -geometry 80x24-91+0 -e /usr/bin/ssh-add -c ${HOME}/.ssh/id_rsa & >> >> # Note: no '&' -- this should run in the foreground >> xfce >> >> eval $( ssh-agent -k ) >> # >> # That's All Folks! >> # >> >> This is just a rough outline, which you should adapt to your own needs >> - -- in particular there are nicer apps you can use for entering a >> passphrase. =A0Also note that you can probably omit that bit from the >> .xinitrc or .xsession and have your window manager run it. =A0In any cas= e, >> the important bits are the two 'eval' lines bracketing the >> window-manager startup. >> >> The other possibility -- which is only available if you are using a >> display manager like xdm(1) -- is tweaking the pam settings. =A0For xdm, >> edit the file /etc/pam.d/xdm and uncomment the two lines mentioning >> pam_ssh. =A0Now you will be able to log into your system via xdm using >> your ssh passphrase, and xdm will start up ssh-agent for your session >> and add your key to it. =A0Different display managers will have their ow= n >> pam.d files (either in /etc/pam.d or in /usr/local/etc/pam.d) but you >> should be able to make equivalent changes there -- either uncomment or >> add pam_ssh lines in the auth or session sections. >> >> =A0 =A0 =A0 =A0Cheers, >> >> =A0 =A0 =A0 =A0Matthew >> >> - -- >> Dr Matthew J Seaman MA, D.Phil. =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 7 Pr= iory Courtyard >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0Flat 3 >> PGP: http://www.infracaninophile.co.uk/pgpkey =A0 =A0 Ramsgate >> JID: matthew@infracaninophile.co.uk =A0 =A0 =A0 =A0 =A0 =A0 =A0 Kent, CT= 11 9PW >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG/MacGPG2 v2.0.14 (Darwin) >> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ >> >> iEYEARECAAYFAkwIo58ACgkQ8Mjk52CukIxm/ACgjwPTgJjq8YjN/e1uwD9be2xj >> vBcAoIQ8aP+1pyV/050ooHCr9yUFjuXh >> =3DS7kV >> -----END PGP SIGNATURE----- >> > > > Ah, sometimes you're just a command away! =A0I'm surprised I couldn't > google this (too many ssh examples, all the x11+agent ones must be > hidden). > > So for posterity, this is the relevant portion of .xinitrc file: > ... > export SSH_ASKPASS=3D/usr/local/bin/x11-ssh-askpass ;export SSH_ASKPASS > eval $( ssh-agent -s ) > ssh-add & > xfce4-session > eval $( ssh-agent -k ) > .... > > I was using "exec xfce4-session" as in most of the examples for > .xinitrc files, which seemed to be mucking things up - ditching the > exec was one of the key steps on my system. > > Now, when I login, xfce starts normally, and concurrently, a nice > little window pops up asking for my passphrase for my keys! =A0Now I can > ssh (and bzr) with impunity. > > Thanks! > Steve > Oh, and if anyone needs a servicable reference to generating & installing keys, I found this one handy: http://sshkeychain.sourceforge.net/mirrors/SSH-with-Keys-HOWTO/SSH-with-Key= s-HOWTO-4.html Steve From owner-freebsd-questions@FreeBSD.ORG Fri Jun 4 17:39:41 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F9C0106564A for ; Fri, 4 Jun 2010 17:39:41 +0000 (UTC) (envelope-from clarkp@mtmary.edu) Received: from smtp.mtmary.edu (famine.mtmary.edu [74.62.87.83]) by mx1.freebsd.org (Postfix) with ESMTP id E5CAC8FC19 for ; Fri, 4 Jun 2010 17:39:40 +0000 (UTC) Received: from [10.100.1.36] (war.mtmary.edu [172.16.0.200]) by smtp.mtmary.edu (Postfix) with ESMTP id CA0291704B for ; Fri, 4 Jun 2010 12:39:39 -0500 (CDT) Message-ID: <4C093A5B.4040705@mtmary.edu> Date: Fri, 04 Jun 2010 12:39:39 -0500 From: Peter Clark User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Subject: Some GMirror questions. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 17:39:41 -0000 Hello All, There are a number of gmirror resources available online but there are a few discrepancies. I thought someone here might be able to shed some light on them. Also, this is on FreeBSD 8.0 RELEASE. Does creating the mirror need to be done from a Livefs CD (in Fixit mode) or can it be done directly from the OS? The Handbook makes no reference to things like: # Install FreeBSD on to ad0. # Reboot with the Install CD. # Enter Fixit mode. chroot /dist mount -t devfs devfs /dev gmirror load gmirror label -v -b round-robin gm0 /dev/ad0 mount /dev/mirror/gm0s1a /mnt echo geom_mirror_load="YES" >> /mnt/boot/loader.conf It just indicates jumping right in with gmirror label from the OS (at least it seems to). Also, these next 2 entries in /etc/rc.conf. The Handbook does not make any mention of them. The way the authors state their purpose it would seem as though that should be done in all cases of disk mirroring. Is that true? # tell the system that the swap file will be on a mirror, not a raw drive. echo ’swapoff=”YES”‘ >> /mnt/etc/rc.conf # need to do this to make dumping cores happy since it won’t use a gmirror’ed drive dumpdev=”NO” Lastly, I know at one point the 'load' algorithm had some performance problems and people were saying to only use 'round-robin'. It seems as though some code was committed back in Dec 2009 to fix it's this. Is there a practical rule of thumb to using 'load' vs 'round-robin'? Is this an accurate way to look at it? "Round-robin because if you have two disks in a mirror, they’re both under the same 'load' constraints, and it is best to KISS." Cheers, Peter From owner-freebsd-questions@FreeBSD.ORG Fri Jun 4 17:50:51 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4D3101065678 for ; Fri, 4 Jun 2010 17:50:51 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh2.interactivevillages.com (wh2.interactivevillages.com [75.125.250.34]) by mx1.freebsd.org (Postfix) with ESMTP id 1AA518FC1B for ; Fri, 4 Jun 2010 17:50:50 +0000 (UTC) Received: from 174-21-99-21.tukw.qwest.net ([174.21.99.21] helo=_HOSTNAME_) by wh2.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1OKavj-0006ab-7S for freebsd-questions@freebsd.org; Fri, 04 Jun 2010 10:43:41 -0700 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Fri, 04 Jun 2010 10:50:44 -0700 Date: Fri, 4 Jun 2010 10:50:44 -0700 From: Chip Camden To: FreeBSD Questions Message-ID: <20100604175044.GA31450@libertas.local.camdensoftware.com> Mail-Followup-To: FreeBSD Questions Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh2.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com Subject: [sterling@camdensoftware.com: Re: ncurses] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 17:50:51 -0000 On Jun 04 2010 19:24, Roland Smith wrote: > On Fri, Jun 04, 2010 at 10:12:12AM -0700, Chip Camden wrote: > > > > Thanks for all the info, but i get the same results in mutt-devel as I do > > in mutt. WITH_MUTT_SLANG didn't seem to take either. > > > > Is there a way to specify that mutt should use the system ncurses instead > > of devel/ncurses? > > Looking at the port's Makefile, it depends on the system ncurses library if > neither WITH_SLANG nor WITH_NCURSES_PORT is set. But it could still link to > the port's library if that is first in the link path. > > If you build rxvt-unicode with the TERMINFO option switched OFF, urxvt-unicode > does not depend on devel/ncurses. If you then de-install devel/ncurses and > recompile mutt, it must use the system library. > > But in my experience, using a wrong font, or setting the wrong LANG or LC_ALL > in the environment is more likely to screw things up. > > Roland > -- > R.F.Smith http://www.xs4all.nl/~rsmith/ > [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] > pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) Thank you -- I should have read the Makefile myself. It was WITH_SLANG, not WITH_MUTT_SLANG. That solves the problem, and has the added benefit of being able to use my default text color (SpringGreen) instead of having to stick to the 8 normal colors. I thought that might have also opened up urxvt's 256-color support, but mutt still thinks I have only 8 colors. At least I can default to my urxvt settings for normal text, though. Thanks again for your help! -- Sterling (Chip) Camden | camdensoftware.com | chipstips.com | chipsquips.com From owner-freebsd-questions@FreeBSD.ORG Fri Jun 4 18:13:28 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D8851065674 for ; Fri, 4 Jun 2010 18:13:28 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (ns2.r-bonomi.com [204.87.227.129]) by mx1.freebsd.org (Postfix) with ESMTP id 2F4708FC1C for ; Fri, 4 Jun 2010 18:13:27 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.3/rdb1) id o54ICwto011675; Fri, 4 Jun 2010 13:12:58 -0500 (CDT) Date: Fri, 4 Jun 2010 13:12:58 -0500 (CDT) From: Robert Bonomi Message-Id: <201006041812.o54ICwto011675@mail.r-bonomi.com> To: aiza21@comclark.com, questions@freebsd.org Cc: Subject: Re: .sh & getopts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 18:13:28 -0000 m > From owner-freebsd-questions@freebsd.org Thu Jun 3 23:36:28 2010 > Date: Fri, 04 Jun 2010 12:35:56 +0800 > From: Aiza > To: "questions@freebsd.org" > Cc: > Subject: .sh & getopts > > Have this code > > shift; while getopts :ugr: arg; do case ${arg} in > u) action="freebsd-update";; > g) action="freebsd-upgrade";; > r) action="freebsd-rollback";; > ?) exerr ${cmd_usage};; > esac; done; shift $(( ${OPTION} -1 )) > > > Command being executed looks like this, cmd action -flags aaaa bbbb > > Only a single -flag in allowed on the command. > > $# gives a count of parms ie: aaaa bbbb. in this example a count of 2. > > I am looking for something to check that holds the number of flags on > the command. so I can code. if flag_count gt 1 = error > > Is there such a thing created by getopts? Why bother?? flag_count=0 shift; while getopts :ugr: arg if flag_count = 1; then exerr ${cmd_usage} fi flag_count=1; do case ${arg} in {{blah-blah}} From owner-freebsd-questions@FreeBSD.ORG Fri Jun 4 18:18:07 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5E2BA106566C for ; Fri, 4 Jun 2010 18:18:07 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail8.sea5.speakeasy.net (mail8.sea5.speakeasy.net [69.17.117.53]) by mx1.freebsd.org (Postfix) with ESMTP id 229D58FC19 for ; Fri, 4 Jun 2010 18:18:06 +0000 (UTC) Received: (qmail 6692 invoked from network); 4 Jun 2010 18:18:05 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail8.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 4 Jun 2010 18:18:05 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 35E9D50831; Fri, 4 Jun 2010 14:18:03 -0400 (EDT) From: Lowell Gilbert To: Fbsd1 References: <4C08B16A.4040406@a1poweruser.com> Date: Fri, 04 Jun 2010 14:18:03 -0400 In-Reply-To: <4C08B16A.4040406@a1poweruser.com> (fbsd1@a1poweruser.com's message of "Fri, 04 Jun 2010 15:55:22 +0800") Message-ID: <441vcm8xwk.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "questions@freebsd.org" Subject: Re: portsnap refuse X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "questions@freebsd.org" List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 18:18:07 -0000 Fbsd1 writes: > The postsnap says adding refuse statements to select the parts of the > port tree you have use for will shorten the download process and > conserve disk space on your host. That only the port categories not > REFUSED will be selected and compressed for download. You are paraphrasing here. I'm not clear whether your paraphrase is accurate. It's certainly making some assumptions that are not explicitly laid out in the manual page. > Well for a test I ran portsnap with out any portsnap.conf file. The > download process took 16 minuets. The I mv portsnap.conf.sample to > portsnap.conf and added REFUSE for all the categories except > sysutils. > > Reran the portsnap and still it took 16 minuets. > > What gives here?? You could check whether the REFUSEd parts are getting updated after all, then you could check whether they're in the downloaded snapshot. My tech support crystal ball predicts that you will find your REFUSE entries aren't really matching. Could be wrong, but at least the tests I suggested would point you in the right direction if it's right. From owner-freebsd-questions@FreeBSD.ORG Fri Jun 4 18:20:53 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9CEF71065676 for ; Fri, 4 Jun 2010 18:20:53 +0000 (UTC) (envelope-from ross.penner@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 676018FC14 for ; Fri, 4 Jun 2010 18:20:53 +0000 (UTC) Received: by iwn5 with SMTP id 5so1661952iwn.13 for ; Fri, 04 Jun 2010 11:20:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=kCYhmchglRSY3vAjlrqMZj+wdT8X7qIKBRnnA0XqxGU=; b=b+7jT27wS9LbA9tomaHdr/+2JTCHLyFUv7sxaC56EGiYTZ9+FUmyuCitzACkxdT9Fo S36/rFuPH7rV1xt22ZLBDJhpPXBPEupbltdCbi441OcsKdbIc95Ut4912OT70gUJ9SKo KAiy6qtv8aVcg1UEZ/TMdUPojHxIt90e2YEIc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=NDB9ieP+ru0dakyzwCqMnhZrbpmrMy6jPIgWzOba8kKuE9B1qrUIguQkRoD9Iyv5d2 H70VlpEmaGh0a8EI6g21gITiqprpGYokN2R0xUVMutymjIg2il7lVyJT/dcREKHVMO0I dCwbW1RWe4lIVduU8vzxBq+PKp7PDuoTimErs= Received: by 10.231.147.143 with SMTP id l15mr1413473ibv.9.1275675652730; Fri, 04 Jun 2010 11:20:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.36.1 with HTTP; Fri, 4 Jun 2010 11:20:32 -0700 (PDT) From: Ross Penner Date: Fri, 4 Jun 2010 11:20:32 -0700 Message-ID: To: User questions Content-Type: text/plain; charset=ISO-8859-1 Subject: Alternate method for fetching source X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 18:20:53 -0000 I'm trying to update my system and when I run cvsup, the connection repeatedly has problems (TreeList failed: Network write failure: Connection closed). I'm wondering if anybody can suggest any other method to grab the current source files? Thanks for any ideas From owner-freebsd-questions@FreeBSD.ORG Fri Jun 4 18:23:07 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 978F6106566C for ; Fri, 4 Jun 2010 18:23:07 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail1.sea5.speakeasy.net (mail1.sea5.speakeasy.net [69.17.117.39]) by mx1.freebsd.org (Postfix) with ESMTP id 7021C8FC12 for ; Fri, 4 Jun 2010 18:23:07 +0000 (UTC) Received: (qmail 31694 invoked from network); 4 Jun 2010 18:23:06 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail1.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 4 Jun 2010 18:23:06 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 5047F50831; Fri, 4 Jun 2010 14:23:05 -0400 (EDT) From: Lowell Gilbert To: n dhert References: Date: Fri, 04 Jun 2010 14:23:05 -0400 In-Reply-To: (n. dhert's message of "Fri, 4 Jun 2010 13:31:48 +0200") Message-ID: <44wrue7j3q.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: hal-0.5.14_7 to _8 upgrade problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 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, 04 Jun 2010 18:23:07 -0000 n dhert writes: > I have a problem with upgrading hal-0.5.14_7 to hal-0.5.14_8 > > how to solve this? > --- > cc -DHAVE_CONFIG_H -I. -I../../.. > -DPACKAGE_SYSCONF_DIR=\""/usr/local/etc"\" -D > PACKAGE_DATA_DIR=\""/usr/local/share"\" > -DPACKAGE_BIN_DIR=\""/usr/local/bin"\" - > DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" > -DPACKAGE_LOCALSTATEDIR=\""/va > r"\" -I../../.. -I/usr/local/include/dbus-1.0 > -I/usr/local/include/dbus-1.0/incl > ude -I/usr/local/include -O2 -pipe -fno-strict-aliasing -Wall > -Wchar-subscrip > ts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align > -Wsign-c > ompare -MT probe-hiddev.o -MD -MP -MF .deps/probe-hiddev.Tpo -c -o > probe-hiddev. > o probe-hiddev.c^M > probe-hiddev.c: In function 'main':^M > probe-hiddev.c:81: error: 'USB_GET_REPORT_ID' undeclared (first use in this > func > tion)^M > probe-hiddev.c:81: error: (Each undeclared identifier is reported only > once^M > probe-hiddev.c:81: error: for each function it appears in.)^M > gmake[5]: *** [probe-hiddev.o] Error 1^M > gmake[5]: Leaving directory > `/usr/ports/sysutils/hal/work/hal-0.5.14/hald/freebs > d/probing'^M > gmake[4]: *** [all-recursive] Error 1^M > gmake[4]: Leaving directory > `/usr/ports/sysutils/hal/work/hal-0.5.14/hald/freebs > d'^M > gmake[3]: *** [all-recursive] Error 1^M > gmake[3]: Leaving directory `/usr/ports/sysutils/hal/work/hal-0.5.14/hald'^M > gmake[2]: *** [all] Error 2^M > gmake[2]: Leaving directory `/usr/ports/sysutils/hal/work/hal-0.5.14/hald'^M > gmake[1]: *** [all-recursive] Error 1^M > gmake[1]: Leaving directory `/usr/ports/sysutils/hal/work/hal-0.5.14'^M > gmake: *** [all] Error 2^M > *** Error code 1^M > ^M > Stop in /usr/ports/sysutils/hal.^M > ---> Build of sysutils/hal ended at: Thu, 03 Jun 2010 00:09:33 +0200 > (consumed > 00:00:31) > ---> Upgrade of sysutils/hal ended at: Thu, 03 Jun 2010 00:09:33 +0200 > (consume > d 00:00:31) USB_GET_REPORT_ID should be getting picked up from /usr/include/dev/usb/usb_ioctl.h these days. Have you still got libusb (or some of its includes) installed on a system recent enough to have it in the base system? From owner-freebsd-questions@FreeBSD.ORG Fri Jun 4 18:39:26 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A3C2D1065686 for ; Fri, 4 Jun 2010 18:39:26 +0000 (UTC) (envelope-from vince@unsane.co.uk) Received: from unsane.co.uk (unsane-pt.tunnel.tserv5.lon1.ipv6.he.net [IPv6:2001:470:1f08:110::2]) by mx1.freebsd.org (Postfix) with ESMTP id 0D8778FC16 for ; Fri, 4 Jun 2010 18:39:25 +0000 (UTC) Received: from vhoffman-macbook.local ([10.0.0.173]) (authenticated bits=0) by unsane.co.uk (8.14.4/8.14.4) with ESMTP id o54IdOBM035806 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Fri, 4 Jun 2010 19:39:24 +0100 (BST) (envelope-from vince@unsane.co.uk) Message-ID: <4C09485C.2030902@unsane.co.uk> Date: Fri, 04 Jun 2010 19:39:24 +0100 From: Vincent Hoffman User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: Ross Penner References: In-Reply-To: X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: User questions Subject: Re: Alternate method for fetching source X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 18:39:26 -0000 On 04/06/2010 19:20, Ross Penner wrote: > I'm trying to update my system and when I run cvsup, the connection > repeatedly has problems (TreeList failed: Network write failure: > Connection closed). I'm wondering if anybody can suggest any other > method to grab the current source files? > svn works (http://wiki.freebsd.org/SubversionPrimer) or if you are ok not to have the absolute bleeding edge http://pub.allbsd.org/FreeBSD-snapshots/ has a daily -CURRENT snapshot (including source) Vince > Thanks for any ideas > _______________________________________________ > 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 Jun 4 18:56:04 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 37C90106566B for ; Fri, 4 Jun 2010 18:56:04 +0000 (UTC) (envelope-from miklosovic.freebsd@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id BC6278FC12 for ; Fri, 4 Jun 2010 18:56:03 +0000 (UTC) Received: by fxm20 with SMTP id 20so954015fxm.13 for ; Fri, 04 Jun 2010 11:56:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=C/oBOLFn6g5Hy3Ow9b63bYi2pIcXn7CPxxaF7GdRlz0=; b=wvP+ryYbpgHU1emWJFMPIxigq+uf2nDTzUwYch5KpYO6SLULnALtPzNqFYlTQU16nM sGsX+dadpd5IQcO7SwNthiZVzkUHkS2JshGW98F+W04CU1a7j36z0xpHBxtKugHu4U+i JI8UiYPNeZsI01bfICzlxFiEMDPNh3iNc6W+s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=ugIgy8/wSYF8oEQN6XrgWMQ/ke3vee0oVn5Rq6RNi8/dnGc7opEbwH45BS2O4VDnp1 Vh06HAqwP2sKxhCIXBQB6eUx6qZwXRceOFXbNGsj5OlzRBtMO9itY50yVpfZKWXBiRwL 7jSVOil6/2tMMsGTvSdkYJnxcgolkooB1+L8A= MIME-Version: 1.0 Received: by 10.103.80.1 with SMTP id h1mr3912035mul.120.1275677762593; Fri, 04 Jun 2010 11:56:02 -0700 (PDT) Received: by 10.103.172.11 with HTTP; Fri, 4 Jun 2010 11:56:02 -0700 (PDT) Date: Fri, 4 Jun 2010 20:56:02 +0200 Message-ID: From: Stefan Miklosovic To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1 Subject: bash instead of csh (completely) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 18:56:04 -0000 Hi list, title says it, i would like completely remove csh and install bash instead. As far I know, csh is build in system, could I remove it manually and install bash (of course, in reverse order :D) Are there such dependencies on csh? I know that real system scripting is done via /bin/sh co absence of csh shell should not break system. Am I wrong ? Thank you for reply Have a nice day From owner-freebsd-questions@FreeBSD.ORG Fri Jun 4 18:59:32 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A0D7106564A for ; Fri, 4 Jun 2010 18:59:32 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.157]) by mx1.freebsd.org (Postfix) with ESMTP id AB6DE8FC0C for ; Fri, 4 Jun 2010 18:59:31 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id d23so631535fga.13 for ; Fri, 04 Jun 2010 11:59:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:received :reply-to:in-reply-to:references:date:message-id:subject:from:to:cc :content-type; bh=WHK9BYIC8XUsafs2Yr4xvknuwVh2rT3DhejJ5K2T41w=; b=oKqVQtdbiJ0IiC6roBacTUzaouKjO3SqA+eMg3Za0dUhZBP/rWbtnffp+jfASRp2XG egumryfnAMbsUZUCTGm5jyxTHMICHmmsY4ZjH00+LbFzRT2vgr2g6Njyjx5TMip2onEz iTefv5SfCHLVwrGQT8fYziYEOG4yVoLRAw1OI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; b=CstguaSBODxBIfIuGFYManZvIRWn0DlpS48bByjCdHR5sSXEI9ew8+b0grafQJUEQ0 qv7/00tUeSHsgYvHgJvo7xTBtZNwlpA1GdaNsjLGhCZ2NA89MolXyQqiYzvNt6cKjctd Ydt71ZrSJwwmcYBn4rNdb6u8pznmzGLwJqLuY= MIME-Version: 1.0 Received: by 10.204.46.223 with SMTP id k31mr4270351bkf.148.1275677970556; Fri, 04 Jun 2010 11:59:30 -0700 (PDT) Received: by 10.204.54.211 with HTTP; Fri, 4 Jun 2010 11:59:30 -0700 (PDT) Received: by 10.204.54.211 with HTTP; Fri, 4 Jun 2010 11:59:30 -0700 (PDT) In-Reply-To: References: Date: Fri, 4 Jun 2010 19:59:30 +0100 Message-ID: From: Chris Rees To: Stefan Miklosovic Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions Subject: Re: bash instead of csh (completely) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: utisoft@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 18:59:32 -0000 Why would you want to do that? On 4 Jun 2010 19:57, "Stefan Miklosovic" wrote: Hi list, title says it, i would like completely remove csh and install bash instead. As far I know, csh is build in system, could I remove it manually and install bash (of course, in reverse order :D) Are there such dependencies on csh? I know that real system scripting is done via /bin/sh co absence of csh shell should not break system. Am I wrong ? Thank you for reply Have a nice day _______________________________________________ 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 Jun 4 19:02:07 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CCBC6106570E for ; Fri, 4 Jun 2010 19:02:07 +0000 (UTC) (envelope-from lars@larseighner.com) Received: from mail.team1internet.com (mail.team1internet.com [216.110.13.10]) by mx1.freebsd.org (Postfix) with ESMTP id A484B8FC08 for ; Fri, 4 Jun 2010 19:02:07 +0000 (UTC) Received: by mail.team1internet.com (Postfix, from userid 12346) id E54CB16B540; Fri, 4 Jun 2010 14:02:06 -0500 (CDT) Received: from larseighner.com (unknown [216.110.13.95]) by mail.team1internet.com (Postfix) with SMTP id 3B9EB16B51B; Fri, 4 Jun 2010 14:02:05 -0500 (CDT) Received: by larseighner.com (nbSMTP-1.00) for uid 1001 lars@larseighner.com; Fri, 4 Jun 2010 13:59:36 -0500 (CDT) Date: Fri, 4 Jun 2010 13:59:33 -0500 (CDT) From: Lars Eighner X-X-Sender: lars@debranded.6dollardialup.com To: Ross Penner In-Reply-To: Message-ID: <20100604132906.G78595@qroenaqrq.6qbyyneqvnyhc.pbz> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Sanitizer: Anomy and SpamAssassin mail filter - see http://www.6dollardialup.com/support/spaminfo.html Cc: User questions Subject: Re: Alternate method for fetching source X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 19:02:07 -0000 On Fri, 4 Jun 2010, Ross Penner wrote: > I'm trying to update my system and when I run cvsup, the connection > repeatedly has problems (TreeList failed: Network write failure: > Connection closed). I'm wondering if anybody can suggest any other > method to grab the current source files? You are talking about the system source, not the ports, right? Actually, the advice is not much different. In either case, cvsup does not always work very well for big upgrades (such as across major version numbers) and also (though it theoretically should) doesn't work well creating a source tree from scratch. If you install source (or ports) from the most recent release below your taget before, cvsup is much less likely to crack under pressure. Also, consider changing your mirror. Network conditions may be better for you with some mirrors than with others. And finally, make sure cvsup is up-to-date with your current system. It's in ports/net . (Of course backup what you have before trying any of this.) You may get a more specific response if you include uname -a for your current system and the tags you are trying to use with cvsup. -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 From owner-freebsd-questions@FreeBSD.ORG Fri Jun 4 19:56:39 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A6FF106564A for ; Fri, 4 Jun 2010 19:56:39 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 386B48FC0A for ; Fri, 4 Jun 2010 19:56:38 +0000 (UTC) Received: from r55.edvax.de (port-92-195-108-152.dynamic.qsc.de [92.195.108.152]) by mx01.qsc.de (Postfix) with ESMTP id AF4493D939; Fri, 4 Jun 2010 21:56:33 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o54JuWBn002347; Fri, 4 Jun 2010 21:56:33 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 4 Jun 2010 21:56:32 +0200 From: Polytropon To: Stefan Miklosovic Message-Id: <20100604215632.22803bc9.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions Subject: Re: bash instead of csh (completely) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 19:56:39 -0000 On Fri, 4 Jun 2010 20:56:02 +0200, Stefan Miklosovic wrote: > Hi list, > > title says it, i would like completely remove csh and install bash > instead. As far I know, csh is build in system, could I remove it > manually and install bash (of course, in reverse order :D) > > Are there such dependencies on csh? I know that real system scripting > is done via /bin/sh > co absence of csh shell should not break system. > > Am I wrong ? Hmmm... first of all, you know that there are some things you have to take into mind when installing bash into the OS (e. g. attention to use statical linking, and placing it into /bin). Keep in mind that FreeBSD defaults to csh as the default dialog shell in many places (e. g. /usr/share/skel), but you can also modify those references to point to bash instead. I don't know why you want to remove csh from the system (instead of just not using it), but in my opinion - without any experience or testing - it sounds possible. You can easily build a minimal system, install bash as mentioned before, and then remove the csh binary. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri Jun 4 19:56:45 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A5B97106566C for ; Fri, 4 Jun 2010 19:56:45 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 695648FC16 for ; Fri, 4 Jun 2010 19:56:45 +0000 (UTC) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id o54JrcS9060560; Fri, 4 Jun 2010 15:53:38 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id o54JrcDS060559; Fri, 4 Jun 2010 15:53:38 -0400 (EDT) (envelope-from jerrymc) Date: Fri, 4 Jun 2010 15:53:38 -0400 From: Jerry McAllister To: Stefan Miklosovic Message-ID: <20100604195338.GA60513@gizmo.acns.msu.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions Subject: Re: bash instead of csh (completely) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 19:56:45 -0000 On Fri, Jun 04, 2010 at 08:56:02PM +0200, Stefan Miklosovic wrote: > Hi list, > > title says it, i would like completely remove csh and install bash > instead. As far I know, csh is build in system, could I remove it > manually and install bash (of course, in reverse order :D) If you are made about that, then just change your shell in the /etc/passwd file to /usr/local/bin/bash and you will have bash as your shell. There is no particular reason to do so, but you can if you want. Actually, the csh on FreeBSD is now tcsh and has most of the cute features added that some people think they have to use bash for. Of course, the syntax for commands is still csh style. > > Are there such dependencies on csh? I know that real system scripting > is done via /bin/sh > co absence of csh shell should not break system. You do not want to make bash be the default shell for root. It should be left as /bin/sh ////jerry > > Am I wrong ? > > Thank you for reply > > Have a nice day > _______________________________________________ > 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 Jun 4 20:01:37 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D072F1065672 for ; Fri, 4 Jun 2010 20:01:37 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from mail-ew0-f209.google.com (mail-ew0-f209.google.com [209.85.219.209]) by mx1.freebsd.org (Postfix) with ESMTP id 6D7568FC08 for ; Fri, 4 Jun 2010 20:01:37 +0000 (UTC) Received: by ewy1 with SMTP id 1so113568ewy.33 for ; Fri, 04 Jun 2010 13:01:36 -0700 (PDT) MIME-Version: 1.0 Received: by 10.213.22.193 with SMTP id o1mr6373361ebb.35.1275681696177; Fri, 04 Jun 2010 13:01:36 -0700 (PDT) Received: by 10.213.27.211 with HTTP; Fri, 4 Jun 2010 13:01:35 -0700 (PDT) X-Originating-IP: [93.203.38.43] In-Reply-To: References: Date: Fri, 4 Jun 2010 22:01:35 +0200 Message-ID: From: "C. P. Ghost" To: Ross Penner Content-Type: text/plain; charset=ISO-8859-1 Cc: User questions Subject: Re: Alternate method for fetching source X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 20:01:37 -0000 On Fri, Jun 4, 2010 at 8:20 PM, Ross Penner wrote: > I'm trying to update my system and when I run cvsup, the connection > repeatedly has problems (TreeList failed: Network write failure: > Connection closed). I'm wondering if anybody can suggest any other > method to grab the current source files? Have you tried other cvsup mirrors. There are plenty of choices at the bottom of this page: http://www.freebsd.org/doc/en/books/handbook/cvsup.html Oh, and are you running cvsup or csup? > Thanks for any ideas -cpghost. -- Cordula's Web. http://www.cordula.ws/ From owner-freebsd-questions@FreeBSD.ORG Fri Jun 4 20:02:11 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2B3A71065670 for ; Fri, 4 Jun 2010 20:02:11 +0000 (UTC) (envelope-from uwe@laverenz.de) Received: from mo-p00-ob.rzone.de (mo-p00-ob.rzone.de [81.169.146.160]) by mx1.freebsd.org (Postfix) with ESMTP id 9DE658FC08 for ; Fri, 4 Jun 2010 20:02:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1275681728; l=742; s=domk; d=laverenz.de; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References: Subject:To:MIME-Version:From:Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=n6PZbwpZgYbjcMs56/jLGM/meOk=; b=czbUC7AGISgAKEycP11fKBKtHaNBnRmBB/0Lpg/6uMlmDkeNNL3jrkzkcAIUPAU15J3 hj0CVdyaIRK6wiev4lDSDudMc+EEB9jPhcjoqJUXEOxaIJ5Pn5mKFuK6CdE2WROMrreJp QFjMDxtOMrGaHJsQdhKhuO/bwl9qFUvgMEc= X-RZG-AUTH: :LWgJfE6Id/4Sm/WkdV0gEbKL+/p/UjmosA/b4BPR0oc5O08J8Kjasqs= X-RZG-CLASS-ID: mo00 Received: from athena.laverenz.de (91-66-21-47-dynip.superkabel.de [91.66.21.47]) by post.strato.de (klopstock mo19) (RZmta 23.0) with ESMTP id C0699dm54HceWo for ; Fri, 4 Jun 2010 22:02:08 +0200 (MEST) Received: from localhost (localhost.localdomain [127.0.0.1]) by athena.laverenz.de (Postfix) with ESMTP id 1150373EC6 for ; Fri, 4 Jun 2010 22:02:08 +0200 (CEST) Received: from athena.laverenz.de ([127.0.0.1]) by localhost (athena [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 00469-05-6 for ; Fri, 4 Jun 2010 22:02:07 +0200 (CEST) Received: from [192.168.23.210] (unknown [192.168.23.210]) by athena.laverenz.de (Postfix) with ESMTP id 9546173E69 for ; Fri, 4 Jun 2010 22:02:07 +0200 (CEST) Message-ID: <4C095BBA.4020109@laverenz.de> Date: Fri, 04 Jun 2010 22:02:02 +0200 From: Uwe Laverenz Organization: private site User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: bash instead of csh (completely) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 20:02:11 -0000 Am 04.06.2010 20:56, schrieb Stefan Miklosovic: > title says it, i would like completely remove csh and install bash > instead. As far I know, csh is build in system, could I remove it > manually and install bash (of course, in reverse order :D) What do you want to achieve with this? Installing shells/bash from ports followed by a "chsh" or "vipw" is not sufficient? If you really want a system without csh please have a look at src.conf(5) which has the knob you want: WITHOUT_TCSH Set to not build and install /bin/csh (which is tcsh(1)). If you add "WITHOUT_TCSH=YES" to your /etc/src.conf you probably can get rid of csh after the next buildworld with the commands "make delete-old; make delete-old-libs" Uwe From owner-freebsd-questions@FreeBSD.ORG Fri Jun 4 20:04:03 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D619D1065675 for ; Fri, 4 Jun 2010 20:04:03 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 62B1C8FC28 for ; Fri, 4 Jun 2010 20:04:03 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OKd7a-0001ks-9W for freebsd-questions@freebsd.org; Fri, 04 Jun 2010 22:04:02 +0200 Received: from pool-71-166-141-120.washdc.east.verizon.net ([71.166.141.120]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 04 Jun 2010 22:04:02 +0200 Received: from nightrecon by pool-71-166-141-120.washdc.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 04 Jun 2010 22:04:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org connect(): No such file or directory From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Fri, 04 Jun 2010 16:04:22 -0400 Lines: 39 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pool-71-166-141-120.washdc.east.verizon.net Subject: Re: bash instead of csh (completely) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 20:04:03 -0000 Stefan Miklosovic wrote: > Hi list, > > title says it, i would like completely remove csh and install bash > instead. As far I know, csh is build in system, could I remove it > manually and install bash (of course, in reverse order :D) > > Are there such dependencies on csh? I know that real system scripting > is done via /bin/sh > co absence of csh shell should not break system. Why do you feel it is necessary to completely remove csh? It is part of the base install of the OS and does not prevent you from installing and using Bash should you choose. Since these are not mutually exclusive I see no reason to remove csh. Just leave it be. Arbitrarily 'removing' stuff from the base system without relevant reason is more likely to create a problem where none existed previously. You can install Bash from ports. You should know that it is a third party userland application at this point. What you will find out some day when /usr won't mount and you're sitting in single-user mode trying to recover the box is bash will not be working. And if you made the mistake of changing root's shell to bash you will not be a happy camper. You are certainly free to use whatever shell you want as a user. Don't mess with root's shell. I saw once some highly questionable so-called 'benchmarking' where it was claimed that bash is 4 times slower than anything else. My own $.02 is the fixation on bash is more a result from people coming over to FreeBSD from Linux, and trying to drag Linux methodologies along with instead of looking at FreeBSD fresh and learning new stuff. While there is a lot of similarity and overlap, FreeBSD is *not* just another Linux distro. -Mike From owner-freebsd-questions@FreeBSD.ORG Fri Jun 4 20:17:08 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E6731065673 for ; Fri, 4 Jun 2010 20:17:08 +0000 (UTC) (envelope-from doug@safeport.com) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by mx1.freebsd.org (Postfix) with ESMTP id 443CB8FC08 for ; Fri, 4 Jun 2010 20:17:08 +0000 (UTC) Received: from fledge.watson.org (localhost.watson.org [127.0.0.1]) by fledge.watson.org (8.14.3/8.14.3) with ESMTP id o54KH7FW076202; Fri, 4 Jun 2010 16:17:07 -0400 (EDT) (envelope-from doug@safeport.com) Received: from localhost (doug@localhost) by fledge.watson.org (8.14.3/8.14.3/Submit) with ESMTP id o54KH7PM076199; Fri, 4 Jun 2010 16:17:07 -0400 (EDT) (envelope-from doug@safeport.com) X-Authentication-Warning: fledge.watson.org: doug owned process doing -bs Date: Fri, 4 Jun 2010 16:17:07 -0400 (EDT) From: doug@safeport.com X-X-Sender: doug@fledge.watson.org To: User questions In-Reply-To: <20100604132906.G78595@qroenaqrq.6qbyyneqvnyhc.pbz> Message-ID: References: <20100604132906.G78595@qroenaqrq.6qbyyneqvnyhc.pbz> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (fledge.watson.org [127.0.0.1]); Fri, 04 Jun 2010 16:17:07 -0400 (EDT) Cc: Ross Penner Subject: Re: Alternate method for fetching source X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: doug@fledge.watson.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 20:17:08 -0000 On Fri, 4 Jun 2010, Lars Eighner wrote: > On Fri, 4 Jun 2010, Ross Penner wrote: > >> I'm trying to update my system and when I run cvsup, the connection >> repeatedly has problems (TreeList failed: Network write failure: >> Connection closed). I'm wondering if anybody can suggest any other >> method to grab the current source files? > > You are talking about the system source, not the ports, right? > > Actually, the advice is not much different. In either case, cvsup does not > always work very well for big upgrades (such as across major version > numbers) and also (though it theoretically should) doesn't work well > creating a source tree from scratch. If you install source (or ports) from > the most recent release below your taget before, cvsup is much less likely > to crack under pressure. > > Also, consider changing your mirror. Network conditions may be better for > you with some mirrors than with others. And finally, make sure cvsup is > up-to-date with your current system. It's in ports/net . > > (Of course backup what you have before trying any of this.) > > You may get a more specific response if you include uname -a for your > current system and the tags you are trying to use with cvsup. I have almost exclusively used cvsup and now csup to update complete source trees since 1997 and other than having the mirror of my choice not be quite up-to-date have never had any issues. I would recommend using csup rather than cvsup as csup has the same syntax and is built into the base system. Assuming you are not tracking current, or are not updating to get a specific fix, the timing of mirror updates is rarely an issue. Another method of updating would be to use freebsd-update, see 24.2 in the handbook. If this would work for you, it would have the added advantage of having some extra build-in protection against network problems. From owner-freebsd-questions@FreeBSD.ORG Fri Jun 4 20:29:07 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A342A106564A for ; Fri, 4 Jun 2010 20:29:07 +0000 (UTC) (envelope-from jbaltz@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 51B8F8FC17 for ; Fri, 4 Jun 2010 20:29:07 +0000 (UTC) Received: by gwj23 with SMTP id 23so1583255gwj.13 for ; Fri, 04 Jun 2010 13:29:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=ENRSraATwwroc445XmvmD9b7ybPAj5DbC1UeTn1W8r0=; b=sohd8WcrLWVIbz86XMyHoBunET8RLtIl6K/2Kn6ggZMmXuPKG0hBtogWpnYPvkXp4Z qe/Zw7X5pZ6MuZz7q1LiowxRAIY64bJUOV2eDdj8DabTVV+WqsPO0Uavxvh8X0hz6+Lq 16UZG3ueDdpa37g0I2sobu816TpLpyiK7jjIA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=rkq5sWy0TVYvJAaoxpCsJx+jdsMVDv+mHvd7blgCfaVkizW031QBAqiTKYyooSi16T /2iBGBnmnh0IPUWudbyL+rMwepFzWYDAPonLNpaXZDv3dlvwX3+NUIiPZfJYgjUvckHJ yxxzz2D4hUqYoagX83sNpxIqvn6ihuvyhIapI= MIME-Version: 1.0 Received: by 10.91.4.38 with SMTP id g38mr315954agi.23.1275681822354; Fri, 04 Jun 2010 13:03:42 -0700 (PDT) Received: by 10.90.35.14 with HTTP; Fri, 4 Jun 2010 13:03:42 -0700 (PDT) In-Reply-To: References: Date: Fri, 4 Jun 2010 16:03:42 -0400 Message-ID: From: "Jerry B. Altzman" To: utisoft@gmail.com Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions , Stefan Miklosovic Subject: Re: bash instead of csh (completely) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 20:29:07 -0000 On Fri, Jun 4, 2010 at 14:59, Chris Rees wrote: > Why would you want to do that? > > To get rid of csh? http://www.faqs.org/faqs/unix-faq/shell/csh-whynot/ //jbaltz -- jerry b. altzman jbaltz@gmail.com www.jbaltz.com foo mane padme hum twitter: @lorvax From owner-freebsd-questions@FreeBSD.ORG Fri Jun 4 20:31:59 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE326106567A for ; Fri, 4 Jun 2010 20:31:59 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 5DFC48FC16 for ; Fri, 4 Jun 2010 20:31:59 +0000 (UTC) Received: by gyh20 with SMTP id 20so1626783gyh.13 for ; Fri, 04 Jun 2010 13:31:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=ke5OmX3szE4dP831mSJIUPgONSSURsB1Rqoq2+5K5SE=; b=s8SmMmkXbuJc3Ptm3rAjOug8NUIUWTRht67Gl07u/0P5Op93YI6JDPpEOrFzmGWVyw BpRXVKfXtoqmMvepoTv0dVhBGU4pDT3PI6B2xdK2bRRr8mNtJrtsmLaaYpV6fU6BTIeq Mh5gNhCrgyrfqTdxy0IHndRgUpxTDI0FNNZYI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=hjhY6DMFcqIy69dBpr7syYiK9mAzvOhSDiPzzMazzzD2O3zljDYqRnFo5oosfAEgZR EIQIGqV1vHcyfTYaHqT9ap3Qoc7Gz2bJMxjcxYWN6Kb9wyLVQEnOdA5M0vxXSoq/ZtZu dtSvGcyJfDDkoLhQVimdQiZUabnHUmdMj1sDk= MIME-Version: 1.0 Received: by 10.224.60.5 with SMTP id n5mr6274244qah.288.1275683518340; Fri, 04 Jun 2010 13:31:58 -0700 (PDT) Received: by 10.229.99.67 with HTTP; Fri, 4 Jun 2010 13:31:58 -0700 (PDT) In-Reply-To: <4C093A5B.4040705@mtmary.edu> References: <4C093A5B.4040705@mtmary.edu> Date: Fri, 4 Jun 2010 15:31:58 -0500 Message-ID: From: Adam Vande More To: Peter Clark Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Some GMirror questions. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 20:31:59 -0000 I think you are making this harder than is needs to be. When in doubt defe= r to the Handbook and the man pages. This also a good page http://onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html Lastly, I know at one point the 'load' algorithm had some performance > problems and people were saying to only use 'round-robin'. It seems as > though some code was committed back in Dec 2009 to fix it's this. Is ther= e a > practical rule of thumb to using 'load' vs 'round-robin'? Use load. http://www.freebsd.org/cgi/query-pr.cgi?pr=3D113885 > Is this an accurate way to look at it? > "Round-robin because if you have two disks in a mirror, they=92re both un= der > the same 'load' constraints, and it is best to KISS." > No. round-robin is a simple algorithm which alternates drive requests. Als= o two identical HD's may be mirrored but they will not really ever be same state in terms of caching, performance, etc. --=20 Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Fri Jun 4 20:42:38 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 76B4B1065674 for ; Fri, 4 Jun 2010 20:42:38 +0000 (UTC) (envelope-from emss.mail@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id E69158FC1A for ; Fri, 4 Jun 2010 20:42:36 +0000 (UTC) Received: by wyf28 with SMTP id 28so1570014wyf.13 for ; Fri, 04 Jun 2010 13:42:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:received :x-virus-scanned:received:received:to:cc:subject:from:in-reply-to :references:x-operating-system:date:message-id:user-agent :mime-version:content-type:content-transfer-encoding; bh=HTRMr7XxPyAeAFHL4D6IxRKiGEh3l0RvoLSWV7urtQg=; b=mFummWKkOgHdXyyNZ5oC0uZe/qjY4sNL7GCN2K50tkWK0TNM+s7XygYQPLOMRDCu+A Y4J9/kcHEJQdymONLivONbFT9l6uwrBPDFKWKi475lyufpqB6TmgkD60kcNITvvRa61K oQ3FO6N+voYhp4A0vExGrhlXdO7T0QOnEu7pE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:x-virus-scanned:to:cc:subject:from:in-reply-to:references :x-operating-system:date:message-id:user-agent:mime-version :content-type:content-transfer-encoding; b=U60t77SYv9yKe4zWeDfNdRS5Bp5bh4fM0NiCDUAU2tE6KxnkZXT4jA7m9XLFLiXeEP a4B3RtU/y3O9fXL0W5DIQaQRai0+UZ3WUvxbx0GBHyQtZ8U4biVMBiGqFqQkoFvjJOVr TVE4yXimFRyeowgSyr6/wZgG3pZDE6aqheFbw= Received: by 10.227.151.66 with SMTP id b2mr11186836wbw.158.1275684156111; Fri, 04 Jun 2010 13:42:36 -0700 (PDT) Received: from srvbsdfenssv.interne.associated-bears.org (LCaen-151-92-21-48.w217-128.abo.wanadoo.fr [217.128.200.48]) by mx.google.com with ESMTPS id r35sm12827043wbv.17.2010.06.04.13.42.34 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 04 Jun 2010 13:42:35 -0700 (PDT) Sender: Eric Masson Received: from srvbsdfenssv.interne.associated-bears.org (localhost [127.0.0.1]) by srvbsdfenssv.interne.associated-bears.org (Postfix) with ESMTP id 819E71CE40; Fri, 4 Jun 2010 22:42:33 +0200 (CEST) X-Virus-Scanned: amavisd-new at interne.associated-bears.org Received: from srvbsdfenssv.interne.associated-bears.org ([127.0.0.1]) by srvbsdfenssv.interne.associated-bears.org (srvbsdfenssv.interne.associated-bears.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fJr+6+Av0n4a; Fri, 4 Jun 2010 22:42:30 +0200 (CEST) Received: by srvbsdfenssv.interne.associated-bears.org (Postfix, from userid 1001) id E3FA81CC4B; Fri, 4 Jun 2010 22:42:30 +0200 (CEST) To: "Jerry B. Altzman" From: Eric Masson In-Reply-To: (Jerry B. Altzman's message of "Fri, 4 Jun 2010 16:03:42 -0400") References: X-Operating-System: FreeBSD 8.0-RELEASE-p3 amd64 Date: Fri, 04 Jun 2010 22:42:30 +0200 Message-ID: <86k4qe4jih.fsf@srvbsdfenssv.interne.associated-bears.org> User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.5-b28 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit Cc: Stefan Miklosovic , freebsd-questions , utisoft@gmail.com Subject: Re: bash instead of csh (completely) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 20:42:38 -0000 "Jerry B. Altzman" writes: Hi, > To get rid of csh? > http://www.faqs.org/faqs/unix-faq/shell/csh-whynot/ This link is about csh *programming*, as standard scripts in FreeBSD use sh, this is pointless. Regards -- Ol: ..un plan perdu au fond d'une armoire dont seul Steve Jobs a la clé. BL: Qu'il a laissée dans un pantalon déposé chez un teinturier dont il a perdu l'adresse et le ticket ! -+- BL in Guide du Macounet Pervers : Bien cacher sa stratégie -+- From owner-freebsd-questions@FreeBSD.ORG Fri Jun 4 20:43:25 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 56E18106566C for ; Fri, 4 Jun 2010 20:43:25 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 143588FC0C for ; Fri, 4 Jun 2010 20:43:24 +0000 (UTC) Received: from r55.edvax.de (port-92-195-108-152.dynamic.qsc.de [92.195.108.152]) by mx02.qsc.de (Postfix) with ESMTP id 9AC7E1D9F3; Fri, 4 Jun 2010 22:43:23 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o54KhMSj002474; Fri, 4 Jun 2010 22:43:22 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 4 Jun 2010 22:43:22 +0200 From: Polytropon To: "Jerry B. Altzman" Message-Id: <20100604224322.2d31624f.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions Subject: Re: bash instead of csh (completely) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 20:43:25 -0000 On Fri, 4 Jun 2010 16:03:42 -0400, "Jerry B. Altzman" wrote: > On Fri, Jun 4, 2010 at 14:59, Chris Rees wrote: > > > Why would you want to do that? > > > > > To get rid of csh? > http://www.faqs.org/faqs/unix-faq/shell/csh-whynot/ The article you mentioned discusses the topic "Why shouldn't I program in csh?" As the OP already noted correctly, in FreeBSD scripting is done by /bin/sh, the Bourne shell. Most people scripting on FreeBSD do also use sh. In fact, I don't know anybody seriously scripting in csh. In terms of dialog shell quality, there surely are better solutions than bash. Allthough bash is most common, shells like ksh or zsh are also very powerfull (and still have compatibility to sh). Personally, there are some things regarding dialog use that csh does better (!) than bash, but that's to be seen as what it is, a very individual point of view. Again, why get rid of csh when it's enough just not to use it? System scripting is sh, and using chsh, modification of adduer behaviour or different settings in /usr/share/skel bash can be made the default dialog shell - no big deal. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri Jun 4 20:54:07 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6243F106564A for ; Fri, 4 Jun 2010 20:54:07 +0000 (UTC) (envelope-from miklosovic.freebsd@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id E7EC18FC13 for ; Fri, 4 Jun 2010 20:54:06 +0000 (UTC) Received: by fxm20 with SMTP id 20so1034430fxm.13 for ; Fri, 04 Jun 2010 13:54:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=qXPsFfxTLhZM7NYiX08D7I5y+r+1uKjKVKt2USvFqfk=; b=qBKznIj6gGv0TF0fUL+Vl6iK0QMjeDnkpY2vexymPoIUdby5TwEOpfkVl+IvUFyuga +4DGejhjLvUSfO98D4IldKBm4j2zW+IVQM+K45Futh2g6fYPCjhhh13yVXKWPkGP7wmr x92nrlPEpX8r4w4Q7STAki6pm2TT9K7PuOlzA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=T9vVUt6MrxRNw1S4wkn6PCbgEkqGH2cErX/CNO8yIjFok1HZcAQLp/H5QjgCXSL+FA HXxPMHghQ4R+LwEACgiOnc9OR6EPBNUztg0ZENtwdBGcufYgJZiapP13X8XaryZH45S4 icr1Dkz+QF30aRRDAeDnOmPYEaC0EtfZ6te1I= MIME-Version: 1.0 Received: by 10.103.80.1 with SMTP id h1mr3954879mul.120.1275684845857; Fri, 04 Jun 2010 13:54:05 -0700 (PDT) Received: by 10.103.172.11 with HTTP; Fri, 4 Jun 2010 13:54:05 -0700 (PDT) In-Reply-To: References: Date: Fri, 4 Jun 2010 22:54:05 +0200 Message-ID: From: Stefan Miklosovic To: Michael Powell Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: bash instead of csh (completely) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 20:54:07 -0000 Hi all, First of all, thank you for your quick answers, I really appreciate it. I dont want to start flame war about linux vs bsd but ... :) Before I start to explain what I want to do, I want you know I consider freebsd faaaar away better than linux in a lot of ways. (it is also a reason I want to build something upon bsd instead of linux, there are so many advantages ... ok, this post isnt about that :)) In work, we try to do some kind of linux distro, it is based on slacware. I am not a guy who lead it, but in the way we are developing it, I think it is bad idea at all. Firstly, we try to do minimal slackware installation as much it is possible, so now we are about 2.6.34 kernel, minimum kernel modules, no man or docs, files you do not need for sure are removed. We ended with quite usable system with quite neccessary utilities. It has about ~150 MB. But I think with this process, we just cut ourselves from such things like system upgrade (if slackware would have someone :D), package upgrade (we nearly all do manually, compiling from source) and so on ... Note that this distro is not something massively distributed, just for our purpose, but problems remains. While I always inclined to *bsd and not used linux more as it was a duty, I want to do it in bsd way. So set up minimal bsd without things I do not need but still stay in touch with things like package system, ports (its the same) and system upgrades / updates. I should write my own installer and so on. What I still miss is a way how to "bend" freebsd to my needs. In linux, it is easy as hell, remove this, change that, and it still runs. I am afraid that if I cut off some parts of system, I will not benefit from it anymore. For example, I install minimal bsd, but it contains still things I do not need (some dir like "games" and other stuff or some ancient groups in /etc/groups like uucp, proxy,games, dialer (??? in year 2010, who use it?) and so on. So I am afraid to be so "brutal" to just remove it ... FreeBSD has another philosophy than Linux, but i feel Linux is more "customizable". But understand that it is advantage and disadvantage too ... I think I have to more study about /usr/src/ :) For example, I would like to know, how to install something into other dir and no to default one. Think about port. All to /usr/local/ ... and so on. But what if I want to install it in /ExtraStuff ? How do I do it in "make install clean" way? Change port's make file ? no way ..... On 6/4/10, Michael Powell wrote: > Stefan Miklosovic wrote: > >> Hi list, >> >> title says it, i would like completely remove csh and install bash >> instead. As far I know, csh is build in system, could I remove it >> manually and install bash (of course, in reverse order :D) >> >> Are there such dependencies on csh? I know that real system scripting >> is done via /bin/sh >> co absence of csh shell should not break system. > > Why do you feel it is necessary to completely remove csh? It is part of the > base install of the OS and does not prevent you from installing and using > Bash should you choose. Since these are not mutually exclusive I see no > reason to remove csh. Just leave it be. Arbitrarily 'removing' stuff from > the base system without relevant reason is more likely to create a problem > where none existed previously. > > You can install Bash from ports. You should know that it is a third party > userland application at this point. What you will find out some day when > /usr won't mount and you're sitting in single-user mode trying to recover > the box is bash will not be working. And if you made the mistake of changing > root's shell to bash you will not be a happy camper. > > You are certainly free to use whatever shell you want as a user. Don't mess > with root's shell. I saw once some highly questionable so-called > 'benchmarking' where it was claimed that bash is 4 times slower than > anything else. My own $.02 is the fixation on bash is more a result from > people coming over to FreeBSD from Linux, and trying to drag Linux > methodologies along with instead of looking at FreeBSD fresh and learning > new stuff. While there is a lot of similarity and overlap, FreeBSD is *not* > just another Linux distro. > > -Mike > > > > > > _______________________________________________ > 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 Jun 4 21:22:44 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ED0E6106579D for ; Fri, 4 Jun 2010 21:22:44 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from mail-ew0-f209.google.com (mail-ew0-f209.google.com [209.85.219.209]) by mx1.freebsd.org (Postfix) with ESMTP id 8BC668FC1C for ; Fri, 4 Jun 2010 21:22:44 +0000 (UTC) Received: by ewy1 with SMTP id 1so125770ewy.33 for ; Fri, 04 Jun 2010 14:22:43 -0700 (PDT) MIME-Version: 1.0 Received: by 10.213.34.75 with SMTP id k11mr8331986ebd.45.1275686563538; Fri, 04 Jun 2010 14:22:43 -0700 (PDT) Received: by 10.213.27.211 with HTTP; Fri, 4 Jun 2010 14:22:43 -0700 (PDT) X-Originating-IP: [93.203.38.43] In-Reply-To: References: Date: Fri, 4 Jun 2010 23:22:43 +0200 Message-ID: From: "C. P. Ghost" To: Stefan Miklosovic Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: bash instead of csh (completely) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 21:22:45 -0000 On Fri, Jun 4, 2010 at 10:54 PM, Stefan Miklosovic wrote: > What I still miss is a way how to "bend" freebsd to my needs. In > linux, it is easy > as hell, remove this, change that, and it still runs. I am afraid that > if I cut off some > parts of system, I will not benefit from it anymore. For example, I > install minimal bsd, > but it contains still things I do not need (some dir like "games" and other > stuff or some ancient groups in /etc/groups like uucp, proxy,games, dialer (??? > in year 2010, who use it?) and so on. You're aware of nanobsd(8)? -cpghost. -- Cordula's Web. http://www.cordula.ws/ From owner-freebsd-questions@FreeBSD.ORG Fri Jun 4 22:12:06 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1FB64106566C for ; Fri, 4 Jun 2010 22:12:06 +0000 (UTC) (envelope-from fbsd1@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 0ACD28FC13 for ; Fri, 4 Jun 2010 22:12:05 +0000 (UTC) Received: from [10.0.10.3] ([202.69.173.90]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 4 Jun 2010 15:12:06 -0700 Message-ID: <4C097A31.1000507@a1poweruser.com> Date: Sat, 05 Jun 2010 06:12:01 +0800 From: Fbsd1 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Ross Penner References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 04 Jun 2010 22:12:06.0465 (UTC) FILETIME=[F7EE3310:01CB0432] X-Sender: fbsd1@a1poweruser.com Cc: User questions Subject: Re: Alternate method for fetching source X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 22:12:06 -0000 Ross Penner wrote: > I'm trying to update my system and when I run cvsup, the connection > repeatedly has problems (TreeList failed: Network write failure: > Connection closed). I'm wondering if anybody can suggest any other > method to grab the current source files? > > Thanks for any ideas It has been my experience that when a new RELEASE cycle starts, Like right now with 8.1, the ftp servers get a real workout. Having difficulties making it through a complete download successfully in one try is very unlikely. Using ftp with a .netrc file to restart the download where it left off is better than restarting over from the start. Read this url all the way to the end where the restart is explained. http://www.daemonforums.org/showthread.php?t=4212 From owner-freebsd-questions@FreeBSD.ORG Fri Jun 4 22:26:18 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BBE85106564A for ; Fri, 4 Jun 2010 22:26:18 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-ww0-f54.google.com (mail-ww0-f54.google.com [74.125.82.54]) by mx1.freebsd.org (Postfix) with ESMTP id 537D98FC13 for ; Fri, 4 Jun 2010 22:26:17 +0000 (UTC) Received: by wwb22 with SMTP id 22so1681411wwb.13 for ; Fri, 04 Jun 2010 15:26:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:reply-to:date :message-id:subject:from:to:cc:content-type; bh=oInpKQiaZ/c5Nph2Pjh5bnT0/9wQ9v5X7KoGYO9UIYA=; b=CwzxX4budpT+6UxHnD4czRurayR76pw/3WKaD4AjY9bcq6cMA/15K+Iy2T5zLV469n 7IILMOMRIHu/xjjDtt1OpYe0hwxyRtB+ZRcA4QpUiFy5gc581CybaA2WJMPPai5uPgs3 JFH8B8Eo6lv2ee1OcD3GNZBxleQ9Z8r9fA5R0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:cc :content-type; b=AAYsJlSkDx9yfPlnt4EYdnvoImVudwV7Iwh6pR2kcuJo/m53EuNB6khowWIq35bLCN 9GeuPPdYR5lQXrud0MqDSYgzD98QlsYb452ROWYNzX5rdsDhZ6o+mF0cFA7P9O9S/+jK ZGAaN3varmyOQUKw//ifHLvaEbiR08euQbL4c= MIME-Version: 1.0 Received: by 10.216.166.68 with SMTP id f46mr178389wel.6.1275690376994; Fri, 04 Jun 2010 15:26:16 -0700 (PDT) Received: by 10.216.183.5 with HTTP; Fri, 4 Jun 2010 15:26:14 -0700 (PDT) Date: Fri, 4 Jun 2010 22:26:14 +0000 Message-ID: From: "b. f." To: Stefan Miklosovic Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: bash instead of csh (completely) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf1783@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 22:26:18 -0000 >I dont want to start flame war about linux vs bsd but ... :) >Before I start to explain what I want to do, I want you know >I consider freebsd faaaar away better than linux in a lot of ways. >(it is also a reason I want to build something upon bsd instead of >linux, there are so many advantages ... ok, this post isnt about that :)) You're right -- it isn't about that. Don't get sucked into some stupid argument. Bash isn't Linux. Linux isn't bash. If you want to use another shell, just use it. Bear in mind that if you install it from FreeBSD Ports, then it and it's dependencies may not be available in the event of an emergency, if they live on a partition separate from /. So unless you go to the trouble of building a statically-linked bash and installing it in /rescue or /bin or whatever, I wouldn't change root's shell to bash. However, others encountered this problem, and made a default account called "toor" that is basically a root account with another shell. You could use that with bash instead, and leave root with a shell from the base system. Whatever you decide to use for user accounts and your own scripts, variables like MAKE_SH and SH in make.conf will dictate what is used for building the base system and ports. If you change these to bash, you may break some builds. ... >What I still miss is a way how to "bend" freebsd to my needs. In >linux, it is easy >as hell, remove this, change that, and it still runs. I am afraid that >if I cut off some >parts of system, I will not benefit from it anymore. For example, I >install minimal bsd, >but it contains still things I do not need (some dir like "games" and other >stuff or some ancient groups in /etc/groups like uucp, proxy,games, dialer (??? >in year 2010, who use it?) and so on. > >So I am afraid to be so "brutal" to just remove it ... It's just a matter of learning what depends on what, which takes a bit of time. If you're happy with a ~150MB base system, you can just use the WITHOUT_* knobs in src.conf(5) and the make delete-old(-libs) targets to rip out a bunch of stuff. If you want it even smaller, you'll have to use picobsd(8), or nanobsd(8) (both of which require some effort to figure out dependencies), or hack the base system sources yourself. > >FreeBSD has another philosophy than Linux, but i feel Linux is more >"customizable". Maybe some Linux distros are slightly easier to trim than the stock FreeBSD, but only slightly. Once you become more familiar with FreeBSD, I'm sure that you will see the possibilities for slimming it down. If you are still not satisfied, you could use a hybrid system like Debian's GNU/kfreebsd: http://www.debian.org/ports/kfreebsd-gnu/ or Gentoo/FreeBSD: http://www.gentoo.org/proj/en/gentoo-alt/bsd/fbsd/ But these are newer, experimental systems, with all that implies. >I think I have to more study about /usr/src/ :) For example, I would >like to know, >how to install something into other dir and no to default one. Think about port. >All to /usr/local/ ... and so on. But what if I want to install it in >/ExtraStuff ? How do >I do it in "make install clean" way? Change port's make file ? no way ..... Read build(7), release(7), ports(7), src.conf(5), make.conf(5), /usr/ports/Mk/bsd.port.mk, /usr/src/Makefile, and the tail of /usr/src/UPDATING, for a start. You'll want to look at setting DESTDIR, LOCALBASE, etc. It's all there. Good luck. b. From owner-freebsd-questions@FreeBSD.ORG Fri Jun 4 23:45:34 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A9471065676 for ; Fri, 4 Jun 2010 23:45:34 +0000 (UTC) (envelope-from ben@b1c1l1.com) Received: from lancer.b1c1l1.com (unknown [IPv6:2607:f358:1a:1a:1000::]) by mx1.freebsd.org (Postfix) with ESMTP id 031BD8FC0C for ; Fri, 4 Jun 2010 23:45:33 +0000 (UTC) Received: from supra.b1c1l1.com (netops-129.sfo1.bitgravity.com [209.131.110.129]) by lancer.b1c1l1.com (Postfix) with ESMTPSA id 912745C29; Fri, 4 Jun 2010 16:45:31 -0700 (PDT) Message-ID: <4C099013.8080606@b1c1l1.com> Date: Fri, 04 Jun 2010 16:45:23 -0700 From: Benjamin Lee User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100531 Thunderbird/3.0.4 MIME-Version: 1.0 To: John References: <4BF532F7.7070003@gmail.com> <4C07418B.90309@b1c1l1.com> <4C0772EA.1060504@gmail.com> In-Reply-To: <4C0772EA.1060504@gmail.com> X-Enigmail-Version: 1.0.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig304CB5B84008F20200E399E0" Cc: freebsd-questions@freebsd.org Subject: Re: Apache 2.2, mod_auth_kerb X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 23:45:34 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig304CB5B84008F20200E399E0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 06/03/2010 02:16 AM, John wrote: > On 2010-06-03 07:45, Benjamin Lee wrote: >> On 05/20/2010 06:02 AM, John wrote: >> =20 >>> Hi list. >>> >>> I'm having problems getting mod_auth_kerb to play nice on one of my >>> servers. >>> I have the exact same setup on other machines and it works perfectly,= >>> only difference is this ones running CURRENT while they track RELEASE= =2E >>> >>> Some info: >>> >>> # pkg_info|grep apache&& pkg_info|grep kerb >>> apache-2.2.15_7 Version 2.2.x of Apache web server with prefork M= PM. >>> mod_auth_kerb-5.4 An Apache module for authenticating users with >>> Kerberos v5 >>> >>> # uname -a >>> FreeBSD host.example.com 9.0-CURRENT FreeBSD 9.0-CURRENT #5: Tue May = 11 >>> 20:04:45 UTC 2010 host.example.com:/usr/obj/usr/src/sys/HOST i38= 6 >>> >>> >>> Everything compiles and installs nicely, but when I try to do a >>> 'apachectl start' I get this: >>> >>> httpd: Syntax error on line 4 of /usr/local/etc/apache22/httpd.conf: >>> Cannot load /usr/local/libexec/apache22/mod_auth_kerb.so into server:= >>> /usr/local/libexec/apache22/mod_auth_kerb.so: Undefined symbol >>> "gsskrb5_register_acceptor_identity" >>> >>> Is this due to running current? >>> If it is I will drop the issue right now, I just want to know for sur= e >>> before I spend hours trying to solve it. >>> =20 >> Hi John, >> >> What is the output of 'ldd /usr/local/libexec/apache22/mod_auth_kerb.s= o'? >> >> =20 >=20 > /usr/local/libexec/apache22/mod_auth_kerb.so: > libgssapi.so.10 =3D> /usr/lib/libgssapi.so.10 (0x281b8000) > libheimntlm.so.10 =3D> /usr/lib/libheimntlm.so.10 (0x281c1000) > libkrb5.so.10 =3D> /usr/lib/libkrb5.so.10 (0x281c6000) > libhx509.so.10 =3D> /usr/lib/libhx509.so.10 (0x28224000) > libcom_err.so.5 =3D> /usr/lib/libcom_err.so.5 (0x2825a000) > libcrypto.so.6 =3D> /lib/libcrypto.so.6 (0x2825c000) > libasn1.so.10 =3D> /usr/lib/libasn1.so.10 (0x28800000) > libroken.so.10 =3D> /usr/lib/libroken.so.10 (0x283c1000) > libcrypt.so.5 =3D> /lib/libcrypt.so.5 (0x283d1000) > libc.so.7 =3D> /lib/libc.so.7 (0x28091000) Hi John, It looks like libgssapi (and potentially other parts of heimdal) have been broken in head/ since the heimdal-1.1 merge. Thus, it's now also broken in stable/8/ and releng/8.0/. I've filed a PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=3D147454 --=20 Benjamin Lee http://www.b1c1l1.com/ --------------enig304CB5B84008F20200E399E0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJMCZAZAAoJEHBW16CPoSMCBnoQAM4l7++nvq1XYshhpgKR67+G pp1cma5HusIUbNWNsx54bBLTNZMVQa2iz4pPF0GBFReNkzG4gIbRGyd0kSwzJZfg YqOvj8Z7b1BOP2qCWxla1nGzQQLxqrTODtVOto8+wm4Q3Qy3WfF+ZVvXTyK/RLrH BTNRJtiIJuEHGFLQs51EEpCPROVPmxA0VJT5k1sF93PexB0lnr2hAHuKmR/oXPx7 xoxd6bs90tIkhwjS40knuK3j4/3pJhN2UEjhssewq9n7nUUeWavtZ8WAPgqDTxoB j4a/JKb3sJ0qn35nSEFGtL0Lw5xBgZaBHcaWp2PZEk3MyrrkEtFwsH9C8fGryRLt eQDSZA1lSFreH7nrRdk2pnOxzik5j+yGNmIjWZvxh1Iw+wA+ds0G3mPFGMMA4omB ramtKj5r3aENqzAhJkdQv3fxvtpz0VYjfftWesPZYjRkoaHRe+vp0zd9eiYCThvP GsfN16OUcdGs6pGXZIWzps/UnQ4DBAFT0bljg1RkvLQM5eDyQlO1qxzmNncaAOZ8 uXGHvNLX5bUD8TrIMpEXqoSvliPpuNd+hgNKEysOF989EISb0RtDZS01dLEvRJ0z A3uIf4ZxXIHfWvKkfD0ja7s2bKX9plB9PhLi6o444HY07WaB4GhOcfd9OcuoWYdk SCPsjYDFMjqBPS0oiuGz =a8kC -----END PGP SIGNATURE----- --------------enig304CB5B84008F20200E399E0-- From owner-freebsd-questions@FreeBSD.ORG Fri Jun 4 23:58:39 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 17DCA106566C for ; Fri, 4 Jun 2010 23:58:39 +0000 (UTC) (envelope-from wooh@wooh.hu) Received: from mail.netidea.hu (netwarehouse.netidea.hu [195.228.254.126]) by mx1.freebsd.org (Postfix) with ESMTP id C77B48FC14 for ; Fri, 4 Jun 2010 23:58:38 +0000 (UTC) Received: from radon (localhost [127.0.0.1]) by mail.netidea.hu (Postfix) with ESMTP id 88B921294BB; Sat, 5 Jun 2010 01:58:06 +0200 (CEST) X-Virus-Scanned: amavisd-new at netidea.hu Received: from mail.netidea.hu ([127.0.0.1]) by radon (mail.netidea.hu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HREpN8Vp6J8A; Sat, 5 Jun 2010 01:58:05 +0200 (CEST) Received: from jamms-MacBook.local (catv-89-132-136-110.catv.broadband.hu [89.132.136.110]) by mail.netidea.hu (Postfix) with ESMTP id 722821294B3; Sat, 5 Jun 2010 01:58:05 +0200 (CEST) Message-ID: <4C09932B.6040808@wooh.hu> Date: Sat, 05 Jun 2010 01:58:35 +0200 From: Adam PAPAI User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-questions@freebsd.org, freebsd-hackers@freebsd.org X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: sysbench / fileio - Linux vs. FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 23:58:39 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi List, A week ago I started to benchmark Linux vs. FreeBSD on a Dell Poweredge 1850. CPU: 2 x 3.4Ghz Xeon (Dual Core) Memory: 8GB (4x2) Disk: 1 x SEAGATE ST373454LC D404 (SCSI) FreeBSD kazoku 8.0-RELEASE-p3 FreeBSD 8.0-RELEASE-p3 #0: Tue May 25 20:54:11 UTC 2010 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 The tests with seqrewr, seqrd, rndrd, and so on is still going on, so I can only publish the seqwr result. (The PostgreSQL will be tested as well) (soft-updates are on) /dev/da0s1d on /usr (ufs, local, soft-updates) Tested with: sysbench --num-threads=$a --file-block-size=$bs --test=fileio - --file-total-size=2G --file-fsync-all=no --file-test-mode=seqwr run My first results (seqwr with 1,2,4,8,6,32 threads) can be found here. http://tech-blog.wooh.hu/~wooh/fbsd_vs_debian_seqwr.html Why FreeBSD is supreme with 1 and 2 thread. And why is it 2 and 3 times slower with 4-8-16-32 threads compared to Debian? The first two tests (1 thread and 2 thread) showed me that FreeBSD is supreme in I/O, but later tests showed me, that it can produce horrible I/O. How can I tune my disk to make it faster? Is it possible? What is the reason of the really slow I/O with more than 4 threads? What do you recommend me to do? Why is it damn slow with 8K blocksize? I have more than 15 FreeBSD servers in production environment and I don't want to change operating system due to I/O issues. I changed my OpenBSD servers to FreeBSD 3 years ago... :) When all tests are ready I'll publish all the results, including the postgresql benchmarks as well. Best Regards, - -- Adam PAPAI -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJMCZMrAAoJEGq0EWvh5uiI10MIAM1iZxFZ5xssKmawHl56Ruin zHHgb4Nc15waTLdzFGfllAayDlZqvvpoSpOVbp8qDZYlkTbYPF6aMjkehqMvQUEo nFs7WN2VaCSOhUUQSwjqfGdnMLW9H5uyW/ZkYvgoOjQjz/vewDV6Fi+ZfGmt5Zqw gV1ZlXFdAUOUW6c90ODOPxn+7XCA5UC2sUMPB+1iNxrTiiS6C2YQ0Vy1fCXvrhU3 51n0ES/7JBF4sk5dH1VNEU/8AeQRBOoKPuAHhZKRZZ1x+1dMkDhwdD+KUHGrRGJd fUAZmMhjE6fRG86FbwK5jrZizHZYpE3PfpZe6tI3SIvw7NbUNrRsCMSiel+0FBg= =k3Sw -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Sat Jun 5 00:10:10 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D4CD11065670 for ; Sat, 5 Jun 2010 00:10:10 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from cpoproxy2-pub.bluehost.com (cpoproxy2-pub.bluehost.com [67.222.39.38]) by mx1.freebsd.org (Postfix) with SMTP id A51C88FC0C for ; Sat, 5 Jun 2010 00:10:10 +0000 (UTC) Received: (qmail 21832 invoked by uid 0); 5 Jun 2010 00:10:09 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by cpoproxy2.bluehost.com with SMTP; 5 Jun 2010 00:10:09 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=NoxmUnG/dTjHRXLAMgJQ/qXyD7VCGfvzM+95BeWx8NZ1hqJZNfiDebT9AyQDufUvlsUuijqgT+UvxSjQAhx91sWy7VUQd6Vqfjwbm1SZMEMDxX6mtslwKgxQ/4hSdZZJ; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kukaburra.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1OKgxk-0000Ch-KJ for freebsd-questions@freebsd.org; Fri, 04 Jun 2010 18:10:09 -0600 Received: by kukaburra.hydra (sSMTP sendmail emulation); Fri, 04 Jun 2010 18:09:34 -0600 Date: Fri, 4 Jun 2010 18:09:34 -0600 From: Chad Perrin To: freebsd-questions Message-ID: <20100605000934.GB20023@guilt.hydra> Mail-Followup-To: freebsd-questions References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TRYliJ5NKNqkz5bu" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Subject: Re: bash instead of csh (completely) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jun 2010 00:10:11 -0000 --TRYliJ5NKNqkz5bu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 04, 2010 at 04:03:42PM -0400, Jerry B. Altzman wrote: > On Fri, Jun 4, 2010 at 14:59, Chris Rees wrote: >=20 > > Why would you want to do that? > > > To get rid of csh? > http://www.faqs.org/faqs/unix-faq/shell/csh-whynot/ As pointed out already (at least twice), that is about csh *programming*. What this means is that nothing in that screed says that having csh installed on your system is "bad". If you actually buy everything that Mr. Christiansen says about how csh is "bad" for programming (and I don't buy everything he says there, though I do agree with him on a lot of other topics, particularly where Perl is concerned), you still have no reason based on that screed to avoid using csh (or tcsh) as your interactive shell. Furthermore, there are reasons you shouldn't use bash for scripting. It is rather dependency-heavy, for a shell, and if you're going to write shell scripts you should really try to write them to be as simple, and as widely understandable and portable, as possible. This basically means sh (the Bourne shell) rather than csh, tcsh, bash, zsh, ksh, et cetera. Even the sh-emulation that bash provides, and that many Linux systems use instead of a "real" sh, is less than perfect in that regard -- but it's close enough for government work, I suppose. I'm about to get very opinionated, so feel free to stick your fingers in your ears if you don't like what I have to say: If you get to the point where your programming efforts are so sophisticated that you can't make do with sh, you should be using a "real" programming language, rather than a shell that happens to allow scripting. This means that by the time sh (with grep, awk, et cetera) isn't good enough, you should really consider using something like Perl or Ruby. By the time sh isn't really sufficient, you're talking about "real" programming, by which point the lack of clarity of the syntax of the typical shell languages can become a real thorn in your side when it comes to maintenance. Maybe it's just me, but just as I don't see any particular need for MS Access as a DBMS when it's overlapped by spreadsheets and SQLite on one end and by a variety of more "serious" DBMSes like PostgreSQL on the other end, I don't really see much point for bash as a scripting language when it's significantly overlapped by sh on one end and Perl, Ruby, et cetera on the other end. I suppose your mileage may vary. Anyway . . . ultimately, my point is that I love tcsh as an interactive shell, and never use it for "programming". I find it odd that people want to do programming in a typical Unix shell other than simple scripting in sh when there are such better options available. Perl is even more ubiquitous than bash. Why not just use that for scripting if you want more than sh? --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --TRYliJ5NKNqkz5bu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwJlb4ACgkQ9mn/Pj01uKW7BwCfW/NAEpzIBrI1zXPso84rW7fk U7YAoJ+rZt28jgF8JBa4+9nYAj/uPv0e =N4Gg -----END PGP SIGNATURE----- --TRYliJ5NKNqkz5bu-- From owner-freebsd-questions@FreeBSD.ORG Sat Jun 5 00:12:24 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA129106566C for ; Sat, 5 Jun 2010 00:12:24 +0000 (UTC) (envelope-from thgesteves@gmail.com) Received: from mail-ww0-f54.google.com (mail-ww0-f54.google.com [74.125.82.54]) by mx1.freebsd.org (Postfix) with ESMTP id 36A058FC0A for ; Sat, 5 Jun 2010 00:12:23 +0000 (UTC) Received: by wwb22 with SMTP id 22so1736755wwb.13 for ; Fri, 04 Jun 2010 17:12:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=j+WqBmwj98WxhGWSFnjWpiW59eu/FpN0VpEy4adyzfk=; b=oc+hQNosRuFMKYp6GIeIZRukCiEnbg68Mxvd4ZMXb8jR8hjENGWDiP9XORiuKqDg3R rfdEM/shpBew9ScHxpa0xLnAwcxfUUhmJnpa5+eWJlhzZ97FPXAoUqlr2yYu784NdlNy I5jvid7QM6GFUs2kEdy+ntWrCCA1i1cYIHWaM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=tTSxWRUuJHT5uJyfwDX0EtzgIvzeUiEraEl5sFox2lRLPpaF4++2rJckWk12ICXuUP E4sTeZMu8lp20NVPBK2cu9vFY9mQeOMrtrGeCve+8Q7kUIpG/gTj8kzp92BZUTSLOjr2 w+hkdbZ5/QJgfMcoCI2HXUhC3GedHtv4bJF+c= MIME-Version: 1.0 Received: by 10.216.163.204 with SMTP id a54mr234752wel.2.1275695409331; Fri, 04 Jun 2010 16:50:09 -0700 (PDT) Received: by 10.216.2.149 with HTTP; Fri, 4 Jun 2010 16:50:05 -0700 (PDT) Date: Fri, 4 Jun 2010 20:50:05 -0300 Message-ID: From: Thiago Esteves To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: unable to install netatalk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jun 2010 00:12:24 -0000 Hello all, I am getting errors while trying to install netatalk from ports collection. I am running release 6.3 p15 (I know it has already passed its end-of-life date, I will update it as soon as possible). My ports tree is updated. Any help is welcome. Here is the output: *libtool: link: (cd .libs/libcnid.lax/libcnid_tdb.a && ar x "/usr/ports/net/netatalk/work/netatalk-2.1.1/libatalk/cnid/tdb/.libs/libcnid_tdb.a") libtool: link: ar cru .libs/libcnid.a .libs/cnid.o .libs/cnid_init.o .libs/libcnid.lax/libcnid_dbd.a/cnid_dbd.o .libs/libcnid.lax/libcnid_last.a/cnid_last.o .libs/libcnid.lax/libcnid_tdb.a/cnid_tdb_add.o .libs/libcnid.lax/libcnid_tdb.a/cnid_tdb_close.o .libs/libcnid.lax/libcnid_tdb.a/cnid_tdb_delete.o .libs/libcnid.lax/libcnid_tdb.a/cnid_tdb_get.o .libs/libcnid.lax/libcnid_tdb.a/cnid_tdb_lookup.o .libs/libcnid.lax/libcnid_tdb.a/cnid_tdb_open.o .libs/libcnid.lax/libcnid_tdb.a/cnid_tdb_resolve.o .libs/libcnid.lax/libcnid_tdb.a/cnid_tdb_update.o libtool: link: ranlib .libs/libcnid.a libtool: link: rm -fr .libs/libcnid.lax libtool: link: ( cd ".libs" && rm -f "libcnid.la" && ln -s "../libcnid.la" " libcnid.la" ) gmake[4]: Leaving directory `/usr/ports/net/netatalk/work/netatalk-2.1.1/libatalk/cnid' gmake[3]: Leaving directory `/usr/ports/net/netatalk/work/netatalk-2.1.1/libatalk/cnid' Making all in dsi gmake[3]: Entering directory `/usr/ports/net/netatalk/work/netatalk-2.1.1/libatalk/dsi' /bin/sh /usr/local/bin/libtool --tag=CC --mode=compile cc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../sys -I../../include -D_U_="__attribute__((unused))" -O2 -fno-strict-aliasing -pipe -I../../sys -MT dsi_attn.lo -MD -MP -MF .deps/dsi_attn.Tpo -c -o dsi_attn.lo dsi_attn.c libtool: compile: cc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../sys -I../../include "-D_U_=__attribute__((unused))" -O2 -fno-strict-aliasing -pipe -I../../sys -MT dsi_attn.lo -MD -MP -MF .deps/dsi_attn.Tpo -c dsi_attn.c -fPIC -DPIC -o .libs/dsi_attn.o In file included from dsi_attn.c:17: ../../include/atalk/dsi.h:63: error: field `server' has incomplete type ../../include/atalk/dsi.h:63: error: field `client' has incomplete type gmake[3]: *** [dsi_attn.lo] Error 1 gmake[3]: Leaving directory `/usr/ports/net/netatalk/work/netatalk-2.1.1/libatalk/dsi' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/net/netatalk/work/netatalk-2.1.1/libatalk' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/net/netatalk/work/netatalk-2.1.1' gmake: *** [all] Error 2 *** Error code 1 Stop in /usr/ports/net/netatalk. *** Error code 1 Stop in /usr/ports/net/netatalk. BSD-Server-01:/usr/ports/net/netatalk root# * Regards, Thiago From owner-freebsd-questions@FreeBSD.ORG Sat Jun 5 01:12:47 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C98A51065674 for ; Sat, 5 Jun 2010 01:12:47 +0000 (UTC) (envelope-from mozolevsky@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7CF568FC0C for ; Sat, 5 Jun 2010 01:12:47 +0000 (UTC) Received: by gwaa12 with SMTP id a12so144176gwa.13 for ; Fri, 04 Jun 2010 18:12:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:sender:received :in-reply-to:references:from:date:x-google-sender-auth:message-id :subject:to:cc:content-type; bh=dnfMTTudZMSHLIXjFDMyCOTiX7XxBeK4V4inaSB/h+8=; b=QNoqOJeLofy9yzfr3rOVvjwnxZcSG6QtqbwYYt+zKnGQ52SqJKx3XQwSqbUxZzxtOL vnvzJx6VJIkQ7otDi6faWxcH/SEc3qMH73OJ7YqCsD4EtyhvxR7dlTFOO0mG7gZdMrqD qiYmZHdqs+F2wyUdyljJDa65Pd6QZtTrrKqNo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; b=gMOGVJ13guVBx2wMRLL/I7cnUXvW8nZv/Z31NfjSl2K3e0y8WvT0yYqKpFoIc8imLl DS/F0loXj9UUs6MmGHTXoWdXjH4whVUmq0vf2f3wdpAfI0nO3cNgBydwXNAm8KvwwKSb 1M9BuMcfK77BaBTnTdQjqvA3Jj5BFwS4DJGtI= Received: by 10.150.48.2 with SMTP id v2mr11057137ybv.173.1275698614119; Fri, 04 Jun 2010 17:43:34 -0700 (PDT) MIME-Version: 1.0 Sender: mozolevsky@gmail.com Received: by 10.151.84.11 with HTTP; Fri, 4 Jun 2010 17:43:14 -0700 (PDT) In-Reply-To: <4C09932B.6040808@wooh.hu> References: <4C09932B.6040808@wooh.hu> From: Igor Mozolevsky Date: Sat, 5 Jun 2010 01:43:14 +0100 X-Google-Sender-Auth: pKssWYACNvJkvYWrJACZ7WvDmng Message-ID: To: Adam PAPAI Content-Type: text/plain; charset=UTF-8 Cc: freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org Subject: Re: sysbench / fileio - Linux vs. FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jun 2010 01:12:47 -0000 On 5 June 2010 00:58, Adam PAPAI wrote: > How can I tune my disk to make it faster? Is it possible? What is the > reason of the really slow I/O with more than 4 threads? What do you > recommend me to do? Why is it damn slow with 8K blocksize? Does linux still have async disk writes by default? Igor From owner-freebsd-questions@FreeBSD.ORG Sat Jun 5 01:36:25 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 31303106564A; Sat, 5 Jun 2010 01:36:25 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [204.109.60.94]) by mx1.freebsd.org (Postfix) with ESMTP id 134558FC14; Sat, 5 Jun 2010 01:36:24 +0000 (UTC) Received: from core.draftnet (87-194-158-129.bethere.co.uk [87.194.158.129]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id A85485C03; Sat, 5 Jun 2010 01:36:29 +0000 (UTC) From: Bruce Cran To: freebsd-hackers@freebsd.org Date: Sat, 5 Jun 2010 02:36:17 +0100 User-Agent: KMail/1.13.3 (FreeBSD/9.0-CURRENT; KDE/4.4.3; amd64; ; ) References: <4C09932B.6040808@wooh.hu> In-Reply-To: <4C09932B.6040808@wooh.hu> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201006050236.17697.bruce@cran.org.uk> Cc: Adam PAPAI , freebsd-questions@freebsd.org Subject: Re: sysbench / fileio - Linux vs. FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jun 2010 01:36:25 -0000 On Saturday 05 June 2010 00:58:35 Adam PAPAI wrote: > Why FreeBSD is supreme with 1 and 2 thread. And why is it 2 and 3 times > slower with 4-8-16-32 threads compared to Debian? The first two tests (1 > thread and 2 thread) showed me that FreeBSD is supreme in I/O, but later > tests showed me, that it can produce horrible I/O. > > How can I tune my disk to make it faster? Is it possible? What is the > reason of the really slow I/O with more than 4 threads? What do you > recommend me to do? Why is it damn slow with 8K blocksize? Some quick tests show that ufs does do rather poorly on my system too. I have the following filesystems setup: /var : ufs with softupdates /usr/obj : zfs with checksums disabled /usr/src : zfs with compression enabled /home : zfs with compression disabled and checksums enabled I ran a test with a blocksize of 8KB and 16 threads. /var : 25.2MB/s /usr/obj : 64.8MB/s /usr/src : 386.3MB/s /home : 60.3MB/s -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Sat Jun 5 02:37:07 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5668106566C for ; Sat, 5 Jun 2010 02:37:07 +0000 (UTC) (envelope-from eagletree@hughes.net) Received: from smtprelay.b.hostedemail.com (smtprelay0024.b.hostedemail.com [64.98.42.24]) by mx1.freebsd.org (Postfix) with ESMTP id BF17B8FC19 for ; Sat, 5 Jun 2010 02:37:07 +0000 (UTC) Received: from filter.hostedemail.com (b-bigip1 [10.5.19.254]) by smtprelay05.b.hostedemail.com (Postfix) with SMTP id 69146271C2BA for ; Sat, 5 Jun 2010 02:37:06 +0000 (UTC) X-Panda: scanned! X-Session-Marker: 6561676C6574726565406875676865732E6E6574 X-Filterd-Recvd-Size: 2072 Received: from [192.168.0.3] (dpc6682103093.direcpc.com [66.82.103.93]) (Authenticated sender: eagletree@hughes.net) by omf07.b.hostedemail.com (Postfix) with ESMTP for ; Sat, 5 Jun 2010 02:37:03 +0000 (UTC) Message-Id: <9E15A9F3-F67E-4ECC-B1EC-99F65764F831@hughes.net> From: Chris To: FreeBSD-Questions Questions Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Fri, 4 Jun 2010 19:36:50 -0700 X-Mailer: Apple Mail (2.936) Subject: Booting Xserve on 8.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jun 2010 02:37:08 -0000 I have two new Xserves (last years units, 2.8 quad cores). After fighting with OSX for two months, I decided to see if I could install FreeBSD since that is what we have always run on our 10 servers since the 90s (and those two months would have been over in two days had we had FreeBSD from the start). I decided to give it a try tonight after a particularly low ebb in the frustration over trying to make OSX, NOT do user friendly enterprise things, but just configure normal simple applications that we take for granted can be configured and stay configured on FreeBSD. I'm wondering if there is someone on the list who may have information on this. I used the "boot from CD" procedure that apple provides at http://support.apple.com/kb/HT2778?viewlocale=en_US and it will not boot the 8.0 ISO. I configured one normal intel box using this CD so I think it's a good disk, and I verified that the Xserve would read it as a data disk. But I can't get it to boot on the xserve. Bootloader issue? It pops the disk out and puts the gray folder with a question mark to tell me to give it a disk it can read. I tried the i386 8.0 CD and had the same results. I have read where people are installing the PPC version on xserves. Is it possible the amd64 version is not somehow bootable in a modern xserve? Any ideas? Would it be appropriate to ask this on the amd64 list? From owner-freebsd-questions@FreeBSD.ORG Sat Jun 5 05:06:02 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 911031065676 for ; Sat, 5 Jun 2010 05:06:02 +0000 (UTC) (envelope-from ndhertbsd@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0E1D38FC0C for ; Sat, 5 Jun 2010 05:06:01 +0000 (UTC) Received: by bwz2 with SMTP id 2so730518bwz.13 for ; Fri, 04 Jun 2010 22:06:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=lPVCrrfZYJ/GAYmlOmhhIPDnJxP0j3F9eAkQrXqGBYs=; b=gFSM/5qFnJIzexjw034AWyTbAt5Yhb7oOesqYVIOvyUj+vZqh6I7Yo81jwtl9wBAQw fYtgePa7zUW8Z1XAfd7VhsRLAAF59PFq7qCMoYAqrRN1jhR9I3mCbeH9KZVgqngDMHmK ACdlNb3VnUWVaharY/7OwG+78Z2HV0yxn6/QI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Qkltc/wo0KpPvloAX4IHDKy+KFtI6XeS/lUFvitw5wLLXSe0Wn8kl65rDRsNrVjFMK ISzy9OdjXMebCGV9ZEqXg+Sj2HYc+qCgXjBrdKqEDcJHK+Jt5rtqEn96dtausB+DxHcN ZPl0Q1DWPYQX4kXi/0VIGeKn2bsiXYRXhS5XE= MIME-Version: 1.0 Received: by 10.204.81.201 with SMTP id y9mr4637911bkk.144.1275714360602; Fri, 04 Jun 2010 22:06:00 -0700 (PDT) Received: by 10.204.46.100 with HTTP; Fri, 4 Jun 2010 22:06:00 -0700 (PDT) In-Reply-To: <44wrue7j3q.fsf@be-well.ilk.org> References: <44wrue7j3q.fsf@be-well.ilk.org> Date: Sat, 5 Jun 2010 07:06:00 +0200 Message-ID: From: n dhert To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: hal-0.5.14_7 to _8 upgrade problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jun 2010 05:06:02 -0000 > USB_GET_REPORT_ID should be getting picked up from > /usr/include/dev/usb/usb_ioctl.h these days. > Have you still got libusb (or some of its includes) installed on a > system recent enough to have it in the base system? On my system, I do have : ]$ ls -la /usr/include/dev/usb/usb_ioctl.h -r--r--r-- 1 root wheel 9809 May 17 14:57 /usr/include/dev/usb/usb_ioctl.h On the other hand portupgrading always gives me: ---> ** Upgrade tasks 1: 0 done, 1 ignored, 0 skipped and 1 failed ---> Listing the results (+:done / -:ignored / *:skipped / !:failed) - devel/libusb (marked as IGNORE) ! sysutils/hal (hal-0.5.14_7) (compiler error) It seems it still tries to do something with the devel/libusb port? $ pkg_info | grep libusb libusb-0.1.12_4 Library giving userland programs access to USB devices seems to show it is installed. My system started at 7.2 and was upgraded to 8.0 and has given this devel/libusb (marked as IGNORE) even since. If I look on a different system installed for the first time right with 8.0, $ pkg_info | grep libusb reports nothing. 2010/6/4 Lowell Gilbert > n dhert writes: > > > I have a problem with upgrading hal-0.5.14_7 to hal-0.5.14_8 > > > > how to solve this? > > --- > > cc -DHAVE_CONFIG_H -I. -I../../.. > > -DPACKAGE_SYSCONF_DIR=\""/usr/local/etc"\" -D > > PACKAGE_DATA_DIR=\""/usr/local/share"\" > > -DPACKAGE_BIN_DIR=\""/usr/local/bin"\" - > > DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" > > -DPACKAGE_LOCALSTATEDIR=\""/va > > r"\" -I../../.. -I/usr/local/include/dbus-1.0 > > -I/usr/local/include/dbus-1.0/incl > > ude -I/usr/local/include -O2 -pipe -fno-strict-aliasing -Wall > > -Wchar-subscrip > > ts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align > > -Wsign-c > > ompare -MT probe-hiddev.o -MD -MP -MF .deps/probe-hiddev.Tpo -c -o > > probe-hiddev. > > o probe-hiddev.c^M > > probe-hiddev.c: In function 'main':^M > > probe-hiddev.c:81: error: 'USB_GET_REPORT_ID' undeclared (first use in > this > > func > > tion)^M > > probe-hiddev.c:81: error: (Each undeclared identifier is reported only > > once^M > > probe-hiddev.c:81: error: for each function it appears in.)^M > > gmake[5]: *** [probe-hiddev.o] Error 1^M > > gmake[5]: Leaving directory > > `/usr/ports/sysutils/hal/work/hal-0.5.14/hald/freebs > > d/probing'^M > > gmake[4]: *** [all-recursive] Error 1^M > > gmake[4]: Leaving directory > > `/usr/ports/sysutils/hal/work/hal-0.5.14/hald/freebs > > d'^M > > gmake[3]: *** [all-recursive] Error 1^M > > gmake[3]: Leaving directory > `/usr/ports/sysutils/hal/work/hal-0.5.14/hald'^M > > gmake[2]: *** [all] Error 2^M > > gmake[2]: Leaving directory > `/usr/ports/sysutils/hal/work/hal-0.5.14/hald'^M > > gmake[1]: *** [all-recursive] Error 1^M > > gmake[1]: Leaving directory `/usr/ports/sysutils/hal/work/hal-0.5.14'^M > > gmake: *** [all] Error 2^M > > *** Error code 1^M > > ^M > > Stop in /usr/ports/sysutils/hal.^M > > ---> Build of sysutils/hal ended at: Thu, 03 Jun 2010 00:09:33 +0200 > > (consumed > > 00:00:31) > > ---> Upgrade of sysutils/hal ended at: Thu, 03 Jun 2010 00:09:33 +0200 > > (consume > > d 00:00:31) > > USB_GET_REPORT_ID should be getting picked up from > /usr/include/dev/usb/usb_ioctl.h these days. > > Have you still got libusb (or some of its includes) installed on a > system recent enough to have it in the base system? > From owner-freebsd-questions@FreeBSD.ORG Sat Jun 5 06:17:42 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A963C106564A for ; Sat, 5 Jun 2010 06:17:42 +0000 (UTC) (envelope-from kline@thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 6D1A18FC1F for ; Sat, 5 Jun 2010 06:17:42 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by ethic.thought.org (8.14.3/8.14.3) with ESMTP id o556Hcwc039653 for ; Fri, 4 Jun 2010 23:17:38 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Fri, 4 Jun 2010 23:17:37 -0700 (PDT) Date: Fri, 4 Jun 2010 23:17:37 -0700 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20100605061734.GA7082@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. Cc: Subject: long day, {04jun10} X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jun 2010 06:17:42 -0000 guys, esp'ly tex wizards, is there a tex version of georgia? [[i know, i know, somebody created this typefae for microwit.copr, everybody favorite company. company, corp, or human being.]] notwithstanding, i like it for printed material. it is small, even a very smaall pt-sized like 10pt, and easy on the eye. since i was pointed at some of the better serif for for text, i've checked out every one. compared them to georgia; it tops my best list. i was up past 03:00 this morning messing with things tex. ---cannot find xetex, btw, nor xelatex. so that is a 2nd qstn: do we have a ports directory where the tex stuff is located? lyx15 is in /usr/ports/print for some reason; the one time i played with lyx, it was more of a wordprocessor app. finally, is there any font+tex site =and= mailing list that the tex wizards onlist know of? tx everybody, gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org 99 44/100% Guaranteed Novel From owner-freebsd-questions@FreeBSD.ORG Sat Jun 5 07:27:02 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 971961065670; Sat, 5 Jun 2010 07:27:02 +0000 (UTC) (envelope-from wooh@wooh.hu) Received: from mail.netidea.hu (netwarehouse.netidea.hu [195.228.254.126]) by mx1.freebsd.org (Postfix) with ESMTP id 4FF1B8FC0A; Sat, 5 Jun 2010 07:27:01 +0000 (UTC) Received: from radon (localhost [127.0.0.1]) by mail.netidea.hu (Postfix) with ESMTP id 9A9C7129359; Sat, 5 Jun 2010 09:26:29 +0200 (CEST) X-Virus-Scanned: amavisd-new at netidea.hu Received: from mail.netidea.hu ([127.0.0.1]) by radon (mail.netidea.hu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fDpAUVYMULTC; Sat, 5 Jun 2010 09:26:29 +0200 (CEST) Received: from jamms-MacBook.local (catv-89-132-136-110.catv.broadband.hu [89.132.136.110]) by mail.netidea.hu (Postfix) with ESMTP id 095A1129356; Sat, 5 Jun 2010 09:26:29 +0200 (CEST) Message-ID: <4C09FC43.8070804@wooh.hu> Date: Sat, 05 Jun 2010 09:26:59 +0200 From: Adam PAPAI User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: Bruce Cran References: <4C09932B.6040808@wooh.hu> <201006050236.17697.bruce@cran.org.uk> In-Reply-To: <201006050236.17697.bruce@cran.org.uk> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org Subject: Re: sysbench / fileio - Linux vs. FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jun 2010 07:27:02 -0000 On 6/5/10 3:36 AM, Bruce Cran wrote: > Some quick tests show that ufs does do rather poorly on my system too. I have > the following filesystems setup: > > /var : ufs with softupdates > /usr/obj : zfs with checksums disabled > /usr/src : zfs with compression enabled > /home : zfs with compression disabled and checksums enabled > > I ran a test with a blocksize of 8KB and 16 threads. > > /var : 25.2MB/s > /usr/obj : 64.8MB/s > /usr/src : 386.3MB/s > /home : 60.3MB/s > It seems I have to test it with zfs as well. Tomorrow I'm gonna test it. -- Adam PAPAI From owner-freebsd-questions@FreeBSD.ORG Sat Jun 5 07:54:57 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 41B241065758 for ; Sat, 5 Jun 2010 07:54:57 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9F8998FC1A for ; Sat, 5 Jun 2010 07:54:56 +0000 (UTC) Received: by bwz2 with SMTP id 2so770220bwz.13 for ; Sat, 05 Jun 2010 00:54:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:received :reply-to:in-reply-to:references:date:message-id:subject:from:to:cc :content-type; bh=6EhFLbR2ZIAxplYyJTpQOaDZxKcpZ9VhofHMKQ7jAWQ=; b=RQoZMqWshbYeJZalGjgACGkF0OHhxCr3DftSTPjYLkd+khfHxU0pSTn7v0n2gYElXN k7iexRBcwJ1eQ7cooyCpOMd/U83pbXht8sYE9WBP8l+/tngZscB/gsZGihGEs2yJLwUt 7LyoXur2ZNeLT6vEg6Oqoch+uU++cErFDVTmY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; b=XSxJ3v0PslhKmKXuZSX32CW9lzICf+2ZOYgLnvlHXKdhp//Dm/QX8KDPMl1/nRc3HM vprNAu0OgY4my+DfJiWOqLpEJFkgaWhfD/v6VCBPPigwKREXHrzicr71pr3N7L5gynNL yq66S62SiY2oMo2Fz/Ub08fh9e60j7x+SktoE= MIME-Version: 1.0 Received: by 10.204.46.223 with SMTP id k31mr4720117bkf.148.1275724495312; Sat, 05 Jun 2010 00:54:55 -0700 (PDT) Received: by 10.204.54.211 with HTTP; Sat, 5 Jun 2010 00:54:55 -0700 (PDT) Received: by 10.204.54.211 with HTTP; Sat, 5 Jun 2010 00:54:55 -0700 (PDT) In-Reply-To: References: <9E15A9F3-F67E-4ECC-B1EC-99F65764F831@hughes.net> Date: Sat, 5 Jun 2010 08:54:55 +0100 Message-ID: From: Chris Rees To: Chris Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD-Questions Questions Subject: Re: Booting Xserve on 8.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: utisoft@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jun 2010 07:54:57 -0000 Perhaps you need to install Boot Camp. The booting procedure is EFI, maybe that's playing havoc. On 5 Jun 2010 03:37, "Chris" wrote: I have two new Xserves (last years units, 2.8 quad cores). After fighting with OSX for two months, I decided to see if I could install FreeBSD since that is what we have always run on our 10 servers since the 90s (and those two months would have been over in two days had we had FreeBSD from the start). I decided to give it a try tonight after a particularly low ebb in the frustration over trying to make OSX, NOT do user friendly enterprise things, but just configure normal simple applications that we take for granted can be configured and stay configured on FreeBSD. I'm wondering if there is someone on the list who may have information on this. I used the "boot from CD" procedure that apple provides at http://support.apple.com/kb/HT2778?viewlocale=en_US and it will not boot the 8.0 ISO. I configured one normal intel box using this CD so I think it's a good disk, and I verified that the Xserve would read it as a data disk. But I can't get it to boot on the xserve. Bootloader issue? It pops the disk out and puts the gray folder with a question mark to tell me to give it a disk it can read. I tried the i386 8.0 CD and had the same results. I have read where people are installing the PPC version on xserves. Is it possible the amd64 version is not somehow bootable in a modern xserve? Any ideas? Would it be appropriate to ask this on the amd64 list? _______________________________________________ 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 Sat Jun 5 09:47:19 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 38F851065675 for ; Sat, 5 Jun 2010 09:47:19 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr1.xs4all.nl (smtp-vbr1.xs4all.nl [194.109.24.21]) by mx1.freebsd.org (Postfix) with ESMTP id AA4328FC13 for ; Sat, 5 Jun 2010 09:47:18 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr1.xs4all.nl (8.13.8/8.13.8) with ESMTP id o559lFo6098550; Sat, 5 Jun 2010 11:47:15 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id 49AF8BA8F; Sat, 5 Jun 2010 11:47:15 +0200 (CEST) Date: Sat, 5 Jun 2010 11:47:15 +0200 From: Roland Smith To: Gary Kline Message-ID: <20100605094715.GA37824@slackbox.erewhon.net> References: <20100605061734.GA7082@thought.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IS0zKkzwUGydFO0o" Content-Disposition: inline In-Reply-To: <20100605061734.GA7082@thought.org> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: FreeBSD Mailing List Subject: Re: long day, {04jun10} X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jun 2010 09:47:19 -0000 --IS0zKkzwUGydFO0o Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 04, 2010 at 11:17:37PM -0700, Gary Kline wrote: >=20 > guys, >=20 > esp'ly tex wizards, is there a tex version of georgia? [[i know, > i know, somebody created this typefae for microwit.copr, > everybody favorite company. company, corp, or human being.]] > notwithstanding, i like it for printed material. it is small, > even a very smaall pt-sized like 10pt, and easy on the eye. > since i was pointed at some of the better serif for for text, > i've checked out every one. compared them to georgia; it tops my > best list. =20 Download and install the 'winfonts' package from CTAN: http://www.ctan.org/tex-archive/fonts/winfonts/=20 Installation instructions are for windoze unfortunately. Unpack the zipfile= in the appropriate directory (for my TeXLive it would be in /usr/local/texlive/2009/texmf-var/, don't know about teTeX). If necessary, download the fonts from http://sourceforge.net/projects/corefonts/files/ copy the truetype fonts to the appropriate directory (/usr/local/texlive/2009/texmf-var/fonts/truetype for my TeXLive install). Run mktexlsr. Now add winfonts.map to your updmap.cfg file, and run updmap. You should then be able to use the fonts with \usepackage{winfonts}. > i was up past 03:00 this morning messing with things tex. > ---cannot find xetex, btw, nor xelatex. so that is a 2nd qstn: > do we have a ports directory where the tex stuff is located? The TeX in ports is outdated and abandoned upstream. Install TeXLive instea= d. > finally, is there any font+tex site =3Dand=3D mailing list that the > tex wizards onlist know of? Your local TeX User Group will probably have a mailing list. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --IS0zKkzwUGydFO0o Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwKHSMACgkQEnfvsMMhpyV+wwCfUNWTV2dYg+bE4ykoDf3kyTBz jI0AnRFeZOSMW0gqWggU2Uahqd1e7AQ1 =DlcD -----END PGP SIGNATURE----- --IS0zKkzwUGydFO0o-- From owner-freebsd-questions@FreeBSD.ORG Sat Jun 5 10:50:19 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D41E106566B for ; Sat, 5 Jun 2010 10:50:19 +0000 (UTC) (envelope-from miklosovic.freebsd@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by mx1.freebsd.org (Postfix) with ESMTP id E3BD58FC17 for ; Sat, 5 Jun 2010 10:50:18 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id l26so269831fgb.13 for ; Sat, 05 Jun 2010 03:50:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=acEZEmBuS0Z+yJD3czmBz58nMSgDqaEqoeDfVuB/PJg=; b=oeMFHYNZ948X8RQLibS3W1YAZksGSF3BLJhEqk7vfe8dKlIcNw1QlGC+A2OLm62fWU 2bB8h3Onju1EfHg2DumzCKmrK6WL6JOFFxBwmbztGunrYIX6LJDJMInpItK/jMoTyCpD lzWemWr/270YqDlGTARzxPsjRN0ysaffREYp8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=nxf+JxqZ15vM6svNhaNwuQR2+JLDqxJ3G58KzOnrGOO1aR1AFTDLQCaV/fC0xuT9JI s4OwO4xcKlg/tqetq6n/MMlJ81xdW/96WdV9LoyZfp34nYFn9r8Ejghn3GuXF5/C1FBa TwRy/1GSmEJQ+eP6FKCqIWUT99olReRErOZcA= MIME-Version: 1.0 Received: by 10.103.78.31 with SMTP id f31mr4246974mul.79.1275735015688; Sat, 05 Jun 2010 03:50:15 -0700 (PDT) Received: by 10.103.172.11 with HTTP; Sat, 5 Jun 2010 03:50:15 -0700 (PDT) In-Reply-To: <201006050236.17697.bruce@cran.org.uk> References: <4C09932B.6040808@wooh.hu> <201006050236.17697.bruce@cran.org.uk> Date: Sat, 5 Jun 2010 12:50:15 +0200 Message-ID: From: Stefan Miklosovic To: Bruce Cran Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org, Adam PAPAI Subject: Re: sysbench / fileio - Linux vs. FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jun 2010 10:50:19 -0000 > /var : ufs with softupdates > /usr/obj : zfs with checksums disabled > /usr/src : zfs with compression enabled > /home : zfs with compression disabled and checksums enabled > > I ran a test with a blocksize of 8KB and 16 threads. > > /var : 25.2MB/s > /usr/obj : 64.8MB/s > /usr/src : 386.3MB/s > /home : 60.3MB/s Do I understand it well? It seems that zfs with compression enabled on /usr/src with 8KB block size and 16 threads performs 386.3MB/s which is about 6 times better than debian5? I am thinking about this image http://tech-blog.wooh.hu/~wooh/debian_vs_freebsd_io_16_seqwr.png what is your system specs? From owner-freebsd-questions@FreeBSD.ORG Sat Jun 5 11:04:12 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 40EE510656D5; Sat, 5 Jun 2010 11:04:12 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [204.109.60.94]) by mx1.freebsd.org (Postfix) with ESMTP id 1F1BC8FC20; Sat, 5 Jun 2010 11:04:11 +0000 (UTC) Received: from unknown (87-194-158-129.bethere.co.uk [87.194.158.129]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id AAF085C84; Sat, 5 Jun 2010 11:04:16 +0000 (UTC) Date: Sat, 5 Jun 2010 12:04:05 +0100 From: Bruce Cran To: Stefan Miklosovic Message-ID: <20100605120405.00007954@unknown> In-Reply-To: References: <4C09932B.6040808@wooh.hu> <201006050236.17697.bruce@cran.org.uk> X-Mailer: Claws Mail 3.7.4cvs1 (GTK+ 2.16.0; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org, Adam PAPAI Subject: Re: sysbench / fileio - Linux vs. FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jun 2010 11:04:12 -0000 On Sat, 5 Jun 2010 12:50:15 +0200 Stefan Miklosovic wrote: > > /var : ufs with softupdates > > /usr/obj : zfs with checksums disabled > > /usr/src : zfs with compression enabled > > /home : zfs with compression disabled and checksums enabled > > > > I ran a test with a blocksize of 8KB and 16 threads. > > > > /var : 25.2MB/s > > /usr/obj : 64.8MB/s > > /usr/src : 386.3MB/s > > /home : 60.3MB/s > > Do I understand it well? It seems that zfs with compression enabled on > /usr/src with 8KB block size and 16 threads performs 386.3MB/s which > is about 6 times better than debian5? I am thinking about this image > http://tech-blog.wooh.hu/~wooh/debian_vs_freebsd_io_16_seqwr.png Yes - on one run it even hit 500MB/s. I suspect, however, that the benchmark isn't accurate because it won't be writing typical data. Instead it's probably using a buffer that compresses very well. -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Sat Jun 5 11:17:57 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 48D5B106566B; Sat, 5 Jun 2010 11:17:57 +0000 (UTC) (envelope-from wooh@wooh.hu) Received: from mail.netidea.hu (netwarehouse.netidea.hu [195.228.254.126]) by mx1.freebsd.org (Postfix) with ESMTP id 00BC48FC16; Sat, 5 Jun 2010 11:17:56 +0000 (UTC) Received: from radon (localhost [127.0.0.1]) by mail.netidea.hu (Postfix) with ESMTP id 463A5129293; Sat, 5 Jun 2010 13:17:24 +0200 (CEST) X-Virus-Scanned: amavisd-new at netidea.hu Received: from mail.netidea.hu ([127.0.0.1]) by radon (mail.netidea.hu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5KpeR6XT2xRC; Sat, 5 Jun 2010 13:17:23 +0200 (CEST) Received: from jamms-MacBook.local (catv-89-134-206-111.catv.broadband.hu [89.134.206.111]) by mail.netidea.hu (Postfix) with ESMTP id 71A7F12925C; Sat, 5 Jun 2010 13:17:23 +0200 (CEST) Message-ID: <4C0A3262.8010507@wooh.hu> Date: Sat, 05 Jun 2010 13:17:54 +0200 From: Adam PAPAI User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org References: <4C09932B.6040808@wooh.hu> <201006050236.17697.bruce@cran.org.uk> <20100605120405.00007954@unknown> In-Reply-To: <20100605120405.00007954@unknown> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: Subject: Re: sysbench / fileio - Linux vs. FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jun 2010 11:17:57 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 6/5/10 1:04 PM, Bruce Cran wrote: > On Sat, 5 Jun 2010 12:50:15 +0200 > Stefan Miklosovic wrote: > >>> /var : ufs with softupdates >>> /usr/obj : zfs with checksums disabled >>> /usr/src : zfs with compression enabled >>> /home : zfs with compression disabled and checksums enabled >>> >>> I ran a test with a blocksize of 8KB and 16 threads. >>> >>> /var : 25.2MB/s >>> /usr/obj : 64.8MB/s >>> /usr/src : 386.3MB/s >>> /home : 60.3MB/s >> >> Do I understand it well? It seems that zfs with compression enabled on >> /usr/src with 8KB block size and 16 threads performs 386.3MB/s which >> is about 6 times better than debian5? I am thinking about this image >> http://tech-blog.wooh.hu/~wooh/debian_vs_freebsd_io_16_seqwr.png > > Yes - on one run it even hit 500MB/s. I suspect, however, that the > benchmark isn't accurate because it won't be writing typical data. > Instead it's probably using a buffer that compresses very well. Hm.. My ZFS tests showed me the same results. With compression it's pretty fast. An application benchmark will give us typical data write, so I'll run PgSQL benchmarks on the ZFS pool as well. - -- Adam PAPAI NETIDEA Informatikai Szolgáltató Kft. http://www.netidea.hu E-mail: wooh@wooh.hu Phone: +36 30 33-55-735 (Hungary) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJMCjJiAAoJEGq0EWvh5uiIKFMH/1dP4OZGAMiBNSoRqGFfnZ5B /vtf5do2t3JRbjfYi2HyNn8gXss4xRDPouVmftl2OglIXA77hMIyIcjyoWnHGTBc M1WnnNDz1wIb8EYSl9MYKAjQA1wGsYd4UImd1MqOtZfSuOht6hTLoSiAnC1xMLtk 9vgFUtMok8XclPqL08J/dWs39+HwhSaooRnLEx7IYLSgFis7vQtJjOaWWG3LUADw QsivcCSjBBoQ7LD9WXN5prmlwt+CMBU/F1yyMaJXa0bNI7AM+hh5Mix03P4HAKEz 4Z92lcmLXzSVnllA0tAJvAwEPtk4laP6yzM9egStDNvxONLueQVLXfY8gvukQ2k= =MVI2 -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Sat Jun 5 12:49:06 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1822F106566B for ; Sat, 5 Jun 2010 12:49:06 +0000 (UTC) (envelope-from eagletree@hughes.net) Received: from smtprelay.b.hostedemail.com (smtprelay0134.b.hostedemail.com [64.98.42.134]) by mx1.freebsd.org (Postfix) with ESMTP id C3FD98FC17 for ; Sat, 5 Jun 2010 12:49:05 +0000 (UTC) Received: from filter.hostedemail.com (b-bigip1 [10.5.19.254]) by smtprelay06.b.hostedemail.com (Postfix) with SMTP id 51912ACCCD8 for ; Sat, 5 Jun 2010 12:49:04 +0000 (UTC) X-Panda: scanned! X-Session-Marker: 6561676C6574726565406875676865732E6E6574 X-Filterd-Recvd-Size: 7621 Received: from [192.168.0.3] (dpc6682103093.direcpc.com [66.82.103.93]) (Authenticated sender: eagletree@hughes.net) by omf12.b.hostedemail.com (Postfix) with ESMTP for ; Sat, 5 Jun 2010 12:48:59 +0000 (UTC) Message-Id: <63A8A75A-D0F6-4FC6-A1D6-784792B5BBB7@hughes.net> From: Chris To: FreeBSD-Questions Questions In-Reply-To: Mime-Version: 1.0 (Apple Message framework v936) Date: Sat, 5 Jun 2010 05:48:47 -0700 References: <9E15A9F3-F67E-4ECC-B1EC-99F65764F831@hughes.net> X-Mailer: Apple Mail (2.936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Booting Xserve on 8.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jun 2010 12:49:06 -0000 On Jun 5, 2010, at 12:54 AM, Chris Rees wrote: > Perhaps you need to install Boot Camp. The booting procedure is EFI, > maybe that's playing havoc. > > Thanks for the response. That would be a great solution, I read that Apple doesn't permit it to be installed on the XServe. That comes from an Apple article in their support pages dated November 19, 2008. Firmware update is required and none exists according to the note. I am researching if that is still true but haven't turned anything up yet. EFI is the issue. I was hoping there is new information such as an installation with EFI configuration files to permit the boot. There are instructions available on creating such an installation for linux variants. They don't seem to apply to FreeBSD or I haven't the knowledge to create such an installation. >> On 5 Jun 2010 03:37, "Chris" wrote: >> >> I have two new Xserves (last years units, 2.8 quad cores). After >> fighting with OSX for two months, I decided to see if I could install >> FreeBSD since that is what we have always run on our 10 servers >> since the 90s (and those two months would have been over in two >> days had we had FreeBSD from the start). I decided to give it a try >> tonight after a particularly low ebb in the frustration over trying >> to make >> OSX, NOT do user friendly enterprise things, but just configure >> normal >> simple applications that we take for granted can be configured and >> stay configured on FreeBSD. >> >> I'm wondering if there is someone on the list who may have >> information >> on this. I used the "boot from CD" procedure that apple provides >> at http://support.apple.com/kb/HT2778?viewlocale=en_US and it will >> not boot the 8.0 ISO. I configured one normal intel box using this CD >> so I think it's a good disk, and I verified that the Xserve would >> read >> it as a data disk. But I can't get it to boot on the xserve. >> Bootloader >> issue? >> >> It pops the disk out and puts the gray folder with a question mark to >> tell me to give it a disk it can read. I tried the i386 8.0 CD and >> had the >> same results. >> >> I have read where people are installing the PPC version on xserves. >> Is it possible the amd64 version is not somehow bootable in a modern >> xserve? Any ideas? Would it be appropriate to ask this on the amd64 >> list? >> >> _______________________________________________ >> 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 Sat Jun 5 12:51:34 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 17C1F1065675 for ; Sat, 5 Jun 2010 12:51:34 +0000 (UTC) (envelope-from aiza21@comclark.com) Received: from avmxsmtp2.comclark.com (avmxsmtp2.comclark.com [202.69.191.116]) by mx1.freebsd.org (Postfix) with ESMTP id C78DB8FC12 for ; Sat, 5 Jun 2010 12:51:31 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlcfAE/lCUzKRa1aPGdsb2JhbAAHh2iWcQEBAQE1vhyFFwSDSA X-IronPort-AV: E=Sophos;i="4.53,366,1272816000"; d="scan'208";a="2129418" Received: from unknown (HELO [10.0.10.3]) ([202.69.173.90]) by avmxsmtp4.comclark.com with ESMTP; 05 Jun 2010 20:51:28 +0800 Message-ID: <4C0A4850.8090107@comclark.com> Date: Sat, 05 Jun 2010 20:51:28 +0800 From: Aiza User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Robert Bonomi References: <201006041812.o54ICwto011675@mail.r-bonomi.com> In-Reply-To: <201006041812.o54ICwto011675@mail.r-bonomi.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: .sh & getopts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jun 2010 12:51:34 -0000 Robert Bonomi wrote: > m >> From owner-freebsd-questions@freebsd.org Thu Jun 3 23:36:28 2010 >> Date: Fri, 04 Jun 2010 12:35:56 +0800 >> From: Aiza >> To: "questions@freebsd.org" >> Cc: >> Subject: .sh & getopts >> >> Have this code >> >> shift; while getopts :ugr: arg; do case ${arg} in >> u) action="freebsd-update";; >> g) action="freebsd-upgrade";; >> r) action="freebsd-rollback";; >> ?) exerr ${cmd_usage};; >> esac; done; shift $(( ${OPTION} -1 )) >> >> >> Command being executed looks like this, cmd action -flags aaaa bbbb >> >> Only a single -flag in allowed on the command. >> >> $# gives a count of parms ie: aaaa bbbb. in this example a count of 2. >> >> I am looking for something to check that holds the number of flags on >> the command. so I can code. if flag_count gt 1 = error >> >> Is there such a thing created by getopts? > > Why bother?? > > flag_count=0 > shift; while getopts :ugr: arg > if flag_count = 1; then > exerr ${cmd_usage} > fi > flag_count=1; > do case ${arg} in > {{blah-blah}} > nope dont work. If the flags are counted at all it has to be a function of getopts From owner-freebsd-questions@FreeBSD.ORG Sat Jun 5 12:52:49 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6454B1065692 for ; Sat, 5 Jun 2010 12:52:49 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail2.sea5.speakeasy.net (mail2.sea5.speakeasy.net [69.17.117.41]) by mx1.freebsd.org (Postfix) with ESMTP id 23DBF8FC1F for ; Sat, 5 Jun 2010 12:52:48 +0000 (UTC) Received: (qmail 12814 invoked from network); 5 Jun 2010 12:52:44 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail2.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 5 Jun 2010 12:52:44 -0000 Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.6]) by be-well.ilk.org (Postfix) with ESMTP id 6CEFB5082E; Sat, 5 Jun 2010 08:52:29 -0400 (EDT) Received: by lowell-desk.lan (Postfix, from userid 1147) id 2B8381CC88; Sat, 5 Jun 2010 08:52:29 -0400 (EDT) From: Lowell Gilbert To: n dhert References: <44wrue7j3q.fsf@be-well.ilk.org> Date: Sat, 05 Jun 2010 08:52:28 -0400 In-Reply-To: (n. dhert's message of "Sat, 5 Jun 2010 07:06:00 +0200") Message-ID: <44eigl63qr.fsf@lowell-desk.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: hal-0.5.14_7 to _8 upgrade problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jun 2010 12:52:49 -0000 n dhert writes: >> USB_GET_REPORT_ID should be getting picked up from >> /usr/include/dev/usb/usb_ioctl.h these days. > >> Have you still got libusb (or some of its includes) installed on a >> system recent enough to have it in the base system? > On my system, I do have : > ]$ ls -la /usr/include/dev/usb/usb_ioctl.h > -r--r--r-- 1 root wheel 9809 May 17 14:57 > /usr/include/dev/usb/usb_ioctl.h > > On the other hand portupgrading always gives me: > ---> ** Upgrade tasks 1: 0 done, 1 ignored, 0 skipped and 1 failed > ---> Listing the results (+:done / -:ignored / *:skipped / !:failed) > - devel/libusb (marked as IGNORE) > ! sysutils/hal (hal-0.5.14_7) (compiler error) > > It seems it still tries to do something with the devel/libusb port? > $ pkg_info | grep libusb > libusb-0.1.12_4 Library giving userland programs access to USB devices > seems to show it is installed. > My system started at 7.2 and was upgraded to 8.0 and has given this > devel/libusb (marked as IGNORE) even since. > If I look on a different system installed for the first time right with 8.0, > > $ pkg_info | grep libusb reports nothing. Right. Remove the devel/libusb port and rebuild everything that depended on it. This was listed in UPDATING. From owner-freebsd-questions@FreeBSD.ORG Sat Jun 5 13:09:27 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C49A3106566B for ; Sat, 5 Jun 2010 13:09:27 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 84B378FC13 for ; Sat, 5 Jun 2010 13:09:27 +0000 (UTC) Received: from r55.edvax.de (port-92-195-108-152.dynamic.qsc.de [92.195.108.152]) by mx01.qsc.de (Postfix) with ESMTP id AB9473DEA3; Sat, 5 Jun 2010 15:09:04 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o55D91iJ001492; Sat, 5 Jun 2010 15:09:01 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 5 Jun 2010 15:09:01 +0200 From: Polytropon To: Roland Smith Message-Id: <20100605150901.99f0fe1c.freebsd@edvax.de> In-Reply-To: <20100605094715.GA37824@slackbox.erewhon.net> References: <20100605061734.GA7082@thought.org> <20100605094715.GA37824@slackbox.erewhon.net> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Gary Kline , FreeBSD Mailing List Subject: Re: long day, {04jun10} X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jun 2010 13:09:27 -0000 Allow me an addition: On Sat, 5 Jun 2010 11:47:15 +0200, Roland Smith wrote: > Download and install the 'winfonts' package from CTAN: > http://www.ctan.org/tex-archive/fonts/winfonts/ > > Installation instructions are for windoze unfortunately. Unpack the zipfile in > the appropriate directory (for my TeXLive it would be in > /usr/local/texlive/2009/texmf-var/, don't know about teTeX). For teTeX (e. g. obtained via "pkg_add -r teTeX"), the directory would be /usr/local/share/texmf-var, as teTeX uses the standardized local/ subtrees (bin, share, etc.) instead of an own subtree. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sat Jun 5 13:41:52 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B0B611065675; Sat, 5 Jun 2010 13:41:52 +0000 (UTC) (envelope-from mozolevsky@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1DEEB8FC18; Sat, 5 Jun 2010 13:41:51 +0000 (UTC) Received: by vws18 with SMTP id 18so292996vws.13 for ; Sat, 05 Jun 2010 06:41:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:sender:received :in-reply-to:references:from:date:x-google-sender-auth:message-id :subject:to:cc:content-type; bh=SpsVcLzNlkM5HruhAmPivxnscu2UgHQMEuLzIFy1LtA=; b=VwRIzrmnm3q/femSJtmgJVspyyb121B+Sq909cYy4lIM9a3srjxUzJEpU4pXlMRFrF XnteLUmLsM1BqCvbGSDobRZAdhPtTPCgynQaNTGH0I+rEP+paAIStQg+qoLeWWm3M3qB opofK2ii3ETeF0zvBXsfDrPbeO+pHX8IqRfdE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; b=jeG2+8eBELICIxWUX9kiSsZ+DPe47TCmRexGmmaZiCwI6iTAxAn5O0oxWbP8L68jFm V+8+AmJFd9CznD+CwSZfWbtLqEHDVP0yG77bH0AG8zW+DVLFjCEqT65wR59J3f/F8GR1 ng87dQslAVOB6uJdfwN1xnTMuhJ0MRcyMeQ+I= Received: by 10.229.188.70 with SMTP id cz6mr3200115qcb.161.1275745310598; Sat, 05 Jun 2010 06:41:50 -0700 (PDT) MIME-Version: 1.0 Sender: mozolevsky@gmail.com Received: by 10.229.236.15 with HTTP; Sat, 5 Jun 2010 06:41:29 -0700 (PDT) In-Reply-To: <4C0A3262.8010507@wooh.hu> References: <4C09932B.6040808@wooh.hu> <201006050236.17697.bruce@cran.org.uk> <20100605120405.00007954@unknown> <4C0A3262.8010507@wooh.hu> From: Igor Mozolevsky Date: Sat, 5 Jun 2010 14:41:29 +0100 X-Google-Sender-Auth: B9ULtr5oBQ2QqXcR8_qw2Wi8XY4 Message-ID: To: Adam PAPAI Content-Type: text/plain; charset=UTF-8 Cc: freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org Subject: Re: sysbench / fileio - Linux vs. FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jun 2010 13:41:52 -0000 >>>> /usr/src : zfs with compression enabled >>>> /usr/src : 386.3MB/s >>> Do I understand it well? It seems that zfs with compression enabled on >>> /usr/src with 8KB block size and 16 threads performs 386.3MB/s which >>> is about 6 times better than debian5? I am thinking about this image >>> http://tech-blog.wooh.hu/~wooh/debian_vs_freebsd_io_16_seqwr.png >> >> Yes - on one run it even hit 500MB/s. I suspect, however, that the >> benchmark isn't accurate because it won't be writing typical data. >> Instead it's probably using a buffer that compresses very well. > > Hm.. My ZFS tests showed me the same results. With compression it's > pretty fast. That's hardly a surprise - you take the source code, compress it into virtual non-existence leaving hardly anything to be written to the disk... Obviously if compression speed >> IO speed and the result of the compression is a significant reduction in size, you have a massive gain in writing that data to the disk. -- Igor From owner-freebsd-questions@FreeBSD.ORG Sat Jun 5 16:27:10 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 961241065674 for ; Sat, 5 Jun 2010 16:27:10 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4F3758FC08 for ; Sat, 5 Jun 2010 16:27:09 +0000 (UTC) Received: by gyh20 with SMTP id 20so2059780gyh.13 for ; Sat, 05 Jun 2010 09:27:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=9ePMuGJscO+f0Nbgvaci3wfWmcKz888hJRYHsuwB9dE=; b=qIxoYq6tA4uQA3iiYyNITsjdxdRBa5ZmZ4UIWo6S0uhWBK1p9Zqfgu4DR7lu2uZwxI +CMmh+837C9RlLTy3fT529C7xnxxwYcSDYEYudOEZlptk1SIPD/78CHz7W7GfCvANT+A 4253KWvaE/j3nncPuA3c//nC/RR9iIStcFjy8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=UM9dAIqIy2z6Vt9AvVhNV9MlyvYIW1xN4F5DjP/FEZn4z4V9YFaXJKdiXm9q7CJQky +8Za5CRAuGgcbXlNrxbmRyE4kDjWUtWCwkloBFmD9uMFAF+7wPlTPX+JrnoDAHjKzLKN O9rUYnnsrrUp6blESnWKXBPea23ShfKwrB468= MIME-Version: 1.0 Received: by 10.90.224.5 with SMTP id w5mr2366506agg.121.1275755229416; Sat, 05 Jun 2010 09:27:09 -0700 (PDT) Received: by 10.90.84.19 with HTTP; Sat, 5 Jun 2010 09:27:09 -0700 (PDT) In-Reply-To: <20100603151125.GA44719@libertas.local.camdensoftware.com> References: <4C070621.5060109@comclark.com> <20100603134212.f1b9b1c0.freebsd@edvax.de> <20100603151125.GA44719@libertas.local.camdensoftware.com> Date: Sat, 5 Jun 2010 12:27:09 -0400 Message-ID: From: "illoai@gmail.com" To: "questions@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: .sh & tar X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jun 2010 16:27:10 -0000 On 3 June 2010 11:11, Chip Camden wrote: > On Jun 03 2010 10:03, illoai@gmail.com wrote: >> On 3 June 2010 07:42, Polytropon wrote: >> > On Thu, 03 Jun 2010 09:32:17 +0800, Aiza wrote: >> >> When I exec tar from within a .sh shell script I get this message >> >> tar: Removing leading '/' from member names >> >> I have tar outputting to > /dev/null and still get this message. >> >> With -v or without makes no difference. >> >> >> >> How can I stop this >> > >> > Depends on WHAT you want to stop - the illness or just its symptoms. := -) >> > >> > If it's just about symptoms, redirect the error messages into >> > nirvana. >> > >> > =A0 =A0 =A0 =A0tar [opts] [file] 1>/dev/null 2>&1 >> > >> > If you want to remove the REASON for "tar: Removing leading '/' >> > from member names", you need to re-create the archives and >> > start archiving from a relative point (instead of from an >> > absolute one), e. g. >> > >> > =A0 =A0 =A0 =A0# cd / >> > =A0 =A0 =A0 =A0# tar cvf etc.tar etc/ >> > >> > (lazy man's method) instead of >> > >> > =A0 =A0 =A0 =A0# tar cvf etc.tar /etc/ >> > >> > The extraction of the archive will usually start in the >> > current directory, so >> > >> > =A0 =A0 =A0 =A0# cd /usr/local/bin >> > =A0 =A0 =A0 =A0# tar xvf etc.tar >> > >> > won't give you an etc/ subtree in /usr/local/bin directory. >> > >> >> tar -cvf - ./ -C / > /dev/null >> ? >> > I can't help wondering why the 'v' option is being specified, unless > /dev/null needs more playing time. Reflex, but you're right, it shouldn't be in there. --=20 -- From owner-freebsd-questions@FreeBSD.ORG Sat Jun 5 16:34:46 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6672B1065677 for ; Sat, 5 Jun 2010 16:34:46 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 222CB8FC16 for ; Sat, 5 Jun 2010 16:34:45 +0000 (UTC) Received: by gwaa12 with SMTP id a12so414624gwa.13 for ; Sat, 05 Jun 2010 09:34:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=mVKNcx1OAzEj/trx7vDSFRwAu3aDsfGycfToUixIvKs=; b=cMe7fw1rTT/4JAQ8cxa6HtdGkXTKJpk7JuVVz3SB+uFCdHWbAs/PRgQPhB89fISgnh vTJEUPiLegnMSQxj02nX7NpXsO3qjjzFfpOMBs65EgEA5eMEHfunv+3SnDhQqnG7ISn9 yiINlzFDVv86h5hVUJkhlg311Pq/KSFEcc7RI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=b5VNN4cNj0QeEwxYfZhJSS6uop+fHmRCfWzO66p3XRhP1veOCs6IQ+hyhkeI1zOW/S xP3oGq1T/MXt3B+/FOXJNsmK1Scp/k3ynEHFzNouxApLHa7MED+1tInJOsp0tJHPE12A 7NMZJaYe+RvcMAMQDdJ68Sl/jf1A9xtCxBG5I= MIME-Version: 1.0 Received: by 10.91.43.15 with SMTP id v15mr5901149agj.122.1275755685102; Sat, 05 Jun 2010 09:34:45 -0700 (PDT) Received: by 10.90.84.19 with HTTP; Sat, 5 Jun 2010 09:34:44 -0700 (PDT) In-Reply-To: References: Date: Sat, 5 Jun 2010 12:34:44 -0400 Message-ID: From: "illoai@gmail.com" To: Stefan Miklosovic Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions Subject: Re: bash instead of csh (completely) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jun 2010 16:34:46 -0000 On 4 June 2010 14:56, Stefan Miklosovic wrote: > Hi list, > > title says it, i would like completely remove csh and install bash > instead. As far I know, csh is build in system, could I remove it > manually and install bash (of course, in reverse order :D) > > Are there such dependencies on csh? I know that real system scripting > is done via /bin/sh > co absence of csh shell should not break system. > > Am I wrong ? Entirely removing [t]csh sounds like a frustrating exercise in futility, but have fun. But before you switch your root shell to something that resides not in your root partition: http://forums.freebsd.org/showthread.php?t=14676 -- -- From owner-freebsd-questions@FreeBSD.ORG Sat Jun 5 16:47:12 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B58D2106566C for ; Sat, 5 Jun 2010 16:47:12 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 725848FC22 for ; Sat, 5 Jun 2010 16:47:12 +0000 (UTC) Received: from r55.edvax.de (port-92-195-108-152.dynamic.qsc.de [92.195.108.152]) by mx01.qsc.de (Postfix) with ESMTP id D480C3DDC9; Sat, 5 Jun 2010 18:47:04 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o55Gl1cb002066; Sat, 5 Jun 2010 18:47:02 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 5 Jun 2010 18:47:01 +0200 From: Polytropon To: "illoai@gmail.com" Message-Id: <20100605184701.e8367487.freebsd@edvax.de> In-Reply-To: References: <4C070621.5060109@comclark.com> <20100603134212.f1b9b1c0.freebsd@edvax.de> <20100603151125.GA44719@libertas.local.camdensoftware.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "questions@freebsd.org" Subject: Re: .sh & tar X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jun 2010 16:47:12 -0000 On Sat, 5 Jun 2010 12:27:09 -0400, "illoai@gmail.com" wr= ote: > On 3 June 2010 11:11, Chip Camden wrote: > > On Jun 03 2010 10:03, illoai@gmail.com wrote: > >> On 3 June 2010 07:42, Polytropon wrote: > >> > Depends on WHAT you want to stop - the illness or just its symptoms.= :-) > >> > > >> > If it's just about symptoms, redirect the error messages into > >> > nirvana. > >> > > >> > =A0 =A0 =A0 =A0tar [opts] [file] 1>/dev/null 2>&1 > >> > > >> > If you want to remove the REASON for "tar: Removing leading '/' > >> > from member names", you need to re-create the archives and > >> > start archiving from a relative point (instead of from an > >> > absolute one), e. g. > >> > > >> > =A0 =A0 =A0 =A0# cd / > >> > =A0 =A0 =A0 =A0# tar cvf etc.tar etc/ > >> > > >> > (lazy man's method) instead of > >> > > >> > =A0 =A0 =A0 =A0# tar cvf etc.tar /etc/ > >> > > >> > The extraction of the archive will usually start in the > >> > current directory, so > >> > > >> > =A0 =A0 =A0 =A0# cd /usr/local/bin > >> > =A0 =A0 =A0 =A0# tar xvf etc.tar > >> > > >> > won't give you an etc/ subtree in /usr/local/bin directory. > >> > > >> > >> tar -cvf - ./ -C / > /dev/null > >> ? > >> > > I can't help wondering why the 'v' option is being specified, unless > > /dev/null needs more playing time. >=20 > Reflex, but you're right, it shouldn't be in there. Your tenmelonhundredgigahertz plentycore machines have to process useless amounts of data to be discarded, or they wouldn't be worth their price. :-) Seriously, pure reflex. No -v needed here as you are not interested in monitoring the process. --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sat Jun 5 17:13:41 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A3DC1065678 for ; Sat, 5 Jun 2010 17:13:41 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh2.interactivevillages.com (wh2.interactivevillages.com [75.125.250.34]) by mx1.freebsd.org (Postfix) with ESMTP id 551838FC19 for ; Sat, 5 Jun 2010 17:13:40 +0000 (UTC) Received: from 174-21-99-21.tukw.qwest.net ([174.21.99.21] helo=_HOSTNAME_) by wh2.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1OKwpD-0007vN-Nv; Sat, 05 Jun 2010 10:06:25 -0700 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Sat, 05 Jun 2010 10:13:34 -0700 Date: Sat, 5 Jun 2010 10:13:34 -0700 From: Chip Camden To: Thomas Dickey Message-ID: <20100605171334.GA60226@libertas.local.camdensoftware.com> Mail-Followup-To: Thomas Dickey , FreeBSD Questions References: <20100604150234.GA56195@libertas.local.camdensoftware.com> <20100604235256.GA14240@saltmine.radix.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100604235256.GA14240@saltmine.radix.net> User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh2.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com Cc: FreeBSD Questions Subject: Re: ncurses X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jun 2010 17:13:41 -0000 On Jun 04 2010 19:52, Thomas Dickey wrote: > On Fri, Jun 04, 2010 at 08:02:34AM -0700, Chip Camden wrote: > > Thanks to some help from Joel Dahl on the mutt-users list, I was able to > > restore correct color support in my mutt installation. But it raises a > > question about ncurses. > > > > It seems that building mutt with the devel/ncurses port installed creates > > the problem I was experiencing: most colors do not show up in mutt, and > > sounds familiar (layout differences, etc, depending on whether wide- or > narrow characters are used). > > > the line-drawing characters are borked. Deinstalling devel/ncurses and > > rebuilding mutt with the base version of ncurses solves the problem. > > > > However, x11/rxvt-unicode depends on devel/ncurses, so any time urxvt > > needs rebuilding we get devel/ncurses reinstalled. Any subsequent rebuild > > of mutt restores the original problem. > > > > Is there any way to sort this out? > > given a copy of the two build logs, I might be able to guess what's amiss. > > (I don't have a current FreeBSD to test directly on...) > > -- > Thomas E. Dickey > http://invisible-island.net > ftp://invisible-island.net Thanks for your response, but I solved the problem by specifying that mutt should use slang instead of ncurses. That works better in a couple of ways, so I'll go with that. I do, however, still have one small problem. I can't seem to get mutt to see that my urxvt has 256 colors enabled. infocmp shows "colors#256" for rxvt-256color, but if I do 'export TERM=rxvt-256color' then zsh complains "can't find terminal definition for rxvt-256color" (though it lets me set it anyway). However, mutt still complains if I try to use any color above 8. With TERM set to "rxvt" infocmp shows "colors#8" and tput colors shows "145". I'm confused. Obviously, not everyone is on the same page here. -- Sterling (Chip) Camden | camdensoftware.com | chipstips.com | chipsquips.com From owner-freebsd-questions@FreeBSD.ORG Sat Jun 5 17:43:28 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6BDEF1065675 for ; Sat, 5 Jun 2010 17:43:28 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171]) by mx1.freebsd.org (Postfix) with ESMTP id F2D728FC0C for ; Sat, 5 Jun 2010 17:43:27 +0000 (UTC) Received: from vampire.homelinux.org (dslb-088-066-044-227.pools.arcor-ip.net [88.66.44.227]) by mrelayeu.kundenserver.de (node=mrbap2) with ESMTP (Nemesis) id 0Luaps-1PKVzO3bl2-010fcm; Sat, 05 Jun 2010 19:30:51 +0200 Received: (qmail 96510 invoked from network); 5 Jun 2010 17:30:50 -0000 Received: from f8x64.laiers.local (192.168.4.188) by mx.laiers.local with SMTP; 5 Jun 2010 17:30:50 -0000 From: Max Laier Organization: FreeBSD To: freebsd-hackers@freebsd.org Date: Sat, 5 Jun 2010 19:30:49 +0200 User-Agent: KMail/1.13.3 (FreeBSD/8.0-RELEASE-p2; KDE/4.4.3; amd64; ; ) References: <4C09932B.6040808@wooh.hu> In-Reply-To: <4C09932B.6040808@wooh.hu> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201006051930.49804.max@love2party.net> X-Provags-ID: V01U2FsdGVkX18Q/g0ToCAOkW7iY8AQsnsmaOfxoRFdxVqxusA Vp038J7VCwCK/V9thJ9hB4VU9+QGSUQidpLYrdPh0k5JGeYHCX X8PrpzwbBW2NNAGEDauHA== Cc: Adam PAPAI , freebsd-questions@freebsd.org Subject: Re: sysbench / fileio - Linux vs. FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jun 2010 17:43:28 -0000 On Saturday 05 June 2010 01:58:35 Adam PAPAI wrote: > Why FreeBSD is supreme with 1 and 2 thread. And why is it 2 and 3 times > slower with 4-8-16-32 threads compared to Debian? The first two tests (1 > thread and 2 thread) showed me that FreeBSD is supreme in I/O, but later > tests showed me, that it can produce horrible I/O. > > How can I tune my disk to make it faster? Is it possible? What is the > reason of the really slow I/O with more than 4 threads? What do you > recommend me to do? Why is it damn slow with 8K blocksize? You may find this interesting: http://info.iet.unipi.it/~luigi/geom_sched/ Regards, Max From owner-freebsd-questions@FreeBSD.ORG Sat Jun 5 19:39:34 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A754106566C for ; Sat, 5 Jun 2010 19:39:34 +0000 (UTC) (envelope-from dickey@saltmine.radix.net) Received: from saltmine.radix.net (saltmine.radix.net [207.192.128.40]) by mx1.freebsd.org (Postfix) with ESMTP id A17908FC18 for ; Sat, 5 Jun 2010 19:39:33 +0000 (UTC) Received: from saltmine.radix.net (localhost [127.0.0.1]) by saltmine.radix.net (8.12.2/8.12.2) with ESMTP id o55JdWV4000824 for ; Sat, 5 Jun 2010 15:39:32 -0400 (EDT) Received: (from dickey@localhost) by saltmine.radix.net (8.12.2/8.12.2/Submit) id o55JdWs6000821 for freebsd-questions@freebsd.org; Sat, 5 Jun 2010 15:39:32 -0400 (EDT) Date: Sat, 5 Jun 2010 15:39:31 -0400 From: Thomas Dickey To: FreeBSD Questions Message-ID: <20100605193931.GA29539@saltmine.radix.net> References: <20100604150234.GA56195@libertas.local.camdensoftware.com> <20100604235256.GA14240@saltmine.radix.net> <20100605171334.GA60226@libertas.local.camdensoftware.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0F1p//8PRICkK4MW" Content-Disposition: inline In-Reply-To: <20100605171334.GA60226@libertas.local.camdensoftware.com> User-Agent: Mutt/1.3.27i Subject: Re: ncurses X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jun 2010 19:39:34 -0000 --0F1p//8PRICkK4MW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jun 05, 2010 at 10:13:34AM -0700, Chip Camden wrote: =2E.. > Thanks for your response, but I solved the problem by specifying that > mutt should use slang instead of ncurses. That works better in a couple > of ways, so I'll go with that. >=20 > I do, however, still have one small problem. I can't seem to get mutt to > see that my urxvt has 256 colors enabled. infocmp shows "colors#256" for > rxvt-256color, but if I do 'export TERM=3Drxvt-256color' then zsh complai= ns > "can't find terminal definition for rxvt-256color" (though it lets me set > it anyway). However, mutt still complains if I try to use any color > above 8. With TERM set to "rxvt" infocmp shows "colors#8" and tput > colors shows "145". I'm confused. Obviously, not everyone is on the > same page here. There is more than one potential problem - here're a few: ncurses' default configuration doesn't support 256 colors ("only" 16, which was more than the standard 15 years ago). It supports 256 colors as a binary-incompatible extension of ncursesw, which could be provided in a port. With/without the extension, infocmp would show the 256. zsh may be looking in the termcap interface, which iirc on FreeBSD is using a separate database. FreeBSD may still be using a tput that's not based on ncurses. "145" is puzzling here, too. --=20 Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net --0F1p//8PRICkK4MW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (SunOS) Comment: For info see http://www.gnupg.org iD8DBQFMCqfvtIqByHxlDocRAiCiAJ0VfL0gzg0tQVk6NNgRyzAZ5qrMmQCggtks S446v0MuL9GZJO+RSXcyIkk= =+0nq -----END PGP SIGNATURE----- --0F1p//8PRICkK4MW-- From owner-freebsd-questions@FreeBSD.ORG Sat Jun 5 21:08:40 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 17FA0106564A for ; Sat, 5 Jun 2010 21:08:40 +0000 (UTC) (envelope-from kline@thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id ACDBC8FC12 for ; Sat, 5 Jun 2010 21:08:39 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by ethic.thought.org (8.14.3/8.14.3) with ESMTP id o55L8ZUr092331; Sat, 5 Jun 2010 14:08:35 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Sat, 5 Jun 2010 14:08:34 -0700 (PDT) Date: Sat, 5 Jun 2010 14:08:34 -0700 From: Gary Kline To: Roland Smith Message-ID: <20100605210831.GA87130@thought.org> References: <20100605061734.GA7082@thought.org> <20100605094715.GA37824@slackbox.erewhon.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100605094715.GA37824@slackbox.erewhon.net> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. Cc: FreeBSD Mailing List Subject: Re: long day, {04jun10} X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jun 2010 21:08:40 -0000 On Sat, Jun 05, 2010 at 11:47:15AM +0200, Roland Smith wrote: > On Fri, Jun 04, 2010 at 11:17:37PM -0700, Gary Kline wrote: > > > > guys, > > > > esp'ly tex wizards, is there a tex version of georgia? [[i know, > > i know, somebody created this typefae for microwit.copr, > > everybody favorite company. company, corp, or human being.]] > > notwithstanding, i like it for printed material. it is small, > > even a very smaall pt-sized like 10pt, and easy on the eye. > > since i was pointed at some of the better serif for for text, > > i've checked out every one. compared them to georgia; it tops my > > best list. > > Download and install the 'winfonts' package from CTAN: > http://www.ctan.org/tex-archive/fonts/winfonts/ > > Installation instructions are for windoze unfortunately. Unpack the zipfile in > the appropriate directory (for my TeXLive it would be in > /usr/local/texlive/2009/texmf-var/, don't know about teTeX). If necessary, > download the fonts from http://sourceforge.net/projects/corefonts/files/ > copy the truetype fonts to the appropriate directory > (/usr/local/texlive/2009/texmf-var/fonts/truetype for my TeXLive install). > Run mktexlsr. Now add winfonts.map to your updmap.cfg file, and run updmap. > You should then be able to use the fonts with \usepackage{winfonts}. super! --it isn't critical that i use georigia, just something as size-efficient. i just found TUG FOr North America, FWIW.... :_) > > > i was up past 03:00 this morning messing with things tex. > > ---cannot find xetex, btw, nor xelatex. so that is a 2nd qstn: > > do we have a ports directory where the tex stuff is located? > > The TeX in ports is outdated and abandoned upstream. Install TeXLive instead. yup, there is a tkxmlive port in ports/textproc. more to the point, i found a slew of texlive stuff hosts on google. > > > finally, is there any font+tex site =and= mailing list that the > > tex wizards onlist know of? > > Your local TeX User Group will probably have a mailing list. > well, i got thrown off my your 'local' prefix until i realized that the latin[12] world might be local to most of those on this list. but there are dozens of other families. thanks muchly. gary > Roland > -- > R.F.Smith http://www.xs4all.nl/~rsmith/ > [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] > pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org 99 44/100% Guaranteed Novel From owner-freebsd-questions@FreeBSD.ORG Sat Jun 5 21:49:32 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 40A06106566B for ; Sat, 5 Jun 2010 21:49:32 +0000 (UTC) (envelope-from kline@thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id F3B408FC14 for ; Sat, 5 Jun 2010 21:49:31 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by ethic.thought.org (8.14.3/8.14.3) with ESMTP id o55LnN7G092548; Sat, 5 Jun 2010 14:49:24 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Sat, 5 Jun 2010 14:49:23 -0700 (PDT) Date: Sat, 5 Jun 2010 14:49:22 -0700 From: Gary Kline To: Polytropon Message-ID: <20100605214922.GB87296@thought.org> References: <20100605061734.GA7082@thought.org> <20100605094715.GA37824@slackbox.erewhon.net> <20100605150901.99f0fe1c.freebsd@edvax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100605150901.99f0fe1c.freebsd@edvax.de> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. Cc: Roland Smith , FreeBSD Mailing List Subject: Re: long day, {04jun10} X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jun 2010 21:49:32 -0000 On Sat, Jun 05, 2010 at 03:09:01PM +0200, Polytropon wrote: > Allow me an addition: > > On Sat, 5 Jun 2010 11:47:15 +0200, Roland Smith wrote: > > Download and install the 'winfonts' package from CTAN: > > http://www.ctan.org/tex-archive/fonts/winfonts/ > > > > Installation instructions are for windoze unfortunately. Unpack the zipfile in > > the appropriate directory (for my TeXLive it would be in > > /usr/local/texlive/2009/texmf-var/, don't know about teTeX). > > For teTeX (e. g. obtained via "pkg_add -r teTeX"), the directory > would be /usr/local/share/texmf-var, as teTeX uses the standardized > local/ subtrees (bin, share, etc.) instead of an own subtree. > ha. [well, not =that= surprised]; i already have teTeX installed. going to see how to install texlive. gary > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org 99 44/100% Guaranteed Novel From owner-freebsd-questions@FreeBSD.ORG Sat Jun 5 23:01:07 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E7D3106568D for ; Sat, 5 Jun 2010 23:01:07 +0000 (UTC) (envelope-from terietor@gmail.com) Received: from mail-ww0-f54.google.com (mail-ww0-f54.google.com [74.125.82.54]) by mx1.freebsd.org (Postfix) with ESMTP id 385DE8FC38 for ; Sat, 5 Jun 2010 23:01:06 +0000 (UTC) Received: by wwb22 with SMTP id 22so2305696wwb.13 for ; Sat, 05 Jun 2010 16:01:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=WL3pRId/h08J2kDY+9/k3b44/HN0trgEWXVjvaGJdf4=; b=KhwVQpJH2I6TTcmvtyd9tEdXspxfCkln4MoYBMDTuO/hZCrE31oBMHR5tc9J2NOS7t m+DRjypHGC3LESydyjtBBXCbb1aleakToBb/cvQEUmGg1WDdU3o+Sgd7uwKEIpsNj70I uPDUVdwNOUVWnaGJ3/yvWzj6+CNjIcGtfOerc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=DfAySbHdHw0DtK8aKhuqHxNjI2RD7f5vtJvAIdUfzR+skeE4wiJMnr8vqVaOdM7F36 h5o1JEkxdGZPhLNIVpetFWlFdKv3rmZVrZidNiK7f8CuwXRW0XV4l9pOc1QaknR8/9Ww GbARQm6xdHmPFutLXnZ7qlFA1a3ANEjpQlg0s= MIME-Version: 1.0 Received: by 10.216.86.199 with SMTP id w49mr978119wee.84.1275777309243; Sat, 05 Jun 2010 15:35:09 -0700 (PDT) Received: by 10.216.220.144 with HTTP; Sat, 5 Jun 2010 15:35:09 -0700 (PDT) Date: Sat, 5 Jun 2010 22:35:09 +0000 Message-ID: From: Giorgos Tsiapaliokas To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: which is the basic differences between the shells? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jun 2010 23:01:07 -0000 hello, i am coming from the linux world where i was using the bash shell but i found out that there are also much more. can u tell me the basic differences between them?(pros and cons) thanks in advance From owner-freebsd-questions@FreeBSD.ORG Sat Jun 5 23:06:27 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53CA91065670 for ; Sat, 5 Jun 2010 23:06:27 +0000 (UTC) (envelope-from terietor@gmail.com) Received: from mail-ww0-f54.google.com (mail-ww0-f54.google.com [74.125.82.54]) by mx1.freebsd.org (Postfix) with ESMTP id E1B2C8FC08 for ; Sat, 5 Jun 2010 23:06:26 +0000 (UTC) Received: by wwb22 with SMTP id 22so2307759wwb.13 for ; Sat, 05 Jun 2010 16:06:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=bWAhmmM/3cRfV0gp30Ib36WGxAav7FWTKVVlxDWvQ1U=; b=sXxdWUHYGfkHc4xVZTIotjzWrXDdWS+mn5eCfuqjJtYAcxdqor5j6HO1cY8RJFgedH Z+A8fjVrdYAtxn+2nkUPnPNMzSyaicOqQBSHip/AHRMaS9qKhLrOwn9x86hzzrL5HaVj MlU5BGJKjQNYdEGMGkwWCohVJIojk5eyJ0ICU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=YBpCJNlnFNL6ahSprvy8iKsHnLZx053+/AUcjNRmBrAgjcHsYzEFUpuU1SNxdngPbe j+K1d4KobPMlGcGkZYXYPpk1bK6/MpGO+aiKQoFqup8pIgQzSoqFpP/dQRcWXfXDhpBj 01i1s2lEUbDnnmqoaNBpAn6aUWz429w22wIm8= MIME-Version: 1.0 Received: by 10.216.185.202 with SMTP id u52mr1010541wem.46.1275777568951; Sat, 05 Jun 2010 15:39:28 -0700 (PDT) Received: by 10.216.220.144 with HTTP; Sat, 5 Jun 2010 15:39:28 -0700 (PDT) Date: Sat, 5 Jun 2010 22:39:28 +0000 Message-ID: From: Giorgos Tsiapaliokas To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: why so many errors with ports?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jun 2010 23:06:27 -0000 hello, i am coming from the linux world i was a gentoo user and i have install on my second machine FBSD,i have made many formats but every time i try to install a graphical enviroment (such as xfce,kde) many many errors come up. i have heard that the ports are more stable than portage but with portage i didn't have so many errors (actually i can't recall a time when portage "died") am i doing sth wrong or ports comes up with many errors?? P.S.: 1 week not i haven't manage to install a graphical enviroment thanks in advance From owner-freebsd-questions@FreeBSD.ORG Sat Jun 5 23:17:21 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AC7D2106566B for ; Sat, 5 Jun 2010 23:17:21 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh2.interactivevillages.com (wh2.interactivevillages.com [75.125.250.34]) by mx1.freebsd.org (Postfix) with ESMTP id 84FE98FC32 for ; Sat, 5 Jun 2010 23:17:21 +0000 (UTC) Received: from 174-21-99-21.tukw.qwest.net ([174.21.99.21] helo=_HOSTNAME_) by wh2.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1OL2V9-00009Q-8I for freebsd-questions@freebsd.org; Sat, 05 Jun 2010 16:10:04 -0700 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Sat, 05 Jun 2010 16:17:15 -0700 Date: Sat, 5 Jun 2010 16:17:15 -0700 From: Chip Camden To: freebsd-questions@freebsd.org Message-ID: <20100605231715.GD69990@libertas.local.camdensoftware.com> Mail-Followup-To: freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh2.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com Subject: Re: which is the basic differences between the shells? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jun 2010 23:17:21 -0000 On Jun 05 2010 22:35, Giorgos Tsiapaliokas wrote: > hello, > i am coming from the linux world where i was using the bash shell but i > found out that there are also much more. > can u tell me the basic differences between them?(pros and cons) > > thanks in advance > _______________________________________________ > 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" I like zsh, because it's sh-compatible, brings in a lot of the good ideas from csh/tcsh, and the license appears to be copyfree rather than copyleft. man zsh to see that there are so many features they had to break up the man pages. -- Sterling (Chip) Camden | camdensoftware.com | chipstips.com | chipsquips.com From owner-freebsd-questions@FreeBSD.ORG Sat Jun 5 23:19:28 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A9861065670 for ; Sat, 5 Jun 2010 23:19:28 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id C0D678FC16 for ; Sat, 5 Jun 2010 23:19:27 +0000 (UTC) Received: by vws18 with SMTP id 18so916766vws.13 for ; Sat, 05 Jun 2010 16:19:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.182.145 with SMTP id cc17mr3514719qcb.35.1275779966758; Sat, 05 Jun 2010 16:19:26 -0700 (PDT) Sender: aimass@yabarana.com Received: by 10.229.88.12 with HTTP; Sat, 5 Jun 2010 16:19:26 -0700 (PDT) In-Reply-To: References: Date: Sat, 5 Jun 2010 19:19:26 -0400 X-Google-Sender-Auth: W21u0Xl-mkmh7efzvxV7k9KipRg Message-ID: From: Alejandro Imass To: Giorgos Tsiapaliokas Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: why so many errors with ports?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jun 2010 23:19:28 -0000 On Sat, Jun 5, 2010 at 6:39 PM, Giorgos Tsiapaliokas wrote: > hello, > > i am coming from the linux world i was a gentoo user and i have install on > my second machine FBSD,i have made many formats but every time i try to > install a graphical enviroment (such as xfce,kde) many many errors come up. > i have heard that the ports are more stable than portage but with portage i > didn't have so many errors (actually i can't recall a time when portage > "died") > > am i doing sth wrong or ports comes up with many errors?? > Need to specify FBSD version. I had many problems with the graphical stuff as well and decided to install all the heavy weight stuff with binary packages, besides it made no sense for me to wait I don't know how many hours to compile things like OpenOffice and Gnome. For other things I compile everything and hardly have any problems at all. Make sure your ports are up to date and that you have chosen a correct release for your needs. Tip: in FBSD the word stable has a completely different meaning than in the LInux world ;-) > > P.S.: 1 week not i haven't manage to install a graphical enviroment > > > thanks in advance > _______________________________________________ > 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 Sat Jun 5 23:20:51 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F06B5106564A for ; Sat, 5 Jun 2010 23:20:51 +0000 (UTC) (envelope-from aiza21@comclark.com) Received: from avmxsmtp2.comclark.com (avmxsmtp2.comclark.com [202.69.191.116]) by mx1.freebsd.org (Postfix) with ESMTP id 09D188FC12 for ; Sat, 5 Jun 2010 23:20:50 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArwZAPd4CkzKRa1aPGdsb2JhbAAHh2iWcQEBAQE1vX6FFwSDSA X-IronPort-AV: E=Sophos;i="4.53,369,1272816000"; d="scan'208";a="2173081" Received: from unknown (HELO [10.0.10.3]) ([202.69.173.90]) by avmxsmtp2.comclark.com with ESMTP; 06 Jun 2010 07:20:47 +0800 Message-ID: <4C0ADBCF.8040506@comclark.com> Date: Sun, 06 Jun 2010 07:20:47 +0800 From: Aiza User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Robert Bonomi , "questions@freebsd.org" References: <201006051513.o55FDCKj020952@mail.r-bonomi.com> In-Reply-To: <201006051513.o55FDCKj020952@mail.r-bonomi.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: .sh & getopts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jun 2010 23:20:52 -0000 Robert Bonomi wrote: >> Date: Sat, 05 Jun 2010 20:51:28 +0800 >> From: Aiza >> To: Robert Bonomi >> Subject: Re: .sh & getopts >> >> Robert Bonomi wrote: >>> >>>> From owner-freebsd-questions@freebsd.org Thu Jun 3 23:36:28 2010 >>>> Date: Fri, 04 Jun 2010 12:35:56 +0800 >>>> From: Aiza >>>> To: "questions@freebsd.org" >>>> Cc: >>>> Subject: .sh & getopts >>>> >>>> Have this code >>>> >>>> shift; while getopts :ugr: arg; do case ${arg} in >>>> u) action="freebsd-update";; >>>> g) action="freebsd-upgrade";; >>>> r) action="freebsd-rollback";; >>>> ?) exerr ${cmd_usage};; >>>> esac; done; shift $(( ${OPTION} -1 )) >>>> >>>> >>>> Command being executed looks like this, cmd action -flags aaaa bbbb >>>> >>>> Only a single -flag in allowed on the command. >>>> >>>> $# gives a count of parms ie: aaaa bbbb. in this example a count of 2. >>>> >>>> I am looking for something to check that holds the number of flags on >>>> the command. so I can code. if flag_count gt 1 = error >>>> >>>> Is there such a thing created by getopts? >>> Why bother?? >>> >>> flag_count=0 >>> shift; while getopts :ugr: arg >>> if flag_count = 1; then >>> exerr ${cmd_usage} >>> fi >>> flag_count=1; >>> do case ${arg} in >>> {{blah-blah}} >>> >> nope dont work. > > Yup. I was in a hurry, got the code mechanics wrong. it needs to be: > > flag_count=0 > shift; > while getopts :ugr: arg ; do > if flag_count = 1; then > exerr ${cmd_usage} > fi > flag_count=1; > case ${arg} in > {{blah-blah}} > ecas > done > > > I think I see what your are saying. so to adapt it to my code flag_count=0 shift; while getopts :ugr: arg; do flag_count + 1; case ${arg} in u) action="freebsd-update";; g) action="freebsd-upgrade";; r) action="freebsd-rollback";; ?) exerr ${cmd_usage};; esac; done; shift $(( ${OPTION} -1 )) if flag_count gt 3; then exerr ${cmd_usage} fi I think I got the concept correct, but the flag_count + 1 is not correct. I get "flag_count: not found" when I run it this way. From owner-freebsd-questions@FreeBSD.ORG Sat Jun 5 23:24:38 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 246A2106567F for ; Sat, 5 Jun 2010 23:24:38 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id DABD58FC39 for ; Sat, 5 Jun 2010 23:24:37 +0000 (UTC) Received: by vws18 with SMTP id 18so921210vws.13 for ; Sat, 05 Jun 2010 16:24:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.224.72.132 with SMTP id m4mr6827187qaj.145.1275780276883; Sat, 05 Jun 2010 16:24:36 -0700 (PDT) Sender: aimass@yabarana.com Received: by 10.229.88.12 with HTTP; Sat, 5 Jun 2010 16:24:36 -0700 (PDT) In-Reply-To: References: Date: Sat, 5 Jun 2010 19:24:36 -0400 X-Google-Sender-Auth: 2y2LVzZvqb-gL670KAgSAVy3T68 Message-ID: From: Alejandro Imass To: Giorgos Tsiapaliokas Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: which is the basic differences between the shells? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jun 2010 23:24:38 -0000 On Sat, Jun 5, 2010 at 6:35 PM, Giorgos Tsiapaliokas wrote: > hello, > i am coming from the linux world where i was using the bash shell but i > found out that there are also much more. > can u tell me the basic differences between them?(pros and cons) > Too broad a topic I suspect fo u to get an answer here. In FBSD the base system is completely separate from the applications, that is really great because for example your system upgrades are independendent of applications / ports. The base shell is in the base system so don't replace the shell for the root user but rather start bash from your root account if you wish. This will make sense when your system breaks in an upgrade for example. For everything else you can safely use bash and choose bash for your normal users. I use bash all the time even for root, but in the latter case I start it manually. Best, Alejandro Imass > thanks in advance > _______________________________________________ > 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" >