Re: cwm maximized mode
On Mon, Jan 19, 2009 at 5:50 PM, Thomas Pfaff wrote: > On Mon, 19 Jan 2009 03:24:54 +0300 > Alexander Polakov wrote: >> What do you think about cwm(1) maximized mode? I find it rather useful >> on small screens. > >bind 4-f maximize > > That's one key-combination to maximize the current window. If the majority > of cwm(1) users where using small screens, I might give your patch a vote. > > Personally, I always use maximized windows in non-tiling window managers, so this would be great.
OpenBSD 4.5 @AR!
This morning I received the package :D Waiting for 05-01 to install. Greetings!
Computer turns on after turning on with powerdown=YES (4.5 GENERIC i386)
Hi, I'm running OpenBSD 4.5 with a GENERIC kernel (i386), and my computer boots after shutdown when I run halt. It's not the same like rebooting, since when I halt, the computer actually turns off (as in, all the LEDs are off); but when I reboot it, the LEDs remain on. This worked fine in OpenBSD 4.4, the computer turn off at shutdown, and didn't turn on (sic) afterward. Please tell me if you need more information. Motherboard: ASRock 775i65G rc.shutdown: powerdown=YES dmesg: OpenBSD 4.5 (GENERIC) #1749: Sat Feb 28 14:51:18 MST 2009 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Celeron(R) CPU 2.80GHz ("GenuineIntel" 686-class) 2.80 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,TM2,CNXT-ID,CX16,xTPR real mem = 2137878528 (2038MB) avail mem = 2058952704 (1963MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 05/28/07, BIOS32 rev. 0 @ 0xf0010, SMBIOS rev. 2.4 @ 0xfcd70 (22 entries) bios0: vendor American Megatrends Inc. version "P3.20" date 05/28/2007 acpi0 at bios0: rev 0 acpi0: tables DSDT FACP APIC OEMB acpi0: wakeup devices P0P4(S4) MC97(S4) USB1(S4) USB2(S4) USB3(S4) USB4(S4) EUSB(S4) PS2K(S4) PS2M(S4) UAR1(S4) GBEN(S4) SLPB(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 133MHz ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 1 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (P0P4) acpicpu0 at acpi0 acpibtn0 at acpi0: PWRB acpibtn1 at acpi0: SLPB bios0: ROM list: 0xc/0xa000! pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "Intel 82865G Host" rev 0x02 vga1 at pci0 dev 2 function 0 "Intel 82865G Video" rev 0x02 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) intagp0 at vga1 agp0 at intagp0: aperture at 0xf000, size 0x800 inteldrm0 at vga1: apic 1 int 16 (irq 10) drm0 at inteldrm0 uhci0 at pci0 dev 29 function 0 "Intel 82801EB/ER USB" rev 0x02: apic 1 int 16 (irq 10) uhci1 at pci0 dev 29 function 1 "Intel 82801EB/ER USB" rev 0x02: apic 1 int 19 (irq 3) uhci2 at pci0 dev 29 function 2 "Intel 82801EB/ER USB" rev 0x02: apic 1 int 18 (irq 5) uhci3 at pci0 dev 29 function 3 "Intel 82801EB/ER USB" rev 0x02: apic 1 int 16 (irq 10) ehci0 at pci0 dev 29 function 7 "Intel 82801EB/ER USB2" rev 0x02: apic 1 int 23 (irq 11) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb0 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xc2 pci1 at ppb0 bus 1 rl0 at pci1 dev 5 function 0 "Realtek 8139" rev 0x10: apic 1 int 22 (irq 5), address 00:19:66:19:7a:a5 rlphy0 at rl0 phy 0: RTL internal PHY ichpcib0 at pci0 dev 31 function 0 "Intel 82801EB/ER LPC" rev 0x02 pciide0 at pci0 dev 31 function 1 "Intel 82801EB/ER IDE" rev 0x02: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility atapiscsi0 at pciide0 channel 0 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: ATAPI 5/cdrom removable cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 disabled (no drives) pciide1 at pci0 dev 31 function 2 "Intel 82801EB SATA" rev 0x02: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI pciide1: using apic 1 int 18 (irq 5) for native-PCI interrupt wd0 at pciide1 channel 0 drive 0: wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5 ichiic0 at pci0 dev 31 function 3 "Intel 82801EB/ER SMBus" rev 0x02: apic 1 int 17 (irq 5) iic0 at ichiic0 spdmem0 at iic0 addr 0x50: 1GB DDR SDRAM non-parity PC3200CL3.0 spdmem1 at iic0 addr 0x52: 1GB DDR SDRAM non-parity PC3200CL3.0 auich0 at pci0 dev 31 function 5 "Intel 82801EB/ER AC97" rev 0x02: apic 1 int 17 (irq 5), ICH5 AC97 ac97: codec id 0x434d4983 (C-Media Electronics CMI9761A+) audio0 at auich0 usb1 at uhci0: USB revision 1.0 uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb2 at uhci1: USB revision 1.0 uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb3 at uhci2: USB revision 1.0 uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb4 at uhci3: USB revision 1.0 uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1 isa0 at ichpcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 wbsio0 at isa0 port 0x2e/2: W83627EHF rev 0x63 lm1 at wbsio0 port 0x290/8: W83627EHF npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0:
FreeBSD BSD licensed bintools reimplementation
Hi, today, I read that one of the Google Summer of Code 2007 projects from FreeBSD involved a reimplementation of GPL-licensed bintools. Details: Project: BSD bintools project (Part I) Student: Kai Wang Mentor: Joseph Koshy Summary: This project re-implemented part of the GNU binutils based on the libelf and libarchive libraries. It will bring FreeBSD a BSD Licensed toolchain for processing ELF binary files. The project mainly concentrated on re-implementing the tools ar(1), ranlib(1), objcopy(1), strip(1) and composing corresponding manual pages. Ready to enter CVS: soon Source: http://www.freebsd.org/projects/summerofcode-2007.html Even if no code is available in CVS yet (according to that Web page), I thought it would be interesting to some. I guess the code could be asked for. Greetings.
How can I burn DVD+R Dual Layer media?
I've read that the process is not the same as burning DVD+R, but, at the same time, I couldn't get much information :S Has anyone tried burning DVD+R Dual Layer media?, what are the steps? Greetings.
Formal verification as another tool for ensuring OpenBSD quality
Hi, I have read about formal verification, and it sounds like a perfect tool to outreach the project goals. I'm pretty sure developers know about it, so I'd like to read comments or opinions. http://en.wikipedia.org/wiki/Formal_verification Greetings.
Re: License Violation - ksh
On Dec 2, 2007 5:42 PM, Marco S Hyman <[EMAIL PROTECTED]> wrote: > Miod Vallat writes: > > But some parts of OpenBSD's ksh are BSD-licensed files, which did not > > come from pdksh initially. > > That's not what /usr/src/bin/ksh/LEGAL states, but I didn't look > further. OK, looking I see that alloc.c and mknod.c have copyrights. > > > Relicensing these files under GPLv3 is only possible if their authors > > gave permission. > > Very true. Were they relicensed, or tossed and re-written from > scratch? > > // marc > > As far as I can see, a COPYING file (containing the GPLv3) was placed along the others files of OpenBSD's ksh. The license of alloc.c, for example, has not been modified.
Could Hiawatha replace Apache as in base HTTP server if it's license changed?
I was reading about Hiawatha security features, and seems like a perfect fit for OpenBSD goals. I'd volunteer to talk to Hugo Leisink (the developer) and see if the code could be relicensed if the project has interest in it. IMHO, replacing forked software with actively developed one is a good idea. http://hiawatha.leisink.org/ Greetings. PS: Didn't find nothing about a switch to Hiawatha in misc@ archives, if there was a discussion about this, sorry.
Re: Could Hiawatha replace Apache as in base HTTP server if it's license changed?
On Dec 3, 2007 10:53 PM, Damien Miller <[EMAIL PROTECTED]> wrote: > Secondly, I don't think anyone in OpenBSD would display as much hubris > as this claim on the Hiawatha home page: "Hiawatha's source code is > free of security-bugs". Heh, OK.
Re: Could Hiawatha replace Apache as in base HTTP server if it's license changed?
Here is two messages from Hugo Leisink (Hiawatha developer). You'll note that the first has a newer date than the later, that's because I delete it, and I asked Hugo to send it to me again :P Thought that his words could be useful. Greetings. -- Forwarded message -- From: Hugo Leisink <[EMAIL PROTECTED]> Date: Dec 7, 2007 10:02 AM Subject: Re: Hiawatha To: Andris <[EMAIL PROTECTED]> Andris wrote: > Could you please send your first e-mail to me again? I forgot to save > it to forward it later :P > > Greetings. > Sure, here it is: Hi Andres, I saw your post about Hiawatha in OpenBSD. I'd like to respond to the remarks about "Hiawatha's source code is free of security-bugs" on the Hiawatha website. First of all, you have to take a look at the webserver market. You use Apache, IIS, Lighttpd or you don't use anything at all. If you want people to use your software, you have to 'beat Goliath'. People use Apache, because everybody else does, even when Apache is the worse fit for their purposes. I think Hiawatha has become a really good webserver. It's faster then Apache, is more secure then Apache and definitly more easy to configure then Apache. But people don't use it because 'it ain't Apache'. So, to draw people's attention and to make them at least try Hiawatha once, I have to make 'dangerous' statements like 'free of security bugs'. Second, the reponses to your message are typical for the OpenBSD community. It's like they own the word 'security'. Only OpenBSD is secure, the rest is not. But I guess I don't have to remind you about http://pwnie-awards.org/winners.html#lamestvendor Yes, Hiawatha has had bugs too. And guess what, Hiawatha will have bugs in the future. But none of the found bugs could have been used to take over the webserver or deface websites. And unless someone proves me wrong, my claim that "Hiawatha is the most secure webserver" stands. greetings, Hugo -- Forwarded message -- From: Hugo Leisink <[EMAIL PROTECTED]> Date: Dec 7, 2007 4:33 AM Subject: Re: Hiawatha To: Andris <[EMAIL PROTECTED]> Hi Andres > Hi, thanks for the comments. I have two questions for you: > > 1. Would you let me forward this to [EMAIL PROTECTED] > I have no problems with that, but I think there will be enough OpenBSD people not able to have a fair discussion about it (especially after my second remark). > 2. Would you relicense Hiawatha? > I will never abandon the GPL license. So if it's possible for a piece of software to have two licenses, I'm not negative towards using the BSD license for Hiawatha. But of course, I first have to think about the consequenses before actually doing so. > Even if OpenBSD does not prefer Hiawatha, a project goal still stands: > "We strive to make our software robust and secure, and encourage > companies to use whichever pieces they want to." > > And, IMHO, it applies to any project which seeks security. > I agree. And I think the OpenBSD project has done some really good jobs. But it's the we-are-untouchable attitude of too many OpenBSD people that keeps me away from it. I've had some discussions with OpenBSD people before and too many of them weren't very pleasant. If someone finds a bad thing in Hiawatha or has some good points about how things can be done better, I'm the first one to say he's right. But if someone starts saying that "Hiawatha is insecure and sucks because my coding style doesn't match his" then the discussion is over for me. And let's be honest, critizing a piece of software by only looking at it's project website and not having the guts to even look at the source code, THAT is 'sheer stupidity'. So, yes, I'm willing to talk again with the OpenBSD community. And if they choose Hiawatha, I will be very proud. And if they don't, I will try to improve Hiawatha until they do like it. BUT not if words like 'sucks', 'crap' and 'sheer stupidity' are being used. So, it's up to the OpenBSD community. greetings, Hugo
Re: Could Hiawatha replace Apache as in base HTTP server if it's license changed?
On Dec 7, 2007 2:41 PM, Eric Furman <[EMAIL PROTECTED]> wrote: > On Fri, 7 Dec 2007 10:39:39 -0600, "Gregg Reynolds" <[EMAIL PROTECTED]> > said: > > On 12/7/07, Andris <[EMAIL PROTECTED]> wrote: > > > Here is two messages from Hugo Leisink (Hiawatha developer). You'll > > > > > > First of all, you have to take a look at the webserver market. You use > > > Apache, IIS, Lighttpd or you don't use anything at all. If you want > > > > Ok, I'll take the bait: http://wiki.codemongers.com/Main > > > > Dunno how secure it is, though. > > OK, I'll add my own two p. > Even tho I know nobody asked. > http://www.acme.com/software/thttpd/ > Not feature rich, but it's small, fast and strives for security. > Seems to have a BSDish license as well. > > The deal breaker for Hiawatha, IMO (and I know it counts for nothing), > was his "I will never abandon the GPL" statement. > > Note: -- Forwarded message -- From: Hugo Leisink <[EMAIL PROTECTED]> Date: Dec 7, 2007 4:33 AM Subject: Re: Hiawatha To: Andris <[EMAIL PROTECTED]> ... I will never abandon the GPL license. ***So if it's possible for a piece of software to have two licenses, I'm not negative towards using the BSD license for Hiawatha***. But of course, I first have to think about the consequenses before actually doing so Greetings.
Re: Could Hiawatha replace Apache as in base HTTP server if it's license changed?
On Dec 7, 2007 3:57 PM, Ste Jones <[EMAIL PROTECTED]> wrote: > But hey I am not an Openbsd developer and can't comment on the > security of lighttpd's code, but I think most people would agree it > would be better to have a maintained piece of BSD software opposed to > a fairly stagnant bit of GPL. Please note that Apache (in base) is not GPL; this is the license: http://www.openbsd.org/cgi-bin/cvsweb/~checkout~/src/usr.sbin/httpd/LICENSE?rev=1.5&content-type=text/plain Greetings.
Re: Could Hiawatha replace Apache as in base HTTP server if it's license changed?
On Dec 7, 2007 2:41 PM, Eric Furman <[EMAIL PROTECTED]> wrote: > OK, I'll add my own two p. > Even tho I know nobody asked. > http://www.acme.com/software/thttpd/ > Not feature rich, but it's small, fast and strives for security. > Seems to have a BSDish license as well. License example of thttpd: /* libhttpd.c - HTTP protocol library ** ** Copyright (c) 1995,1998,1999,2000,2001 by Jef Poskanzer <[EMAIL PROTECTED]>. ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without ** modification, are permitted provided that the following conditions ** are met: ** 1. Redistributions of source code must retain the above copyright **notice, this list of conditions and the following disclaimer. ** 2. Redistributions in binary form must reproduce the above copyright **notice, this list of conditions and the following disclaimer in the **documentation and/or other materials provided with the distribution. ** ** THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND ** ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE ** IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ** ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE ** FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL ** DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS ** OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) ** HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT ** LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY ** OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF ** SUCH DAMAGE. */ Non copyleft free software.
Re: Real men don't attack straw men
To: list Richard's words are the essence of the Free Software Foundation and the GNU General Public License: people _must_ use free software, people _can_ decide whether to use free software or not, but people _must not_ be free to exercise that desire. I will explain that last statement, since it may seem extreme. Easing the exercise of that desire (with a port system, for instance) is "bad". An operative system which does allow installation of free software, and tries to disallow the installation of non-free software in a disguised way (hiding it), is gifted with a promotion of its work. So, let's write a quick condition here: // Check whether this is good shit if (allows(project, free_software) && ! allows(project, non_free_software)) add_to_list(project); To: Richard Matthew Stallman Since The Free Software foundation mission is to "preserve, protect and promote the freedom to use, study, copy, modify, and redistribute computer software" (free software), please, Richard, remove Linux from the Free Software Directory (since "Torvalds' version of Linux is not free software", and that is the version listed in the directory); because you, as the director of the Free Software Foundation with responsabilities for all work of said foundation, are promoting software which is not free. Removing all quotes which promotes Linux would help users not to get attracted to Linus version, too. There is a copylefted implementation of grep, so finding them would be quite easy. Greetings.
Re: NEW: games/chocolate-doom
On Dec 13, 2007 12:41 PM, Antti Harri <[EMAIL PROTECTED]> wrote: > On Thu, 13 Dec 2007, Andris wrote: > > >> there's already games/prboom, so why another Doom-engine? > > > > Because someone ported it? > > > > I don't get this "there's already a ported implementation of ". > > Sounds like monopoly. > > > > IMHO, any quality port (as in: compiles, runs fine) should be included. > > With a quick glance they seemed quite the same > and I can say prboom works good, so why not improve > existing? > > I'm not saying it shouldn't be imported, I'm just > wondering what makes chocolate-doom better than > existing prboom. > > -- > Antti Harri IMHO, is it not relevant the quality (as in: completeness, friendliness, or the like) of the port. I *do* find important the quality of compilation and run.
Re: FW: Real men don't attack straw men
Rui, I kindly ask you to not remove Richards's e-mail, since he is as interested as everyone else who follows this thread. Richard does not receive duplicated e-mail, since he is not in misc@openbsd.org, so don't hesitate to add him. Greetings.
Re: Real men don't attack straw men
On Jan 5, 2008 11:30 AM, Richard Stallman <[EMAIL PROTECTED]> wrote: > As I've said, I think it's acceptable for free applications to run on > non-free platforms (and say that they do), because this doesn't > recommend the installation of those non-free platforms. But free > systems should not recommend, suggest, or offer to install non-free > apps. ReactOS is a free software operative system with a support database that indicates which programs it can run. It can lists those programs in different ways, including, by vendor. Here is Adobe: http://www.reactos.org/support/index.php/comp/vendor/id/4/ And here is Microsoft: http://www.reactos.org/support/index.php/comp/vendor/id/2/ If I understand you weird meaninig of promotion, then you'll find this "a bad thing" too, right? Greetings.
Re: Richard Stallman...
On Jan 5, 2008 11:31 AM, Richard Stallman <[EMAIL PROTECTED]> wrote: > I don't recognize the name AROS, but if it is an operating system, it > is possible I said something about it at some point. Could you tell > me where that statement appears? If I need to correct it, I need to > know where it is. http://www.gnu.org/links/links.html Go to Other free operating systems section. > What is the URL of that license page? http://aros.sourceforge.net/license.html Greetings.
Re: Real men don't attack straw men
Richard, isn't: "Run GNOME in a **VMWare Player** in a Linux virtual machine." Or: "Run GNOME on a virtual machine using QEMU on Linux or **Parallels** for **Mac** or Linux." promoting the use of non-free software? http://torrent.gnome.org/ GNOME _is_ a GNU package. Greetings!
Re: Real men don't attack straw men
Richard, Linux is not free software, as you have already stated, please change your religion, so users don't get confused. "Emacs was originally a text editor, but it became a way of life and a religion. To join the Church of Emacs, you need only say the Confession of the Faith three times: There is no system but GNU, and Linux is one of its kernels." http://www.stallman.org/saint.html Greetings!
Re: Real men don't attack straw men
On Jan 6, 2008 7:47 AM, Richard Stallman <[EMAIL PROTECTED]> wrote: > "Run GNOME in a **VMWare Player** in a Linux virtual machine." > > Or: > > "Run GNOME on a virtual machine using QEMU on Linux or **Parallels** > for **Mac** or Linux." > > promoting the use of non-free software? > > This is a case of running a free program on non-free platforms. > Nonetheless, I think it is more of a problem than running on Windows, > because those non-free platforms are optional add-ons to the system. > > Thanks for telling me about this. I have not visited this site > myself: > > http://torrent.gnome.org/ > > Would you be so kind as to tell me the precise URLs where you > found those quotes? If not, I will look for someone else who > will do that for me. Richard, I'm having a very hard time not calling you an $insult... I've already tell you: http://torrent.gnome.org/
Re: Real men don't attack straw men
On Jan 7, 2008 8:31 AM, Richard Stallman <[EMAIL PROTECTED]> wrote: > You have not presented any evidence that there are non-free programs > in gNewSense. gNewsSense bugs 31, 100, 103, 108: 31: license problems - cdrecord (no open date) http://bugs.gnewsense.org/Bugs/00031 100: Helix Player recommends nonfree software (open since 20070708) http://bugs.gnewsense.org/Bugs/00100 103: Xfree86 includes software under non-free licenses (open since 20070718) http://bugs.gnewsense.org/Bugs/00103 108: cdrtools package suspected not to be free (open since 20070815) http://bugs.gnewsense.org/Bugs/00108 Open, Richard, means that this issues have not been resolved. Greetings!
Re: Real men don't attack straw men
"Gobuntu also has the problem that its name is so close to Ubuntu that people would get them confused. Practically speaking it is not feasible to recommend Gobuntu without recommending Ubuntu." But you _do_ recommend _Linux_ even when "Torvalds' version of Linux is not free software"! And let me put this perfectly clear to you: Linus Torvalds develops _Linux_. Period. GNU/Linux means GNU (http://gnu.org/ packages, free software) and Linux (http://kernel.org/, non-free software). GNU promotes itself with a non-free software kernel, they don't even change one letter of it. Because _Linux_, is popular. Richard, in case you didn't know, _almost all_ Linux users (yes, I don't care if they run GNU or don't) run "Torvald's version" (also known as "Linux" because it is the official "version"). So you are not doing any good to them if you use the them "GNU/Linux", you're not sending a message to stop using Torvald's version which _is_ non-free software. I can see you trying to come with some argument to keep Linux (the registered trademark) as your flag, because you're nothing without it. Nothing. Face it. Real men don't depend on names nor mascots. Go promote gNewSense and remove any mention of Linux in stallman.org, fsf.org and gnu.org, because you, and the Free Software Foundation are _promoting_ (as in the dictionary entry) non-free software. So please, ask someone to change the "Free Software Free Society" message to remove this part: "Fortunately, people do not have to assent to these restrictions on their freedom. Instead, they can reject Microsoft Windows Vista in favor of a free software operating system, now widely used and available in a form called **GNU/Linux**." Here is the link: http://badvista.fsf.org/freesoftwarefreesociety/free-software-free-society/ If you don't have ethics, if you think in numbers, then you will mostly ignore this message with a childish argument. But if you do, start again, completely disassociate from the name "Linux", and clearly state in your Web sites (gnu.org, stallman.org, fsf.org) why you are doing that. _That_ would help free software users. Greetings!
Re: OSS v4.0 released under BSD license
Jacob Meuser wrote: "the current audio system actually supports a wider variety of audio devices." Sorry for the non-technically-based question but, couldn't OpenBSD contribute its development to audio drivers to OSS so all operating systems using it could benefit? And then OpenBSD could support just OSS. That would make in-house work available to non-OpenBSD users. Just an idea. Greetings!
Re: Real men don't attack straw men
"[...] Linux is not free software". "[...] Linux [...] is on the ok side of the line". Therefore: if there's only one popular kernel that GNU can use in its project, then it's OK to use it, even if it's not free software. Unpopular stuff like gNewSense have to be thought about, probably by a marketing team inside GNU/FSF, while popular non-free software is chosen. I'll put this clear, once again: every time the GNU Project or the Free Software Foundation talks about GNU/Linux in a positive way, they're promoting a non-free software kernel. There's no way to talk about Linux without promoting it, except the FSF forks its own copy of Linux and uses a name that has nothing to do with it. Period. And in case you thought about, a "Q: Isn't Linux non-free software? A: Yes, it is; everytime we talk about Linux, we are talking about a version that's not from Linus Torvalds" text somewhere in GNU/FSF's Web site does not do any good at all. Your personal ad* says that you value "truth [...] more than \"success\"", right? Well, then sacrifice Linux's popularity for the sake of the FSF's purpose. I find it funny that the FSF did remove Linux from the Free Software Directory but is afraid to disassociate from it. That _is_ hypocritical. Be a Real Men, Richard. Original quotes: "Torvalds' version of Linux is not free software" "Mentioning Linux is referring to something well-known that people have already heard of, which is on the ok side of the line." * http://www.stallman.org/extra/personal.html
Re: Real men don't attack straw men
1. Stallman states that Linux current version is partially non-free. *1 A program can't be partially non-free. A program is free if users have the four freedoms, if not, it is non-free. The users of Linux does not have the freedom to access the source code of parts of it (freedom 1). 2. Stallman states that Torvald's version of Linux is non-free. *2 There is no free version of Linux. Free operative systems which use modified versions of Linux exist, but since those modifications are not adopted by Torvalds's project (Linux), the term GNU/Linux can't refer to a free version of it. Even modifying the meaning of the name Linux to refeer to any of those free operative systems doesn't work, since Torvald's "version" of Linux surpass by far the number of users that any such operative system has. So the term GNU/Linux is not even practically "OK". 3. Stallman states that the name of Gobuntu (a GNU/Linux operative system more free that any popular GNU/Linux operative system) is so close to Ubuntu that, practically speaking, it is not feasible to recommend Gobuntu without recommending Ubuntu. *3 GNU/Linux is the preferred term for referring to a free operative system for the Free Software Foundation and the GNU Project. Yet they find OK the fact that they are using the name of a non-free kernel. 4. Stallman states that GNU developers didn't develop GNU just to make it a technical triumph, or just to have a success. Their goal was to win freedom, for they and for us. *4 They failed the moment they considered Linux, a non-free program, fitted well as the kernel of its project; sufficiently well to not do any serious development on its own kernel. Hurd offers the GNU Project the option to release the much awaited GNU operative system now. If winning freedom is the goal, then an inmature free kernel is not a problem. And, ironically, the immature state of Hurd is because of Linux. Active and continuous development on Hurd does not ocurr because it isn't needed by the GNU Project. If Linux hadn't been used in the first place by the GNU Project and the Free Software Foundation, Hurd would be quite mature after 18 years of its birth, and the free operative system envisioned by Stallman back in 1983 would be a reality. 5. The foundation directed by Stallman removes Linux from its Free Software Directory but does not disassociate from it. Be a real man, Richard, replace Linux with Hurd, fork Linux, or stop the hypocrisy. Either way, answer publicly, and not off-list. *1 http://www.gnu.org/philosophy/linux-gnu-freedom.html *2 http://article.gmane.org/gmane.os.openbsd.misc/134377 *3 http://article.gmane.org/gmane.os.openbsd.misc/134522 *4 http://www.pcworld.idg.com.au/index.php/id;211669437;pp;2
Re: [Fwd: Open-Hardware]
On Jan 13, 2008 9:53 AM, chefren <[EMAIL PROTECTED]> wrote: > On 1/13/08 9:35 AM, Richard Stallman wrote: > > By taking them away from the developer and putting them under auspices > > of the FSF. I would never write a single line of code with a gun to my > > head and that is what the GPL does. > > > > The GPL doesn't "take any code" away from its author, it doesn't put > > code under the auspices of the FSF, and it doesn't force anyone to > > write anything. People who release their source code under the GNU > > GPL give you permission to use their code in other GPL-covered > > programs. > > And who controls GPL? What will you do when all GPL software and subsequent > developments are "kept" on servers out of reach of users (BSD situation...)? > What will be in GPLv4? > > Why do you Balkanize the open source community without any sound reason? > > > It appears your hatred for the GPL has blinded you to the reality of > > the GPL. > > Why more rights to the user than to the creator? What is "blinding" about > that? > > +++chefren > > Why don't you answer publicly, like you where doing before, Richard?
Re: Petition to VIA
On Jan 28, 2008 4:10 PM, Gilles Chehade <[EMAIL PROTECTED]> wrote: > On Mon, Jan 28, 2008 at 11:11:53AM +0100, [EMAIL PROTECTED] wrote: > > Hi everybody, > > > > I don't know if it's known but there's a online petition for VIA. > > Hopefully some people sign up and name also OpenBSD (in the > > "optional"-section). > > > > It's about VIAs policy with docs/drivers and the lies they spread (about > > "supporting Opensouce"). > > > > Link: > > http://www.petitiononline.com/vialinux/petition.html > > > > Kind regards, > > Sebastian > > > > "RELEASE DECENT LINUX DRIVERS!" > > I won't sign and I doubt it is a good idea to say to a vendor that we want > decent drivers > when this will only encourage them into providing blobs instead of > documentation. > > Gilles > > -- > Gilles Chehade > > I won't sign anything which uses the word Linux. Ask for documentation for UNIX-like operating systems for Christ's sake.
Re: Singularity OS
I wonder if anyone actually took a look to the code before opening his/her mouth. Note that I don't trust Microsoft either, but giving that Singularity is not planned to be a successor to Windows, but a research experiment, makes me think it _can_ be good.
Re: X package sets not listed in MD5
IMHO, this should be answered in the FAQ. On 3/2/07, Antti Harri <[EMAIL PROTECTED]> wrote: Hello, What's the reason for not providing MD5 sums of X*.tgz sets in the MD5-file of release directories? I found only one thread [1] regarding this question from the archives and it didn't answer it really. I want to be able to see if the file has been transferred correctly and I also want to see if a file that has been transferred earlier is up to date. I don't want to use other tools than what is provided in base sets to do this (no regular packages) [1] http://marc.theaimsgroup.com/?l=openbsd-misc&m=113230911219069&w=2 -- Antti Harri -- AndrC)s Delfino
Re: X package sets not listed in MD5
AFAIK, it isn't answered yet in the FAQ, I'am suggesting that. On 3/2/07, Antti Harri <[EMAIL PROTECTED]> wrote: On Fri, 2 Mar 2007, Andris wrote: > IMHO, this should be answered in the FAQ. > > On 3/2/07, Antti Harri <[EMAIL PROTECTED]> wrote: >> What's the reason for not providing MD5 sums >> of X*.tgz sets in the MD5-file of release directories? Hi, I guess my googling and other searching skills sucks then. Can you point me to the entry? Wasn't able to find the answer with "search" of openbsd.org, nor from ftp.html or Package FAQ. -- Antti Harri -- AndrC)s Delfino
Can't see full boot using the console scrollback buffer
After OpenBSD boots, it clears the screen. Then I can't see some information, for example, the start of local daemons. All I can see using the console scrollback buffer is this: Automatic boot in progress: starting file system checks. /dev/rwd0a: file system is clean; not checking setting tty flags kbd: keyboard mapping set to es So you can see that a lot of info is "hidden" to me. I can see tan information when OpenBSD boot, but not later. Any idea if I can "fix" this in some way?
Re: Can't see full boot using the console scrollback buffer
On 6/1/07, Darren Spruell <[EMAIL PROTECTED]> wrote: On 5/31/07, Andris <[EMAIL PROTECTED]> wrote: > After OpenBSD boots, it clears the screen. Then I can't see some > information, for example, the start of local daemons. All I can see > using the console scrollback buffer is this: > > > Automatic boot in progress: starting file system checks. > /dev/rwd0a: file system is clean; not checking > setting tty flags > kbd: keyboard mapping set to es > > > So you can see that a lot of info is "hidden" to me. I can see tan > information when OpenBSD boot, but not later. > > Any idea if I can "fix" this in some way? You didnt' include your dmesg. /var/run/dmesg.boot -- Darren Spruell [EMAIL PROTECTED] OpenBSD 4.1-stable (GENERIC) #0: Sat May 26 12:32:36 ART 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Celeron(R) CPU 2.50GHz ("GenuineIntel" 686-class) 2.51 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID,xTPR real mem = 527986688 (515612K) avail mem = 474038272 (462928K) using 4278 buffers containing 26521600 bytes (25900K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+ BIOS, date 10/21/03, BIOS32 rev. 0 @ 0xfb240, SMBIOS rev. 2.2 @ 0xf0800 (40 entries) bios0: VIA Technologies, Inc. P4M266A-8235 apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown apm0: flags 70102 dobusy 1 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xf/0xdf44 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdeb0/144 (7 entries) pcibios0: PCI Exclusive IRQs: 5 11 pcibios0: PCI Interrupt Router at 000:17:0 ("VIA VT82C596A ISA" rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc/0xc000 acpi at mainbus0 not configured cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "VIA VT8751 PCI" rev 0x00 ppb0 at pci0 dev 1 function 0 "VIA VT8633 AGP" rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "S3 ProSavage DDR" rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) vendor "Acer Labs", unknown product 0x5459 (class communications subclass modem, rev 0x00) at pci0 dev 9 function 0 not configured uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x80: irq 11 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0x80: irq 11 usb1 at uhci1: USB revision 1.0 uhub1 at usb1 uhub1: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0x80: irq 5 usb2 at uhci2: USB revision 1.0 uhub2 at usb2 uhub2: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered ehci0 at pci0 dev 16 function 3 "VIA VT6202 USB" rev 0x82: irq 5 usb3 at ehci0: USB revision 2.0 uhub3 at usb3 uhub3: VIA EHCI root hub, rev 2.00/1.00, addr 1 uhub3: 6 ports with 6 removable, self powered viapm0 at pci0 dev 17 function 0 "VIA VT8235 ISA" rev 0x00 iic0 at viapm0 pciide0 at pci0 dev 17 function 1 "VIA VT82C571 IDE" rev 0x06: ATA133, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: wd0: 16-sector PIO, LBA48, 38204MB, 78242976 sectors wd1 at pciide0 channel 0 drive 1: wd1: 16-sector PIO, LBA48, 19130MB, 39179952 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 5 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 auvia0 at pci0 dev 17 function 5 "VIA VT8233 AC97" rev 0x50: irq 5 ac97: codec id 0x56494161 (VIA Technologies VT1612A) ac97: codec features headphone, 18 bit DAC, 18 bit ADC, KS Waves 3D audio0 at auvia0 vr0 at pci0 dev 18 function 0 "VIA RhineII-2" rev 0x74: irq 11, address 00:50:2c:a2:51:aa ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 8: OUI 0x004063, model 0x0032 isa0 at mainbus0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pmsi0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pmsi0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 it0 at isa0 port 0x290/8: IT87 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec biomask ef65 netmask ef65 ttymask ffe7 pctr: user-level cycle counter enabled ugen0 at uhub1 port 1uhidev0 at uhub0 port 2 configuration 1 interface 0 ugen0:
Re: Video problems (and others?) with ASRock 755i65G/Intel 865G
On 7/13/07, Matthieu Herrb <[EMAIL PROTECTED]> wrote: On 7/13/07, Andris <[EMAIL PROTECTED]> wrote: > Hi, I just got a computer yesterday, which has an ASRock 755i65G* > motherboard, with an Intel 865G* chipset, 512 MB of RAM, and a > ViewSonic E70f+* monitor. I'm using OpenBSD 4.1-stable (i386/GENERIC). > > I tried to make it run under 1024x768, 24bpp, a h-sync of 30~70kHz and > a v-sync of 50~160Hz). I can't make X run on it, I've tried i810(4), > whose man page says it supports my integrated video solution (865G). > But the X server crashes after showing the cursor for a sec. > > Here is the X log: From you log, the X server is ok. The problem looks more like a problem with your .xinitrc or something like that. Can you tell us how you startx X, and try to capture the command's stdout and stderr ? If you're running ksh or bash, this should be something like startx > startx.log 2>&1 and then look at startx.log for obvious errors, or share it here if you don't see anything meaningful for you. Hi, after moving .xinitrc to .xinitrc.bak I could start X with no problems, and it doesn't crash :) I had this line in it: exec /usr/X11R6/bin/xset r rate 250 50 It worked with a previous computer, didn't think it would cause problems. Shouldn't it affect only the keyboard? Anyway, thank so much, I've tried so different things, and couldn't solve it :P Again, thanks!
Re: Video problems (and others?) with ASRock 755i65G/Intel 865G
On 7/13/07, Matthieu Herrb <[EMAIL PROTECTED]> wrote: Can you tell us how you startx X, and try to capture the command's stdout and stderr ? If you're running ksh or bash, this should be something like startx > startx.log 2>&1 Here is the output of startx > startx.log 2>&1 *before* moving .xinitrc to ,xinitrc.bak. Just for the record: === startx > startx.log 2>&1 output follows === xauth: creating new authority file /home/adelfino/.serverauth.21235 /usr/X11R6/bin/xauth: creating new authority file /home/adelfino/.Xauthority X Window System Version 6.9.0 (for OpenBSD) Release Date: 21 December 2005 X Protocol Version 11, Revision 0, Release 6.9 Build Operating System: OpenBSD 4.1 i386 [ELF] Current Operating System: OpenBSD rei.ciudad.com.ar 4.1 GENERIC#0 i386 Build Date: 07 March 2007 Before reporting problems, check http://wiki.X.Org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jul 13 13:52:31 2007 (==) Using config file: "/etc/X11/xorg.conf" The XKEYBOARD keymap compiler (xkbcomp) reports: Warning: Type "ONE_LEVEL" has 1 levels, but has 2 symbols Ignoring extra symbols Errors from xkbcomp are not fatal to the X server Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/local/, removing from list! SetClientVersion: 0 9 waiting for X server to shut down FreeFontPath: FPE "/usr/X11R6/lib/X11/fonts/misc/" refcount is 2, should be 1; fixing. === startx > startx.log 2>&1 output precedes === I start X with xinit.
Re: Video problems (and others?) with ASRock 755i65G/Intel 865G
On 7/14/07, Matthieu Herrb <[EMAIL PROTECTED]> wrote: On 7/13/07, Andris <[EMAIL PROTECTED]> wrote: > On 7/13/07, Matthieu Herrb <[EMAIL PROTECTED]> wrote: > > On 7/13/07, Andris <[EMAIL PROTECTED]> wrote: > > > Hi, I just got a computer yesterday, which has an ASRock 755i65G* > > > motherboard, with an Intel 865G* chipset, 512 MB of RAM, and a > > > ViewSonic E70f+* monitor. I'm using OpenBSD 4.1-stable (i386/GENERIC). > > > > > > I tried to make it run under 1024x768, 24bpp, a h-sync of 30~70kHz and > > > a v-sync of 50~160Hz). I can't make X run on it, I've tried i810(4), > > > whose man page says it supports my integrated video solution (865G). > > > But the X server crashes after showing the cursor for a sec. > > > > > > Here is the X log: > > > > From you log, the X server is ok. The problem looks more like a > > problem with your .xinitrc or something like that. > > > > Can you tell us how you startx X, and try to capture the command's > > stdout and stderr ? > > > > If you're running ksh or bash, this should be something like > > > > startx > startx.log 2>&1 > > > > and then look at startx.log for obvious errors, or share it here if > > you don't see anything meaningful for you. > > > > Hi, after moving .xinitrc to .xinitrc.bak I could start X with no > problems, and it doesn't crash :) > > I had this line in it: > exec /usr/X11R6/bin/xset r rate 250 50 The 'exec' there is wrong, it causes the shell that parses the .xinitrc to replace itself with the 'xset' command, which in turn exits when it has set up the rate. So the whole .xinitrc script is now done, causing what your were seeing. > > It worked with a previous computer, didn't think it would cause > problems. Are you sure it was exactly the same line ? without the 'exec' it would have been fine, but with the 'exec' there's no way it would work, except it you had it *after* another 'exec' command, for instance 'exec fvwm'. 'fvwm' doesn't exit until you select 'exit' from its menu. So 'exec'ing the window manager in .xinitrc is correct, but since 'exec' replaces the shell with the program it executes, the lines after an 'exec' in any shell script are ignored. Heh, you're right. You see, I got this file where I store all configuration changes I do in Open. But I separate base configuration and port/package configuration. So I had this: ~/.xinitrc exec /usr/X11R6/bin/xset r rate 250 50 ~/.xinitrc exec /usr/local/bin/ion3 Didn't add the second statement with & at the end of the first :P That's why it worked in my previous system. Now I've done that, and works just fine :) Thanks!
Segmentation fault in sh script using base utilities only
Hi, I'm writing a set of small utilities as scripts, and I got a segmentation fault working on one of them. The script is suppoused to align text with spaces. Say you have this file: Foo1\tFoo2 Br\tBar2 Baz Where \t are horizontal tabs. My script would replace the tabs with an adequate number of spaces to align foo2 and bar2. Right now it works with a file named "file" in the working directory. Of course this is only temporal. The problem is that I get a segmentation fault when I run it. That never happened to me with a shell script. And I can't see where should be a problem. I'm running OpenBSD 4.1-stable, GENERIC, i386. I don't know if it's important, but I didn't create a swap partition (I'm planning to change this). If someone could light me, I'd be very grateful. Here is the script: #!/bin/sh IFS=' ' file=file for line in `< "${file}"`; do fields=`printf '%s' "${line}" | sed 's/[^ ]//g' | wc -m` fields=$((${fields} + 1)) if [ "${fields}" -eq 1 ]; then printf '%s' "${line}" else for field in `jot "${fields}"`; do max_width=`cut -f "${field}" "${file}" | awk '{ l = length($0); if (l > m) m = l } END { print m }'` width=`printf '%s' "${line}" | cut -f "${field}" | awk '{ print length($0) }'` printf '%s' "`printf '%s' "${line}" | cut -f "${field}"`" if [ "${field}" -lt "${fields}" ]; then for i in `jot "$((${max_width} - ${width}))"`; do printf '.' done fi done fi printf '\n' done
Re: Segmentation fault in sh script using base utilities only
On 8/4/07, Mic J <[EMAIL PROTECTED]> wrote: > On 8/4/07, Andris <[EMAIL PROTECTED]> wrote: > > Hi, I'm writing a set of small utilities as scripts, and I got a > > segmentation fault working on one of them. > > > > The script is suppoused to align text with spaces. Say you have this file: > > > > Foo1\tFoo2 > > Br\tBar2 > > Baz > > > > Where \t are horizontal tabs. My script would replace the tabs with an > > adequate number of spaces to align foo2 and bar2. > > > > Right now it works with a file named "file" in the working directory. > > Of course this is only temporal. > > > > The problem is that I get a segmentation fault when I run it. That > > never happened to me with a shell script. And I can't see where should > > be a problem. > > > > I'm running OpenBSD 4.1-stable, GENERIC, i386. I don't know if it's > > important, but I didn't create a swap partition (I'm planning to > > change this). > > > > If someone could light me, I'd be very grateful. > > It doesnt segfault on my system i386 4.1 > however nothing happens with the file. > (i hope to avoid reading the code with more than half an eye ...) > > > and would it be very hard to change line number 4 (i think) > to > >file=$1 > ? ;) > > michael > The file should not be changed, it should only be converted to stdout. Plus, the script does not have to "work", since I'm still working on it. At least, I was; I don't want my system to freeze again (like it did once I run it). But it shouldn't not seg fault. And yes, I'll change that line :P Thanks for trying!
Re: Segmentation fault in sh script using base utilities only
On 8/5/07, Jacek Masiulaniec <[EMAIL PROTECTED]> wrote: > On 4 Aug 2007, at 19:31, Andris wrote: > > Hi, I'm writing a set of small utilities as scripts, and I got a > > segmentation fault working on one of them. > > > > The script is suppoused to align text with spaces. Say you have > > this file: > > > > Foo1\tFoo2 > > Br\tBar2 > > Baz > > > > Where \t are horizontal tabs. My script would replace the tabs with an > > adequate number of spaces to align foo2 and bar2. > > Writing replacement for "column -t", huh? > > Jacek Didn't know about it :P But I'll do it anyway, cause I want it to be a standard and portable script. Thanks!
Re: Segmentation fault in sh script using base utilities only
On 8/5/07, Clint Pachl <[EMAIL PROTECTED]> wrote: > Andris wrote: > > On 8/5/07, Jacek Masiulaniec <[EMAIL PROTECTED]> wrote: > > > >> On 4 Aug 2007, at 19:31, Andris wrote: > >> > >>> Hi, I'm writing a set of small utilities as scripts, and I got a > >>> segmentation fault working on one of them. > >>> > >>> The script is suppoused to align text with spaces. Say you have > >>> this file: > >>> > >>> Foo1\tFoo2 > >>> Br\tBar2 > >>> Baz > >>> > >>> Where \t are horizontal tabs. My script would replace the tabs with an > >>> adequate number of spaces to align foo2 and bar2. > >>> > >> Writing replacement for "column -t", huh? > >> > >> Jacek > >> > > > > Didn't know about it :P But I'll do it anyway, cause I want it to be a > > standard and portable script. > > > > I believe column(1), including the -t option, is very standard. It has > been around for over 20 years and is included in all the BSDs. I believe > it is also in many of the major Linux distros too. > > Don't reinvent the wheel arbitrarily. > > See also: sed(1), awk(1), expand(1), colrm(1), paste(1), cut(1), > printf(1), and shell's set command > > That should take care of most of your text processing needs. > > -pachl > Standard as in only based in SUS utilities and their behavior.
Re: Segmentation fault in sh script using base utilities only
On 8/5/07, Otto Moerbeek <[EMAIL PROTECTED]> wrote: > > On Sat, 4 Aug 2007, Andris wrote: > > > Hi, I'm writing a set of small utilities as scripts, and I got a > > segmentation fault working on one of them. > > I tried running your script but it did not produce any seg faults. > Do you have example input that causes a seg fault? > > -Otto > > > > > The script is suppoused to align text with spaces. Say you have this file: > > > > Foo1\tFoo2 > > Br\tBar2 > > Baz > > > > Where \t are horizontal tabs. My script would replace the tabs with an > > adequate number of spaces to align foo2 and bar2. > > > > Right now it works with a file named "file" in the working directory. > > Of course this is only temporal. > > > > The problem is that I get a segmentation fault when I run it. That > > never happened to me with a shell script. And I can't see where should > > be a problem. > > > > I'm running OpenBSD 4.1-stable, GENERIC, i386. I don't know if it's > > important, but I didn't create a swap partition (I'm planning to > > change this). > > > > If someone could light me, I'd be very grateful. > > > > Here is the script: > > > > #!/bin/sh > > > > IFS=' > > ' > > > > file=file > > > > for line in `< "${file}"`; do > > > > fields=`printf '%s' "${line}" | sed 's/[^ ]//g' | wc -m` > > fields=$((${fields} + 1)) > > > > if [ "${fields}" -eq 1 ]; then > > printf '%s' "${line}" > > else > > for field in `jot "${fields}"`; do > > max_width=`cut -f "${field}" "${file}" | awk '{ l = length($0); if > > (l > m) m = l } END { print m }'` > > width=`printf '%s' "${line}" | cut -f "${field}" | awk '{ print > > length($0) }'` > > > > printf '%s' "`printf '%s' "${line}" | cut -f "${field}"`" > > > > if [ "${field}" -lt "${fields}" ]; then > > for i in `jot "$((${max_width} - ${width}))"`; do > > printf '.' > > done > > fi > > done > > fi > > > > printf '\n' > > done > > > > Yeap, it segfaults here with: aTbTc daaaTe fs Upper case T are horizontal tabs. It makes OpenBSD freeze too :S
Re: Segmentation fault in sh script using base utilities only
On 8/6/07, Otto Moerbeek <[EMAIL PROTECTED]> wrote: > > On Sun, 5 Aug 2007, Andris wrote: > > > Yeap, it segfaults here with: > > > > aTbTc > > daaaTe > > fs > > > > Upper case T are horizontal tabs. It makes OpenBSD freeze too :S > > > > Hmm, no segfault here, just: > > [EMAIL PROTECTED]:35]$ sh x > awk: syntax error at source line 2 > context is > { l = length($0); if >>> > <<< > awk: illegal statement at source line 2 > iax[33]: internal error: unable to allocate memory > [EMAIL PROTECTED]:35]$ > > This is on current. > > -Otto Could this be related to my lack of swap space?
Re: Segmentation fault in sh script using base utilities only
On 8/6/07, Otto Moerbeek <[EMAIL PROTECTED]> wrote: > > On Mon, 6 Aug 2007, Andris wrote: > > > On 8/6/07, Otto Moerbeek <[EMAIL PROTECTED]> wrote: > > > > > > On Sun, 5 Aug 2007, Andris wrote: > > > > > > > Yeap, it segfaults here with: > > > > > > > > aTbTc > > > > daaaTe > > > > fs > > > > > > > > Upper case T are horizontal tabs. It makes OpenBSD freeze too :S > > > > > > > > > > Hmm, no segfault here, just: > > > > > > [EMAIL PROTECTED]:35]$ sh x > > > awk: syntax error at source line 2 > > > context is > > > { l = length($0); if >>> > > > <<< > > > awk: illegal statement at source line 2 > > > iax[33]: internal error: unable to allocate memory > > > [EMAIL PROTECTED]:35]$ > > > > > > This is on current. > > > > > > -Otto > > > > Could this be related to my lack of swap space? > > Try to get a backtrace out of the core. It's more prodcutive to use > the tools available than to guess. > > -Otto > > > Just to say that creating a swap file of 512 MB solved the issue. Greetings.
column(1) replace with goodies
IMHO, column is one of the most underestimated utilities in UNIX. Every utility should output different information if they are running in a terminal or not. That way, shell scripting would be more straightforward. While column - ts '' does help, it has some limitations. One can't specify per-column separator, or alignment. Here's where algn comes handy. algn takes a file, and aligns its columns (-a), and uses specified separators to show them (-s). For example, given: 00 00 01 command 00 00 01 commandsss 00 00 01 command 600 00 01 command 00 00 01 command 00 00 01 command algn -a ',,,l' -s ':,.' outputs: 00:00.01 command 00:00.01 commandsss 00:00.01 command 600:00.01 command 00:00.01 command 00:00.01 command a option receives aligners in the style: ','; where is "l" or "r". s option receives separators in the same style: ''; where can be any string _except_ one containing one or more commas (this will be fixed). As the comment says, awk program is mostly Steffen Schuler's work; and I thank him. I thought maybe could give it use, so I share it with you. Greetings! #!/bin/sh # Copyright (c) 2006, 2007 Andres Delfino <[EMAIL PROTECTED]> # # Permission to use, copy, modify, and distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright notice and this permission notice appear in all copies. # # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. # awk program is 99% Steffen Schuler's work. name="${0##*/}" exit_status=0 aligners= separators= function show_usage { printf 'Usage: %s [-a aligners] [-s separators] [file ...]\n' "${name}" >& 2 exit 1 } while getopts ':a:s:' ch; do case "${ch}" in ( a ) aligners="${OPTARG}" ;; ( s ) separators="${OPTARG}" ;; ( ? ) printf 'Invalid option.\n' >& 2 show_usage ;; esac done shift "$((${OPTIND} - 1))" awk_program=' \ BEGIN \ { \ FS = " "; \ aligners = split("'"${aligners}"'", aligner, ","); \ separators = split("'"${separators}"'", separator, ","); \ } \ \ { \ for (field = 1; field <= NF; ++field) \ { \ fields[NR,field] = $field; \ field_length = length($field); \ \ if (field_length > max_field_length[field]) \ max_field_length[field] = field_length; \ } \ } \ \ END \ { \ for (record = 1; record <= NR; ++record) \ { \ for (field = 1; record SUBSEP field in fields; ++field) \ { \ if (field > 1)
Re: column(1) replace with goodies
On 8/11/07, Andris <[EMAIL PROTECTED]> wrote: > IMHO, column is one of the most underestimated utilities in UNIX. > Every utility should output different information if they are running > in a terminal or not. That way, shell scripting would be more > straightforward. > > While column - ts '' does help, it has some limitations. One > can't specify per-column separator, or alignment. Here's where algn > comes handy. > > algn takes a file, and aligns its columns (-a), and uses specified > separators to show them (-s). For example, given: > > 00 00 01 command > 00 00 01 commandsss > 00 00 01 command > 600 00 01 command > 00 00 01 command > 00 00 01 command > > algn -a ',,,l' -s ':,.' outputs: > > 00:00.01 command > 00:00.01 commandsss > 00:00.01 command > 600:00.01 command > 00:00.01 command > 00:00.01 command > > a option receives aligners in the style: ','; where > is "l" or "r". > > s option receives separators in the same style: ''; where > can be any string _except_ one containing one or more > commas (this will be fixed). > > As the comment says, awk program is mostly Steffen Schuler's work; and > I thank him. > > I thought maybe could give it use, so I share it with you. > > Greetings! > > #!/bin/sh > > # Copyright (c) 2006, 2007 Andres Delfino <[EMAIL PROTECTED]> > # > # Permission to use, copy, modify, and distribute this software for any > # purpose with or without fee is hereby granted, provided that the above > # copyright notice and this permission notice appear in all copies. > # > # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES > # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF > # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR > # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES > # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN > # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF > # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. > > # awk program is 99% Steffen Schuler's work. > > name="${0##*/}" > exit_status=0 > > aligners= > separators= > > function show_usage > { > printf 'Usage: %s [-a aligners] [-s separators] [file ...]\n' "${name}" >& 2 > exit 1 > } > > while getopts ':a:s:' ch; do > case "${ch}" in > ( a ) > aligners="${OPTARG}" > ;; > ( s ) > separators="${OPTARG}" > ;; > ( ? ) > printf 'Invalid option.\n' >& 2 > show_usage > ;; > esac > done > > shift "$((${OPTIND} - 1))" > > awk_program=' \ > BEGIN \ > { \ > FS = " "; \ > aligners = split("'"${aligners}"'", aligner, ","); \ > separators = split("'"${separators}"'", separator, ","); \ > } \ > \ > { \ > for (field = 1; field <= NF; ++field) \ > { \ > fields[NR,field] = $field; \ > field_length = length($field); \ > \ > if (field_length > max_field_length[field]) \ > max_field_length[field] = field_length; \ > } \ > } \ > \ > END \ > { \ > for (record = 1; record <= NR; ++record) \ > { \ > for (field = 1; record SUBSEP field in fields; ++field) \ > { \ > if (field > 1) \ > if (field - 1 <= separators) \ > printf("%s", separator[field - 1]); \ > else \ > printf(" "); \ > \ > string = "%"; \ > \ > if (field <= aligners && aligner[field] == "l") \ > string = string "-"; \ > \ > string = string "*s"; \ > printf(string, max_field_length[field], fields[record,field]); \ > } \ > \ > printf("\n"); \ > } \ > } \ > ' > > if [ "${#}" -ge 1 ]; then > while [ "${1}" ]; do > if [ -e "${1}" ]; then > if [ -f "${1}" ]; then > if [ -r "${1}" ]; then > awk "${awk_program}" "${1}" > else > printf '%s: %s: Permission to read from file not granted\n' > "${name}" "${1}" >& 2 > exit_status=4 > fi > else > printf '%s: %s: File is not a regular file\n' "${name}" "${1}" >& 2 > exit_status=3 >
Diff for 42.html
Index: www/42.html === RCS file: /cvs/www/42.html,v retrieving revision 1.52 diff -u -r1.52 42.html --- www/42.html 5 Sep 2007 19:05:42 - 1.52 +++ www/42.html 6 Sep 2007 11:01:16 - @@ -187,6 +187,7 @@ gracefully. It also has much better look-up capabilities for multiple entries in PKG_PATH, stopping at the first directory with suitable candidates. +http://www.openbsd.org/cgi-bin/man.cgi?query=pkg_info&sektion=1";>pkg_info(1)'s new t option shows packages which are not required by any other packages. http://www.openbsd.org/cgi-bin/man.cgi?query=ftp-proxy&sektion=8";>ftp-proxy(8) is now able to automatically tag packets passing through the Large (>2^32-1 sectors) SCSI disk sizes now probed. Thread support for the Objective-C library (libobjc). -http://www.openbsd.org/cgi-bin/man.cgi?query=carp&sektion=4";>carp +http://www.openbsd.org/cgi-bin/man.cgi?query=carp&sektion=4";>carp(4) route handling has been fixed, solving some problems the routing daemons were exhibiting. -Various improvements in http://www.openbsd.org/cgi-bin/man.cgi?query=pf&sektion=4";>pf +Various improvements in http://www.openbsd.org/cgi-bin/man.cgi?query=pf&sektion=4";>pf(4) increase performance drastically, stateful passing more than twice as fast than before. A change in how the kernel random pool is stirred increases performance with network interface cards that support interrupt mitigation a lot. @@ -229,10 +230,11 @@ Default disk geometry changed from 64 heads/32 sectors to 255 heads/63 sectors. More usb devices with various quirks coaxed to work. Archive/Wangtek cartridge tape drives (wt*) no longer supported. -http://www.openbsd.org/cgi-bin/man.cgi?query=rcs&sektion=1";>rcs has improved GNU compatibility. +http://www.openbsd.org/cgi-bin/man.cgi?query=rcs&sektion=1";>rcs(1) has improved GNU compatibility. http://www.openbsd.org/cgi-bin/man.cgi?query=make&sektion=1";>make(1) has improved stability of -j option. http://www.openbsd.org/cgi-bin/man.cgi?query=isakmpd&sektion=8";>isakmpd(8) now allows key exchange with RSA signature authentication to work with Cisco IOS. Fixed http://www.openbsd.org/cgi-bin/man.cgi?query=isakmpd&sektion=8";>isakmpd(8) interop-issues with peers, that start rekeying on port 4500 for NAT-T (e.g. Cisco, Openswan) +http://www.openbsd.org/cgi-bin/man.cgi?query=ksh&sektion=1";>ksh(1) can now escape square brackets and question marks. The stability of OpenBSD/alpha has been greatly improved. The stability of OpenBSD/hppa has been greatly improved.
Re: Thank You OpenBSD
> Question: Is it true there was a developer's comment line in the Linux > kernel that said, "Does this belong here?" Don't know that. But I do see this: ftp -Vo - http://www.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/arch/mac68k/mac68k/machdep.c?rev=1.142 | grep belong Greetings.
Re: Thank You OpenBSD
On 9/16/07, Martin Reindl <[EMAIL PROTECTED]> wrote: > "Andris" <[EMAIL PROTECTED]> wrote: > > > > Question: Is it true there was a developer's comment line in the Linux > > > kernel that said, "Does this belong here?" > > > > Don't know that. But I do see this: > > ftp -Vo - > http://www.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/arch/mac68k/mac68k/m > achdep.c?rev=1.142 > > | grep belong > > > > Greetings. > > Just means the author was not sure if the Classic II is a LC-Class > Macintosh (could be let's say from the II series as well). > > Maybe, but we don't know why that exact line was in Linux, so...
Re: Google employment opportunity
On 10/14/07, Martin Schrvder <[EMAIL PROTECTED]> wrote: > He will not be independent anymore. Why not? As long as Theo releases his software under the ISC license, I see no issue with independency. And if Google have problems with new development, Theo could quit. Yeah, he will lose money, but he doesn't have that money now anyway.
A little script to remove packages don't needed
I don't know how to explain it well (:P), the script finds which packages are not needed by others, so you can delete those you don't use. It's my first shell script, so feedback is apreciated, :) This is in public domain, blah blah blah blah. #!/bin/ksh function check_for_packages { for package in $(pkg_info | cut -f 1 -d \ ); { echo "Checking if any package depends on $package" if ! pkg_info -R $package | fgrep -q 'Required by:'; then tput up dl 0 echo "No package depends on $package, would you like to delete it? YES/n" while :; do read answer tput up dl 0 case $answer in YES ) sudo pkg_delete $package break ;; n ) break ;; * ) echo 'YES/n' ;; esac done else tput up dl 0 fi } } check_for_packages
Re: A little script to remove packages don't needed
It's going to get deleted if you choose that. It's not a fully automated script. Thanks for the feedback :) On 6/30/06, Wade, Daniel <[EMAIL PROTECTED]> wrote: That all good and well, but what happens when my package that I use has zero depends? It's going to get deleted.
Re: A little script to remove packages don't needed
I've done a rewrite, which reads directories and searches for files, which is MUCH faster :) Greetings #!/bin/ksh function check_for_packages { for package in $(ls /var/db/pkg); { echo "Checking if any package depends on $package" if ! $(test -a /var/db/pkg/$package/+REQUIRED_BY); then tput up dl 0 echo "No package depends on $package, would you like to delete it? YES/n" while :; do read answer tput up dl 0 case $answer in YES ) sudo pkg_delete $package break ;; n ) break ;; * ) echo 'YES/n' ;; esac done else tput up dl 0 fi } } check_for_packages
Re: pkg_add: Updates and dependency cleaning
The script to remove "packages wich are not needed by others" is not buggy, is just not fully automated. You MUST decide what packages delete. Greetings On 7/1/06, Tom Doherty <[EMAIL PROTECTED]> wrote: Hello, Please could someone familiar with pkg_add(1) confirm whether the behavior I'm experiencing is normal? My mail server has many packages installed that I like to keep up to date using pkg_add -uiv However, pkg_add seems to get confused with regard to the versions of the packages. For instance, [EMAIL PROTECTED] ~ $: pkg_add -uiv Error from http://openbsd.blueyonder.co.uk/pub/OpenBSD/3.9/packages/i386/: Successfully retrieved file. Candidates for updating clamav-0.88.2 -> clamav-0.88 clamav-0.88.2 Ambiguous: clamav-0.88.2 could be clamav-0.88 clamav-0.88.2 Choose one package 0: 1: clamav-0.88 2: clamav-0.88.2 Your choice: 2 Candidates for updating curl-7.15.3 -> curl-7.15.1 curl-7.15.3 Ambiguous: curl-7.15.3 could be curl-7.15.1 curl-7.15.3 . Is this expected behavior? Also, previously on the list [A little script to remove packages don't needed] a script was posted to remove dependencies that are no longer required but was contested as buggy. What is the recommended way of doing this? Thanks for your time, Tom -- AndrC)s Delfino -- AndrC)s Delfino
Re: A little script to remove packages don't needed
I changed a couple of things: a) Now there's a license notice (template from /usr/src/share/misc/license.template). Nothing important, just to be sure. b) All packages which you didn't want to delete are saved to a file, so you will not have to answer "n" in future runs (to check the full list of packages just do: "sudo rm /etc/pkg_check.conf"). c) If, in a run, packages were deleted, a new run is suggested, because maybe there are packages which were *only* used by those packages. Again, feedback is useful :) #!/bin/ksh # Copyright (c) 2006 AndrC)s Delfino <[EMAIL PROTECTED]> # # Permission to use, copy, modify, and distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright notice and this permission notice appear in all copies. # # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. function move_cursor_up { tput up dl 0 } function check_for_packages { for package in $( ls "/var/db/pkg" ); { echo "Checking for $package" if ! { test -a "/var/db/pkg/$package/+REQUIRED_BY" || { package_name=$( echo "$package" | sed "s/-[^-]\{1,\}$//" ); grep -qs "$package_name" "/etc/pkg_check.conf"; } } then move_cursor_up echo -n "No package depends on $package, would you like to delete it? YES/n " while true; do read answer case $answer in YES ) sudo pkg_delete "$package" let "deleted_packages = 1" break ;; n ) echo "$package_name" >> "/etc/pkg_check.conf" break ;; * ) echo -n 'YES/n ' ;; esac done else move_cursor_up fi } } while true; do check_for_packages if ! let "deleted_packages"; then break fi let "deleted_packages = 0" echo -n "\nIt's possible that there are packages which were only used by any of the deleted ones, would you like to run pkg_check again? y/n " while true; do read answer case $answer in y ) echo break ;; n ) break 2 ;; * ) echo -n 'y/n ' ;; esac done done
Re: pkg_add
I do this when I know the package name: 1. ftp $PKG_PATH 2. ls kdel* -r--r--r-- 1 100 100 20614454 Mar 4 18:38 kdelibs-3.5.1p0.tgz 3. bye 4. sudo pkg_add kdelibs-3.5.1p0.tgz
Re: pkg_add
Just to remember that I don't have any problem, and I didn't start this thread ;) On 7/21/06, Blitzkrieg <[EMAIL PROTECTED]> wrote: steven mestdagh wrote: > Andris [2006-07-21, 09:09:45]: >> I do this when I know the package name: >> >> 1. ftp $PKG_PATH >> >> 2. ls kdel* >> >> -r--r--r-- 1 100 100 20614454 Mar 4 18:38 kdelibs-3.5.1p0.tgz >> >> 3. bye >> >> 4. sudo pkg_add kdelibs-3.5.1p0.tgz > > you could just use > > pkg_add -i kdelibs > > Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm > > You may do this: 1) insert this text in your /etc/profile: alias pkg_list='lynx -dump $PKG_PATH/index.txt >$HOME/pkglist.txt' with the command-alias "pkg_list" you can download and upgrade the list of packets of your packet source when you want download a packet, do this: grep [name of packet] ./pkglist.txt (ej. # grep nmap pkglist.txt) and you have the complete name of the packet NOTE: the number version of the packet is not needed in OBSD 3.9 Sorry my english Bye, -- Bliztkrieg relampagox {at} gmail +dot+ com -- AndrC)s Delfino
Re: OpenBSD's own compiler
An OpenBSD C compiler from scratch, AFAIK, is not an idea of the project. Today, I read about Theo's interest in Plan 9' C compiler. But, there are license problems, so, that is not possible; at least, right now. A source tree in Ada, I think, would be safer. But maybe it is not as portable/well-known as C. I'm not a developer nor an Ada programmer. Greetings On 7/30/06, Rico Secada <[EMAIL PROTECTED]> wrote: Hi I am curently studying the Ada programming language and I read about the different safety demands, which has been made a standard, upon compilers. I read about how Ada is been used in all areas where safety is of great issue, and about how it's being used in rockets, Boing Airplanes and so on because of it's high level of safety. What I understood from it is, that the demand and control upon compilers, rather than on the sourcecode, eliminates the possibility of a lot of errors in the sourcecode, the compiler will not compile the program, and since Ada is being used in a lot places, where lives dependt upon the software, it has to be very safe. I was wondering, would it be a stupid and bad idea, for the OpenBSD team to develope, an OpenBSD C compiler based upon the OpenBSD security knowledge and internal standards regarding the language? Making it impossible for the compiler to accept and compile programs with all the knows errors which cause problems. The OpenBSDs way of programming has clearly made it clear, what security and quality is all about. Now I know all the "rules" about, no talk, just develope, and whats else is here. I am not a developer. This is not an atempt to do anything other than ask a question. Seeing how OpenBSD's OpenSSH has been implemented world widely, the thought about a compiler made me wanna ask the question and learn from the answers. If you are one of those persons who just need to let of steam or just needs an excuse to flame someone, or if you in general think that my question is about the most stupid question you have ever read, then please, do something else with your time, don't answer this email, just ignore it - especially if you aren't a developer yourself. And if cant help yourself, just mail me off-list. The best and kind reagards. Rico -- AndrC)s Delfino
Re: OpenBSD's own compiler
We should convince both the Free Software Foundation and the Open Source Initiative that "Lucent Public License Version 1.02" is not a free software license. Mainly based in Theo's arguments*. This paragraph says it all: And come on it says "certain responsibilities". Good god. Are you people dumb to accept such a term in a legal document? It is like "your house mortgage can be considered invalid in certain situations and then we own your house". A BSD future for that compiler is not guaranteed, but I think a free software future is. I don't think Lucent would step back. Maybe they will use a copyleft license, but I think that would be much better than now. * [9fans] The new ridiculous license http://9fans.net/archive/2003/06/270
Re: OpenBSD's own compiler
Section 4 (commercial distribution) with its beautiful "certain responsibilities" is still there. Section 7 (export control) is still there. On 7/31/06, Ted Unangst <[EMAIL PROTECTED]> wrote: On 7/31/06, AndrC)s <[EMAIL PROTECTED]> wrote: > We should convince both the Free Software Foundation and the Open > Source Initiative that "Lucent Public License Version 1.02" is not a > free software license. Mainly based in Theo's arguments*. > > * [9fans] The new ridiculous license > http://9fans.net/archive/2003/06/270 i don't think 2003 qualifies as new anymore. -- AndrC)s Delfino
Re: A small script to find unused dependencies which, IMHO, should be included in the tree
The problem is that packages which don't have dependencies are not always of the third type, because maybe I started to use some dependency directly. That's why I always ask to the user what she/he wants to do. Thank you all for the comments :) On 8/4/06, Sideris Michael <[EMAIL PROTECTED]> wrote: I think that the feature you are trying to implement here should be available through in pkg_delete. Either being the automatic action to take, like, delete the main package and its dependencies as long as they are not used by any other packages, or as an option using -F. Anyway, the concept is good, I wanted to do the same at some point but, you got me :) -- AndrC)s Delfino
Re: Bug in egrep?
egrep shouldn't find anything, you are searching for the string "" in "some text here", clearly, it isn't there. On 9/7/06, Martin Marusak <[EMAIL PROTECTED]> wrote: OpenBSD egrep finds nothing in any text: --- % echo "some text here" | egrep -x "" ; echo $status some text here 0 --- GNU grep does not: --- % echo "some text here" | gegrep -x "" ; echo $status 1 --- Isn't that a bug in OpenBSD egrep? M. -- AndrC)s Delfino
FFS file system driver for Windows 2000/XP/2003
Hi, guys, I just want to share this link I just found. Didn't tried it yet, but others may want to try it too. Giving the results we get, it would be a good idea to include the link in the FAQ: How can I access my OpenBSD file system from Windows directly? http://ffsdrv.sourceforge.net/ Greetings!
Re: tar(1) bug?
If you are at /home/daniell, the tar tries to find the files at /home/daniell/home/daniell. Try: tar -C / -cvf test.tar ./daniell/.ksh*
Re: tar(1) bug?
On Wed, Nov 19, 2008 at 10:06 AM, Andris <[EMAIL PROTECTED]> wrote: > If you are at /home/daniell, the tar tries to find the files at > /home/daniell/home/daniell. Try: > tar -C / -cvf test.tar ./daniell/.ksh* > Sorry, try this: tar -C / -cvf test.tar .ksh*
Re: Chatting with developers? Is it soo 1996?
On Tue, Apr 15, 2008 at 2:20 PM, Theo de Raadt <[EMAIL PROTECTED]> wrote: > > I found an old email on the mailing lists, dating back to 1996, when > > Theo announced users could connect and chat with the developers on > > their ICB server. > > Many developers did not like it, so please leave them alone. > > I can understand your point, but isn't there a way of connecting to just read? I mean, we only read, you talk. That would be very interesting.
Re: consultas a los BSD's
2008/5/6 Jordi Espasa Clofent <[EMAIL PROTECTED]>: > Spanish: > Esta es una lista inglesa; tu actitud es _muy_ desconsiderada. > > English: > This is an english mail-list; your attitude is _very_ rude. > > -- > Thanks, > Jordi Espasa Clofent > > I don't see why his "attitude" is rude at all. The issue is not about the language, but about not being OpenBSD related at all, as he actually uses FreeBSD.
Can't build 4.3-stable binaries: don't know how to make mkmakefile.c
While rebuilding the binaries for 4.3-stable, I get this error: ===> usr.sbin/config make: don't know how to make mkmakefile.c. Stop in /usr/src/usr.sbin/config. *** Error code 2 Stop in /usr/src/usr.sbin (line 48 of /usr/share/mk/bsd.subdir.mk). *** Error code 1 Stop in /usr/src (line 48 of /usr/share/mk/bsd.subdir.mk). *** Error code 1 Stop in /usr/src (line 73 of Makefile) After: rm -rf /usr/obj/* cd /usr/src make obj cd /usr/src/etc && env DESTDIR=/ make distrib-dirs cd /usr/src make build I could rebuild the kernel without problems. I'm running 4.3-release (i386), installed from scratch. Any idea? Greetings.
Unbound: a validating, recursive, and caching DNS resolver
I just read about this project, might be of interest: http://unbound.net/ It's developed by Kirei, NLnet Labs, Nominet, and VeriSign; and released under a permissive free software license: http://unbound.net/svn/trunk/LICENSE I read about it at: http://tech.slashdot.org/tech/08/05/21/0153201.shtml Original source for the article: http://www.networkworld.com/news/2008/052008-open-source-dns-server.html Greetings.
pkg_clean: a utility to remove Lola packages
pkg_clean helps to delete Lola packages. A package is said to be Lola only if: 1. It's unneeded by other packages. 2. It's unwanted by the root user. If a package that was deleted needed _now_ Lola packages, pkg_clean will also help deleting them. This is usual when a package uses libraries unneeded by other packages. Each run request a list of unneeded packages to pkg_info -t. After each iteration of unwanted packages of that list, pkg_info -t is called again, and the whole process starts again. So it's usual to see a run that goes: A-Z, then M, A, X, B, etc., where each letter is the first letter of a package name. pkg_clean asks the user if he/she wants to delete each Lola package. For example: -- Delete amsn-0.97.2p1? (l, n, YES): [n] l: list package files n: don't delete the package, add it to the exception list instead YES: delete the package -- pkg_clean writes its exception list to /etc/pkg_clean.conf. If the name of the utility is changed, so will change the name of this file. The exception list can be cleared by calling: pkg_clean -c. This also starts pkg_clean in interactive mode. The exception list won't be useful if a package is updated, since it has the package name, including its version. I haven't added a feature to be able to treat an updated package just as an non-updated package, so pkg_clean will ask for each package-1.0, package-1.0p0, package-1.0p1. This is mainly because packages-specs(7) does not rule out the possibility that a version from upstream can't match p[[:digit:]]+$. -- Please feel free to report any bug, or request any feature. Any comment of the shell script itself is well received. Even if I could manage to write it, doesn't hurt to know whenever something could be written in a better way. Better if any change would me it eligible to be part of base :P -- In case you remember, this are the previous versions of the tool: http://article.gmane.org/gmane.os.openbsd.misc/105917 http://article.gmane.org/gmane.os.openbsd.misc/105964 http://article.gmane.org/gmane.os.openbsd.misc/106012 None of them is now supported. -- #!/bin/sh # Copyright 2006, 2007, 2008, 2009 Andris Delfino # Permission to use, copy, modify, and distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright notice and this permission notice appear in all copies. # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. util_name="${0##*/}" conf_pathname="/etc/${util_name}.conf" clean_conf=0 show_usage=0 while getopts ':c' ch; do case "${ch}" in (c) clean_conf=1 ;; (*) show_usage=1 break # NOTREACHED ;; esac done if [ "${show_usage}" -eq 1 ]; then printf 'usage: %s [-ch]\n' "${util_name}" >&2 exit 1 fi if ! [ `id -u` -eq 0 ]; then printf '%s must be run as root\n' "${util_name}" >&2 exit 2 fi if ! [ -e "${conf_pathname}" ] || [ "${clean_conf}" -eq 1 ]; then printf '' > "${conf_pathname}" fi while true; do # Note: this does't work flawlessly, some ports are identified by their version (autoconf, python) # packages=`pkg_info -At | cut -d ' ' -f 1 | sed 's/-[^-]\{1,\}$//' | grep -f "${conf_pathname}" -vx` # Note: this doesn't work flawlessly either, since package updates will render the exception list useless packages=`pkg_info -At | cut -d ' ' -f 1 | grep -f "${conf_pathname}" -vx` if [ -z "${packages}" ]; then printf '%s: no unwanted packages to delete\n' "${util_name}" >&2 break fi for package in $packages; do while true; do printf 'Delete %s? (l, n, YES): [n] ' "${package}" >&2 read case "${REPLY}" in (l) pkg_info -Lq "${package}" | less ;; (n | '') printf '%s\n' "${package}" >> "${conf_pathname}" break ;; (YES) pkg_delete -ix "${package}" break ;; (*)
Re: What does your environment look like?
On Sun, Jan 3, 2010 at 12:08 AM, Brynet wrote: > Hi, > > I know not everyone uses OpenBSD for a desktop OS, but I have been for > nearly 5 years and I'm quite curious about some of your opinions? do you > embrace minimalism or pure aesthetics? are the two mutually exclusive? > > When I started using OpenBSD (..around 3.7) I was frequently switching > between window managers, tweaking.. but for 2 years now I've been using > fluxbox and I believe I'm comfortable with it. > > * Do you use one of the bundled window managers like > cwm(1)/twm(1)/fvwm(1) or something else? > * What other utilities do you find useful, any "dockapps" or similar > applets? personal customizations? > * Do you try to keep things uniform across other desktops? > * What does your environment look like? anyone willing to post > screenshots or actual workspace photos? > > I realize none of this may be relevant or even useful, but I figured it > was worth asking here anyway. > > Anyone feel like humouring me? :-) > > Thanks. > -Bryan. > > $ pkg_info -t | cut -d ' ' -f 1 | sed 's/-[[:digit:]].\{1,\}$//' | xclip amsn amule d-feet dejavu-fonts dosbox dvd+rw-tools easytag emesene epdfview firefox35 galculator gcc gimp gmake gnome-games gqview gtk-gnutella gtk2-clearlooks-engine gucharmap hydrogen inkscape ion kqemu leafpad mercurial mpc mpd mplayer no-ip openoffice php5-core pidgin python qemu quake scrot tango-icon-theme-extras thewidgetfactory tightvnc tightvnc-viewer transmission-gui unrar unzip valknut vlc vorbis-tools xchat xclip zenity zip Mozilla Firefox extensions: CheckPlaces DOM Inspector DownThemAll! DownloadHelper Firebug LiveClick Rotate Image SortPlaces GTK+ control theme: Darkilouche GTK+ icon theme: Tango I use ion3 as my wm, made my own skin for it. Most of the time I'm running Mozilla Firefox, Pidgin, XChat. Screen shot: http://img189.imageshack.us/img189/1508/201001030239311024x768s.png There I'm running: galculator | leafpad | Mozilla Firefox -- mpdfind | xterm | -- xchat Obviously not my usual layout. I have key bindings for much of those apps: F2, xterm F3, run F4, galculator F5, leafpad F6 + file name, leafpad F7 + file name, mplayer + + J, mpdfind (let's me select a file to play with mpc, pretty cool) + + , mpc stop Etc. Greetings.
Re: http://www.apache.org/dist/httpd/Announcement1.3.html
On Thu, Feb 4, 2010 at 12:36 AM, Marco Peereboom wrote: > OpenBSD apache 1.3 != apache 1.3 > > What is wrong with apache in base? > > And if you don't like it what is wrong with apache 2 in ports? > > Or any other web server in ports for that matter. > > On Wed, Feb 03, 2010 at 07:21:03PM -0800, David wrote: >> Given the above, is openbsd going to stick with Apache 1.3? > > My question after reading the news was: Will OpenBSD update its in-base Apache to 1.3.42, or will it stick with 1.3.29? If not I'd like to know why. I can understand the licensing issue of upgrading to Apache 2, the fact that updating an in-base program such as Apache which, AFAIK, has had some improvements from the OpenBSD people, might be time consuming, and the fact that maybe Apache 1.3.29 it's just good enough. But I'd like to know which one of these theories is correct, I'm just curious. Greetings.
Re: OpenBSD 4.6 release Oct 28, 2009
On Sun, Oct 18, 2009 at 1:38 PM, Theo de Raadt wrote: > Many people have received their 4.6 CDs in the mail by now, and we > really don't want them to be without the full package repository. > Oct 18, 2009. > > We are pleased to announce the official release of OpenBSD 4.6. > This is our 26th release on CD-ROM (and 27th via FTP). We remain > proud of OpenBSD's record of more than ten years with only two remote > holes in the default install. > > As in our previous releases, 4.6 provides significant improvements, > including new features, in nearly all areas of the system: > > - New/extended platforms: >o mvme88k > o MVME141 and MVME165 boards are now supported. >o sgi > o SGI Octane, SGI Origin 200 and SGI Fuel systems are now supported. > o Several bugs in interrupt handling have been fixed, resulting >in significantly improved system response. >o sparc > o The bootblock load address has been moved so that larger kernels >can be loaded. >o sparc64 > o Acceleration support has been added for many of the PCI frame buffer >drivers, such as the Sun PGX, PGX64 and XVR-100, and Tech Source >Raptor GFX graphics cards. > > - Improved hardware support, including: >o Several new/improved drivers for sensors, including: > o The ips(4) driver now has sensor support, complementing the bio support. > o The acpithinkpad(4) driver now has temperature and fan sensor support. > o New endrun(4) driver for the EndRun Technologies timedelta sensor. > o The fins(4) driver now has support for F71806, F71862 and F71882 ICs. > o The acpitz(4) driver now shows correct decimals for temperature. >o Added radeonfb(4) to sparc64, an accelerated framebuffer for > Sun XVR-100 boards. >o Added support for RTL8103E and RTL8168DP devices in the re(4) driver. >o Added support for BCM5709/BCM5716 devices in the bnx(4) driver. >o Added support for ICH10 variants of em(4). >o Added support for VIA VX855 chipset in the viapm(4) and pciide(4) drivers. >o Added support for Intel SCH IDE to pciide(4). >o Added support for the Broadcom HT-1100 chipset in the piixpm(4) driver. >o Added support for 82574L based devices in the em(4) driver. >o Added support for VIA CX800 south bridge to the viapm(4) driver. >o A number of network drivers including bge(4), bnx(4), hme(4), iwn(4), > ix(4), msk(4), sis(4), sk(4), vr(4) and wpi(4) now make use of the > MCLGETI(9) allocator in order to reduce memory usage and increase > performance when under load or attack. >o Added support in em(4) for the newer 82575 chips. >o zyd(4) now supports devices with Airoha AL2230S radios. >o zyd(4) now works on big-endian machines >o urtw(4) now supports RTL8187B based devices. >o New otus(4) driver for Atheros AR9001U USB 802.11a/b/g/Draft-N > wireless devices. >o New berkwdt(4) driver for Berkshire Products PCI watchdog timers. >o New udl(4) driver for USB video devices. >o Support for a variety of newer models in bge(4). >o Initial version of vsw(4), a driver for the virtual network switch > found on sun4v sparc64 systems. >o Implemented machfb(4), an accelerated driver for the sparc64 PGX/PGX64 > framebuffers. >o New vcc(4) and vcctty(4) drivers for the "Virtual Console Concentrator" > found on the control domain of sun4v systems. >o Implemented 64-bit FIFO modes for ciss(4) devices. >o Enabled hardware VLAN tagging and stripping on ix(4). >o Added basic support for Envy24HT chips to the envy(4) driver. >o Many improvements and updates to the isp(4) driver. >o Added support for 88E8057-based Yukon 2 Ultra 2-devices in msk(4). >o The ips(4) driver now works reliably. >o Added raptor(4), an accelerated framebuffer driver for the Tech Source > Raptor GFX cards on the sparc64 platform. >o Enabled schsio(4) on i386 and amd64 and added watchdog timer support. >o New acpivideo(4) driver for ACPI display switching and brightness control. >o Added support for the IBM ServeRAID-8k in the aac(4) driver. >o Added support for the BCM5825 and 5860/61/62 Broadcom CryptoNetX > IPSec/SSL Security processor in the ubsec(4) driver. >o Added support for AES-CBC with BCM5823-based ubsec(4) devices. >o Firmware for bnx(4) has been updated. >o Added support to fxp(4) for the 82552 MAC found on some ICH7 chipsets. >o Added support to umsm(4) for Truinstall enabled modems like the > Sierra 881U. >o Added support to pciide(4) for ICH10 SATA devices not operating in > AHCI mode. >o dc(4) now reads the MAC address from the eeprom rather than CIS. >o em(4) now correctly handles MAC addresses for dual-port 8257[56] cards. >o IPv6 receive TCP/UDP checksum offloading has been enabled for jme(4). >o IPv6 receive TCP/UDP checksum offloading has been enabled in bge(4) for > the 57
Re: bcw(4) is gone
On 4/5/07, Daniel Ouellet <[EMAIL PROTECTED]> wrote: And this make it even worst: http://www.theinquirer.net/default.aspx?article=38746 All good work and good faith to come with better end results is wrongfully drag into mud. I read all the thread and this makes me sick! It only makes me more sick with anything carrying GPL, Linux, and Broadcom names on it. Even the part of the discussion about relicensing code so that they can include it in their GPL because Linus refuse BSD code was a twisted angle to try to justify their actions. This makes me sick! I guess all the Microsoft of the world that can't compete on good, secure and clean code got an other win today as they can't beat the good guys at their own game, well no need let them destroy each others so we win anyway in the end. A great day for the Open Source community I tell you. This makes me so sick that I can't even come up with words to describe it properly, so I will not try! Where is the Open Community is going these days... What's wrong? They protect their license. Period.
Re: bcw(4) is gone
On 4/5/07, Daniel Ouellet <[EMAIL PROTECTED]> wrote: Andris Delfino wrote: > What's wrong? They protect their license. Period. Did you read the full tread first before you wrote this? Did you look at the code in CVS, did you even see Marcus reply and why? http://article.gmane.org/gmane.linux.kernel.wireless.general/1573 I don't think you did! He sure did a hell of a huge amount of work that was his, and original for your own benefit, and the only mistakes he may have done was to try to work on it faster then he may should have and wrongly include temporary files to help in the process! Should he had finish his work in a later time and not try to make this available sooner to us, then nothing would have been said on this. In any case a simple private email to him directly would have been the decent human being things to do, but I guess you don't even get that do you? Just like I said before. Where the hell is the open community is going these days, I have no clue... Look to me it sure enjoy destroy itself for sure. I am lost for words! Yes, and he was wrong. He shouldn't base his work in copylefted software (if he intend to release the result as non-copylefted). Licenses are licenses.
Re: bcw(4) is gone
On 4/5/07, Steven Harms <[EMAIL PROTECTED]> wrote: This isnt a question of him being wrong, its a question of HOW IT WAS HANDLED. Get it? The simple courtesy of privately emailing someone would have taken 30 seconds and would have saved everyone a bunch of time, energy, and embarrassment. On 4/5/07, Andris Delfino <[EMAIL PROTECTED]> wrote: > On 4/5/07, Daniel Ouellet <[EMAIL PROTECTED]> wrote: > > Andris Delfino wrote: > > > What's wrong? They protect their license. Period. > > > > Did you read the full tread first before you wrote this? Did you look at > > the code in CVS, did you even see Marcus reply and why? > > > > http://article.gmane.org/gmane.linux.kernel.wireless.general/1573 > > > > I don't think you did! > > > > He sure did a hell of a huge amount of work that was his, and original > > for your own benefit, and the only mistakes he may have done was to try > > to work on it faster then he may should have and wrongly include > > temporary files to help in the process! > > > > Should he had finish his work in a later time and not try to make this > > available sooner to us, then nothing would have been said on this. > > > > In any case a simple private email to him directly would have been the > > decent human being things to do, but I guess you don't even get that do you? > > > > Just like I said before. > > > > Where the hell is the open community is going these days, I have no > > clue... Look to me it sure enjoy destroy itself for sure. > > > > I am lost for words! > > > > > > Yes, and he was wrong. He shouldn't base his work in copylefted > software (if he intend to release the result as non-copylefted). > > Licenses are licenses. > > He should realized that he couldn't do that... get it?
Re: bcw(4) is gone
On 4/5/07, Rogier Krieger <[EMAIL PROTECTED]> wrote: On 4/6/07, Andris Delfino <[EMAIL PROTECTED]> wrote: > What's wrong? They protect their license. Period. No one seems to dispute the right of copyright holders to protect their licence. That said, there are more ways than one to protect one's licence. It hardly seems unreasonable to privately contact the developer in question before going public, as seems to be the custom in many other suspected licence issues. Choosing to first send a private message would likely have remedied any issues, both quickly and with a lot less fallout. Too bad that that didn't happen. Rogier First, this wouldn't happen cause I prefer the BSD license, but, if someone violates the copyright of my work, I'll take that guy down. In the most publicly and shameful way.
Issue after erroneous package update
Hi, I updated my packages (pkg_add -u), two of them weren't updated because they had several candidates, so I updated them "manually" (pkg_add -iu pkg-name). They were curl, and mozilla-firefox. curl updated ok, mozilla-firefox didn't. The error was: "Can't install mozilla-firefox-1.5.0.3 because of conflicts (.libs-mozilla-firefox-1.5.0.1)". For sanity, I decided to delete mozilla-firefox-1.5.0.1 and reinstall it again (pkg_delete mozilla-firefox ; pkg_add mozilla-firefox-1.5.0.1.tgz ). Now, I receive the same error: "Can't install mozilla-firefox-1.5.0.1 because of conflicts (.libs-mozilla-firefox-1.5.0.1)". How can I solve this? :S Thanks
Re: Issue after erroneous package update
That worked just fine, after uninstalling that I could install mozilla-firefox-1.5.0.3. Thanks ;) On 6/3/06, steven mestdagh <[EMAIL PROTECTED]> wrote: Andris Delfino [2006-06-03, 11:38:13]: > Hi, I updated my packages (pkg_add -u), two of them weren't updated > because they had several candidates, so I updated them "manually" > (pkg_add -iu pkg-name). > > They were curl, and mozilla-firefox. curl updated ok, mozilla-firefox > didn't. > > The error was: "Can't install mozilla-firefox-1.5.0.3 because of > conflicts (.libs-mozilla-firefox-1.5.0.1)". For sanity, I decided to > delete mozilla-firefox-1.5.0.1 and reinstall it again (pkg_delete > mozilla-firefox ; pkg_add mozilla-firefox-1.5.0.1.tgz ). > > Now, I receive the same error: "Can't install mozilla-firefox-1.5.0.1 > because of conflicts (.libs-mozilla-firefox-1.5.0.1)". > > How can I solve this? :S pkg_delete .libs-mozilla-firefox-1.5.0.1 -- steven Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm -- Andris Delfino
Re: OpenOffice.org 2.0 works on OpenBSD
Follow these steps, they worked just fine to me in OpenBSD 3.9: http://www.xs4all.nl/~hanb/documents/openoffice_on_openbsd.html Good luck On 6/6/06, Nikolaus Hiebaum <[EMAIL PROTECTED]> wrote: Hello, In October of last year, Frank reported that he succeeded in installing OpenOffice 2.0 on OpenBSD (cf. http://marc.theaimsgroup.com/?l=openbsd-misc&m=112984281031654&w=2). Unfortunately, his blog where the steps were listed is off-line (http://www.00f.net/php/show-article.php/openoffice_on_openbsd). Contacting Frank via e-mail was unsuccesfull. Hence, maybe he reads my message here or someone can still remember the installation steps. Basically, I would like to have the instruction he outlined in his blog. ;-) If someone could provide me with it, I'd be grateful. (According to Google, there is an instruction on http://www.infobsd.org/, but this server is unreachable at the moment and only referd to Frank's blog (if Google's Cache is correct).) http://66.249.93.104/search?q=cache:H-OhhgjaNhcJ:www.infobsd.org/+openoffice+openbsd&hl=de&gl=at&ct=clnk&cd=2 http://66.249.93.104/search?q=cache:w3wfpQ3su5QJ:www.infobsd.org/index.php%3Fmore%3D73+openoffice+openbsd+site:infobsd.org&hl=de&gl=at&ct=clnk&cd=3 -- Beste Gr|_e / Best regards , Nikolaus Hiebaum -- Andris Delfino
Need suggestion for a graphics tablet
Hi, I want to buy graphics tablet, and would like to know which has better support under OpenBSD. In case I'm using the wrong word, this is what I mean: http://en.wikipedia.org/wiki/Graphics_tablet Thanks!
Re: Problems upgrading to 3.8-stable
I followed the steps in that page using sudo, no problems. On 3/11/06, Mike Loiterman <[EMAIL PROTECTED]> wrote: > I'm following the instructions at http://openbsd.org/stable/html to upgrade > to 3.8-stable. > > Everything works as it is supposed to until I get to the part where I am > supposed to copy the newly compiled kernel into /. I execute the command > and get this error: > > # cp bsd /bsd > cp: /bsd: Operation not permitted > > I got around this by setting /etc/rc.securelevel to 0, rebooting, and then > executing the commands: > > # chflags noschg /bsd > # cp /usr/src/sys/arch/i386/compile/GENERIC/bsd /bsd > # chflags schg /bsd > > Then changing /etc/rc.securelevel back to 1 and rebooting. > > Now uname -a is reported as: > OpenBSD host.hostname.net 3.8 GENERIC#0 i386 > > So it appears that the kernel upgrade was successful...I hope. > > Now I'm tryig to upgrade the binaries by executing the following commands: > > # cd /usr/src/ > # rm -r /usr/obj/* > # make obj && make build > > It starts to compile but then gives me this error: > > ===> lib/libpthread > "Makefile", line 29: Could not find > /usr/src/lib/libpthread/include/Makefile.inc > Fatal errors encountered -- cannot continue > *** Error code 1 > > Stop in /usr/src/lib. > *** Error code 1 > > Stop in /usr/src. > > I'm not sure why it's missing that file as I performed a cvs checkout just > last night using this command: > > # cd /usr; cvs checkout -P -rOPENBSD_3_8 src > > I just did: > > # cd /usr/src; rm -rf * > # cd /usr; cvs checkout -P -rOPENBSD_3_8 src > > So, my questions are these: > > 1. Was this an appropriate way of doing the kernel upgrade? > 2. How do I correctly clean up from the failed binary build? Is this ok: > # cd /usr/obj/; rm -r * > 3. How do I fix the error so it compiles correctly...assuming that the file > shows up from the second cvs checkout > 4. Once it compiles correctly, how do I install the binaries? The upgade > page does not include this information. > > Thanks for the help. > > -- > Mike Loiterman > grantADLER > Tel: 630-302-4944 > Fax: 773-442-0992 > Email: [EMAIL PROTECTED] > PGP Key: 0xD1B9D18E
Can't use some characters in xterm/console
Hi, my problem is that I can't use characters like "q" or "s" in xterm or a console. When I'm about to login, I can use that characters, but once logged, no. Is there something I can do? Thanks
Re: Can't use some characters in xterm/console
I use the ksh shell. Tried csh in an xterm, no problem there (I can use the characters there). So, is something I can tweak to make them work in ksh? On 3/14/06, David T Harris <[EMAIL PROTECTED]> wrote: > Actually if you're having the same problems on a tty, > you might want to ssh in remotely and change your default > shell, to see if it's a problem with some config setting > in your .kshrc or .bashrc, etc... > > Have you tried logging in as a different user? Do you still > have the same problems regardless of the shell you use?
Is there any p2p in ports which let me search audio files by bit rate?
I've tried gtk-gnutella, mutella, and mldonkey, but I'd like a client which can search by bit rate. Any suggestion? Thanks
Re: flash plugin & mozilla-firefox
As far as I know, that isn't possible. Maybe if you use Mozilla Firefox under Linux emulation (which I have tried, but failed). Since Flash Player is a Linux binary, you must use it with another Linux binary. That's why you should use Opera. Greetings On 3/21/06, Roy Morris <[EMAIL PROTECTED]> wrote: > Try this > http://www.openbsd.org/faq/faq13.html#javaflash > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] Behalf Of > > Joco Salvatti > > Sent: Tuesday, March 21, 2006 10:15 AM > > To: Misc OpenBSD > > Subject: flash plugin & mozilla-firefox > > > > > > Hi all, > > > > I'd like to know where to put the flash plugin in order to have flash > > animations being run under Mozilla-Firefox. > > > > Thanks > > > > -- > > Joco Salvatti > > Undergraduating in Computer Science > > Federal University of Para - UFPA > > web: http://salvatti.expert.com.br > > e-mail: [EMAIL PROTECTED]
Re: openbsd and the money -solutions
Please, stop wanting companies to support you. It doesn't work that way. To develop an OS under a licence like the ISC has a big hole: funding. You can't just go: Hey, you use the implementation that I develop and give away for free, you should pay me!. If the pay you, OK, if the don't, well, that's OK too, and more realistic. One thing you can do, is to maintain OpenBSD free as in freedom, but not as in free bear. The CVS access would be the same as now, but no more FTP downloads with ISOs or install sets.
Re: openbsd and the money -solutions
It was the unique Unix-like OS with that licence. Right now, there are tons of other systems. Companies want to invest in Linux-based systems, because of marketing. On 3/24/06, mickey <[EMAIL PROTECTED]> wrote: > On Fri, Mar 24, 2006 at 08:40:59AM -0300, Andr?s Delfino wrote: > > Please, stop wanting companies to support you. It doesn't work that > > way. To develop an OS under a licence like the ISC has a big hole: > > funding. You can't just go: Hey, you use the implementation that I > > develop and give away for free, you should pay me!. If the pay you, > > OK, if the don't, well, that's OK too, and more realistic. > > > > One thing you can do, is to maintain OpenBSD free as in freedom, but > > not as in free bear. The CVS access would be the same as now, but no > > more FTP downloads with ISOs or install sets. > > sorry dude but you are full of shit. > for example from history: > how do you think bsd was developped originally at the ucb? > > cu > > -- > paranoic mickey (my employers have changed but, the name has > remained)
Re: openbsd and the money -solutions
As I have said before, BSD was the unique Unix-like operative system with a ISC-style license. That's why, IMHO, companies invested in it. On 3/24/06, Damien Miller <[EMAIL PROTECTED]> wrote: > On Fri, 24 Mar 2006, Andris Delfino wrote: > > > Please, stop wanting companies to support you. It doesn't work that > > way. To develop an OS under a licence like the ISC has a big hole: > > funding. You can't just go: Hey, you use the implementation that I > > develop and give away for free, you should pay me!. If the pay you, > > OK, if the don't, well, that's OK too, and more realistic. > > Even if we were to accept your pessimistic worldview that organisational > gratitude is only a myth, then it is still in companies who use > OpenBSD or OpenSSH interest to contribute - funding committed and > internally-motivated developers to improve components of your product > is far less expensive than recruiting, training, paying and providing > office space for semi-motivated staff who crank out code of varying > quality for financial reward alone. > > BTW, your linkage between the license and a lack of funding is > specious, and there exist plenty of counter examples - including BSD > itself. > > -d
Re: openbsd and the money -solutions
Don't do that, that is extortion. If you don't want to make OpenBSD free-as-in-freedom, but not free-as-in-beer; well, there is another thing that might help. Companies will only donate if they gain something, not just code, I'm talking about money. I'm not a legal guy, but: isn't there a way to make companies gain some money if the donate to us? Like a tax-exempt or something? On 3/24/06, Deanna Phillips <[EMAIL PROTECTED]> wrote: > Ryan Flannery <[EMAIL PROTECTED]> writes: > > > I really hate prolonging this thread, but I'm curious about the > > following... I've done quite bit of contract work around my area, and > > in most cases I've been able to implement OpenBSD for something. > > Whenever that's happened, I've always pushed for the company to make a > > donation. In most cases it's worked (actually all that I can think > > of), resulting in (usually) around $500. It's not what the larger > > companies could do, but I'm curious if other contractors try to push > > donations when they utilize openbsd/openssh. All the companies I've > > worked with have been fairly receptive. > > I work for a startup that simply would not exist without > OpenSSH. AFAIK, they have never donated a penny, the excuse > being, "we will once we turn a profit." But, if they do, will > they really donate? Or will they be too busy counting the > dollars. > > The recent messages by Damien and Theo are great for forwarding > to bosses and marketing and PR. Thanks for those; that's what > I'll do with them. > > That said, I think a wall of shame page on the OpenSSH site > might be a good idea: one listing all those big companies > mentioned that have never donated a dime. Negative PR might > result in more donations than managers receiving the minor > annoyance message forwarded to them, which they'll simply delete > and forget about. > > -- > deanna
Theo opinion of Plan 9
I would like to know what does Theo think about Plan 9. Just curiosity, :P.
Suggestion about supported hardware Web pages
IMHO, it would be useful to identify the hardware which is supported thanks to reverse engineering; so users can always check the pages and buy hardware with "open" documentation. What do you think? Thanks -- Andris Delfino
Re: Recommended window manager for OpenBSD
I've using ion since a time ago, and I absolutely recommend it to everyone. At least, give it a try, it's pretty handy. Greetings. On 5/26/06, Roger Neth Jr <[EMAIL PROTECTED]> wrote: On 5/26/06, Alexander Hall <[EMAIL PROTECTED]> wrote: > Christopher Nelson wrote: > [...] > > I was wondering what window manager was recommended for use with OpenBSD > > 3.9? i.e, one that is reasonably current, and not broken. > > Am I the only one that is quite satisfied with fvwm? While not as > keyboard-only-friendly as ion et al by default, it is quite decent. > > Furthermore, it comes with the base install, which is the main reason I > stick with it. I've tried quite a few window managers (briefly), and I > really did not find any reason to switch. > > /Alexander > > I have the same sentiment but never voiced it. rogern John 3:16 -- Andris Delfino
KBD(8) mapping question should accept "L" as an alternative for "?"
I use the es mapping, but when I install OpenBSD "?" key /doesn't work/ (cause I don't mapped my keyboard yet), which is ok. I know why this happens, I can configure the keyboard because I already know where "?" is, but someone may try to search for it if he/she doesn't, :P. So, I suggest the following: KBD(8) mapping? ('?' for list) [none] should change to something like: KBD(8) mapping? ('?' or 'L' for list) [none] Hope you understood me, English is not my language, :P Greetings from Argentina
Can't make sound working well
Hi, I have a problem with making sound work under OpenBSD. I have already read the FAQ, but not luck with those, :P. Here are all the datails: I'm using OpenBSD 3.8, i386 platform. My motherboard is a SY-P4VGM one. http://www.soyousa.com/products/proddesc.php?id=273 My chip (VT8233) is supported. http://www.openbsd.org/i386.html My sound system is a 2.1 one. audioctl -a output: name=VIA VT8233 version= config=auvia encodings=ulinear:8,mulaw:8*,alaw:8*,slinear:8*,slinear_le:16,ulinear_le:16*,slinear_be:16*,ulinear_be:16* properties=full_duplex,mmap,independent full_duplex=0 fullduplex=0 blocksize=416 hiwat=157 lowat=117 monitor_gain=0 mode= play.rate=8000 play.channels=1 play.precision=8 play.encoding=mulaw play.gain=127 play.balance=32 play.port=0x0 play.avail_ports=0x0 play.seek=0 play.samples=0 play.eof=0 play.pause=0 play.error=0 play.waiting=0 play.open=0 play.active=0 play.buffer_size=65536 record.rate=8000 record.channels=1 record.precision=8 record.encoding=mulaw record.gain=191 record.balance=32 record.port=0x1 record.avail_ports=0x7 record.seek=0 record.samples=0 record.eof=0 record.pause=0 record.error=0 record.waiting=0 record.open=0 record.active=0 record.buffer_size=65536 record.errors=0 dmesg.boot content: OpenBSD 3.8 (GENERIC) #138: Sat Sep 10 15:41:37 MDT 2005 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Celeron(R) CPU 2.50GHz ("GenuineIntel" 686-class) 2.50 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID real mem = 502837248 (491052K) avail mem = 451833856 (441244K) using 4278 buffers containing 25243648 bytes (24652K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(2e) BIOS, date 10/21/03, BIOS32 rev. 0 @ 0xfb240 apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown apm0: flags 70102 dobusy 1 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xf/0xdf44 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdeb0/144 (7 entries) pcibios0: PCI Exclusive IRQs: 5 11 12 pcibios0: PCI Interrupt Router at 000:17:0 ("VIA VT82C596A ISA" rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc/0xc000 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "VIA VT8751 PCI" rev 0x00 ppb0 at pci0 dev 1 function 0 "VIA VT8633 AGP" rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "S3 ProSavage DDR" rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) vendor "Acer Labs", unknown product 0x5459 (class communications subclass modem, rev 0x00) at pci0 dev 9 function 0 not configured uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x80: irq 11 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0x80: irq 5 usb1 at uhci1: USB revision 1.0 uhub1 at usb1 uhub1: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0x80: irq 12 usb2 at uhci2: USB revision 1.0 uhub2 at usb2 uhub2: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered ehci0 at pci0 dev 16 function 3 "VIA VT6202 USB" rev 0x82: irq 11 usb3 at ehci0: USB revision 2.0 uhub3 at usb3 uhub3: VIA EHCI root hub, rev 2.00/1.00, addr 1 uhub3: 6 ports with 6 removable, self powered pcib0 at pci0 dev 17 function 0 "VIA VT8235 ISA" rev 0x00 pciide0 at pci0 dev 17 function 1 "VIA VT82C571 IDE" rev 0x06: ATA133, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: wd0: 16-sector PIO, LBA48, 19130MB, 39179952 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 auvia0 at pci0 dev 17 function 5 "VIA VT8233 AC97" rev 0x50: irq 12 ac97: codec id 0x56494161 (VIA Technologies VT1612A) ac97: codec features headphone, 18 bit DAC, 18 bit ADC, KS Waves 3D audio0 at auvia0 vr0 at pci0 dev 18 function 0 "VIA RhineII-2" rev 0x74: irq 11 address 00:50:2c:a2:51:aa ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface ukphy0: OUI 0x004063, model 0x0032, rev. 8 isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: spkr0 at pcppi0 sysbeep0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 it0 at isa0 port 0x290/8: IT87 npx0 at isa0 port 0xf0/16: using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB
exit and eject should have their second letter in upper-case in cdio(1) help output
Since E is an "ambiguous command", one must use either type EJ or EX to eject a cd or otherwise exit cdio, but both have an E shorcut. That's why these two lines must be changed: { CMD_EJECT, "eject", 1, "" } to: { CMD_EJECT, "eject", 2, "" }, { CMD_QUIT, "exit", 1, "" }, to: { CMD_QUIT, "exit", 2, "" }, at http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/cdio/cdio.c Thanks! ;)
IMHO, wsconsctl(8) output when setting variable values should be modified
I guess wsconsctl(8) output when setting variable values should be slightly modified, since mixerctl and sysctl uses: "variable: old_value -> new_value", and wsconsctl(8) uses: "variable -> new_value", as you can see below. $ mixerctl outputs.master=199,199 outputs.master: 199,199 -> 199,199 $ sudo sysctl machdep.userldt=1 machdep.userldt: 1 -> 1 $ wsconsctl keyboard.bell.pitch=50 keyboard.bell.pitch -> 50 Thx, and have a great new year!
Deletion of indirectly -installed packages (dependencies)
Hi, I want to know if there are any plans to support the deletion of indirectly -installed packages (dependencies). What I want I'm trying to say, is, for example, when one adds package FOO, and that package has tons of dependencies, and one then deletes it, we didn't uninstall all the dependencies. I know it isn't simple, one must first have a way to say: "hey, I'm a package who was added by a user, I wasn't added just to serve a package you deleted!!", and then check if the dependency is used by any package. Also, it should always ask if we want to delete that dependecy, maybe someone starts using it directly instead of using the package which needed it to be added. But, IMHO, it would be nice, =). Help you understand me, good luck
Issue when moving to -stable
Hi, because of the recent release of patches for 3.8, I'm moving to -stable. I could build and boot the new kernel following the instructions at http://www.openbsd.org/stable.html, but I have a problem with the second step to build de binaries, which is: rm -r /usr/obj/* The error I get is: rm: /usr/obj/*: No such file or directory I don't know what should I do now, procede with the next step (make obj && make build) or do something first. Thanks
Re: Sony DSC T7 camera works with OpenBSD
same here... again! =). I tried the a snapshot and my camera (Sony DSC-S40) works great. Thanks!!
OpenBSD logo in xlock(1) life mode should be updated
The logo which one can see is the old daemon, shouldn't it be Puffy now?