Re: What does your environment look like?

2010-01-03 Thread Daniel Andersen
On Mon, Jan 04, 2010 at 09:43:27AM +0300, Andrej Elizarov wrote:
> > * What other utilities do you find useful, any "dockapps" or similar
> > applets? personal customizations?
> unclutter
I'm idle enough to google for "unclutter". I hereby thank you for directing
me to yet another great utility.

--

Key ID:   493FB6AE
Key fingerprint:  3E96 7892 B56D AE27 02EF  BBAA BAA6 6C78 493F B6AE
Keyserver:pgp.mit.edu



Re: What does your environment look like?

2010-01-03 Thread Andrej Elizarov
love it. from first sight and 3.7-around.
oh, what is it? tears?! no, just rain.

> * Do you use one of the bundled window managers like
> cwm(1)/twm(1)/fvwm(1) or something else?
awesome. and it is. really.
with dual monitors.

> * What other utilities do you find useful, any "dockapps" or similar
> applets? personal customizations?
unclutter

> * What does your environment look like? anyone willing to post
> screenshots or actual workspace photos?
bitlbee, xchat, mpd
was a long trip for picking up acceptable web-browser,
(and ah, Chromium works (tnx pvalchev@) but sucks), so it's modori
and firefox for some tasks. but midori is the best.
mplayer, conky



Re: hw.sensors jumping up and down

2010-01-03 Thread mehma sarja
On Sun, Jan 3, 2010 at 6:22 PM, frantisek holop  wrote:

> hi there,
>
> i have noticed that my hw sensors ouput is changing
> in a disturbing way (notice temp0):
>
> day 1:
> hw.sensors.it0.temp0=255.00 degC
> hw.sensors.it0.fan0=5625 RPM
> hw.sensors.it0.fan1=0 RPM
> hw.sensors.it0.fan2=0 RPM
>
> day 2:
> hw.sensors.it0.temp0=0.00 degC
> hw.sensors.it0.fan0=5625 RPM
> hw.sensors.it0.fan1=0 RPM
> hw.sensors.it0.fan2=0 RPM
>
> day 3:
> hw.sensors.it0.temp0=255.00 degC
> hw.sensors.it0.fan0=5443 RPM
> hw.sensors.it0.fan1=0 RPM
> hw.sensors.it0.fan2=0 RPM
>
> should i be worried?
>
>
> I see two of three fans dead. And 255 deg C is not believable.

Mehma
===



Re: What does your environment look like?

2010-01-03 Thread Predrag Punosevac
Brynet  wrote:

> Hi,
>
> I know not everyone uses OpenBSD for a desktop OS, 

I personally run only OpenBSD on all my desktops. I spend no less than 
5 hours a day working on them and no I am not a software developer.
I must admit though I enjoy writing a nice AWK or a shell script. 



> 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?

I was surprised to see how few cwm users responded to your message so
for the record I use cwm. My wife uses cwm. My children use cwm. We 
switched from OpenBox around the time cwm became the part of the base. 
We could not be happier.



> * What other utilities do you find useful, any "dockapps" or similar
> applets? personal customizations?

Please see for yourself 

$ more .xsession
#!/bin/sh
xidle -program "/usr/X11R6/bin/xlock" -timeout 300 &
xclock -geometry -0+0 &
feh --bg-scale /home/predrag/Desktop/ocean.jpg &
exec cwm

$ more .Xdefaults
XTerm*loginShell: true
XTerm*faceName: Mono
XTerm*faceSize: 11
XTerm*background: black
XTerm*foreground: gray

Xft.antialias: true

XClock*analog:  false
XClock*strftime:%T %A %e %B
XClock*face:ter-d12n
XClock*interval:1
XClock*margin:  0
XClock*foreground:  gray
XClock*background:  black


$ more .cwmrc
# Turn on sticky-group mode
sticky yes
# Any entry here is shown in the application menu
command Opera   "opera"
command Rox "rox"
command Ogle"ogle" 
command Xfig"xfig"
command Xsane   "xsane"
command Xcalc   "xcalc"  
# Keybindings
bind CM-m   "xterm -e nail -A gmail"
bind CM-space   "xterm -e nail -A gsu"
# Autogroup definitions
autogroup 2 "xterm,XTerm"



> * Do you try to keep things uniform across other desktops?

Yes, I do synchronize my desktops with unison

http://www.cis.upenn.edu/~bcpierce/unison/


> * What does your environment look like? anyone willing to post
> screenshots or actual workspace photos?
>

There is nothing really to post. See my .xsession and .Xdefaults. For a
very long time I was using default gray X server with the xclock, the
xconsole, and a pile of xterms. My kids got me spoiled. Now I use eye 
candy in a form of a nice wallpaper set by feh. 

> 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.

You are welcome:-)
Predrag



Re: What does your environment look like?

2010-01-03 Thread Jona Joachim
On 2010-01-04, Nick Guenther  wrote:
> On Sun, Jan 3, 2010 at 3:01 AM, Tomas Bodzar  wrote:
>> I use default fvwm(1) and I'm happy with that. I tried cwm(1) after
>> this post http://undeadly.org/cgi?action=article&sid=20090502141551
>> and I found it very clean and useful, but I still use fvwm(1). Anyway
>> I plan to try this one http://www.scrotwm.org/
>>
>
> I never figured out fvwm. It has multiple desktops and you can drag
> windows between them but it jumps them too far too easily. Tell me,
> what's the appeal? I'm willing to think I'm just not understanding it
> (though points should always be allotted for intuitiveness).
>
> I use wmii with a bunch of dmenu custom menus. I haven't found a file
> manager I like (xfe is the best so far, but it uses some weird custom
> toolkit, thunar is nice but really wants famd, which for some reason
> seems associated with trackerd spinning up and eating my CPU, the
> rox-filer in packages doesn't work right).

hmm, I've been using it for years, what is the problem with ROX?

> doesn't work everywhere, so I keep firefox and epiphany and galeon
> around (why is it that Gecko seems so much slower on OpenBSD than
> Linux?). I try to use mpd but sometimes I just don't bother to set it
> up locally (especially since I have a media server now), so I stick
> with Totem (I hate VLC's UI and mplayer is only really any good for
> one offs; totem is codewise pretty heavy but at least the interface
> makes sense).

I've recently discovered that smplayer is quite nice

> OpenBSD on the desktop feels like a lot of compromises to me :( . If I
> still got off from using the command line everywhere it wouldn't be a
> problem but it is.

nothing beats the command line ;)


Best regards,
Jona

-- 
Worse is better
Richard P. Gabriel



Re: What does your environment look like?

2010-01-03 Thread Nick Guenther
On Sun, Jan 3, 2010 at 3:01 AM, Tomas Bodzar  wrote:
> I use default fvwm(1) and I'm happy with that. I tried cwm(1) after
> this post http://undeadly.org/cgi?action=article&sid=20090502141551
> and I found it very clean and useful, but I still use fvwm(1). Anyway
> I plan to try this one http://www.scrotwm.org/
>

I never figured out fvwm. It has multiple desktops and you can drag
windows between them but it jumps them too far too easily. Tell me,
what's the appeal? I'm willing to think I'm just not understanding it
(though points should always be allotted for intuitiveness).

I use wmii with a bunch of dmenu custom menus. I haven't found a file
manager I like (xfe is the best so far, but it uses some weird custom
toolkit, thunar is nice but really wants famd, which for some reason
seems associated with trackerd spinning up and eating my CPU, the
rox-filer in packages doesn't work right). I like Midori but it
doesn't work everywhere, so I keep firefox and epiphany and galeon
around (why is it that Gecko seems so much slower on OpenBSD than
Linux?). I try to use mpd but sometimes I just don't bother to set it
up locally (especially since I have a media server now), so I stick
with Totem (I hate VLC's UI and mplayer is only really any good for
one offs; totem is codewise pretty heavy but at least the interface
makes sense).

OpenBSD on the desktop feels like a lot of compromises to me :( . If I
still got off from using the command line everywhere it wouldn't be a
problem but it is.

-Nick



hw.sensors jumping up and down

2010-01-03 Thread frantisek holop
hi there,

i have noticed that my hw sensors ouput is changing
in a disturbing way (notice temp0):

day 1:
hw.sensors.it0.temp0=255.00 degC
hw.sensors.it0.temp1=26.00 degC
hw.sensors.it0.temp2=36.00 degC
hw.sensors.it0.fan0=5625 RPM
hw.sensors.it0.fan1=0 RPM
hw.sensors.it0.fan2=0 RPM
hw.sensors.it0.volt0=1.76 VDC (VCORE_A)
hw.sensors.it0.volt1=2.46 VDC (VCORE_B)
hw.sensors.it0.volt2=3.31 VDC (+3.3V)
hw.sensors.it0.volt3=4.92 VDC (+5V)
hw.sensors.it0.volt4=12.10 VDC (+12V)
hw.sensors.it0.volt5=0.88 VDC (-12V)
hw.sensors.it0.volt6=-5.13 VDC (-5V)
hw.sensors.it0.volt7=5.11 VDC (+5VSB)
hw.sensors.it0.volt8=2.03 VDC (VBAT)

day 2:
hw.sensors.it0.temp0=0.00 degC
hw.sensors.it0.temp1=26.00 degC
hw.sensors.it0.temp2=36.00 degC
hw.sensors.it0.fan0=5625 RPM
hw.sensors.it0.fan1=0 RPM
hw.sensors.it0.fan2=0 RPM
hw.sensors.it0.volt0=1.76 VDC (VCORE_A)
hw.sensors.it0.volt1=2.46 VDC (VCORE_B)
hw.sensors.it0.volt2=3.33 VDC (+3.3V)
hw.sensors.it0.volt3=4.89 VDC (+5V)
hw.sensors.it0.volt4=12.10 VDC (+12V)
hw.sensors.it0.volt5=0.88 VDC (-12V)
hw.sensors.it0.volt6=-5.13 VDC (-5V)
hw.sensors.it0.volt7=5.11 VDC (+5VSB)
hw.sensors.it0.volt8=2.03 VDC (VBAT)

day 3:
hw.sensors.it0.temp0=255.00 degC
hw.sensors.it0.temp1=25.00 degC
hw.sensors.it0.temp2=35.00 degC
hw.sensors.it0.fan0=5443 RPM
hw.sensors.it0.fan1=0 RPM
hw.sensors.it0.fan2=0 RPM
hw.sensors.it0.volt0=1.76 VDC (VCORE_A)
hw.sensors.it0.volt1=2.46 VDC (VCORE_B)
hw.sensors.it0.volt2=3.33 VDC (+3.3V)
hw.sensors.it0.volt3=4.89 VDC (+5V)
hw.sensors.it0.volt4=12.10 VDC (+12V)
hw.sensors.it0.volt5=0.88 VDC (-12V)
hw.sensors.it0.volt6=-5.13 VDC (-5V)
hw.sensors.it0.volt7=5.11 VDC (+5VSB)
hw.sensors.it0.volt8=2.03 VDC (VBAT)

should i be worried?



OpenBSD 4.6 (GENERIC) #0: Wed Nov  4 13:07:50 CET 2009
r...@integer.obiit.org:/home/f/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Duron(tm) Processor ("AuthenticAMD" 686-class, 64KB L2 cache) 1 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem  = 536440832 (511MB)
avail mem = 509902848 (486MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 01/12/02, BIOS32 rev. 0 @ 0xfdae0, SMBIOS 
rev. 2.3 @ 0xf0630 (22 entries)
bios0: vendor American Megatrends Inc. version "07.00T" date 04/02/01
bios0: ECS 735FSX
apm0 at bios0: Power Management spec V1.2
apm0: AC on, no battery
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf7760/160 (8 entries)
pcibios0: PCI Interrupt Router at 000:02:0 ("SiS 85C503 System" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0xf400
cpu0 at mainbus0: (uniprocessor)
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "SiS 735 PCI" rev 0x01
sisagp0 at pchb0
agp0 at sisagp0: aperture at 0xd000, size 0x400
ppb0 at pci0 dev 1 function 0 "SiS 86C201 AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "NVIDIA GeForce FX 5200" rev 0xa1
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 2 function 0 "SiS 85C503 System" rev 0x00
ohci0 at pci0 dev 2 function 2 "SiS 5597/5598 USB" rev 0x07: irq 5, version 
1.0, legacy support
ohci1 at pci0 dev 2 function 3 "SiS 5597/5598 USB" rev 0x07: irq 10, version 
1.0, legacy support
pciide0 at pci0 dev 2 function 5 "SiS 5513 EIDE" rev 0xd0: 735: DMA, channel 0 
wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: 
wd0: 16-sector PIO, LBA, 76319MB, 156301488 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
pciide0: channel 1 disabled (no drives)
rl0 at pci0 dev 13 function 0 "Realtek 8139" rev 0x10: irq 12, address 
00:08:a1:77:6d:50
rlphy0 at rl0 phy 0: RTL internal PHY
isa0 at pcib0
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
it0 at isa0 port 0x2e/2: IT8705F rev 2, EC port 0x290
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
usb0 at ohci0: USB revision 1.0
uhub0 at usb0 "SiS OHCI root hub" rev 1.00/1.00 addr 1
usb1 at ohci1: USB revision 1.0
uhub1 at usb1 "SiS OHCI root hub" rev 1.00/1.00 addr 1
biomask efed netmask ffed ttymask 
mtrr: Pentium Pro MTRR support
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
WARNING: / was not properly unmounted

-f
-- 
foied vinom pipafo, cra carefo.



Re: What does your environment look like?

2010-01-03 Thread Josh Rickmar
On Sun, Jan 03, 2010 at 08:07:58PM -0600, Marco Peereboom wrote:
> I'll take patches. There are several features I don't use but still
> committed; the only requirements I have are:
> * ISC licensed
> * not in the way of current behavior
> * well written and within the scrotwm style

I'll see what I can do then (first time in the scrotwm codebase).

> >* No tagging
> >
> >Since Marco doesn't really like this, and it is his wm, I doubt this
> >would be comming back (a shame, really. you can still use tags as
> >regular workspaces if so inclined).
> 
> What do you mean come back? I used a couple of ideas and lines of
> code from dwm but it is essentially completly written from scratch.
> It was never in there.

I was under the impression that it was basically dwm with your own
changes and unneeded things stripped out (at least that's how I
intrepreted your webpage).

> >I like the way dwm distinguishes between floating windows in a tiled
> >layout and windows that are set to float because of the current
> >floating
> >layout, so if you switch back to a tiled layout, windows which you
> >have
> >explicitly set to floating will remain floating.
> >
> >* New windows are always pushed to the bottom of the stack, can't be
> > configured
> >
> >I think this should be an option.
> 
> Nah, m-enter is the magic.

What about opening a window above the current one (xmonad-style)?



Re: What does your environment look like?

2010-01-03 Thread Marco Peereboom
I'll take patches. There are several features I don't use but still  
committed; the only requirements I have are:

* ISC licensed
* not in the way of current behavior
* well written and within the scrotwm style

If you need things like tags write the patch an it'll go in provided  
you meet the requirements.


On Jan 3, 2010, at 14:31, Josh Rickmar  wrote:


On Sun, Jan 03, 2010 at 07:41:04PM -0500, Ryan Flannery wrote:
On Sun, Jan 3, 2010 at 7:20 PM, Marco Peereboom  
 wrote:
On Jan 3, 2010, at 8:23, Chris Bennett >

Josh Rickmar wrote:

[snip]
This may have changed in more recent version of scrotwm, but  
back when I

last tried it, the statusbar also was not able to show you which
workspaces currently had windows on them, so I ended up quiting  
scrotwm

and X when I still had windows open... not fun.

[snip]
I agree, I don't like having to tab through 10 windows before  
shutting

down.


The "M+left" and "M+right" keybindings may be useful for you then.
They cycle through the workspaces with windows in them (skipping  
those

that are empty).
Just FYI.

-Ryan



Ah, nice. Yeah, after looking through the manual again, I tried all  
the

features, and found that out as well.

Just to see what has changed since I last used it, I installed scrotwm
and started writing down a list of things which I didn't really like  
or

that I found odd:

* No tagging

Since Marco doesn't really like this, and it is his wm, I doubt this
would be comming back (a shame, really. you can still use tags as
regular workspaces if so inclined).


What do you mean come back? I used a couple of ideas and lines of code  
from dwm but it is essentially completly written from scratch. It was  
never in there.





* Statusbar doesn't display windows on other workspaces

Same here.

* Statusbar doesn't display WM_NAME(STRING).

I found it odd that there are options to display things like the
window's class, but not the actual title of the window. Maybe I could
write a patch for this.



Yeah that would be nice. Patch please.


* Can't bind mouse actions on windows
* Can't bind mouse actions on the statusbar



I use the mouse for the tubes and cut and paste. I'll flat a patch for  
this too.



I use surf as my browser, and prefer to use it without any other
programs to handle multiple windows (ie. tabbed), besides the wm.  
Since

my hand is almost always on the mouse anyways, I find it really
convenient to use mouse bindings to perform certain actions (like  
right

clicking the statusbar to delete the current window, for instance).

* Can't switch to a specific layout, only cycle (no way to bind this).



That is dwc being lazy. Make him fix this.

I thought it was weird the first time I used dwm (comming from  
xmonad),

but after using it for a while, I have really missed it in scrotwm. I
think that it should be possible to at least bind keys to certain
layouts so you can change to it without having to cycle through all  
the

others first.

* No layout for floating



Need to spend a week on this to unfuck floats. It is a surprisingly  
hard problem. I will eventualy get to this.



I like the way dwm distinguishes between floating windows in a tiled
layout and windows that are set to float because of the current  
floating
layout, so if you switch back to a tiled layout, windows which you  
have

explicitly set to floating will remain floating.

* New windows are always pushed to the bottom of the stack, can't be
 configured

I think this should be an option.


Nah, m-enter is the magic.




* Opening or closing a window with any floating moves the floating one
 to center

Sounds like a bug.


See previous float comment.




* Impossible to move any part of a floating window off screen.

Not sure if this is a bug or design decision, but I find it awkward at
times.



By design; the reason is xrandr akwardness and it can't be gotten  
right. So preventing it from moving offscreen was the best option.  
Maybe this can be fixed with the floaters.



Anyways, I tried this with the scrotwm package (-current), so some of
these bugs may have been fixed in the most recent version. I wouldn't
mind writing patches for some of them, but the fact that things like
tagging and the changes in the statusbar have been changed for the  
worse

(imho, of course) make me rather want to stay with dwm.

Anyways, good luck with your scrotwm project. Even if I don't really
care for all the changes, I know you and others do.

(I will say that scrotwm makes an excellent xmonad replacement, for
those of you that haven't been already spoiled by switching to dwm. :)




Re: What does your environment look like?

2010-01-03 Thread Josh Rickmar
On Sun, Jan 03, 2010 at 07:41:04PM -0500, Ryan Flannery wrote:
> On Sun, Jan 3, 2010 at 7:20 PM, Marco Peereboom  wrote:
> > On Jan 3, 2010, at 8:23, Chris Bennett 
> >> Josh Rickmar wrote:
> [snip]
> >>> This may have changed in more recent version of scrotwm, but back when I
> >>> last tried it, the statusbar also was not able to show you which
> >>> workspaces currently had windows on them, so I ended up quiting scrotwm
> >>> and X when I still had windows open... not fun.
> [snip]
> >> I agree, I don't like having to tab through 10 windows before shutting
> >> down.
> 
> The "M+left" and "M+right" keybindings may be useful for you then.
> They cycle through the workspaces with windows in them (skipping those
> that are empty).
> Just FYI.
> 
> -Ryan
> 

Ah, nice. Yeah, after looking through the manual again, I tried all the
features, and found that out as well.

Just to see what has changed since I last used it, I installed scrotwm
and started writing down a list of things which I didn't really like or
that I found odd:

* No tagging

Since Marco doesn't really like this, and it is his wm, I doubt this
would be comming back (a shame, really. you can still use tags as
regular workspaces if so inclined).

* Statusbar doesn't display windows on other workspaces

Same here.

* Statusbar doesn't display WM_NAME(STRING).

I found it odd that there are options to display things like the
window's class, but not the actual title of the window. Maybe I could
write a patch for this.

* Can't bind mouse actions on windows
* Can't bind mouse actions on the statusbar

I use surf as my browser, and prefer to use it without any other
programs to handle multiple windows (ie. tabbed), besides the wm. Since
my hand is almost always on the mouse anyways, I find it really
convenient to use mouse bindings to perform certain actions (like right
clicking the statusbar to delete the current window, for instance).

* Can't switch to a specific layout, only cycle (no way to bind this).

I thought it was weird the first time I used dwm (comming from xmonad),
but after using it for a while, I have really missed it in scrotwm. I
think that it should be possible to at least bind keys to certain
layouts so you can change to it without having to cycle through all the
others first.

* No layout for floating

I like the way dwm distinguishes between floating windows in a tiled
layout and windows that are set to float because of the current floating
layout, so if you switch back to a tiled layout, windows which you have
explicitly set to floating will remain floating.

* New windows are always pushed to the bottom of the stack, can't be
  configured

I think this should be an option.

* Opening or closing a window with any floating moves the floating one
  to center

Sounds like a bug.

* Impossible to move any part of a floating window off screen.

Not sure if this is a bug or design decision, but I find it awkward at
times.

Anyways, I tried this with the scrotwm package (-current), so some of
these bugs may have been fixed in the most recent version. I wouldn't
mind writing patches for some of them, but the fact that things like
tagging and the changes in the statusbar have been changed for the worse
(imho, of course) make me rather want to stay with dwm.

Anyways, good luck with your scrotwm project. Even if I don't really
care for all the changes, I know you and others do.

(I will say that scrotwm makes an excellent xmonad replacement, for
those of you that haven't been already spoiled by switching to dwm. :)



Re: What does your environment look like?

2010-01-03 Thread Chris Bennett

Ryan Flannery wrote:

On Sun, Jan 3, 2010 at 7:20 PM, Marco Peereboom  wrote:
  

On Jan 3, 2010, at 8:23, Chris Bennett 


Josh Rickmar wrote:
  

[snip]
  

This may have changed in more recent version of scrotwm, but back when I
last tried it, the statusbar also was not able to show you which
workspaces currently had windows on them, so I ended up quiting scrotwm
and X when I still had windows open... not fun.


[snip]
  

I agree, I don't like having to tab through 10 windows before shutting
down.
  


The "M+left" and "M+right" keybindings may be useful for you then.
They cycle through the workspaces with windows in them (skipping those
that are empty).
Just FYI.

-Ryan


  

Well then, thats that.
I didn't realize that they skipped empties!
OK, I'm happy now.

--
A human being should be able to change a diaper, plan an invasion,
butcher a hog, conn a ship, design a building, write a sonnet, balance
accounts, build a wall, set a bone, comfort the dying, take orders,
give orders, cooperate, act alone, solve equations, analyze a new
problem, pitch manure, program a computer, cook a tasty meal, fight
efficiently, die gallantly. Specialization is for insects.
  -- Robert Heinlein



Re: What does your environment look like?

2010-01-03 Thread Ryan Flannery
On Sun, Jan 3, 2010 at 7:20 PM, Marco Peereboom  wrote:
> On Jan 3, 2010, at 8:23, Chris Bennett 
>> Josh Rickmar wrote:
[snip]
>>> This may have changed in more recent version of scrotwm, but back when I
>>> last tried it, the statusbar also was not able to show you which
>>> workspaces currently had windows on them, so I ended up quiting scrotwm
>>> and X when I still had windows open... not fun.
[snip]
>> I agree, I don't like having to tab through 10 windows before shutting
>> down.

The "M+left" and "M+right" keybindings may be useful for you then.
They cycle through the workspaces with windows in them (skipping those
that are empty).
Just FYI.

-Ryan



Re: What does your environment look like?

2010-01-03 Thread Marco Peereboom
I had it on the status bar before and hated it. I have never found any  
use for tagging.


On Jan 3, 2010, at 8:23, Chris Bennett   
wrote:



Josh Rickmar wrote:

I tried out scrotwm, wasn't all that impressed. I really don't
understand why the devs decided to remove dwm's tagging features.

This may have changed in more recent version of scrotwm, but back  
when I

last tried it, the statusbar also was not able to show you which
workspaces currently had windows on them, so I ended up quiting  
scrotwm

and X when I still had windows open... not fun.




Scrotwm now has two settings :

title_class_enabled Enable or disable displaying the window
 class in the status bar.  Enable by  
setting

 to 1
title_name_enabledEnable or disable displaying the window ti-
 tle in the status bar.  Enable by  
setting

 to 1
These show what is open in a window when AT the window.
Perhaps this function could be exploited to add a prompt when  
quitting with windows active?

Or add an optional row to status bar showing active windows.

I agree, I don't like having to tab through 10 windows before  
shutting down.


--
A human being should be able to change a diaper, plan an invasion,
butcher a hog, conn a ship, design a building, write a sonnet, balance
accounts, build a wall, set a bone, comfort the dying, take orders,
give orders, cooperate, act alone, solve equations, analyze a new
problem, pitch manure, program a computer, cook a tasty meal, fight
efficiently, die gallantly. Specialization is for insects.
 -- Robert Heinlein




Re: What does your environment look like?

2010-01-03 Thread Marco Peereboom

On Jan 2, 2010, at 20:08, 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.


I have used OpenBSD as my main desktop since 2.9. Wish I had  
discovered it earlier.





* Do you use one of the bundled window managers like
cwm(1)/twm(1)/fvwm(1) or something else?


Scrotwm



* What other utilities do you find useful, any "dockapps" or similar
applets? personal customizations?


Dmenu



* Do you try to keep things uniform across other desktop ?


The defaults are exactly what I want.



* What does your environment look like? anyone willing to post
screenshots or actual workspace photos?


http://scrotwm.org




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.




Re: ntp log rotation

2010-01-03 Thread Andreas Kahari
NTPD does its own rotating if you tell it to. See e.g.
http://www.eecis.udel.edu/~mills/ntp/html/monopt.html

Cheers,
Andreas

2010/1/3 Lars Kotthoff :
> Hi list,
>
>  is there any way to use newsyslog with ntpd (not the OpenBSD one) without
> having to restart it? Just rotating the log causes subsequent log messages
to be
> lost and killing ntpd with SIGHUP causes it to exit.
>
> I've had a look at the manpages and on the interwebs, but didn't find
anything.
>
> Thanks,
>
> Lars
>
>



--
Andreas Kahari
Somewhere in the general Cambridge area, UK



Re: ntp log rotation

2010-01-03 Thread nixlists
It takes either a masochist to run original NTPD, or you are being tortured.



Re: What does your environment look like?

2010-01-03 Thread Robert

Anders Langworthy wrote:

On Sat, Jan 2, 2010 at 9:08 PM, Brynet  wrote:

* Do you use one of the bundled window managers like
cwm(1)/twm(1)/fvwm(1) or something else?


I wasn't going to reply, but I couldn't believe that cwm hasn't
received any love yet.   It's glorious.  Powerful keyboard control,
neat features, and faster than you need it to be.  Its minimalism is
elegant (and absolute) with no window decoration crud to distract or
waste valuable pixels.  And it's in base.


* Do you try to keep things uniform across other desktops?


No, but net/rsync is excellent for that purpose.




evilwm + xbindkeys

"Anything else is pure luxury."



Promociones en DiseƱo Web

2010-01-03 Thread Estudio Concept
 

Si no puedes ver la imagen click en este link



ntp log rotation

2010-01-03 Thread Lars Kotthoff
Hi list,

 is there any way to use newsyslog with ntpd (not the OpenBSD one) without
having to restart it? Just rotating the log causes subsequent log messages to be
lost and killing ntpd with SIGHUP causes it to exit.

I've had a look at the manpages and on the interwebs, but didn't find anything.

Thanks,

Lars



Re: What does your environment look like?

2010-01-03 Thread Anders Langworthy
On Sat, Jan 2, 2010 at 9:08 PM, Brynet  wrote:
> * Do you use one of the bundled window managers like
> cwm(1)/twm(1)/fvwm(1) or something else?

I wasn't going to reply, but I couldn't believe that cwm hasn't
received any love yet.   It's glorious.  Powerful keyboard control,
neat features, and faster than you need it to be.  Its minimalism is
elegant (and absolute) with no window decoration crud to distract or
waste valuable pixels.  And it's in base.

> * Do you try to keep things uniform across other desktops?

No, but net/rsync is excellent for that purpose.



Re: What does your environment look like?

2010-01-03 Thread Chris Bennett

Josh Rickmar wrote:

I tried out scrotwm, wasn't all that impressed. I really don't
understand why the devs decided to remove dwm's tagging features.

This may have changed in more recent version of scrotwm, but back when I
last tried it, the statusbar also was not able to show you which
workspaces currently had windows on them, so I ended up quiting scrotwm
and X when I still had windows open... not fun.


  

Scrotwm now has two settings :

title_class_enabled Enable or disable displaying the window
  class in the status bar.  Enable by 
setting

  to 1
title_name_enabledEnable or disable displaying the window ti-
  tle in the status bar.  Enable by setting
  to 1
These show what is open in a window when AT the window.
Perhaps this function could be exploited to add a prompt when quitting 
with windows active?

Or add an optional row to status bar showing active windows.

I agree, I don't like having to tab through 10 windows before shutting down.

--
A human being should be able to change a diaper, plan an invasion,
butcher a hog, conn a ship, design a building, write a sonnet, balance
accounts, build a wall, set a bone, comfort the dying, take orders,
give orders, cooperate, act alone, solve equations, analyze a new
problem, pitch manure, program a computer, cook a tasty meal, fight
efficiently, die gallantly. Specialization is for insects.
  -- Robert Heinlein



Re: Openssl patch breaks Tor

2010-01-03 Thread J.C. Roberts
On Sun, 3 Jan 2010 08:15:55 + Josh Rickmar
 wrote:

> On Sun, Jan 03, 2010 at 12:31:55AM -0800, J.C. Roberts wrote:
> > > Long
> > > time ago I did try development versions of NetBSD and FreeBSD
> > > because I needed support for hardware that -stable didn't have,
> > > and they were quite shaky. Or do you guys just want more people
> > > to use -current for the project progress reasons? I thought
> > > -current was for people who are more into hacking code than
> > > running a stable server.
> > > 
> > 
> > With only a few rare exceptions, the OpenBSD -current branch is
> > typically almost as "stable" as the -stable branch *BUT* you get the
> > advantage of more recent versions of ports, albeit at the cost of
> > needing to compile them yourself.
> 
> ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/packages/ ?

Yes! Using snapshots/packages is an absolutely fantastic option if:

1.) You have a *reliable* Internet connection
2.) You have plenty of bandwidth
3.) All the machines you maintain are running the
same -current snapshot.
4.) You don't want to work on stuff.

I have difficulty downloading the full snapshot .iso's without the
connection making a mess of it, so I typically download the individual
snapshot *.tgz's. Even CVS can be painful on a slow and dodgy connection
like mine (Verizon EVDO). I have plenty of compute power, but being
connected to the Internet by the equivalent of a string and a pair of
tin cans makes downloading tons of stuff a real problem.

-- 
J.C. Roberts



Re: What does your environment look like?

2010-01-03 Thread Josh Rickmar
Sorry for the duplicate again... I really have to get used to using
mutt's list-reply.

- Forwarded message from Josh Rickmar  -

Date: Sun, 3 Jan 2010 08:30:26 +
From: Josh Rickmar 
To: Tomas Bodzar 
Subject: Re: What does your environment look like?
User-Agent: Mutt/1.5.20 (2009-06-14)

On Sun, Jan 03, 2010 at 09:01:45AM +0100, Tomas Bodzar wrote:
> I use default fvwm(1) and I'm happy with that. I tried cwm(1) after
> this post http://undeadly.org/cgi?action=article&sid=20090502141551
> and I found it very clean and useful, but I still use fvwm(1). Anyway
> I plan to try this one http://www.scrotwm.org/

I tried out scrotwm, wasn't all that impressed. I really don't
understand why the devs decided to remove dwm's tagging features.

This may have changed in more recent version of scrotwm, but back when I
last tried it, the statusbar also was not able to show you which
workspaces currently had windows on them, so I ended up quiting scrotwm
and X when I still had windows open... not fun.

Anyways, each to his own.

Josh

- End forwarded message -



Re: Openssl patch breaks Tor

2010-01-03 Thread Josh Rickmar
On Sun, Jan 03, 2010 at 12:31:55AM -0800, J.C. Roberts wrote:
> > Long
> > time ago I did try development versions of NetBSD and FreeBSD because
> > I needed support for hardware that -stable didn't have, and they were
> > quite shaky. Or do you guys just want more people to use -current for
> > the project progress reasons? I thought -current was for people who
> > are more into hacking code than running a stable server.
> > 
> 
> With only a few rare exceptions, the OpenBSD -current branch is
> typically almost as "stable" as the -stable branch *BUT* you get the
> advantage of more recent versions of ports, albeit at the cost of
> needing to compile them yourself.

ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/packages/ ?



Re: What does your environment look like?

2010-01-03 Thread Julian Leyh

Am 03.01.10 04:11, schrieb Bryan:

http://imagebin.ca/view/3JllgShA.png


I will kill to learn how to use mutt...  It looks great...



That's vim used as editor for messages in mutt. But yes, mutt is great.



Re: IPSEC bringing down networking

2010-01-03 Thread Jiro
On 2010-01-03, Jeff Simmons  wrote:
> Probably a bit premature to be asking this since I won't be able to
physically
> access the machine until Monday, but here goes ...
>
> I have a machine that I admin remotely running 4.6 with all the patches.
It's
> a firewall only machine with 6 ethernet interfaces, 4 of which are active,
> and has been running fine since I upgraded it. It's got a fairly complex
> pf.conf. Last week I set up a VPN on it to a Sonic Wall appliance. The VPN
> comes up and works fine, and then somewhere between 4 and 24 hours later the
> box loses all network connectivity. You can still login via console, and
I've
> been able to get the local people to run some basic commands (ifconfig,
> netstat, ps, pfctl -s) and everything seems normal (from what I can get from
> non-technical people over the phone), but none of the interfaces are passing
> packets. Rebooting solves the problem for the next 4-24 hrs. It's happened
> several times now. System logs show nothing.
>
> Any ideas as to what is going on would be greatly appreciated. And
especially,
> what should I be looking for (i.e. what commands should I run) if I can
> manage to get on the box when the network is hosed?

When you're on the machine and experiencing the problem, it would
be useful to collect the output from 'netstat -rn'. (i.e. redirect to
a file, copy it off when the network's working again).

You could try 'ipsecctl -F' rather than rebooting.



Re: What does your environment look like?

2010-01-03 Thread Chris Bennett

I use scrotwm with dual monitors.
I really like scrotwm since it works well on even really old hardware.

I adjust to make home, end, delete=delete forward work in xterm
I force keypad to work numbers only
I use colorls
I have aliases to swap between english and spanish
I have emu card so I use aucatvol + a script to change volume to known 
levels.


pic:
http://www.bennettconstruction.us/images/Desktop.jpg

--
A human being should be able to change a diaper, plan an invasion,
butcher a hog, conn a ship, design a building, write a sonnet, balance
accounts, build a wall, set a bone, comfort the dying, take orders,
give orders, cooperate, act alone, solve equations, analyze a new
problem, pitch manure, program a computer, cook a tasty meal, fight
efficiently, die gallantly. Specialization is for insects.
  -- Robert Heinlein



Re: USB Ethernet

2010-01-03 Thread Vijay Sankar

Tomas Bodzar wrote:

Did you try current? Anyway man pages says that this chip is supported
in both release and current. What says 'usbdevs -v' about your device?



Thanks very much. I will set up -current and report back to you and the 
list.


I get the following with usbdevs -v

Controller /dev/usb1:
addr 1: high speed, self powered, config 1, EHCI root hub(0x), 
Intel(0x8086), rev 1.00
 port 1 addr 2: high speed, power 450 mA, config 1, AX88178(0x1780), 
ASIX Electronics(0x0b95), rev 0.01, iSerialNumber 14


Full output below:

$ usbdevs -v
Controller /dev/usb0:
addr 1: high speed, self powered, config 1, EHCI root hub(0x), 
Intel(0x8086), rev 1.00

 port 1 powered
 port 2 powered
 port 3 powered
 port 4 addr 2: high speed, power 98 mA, config 1, FO13FF-65 
PC-CAM(0x0103), Foxlink(0x05c8), rev 1.10, iSerialNumber 1.10

Controller /dev/usb1:
addr 1: high speed, self powered, config 1, EHCI root hub(0x), 
Intel(0x8086), rev 1.00
 port 1 addr 2: high speed, power 450 mA, config 1, AX88178(0x1780), 
ASIX Electronics(0x0b95), rev 0.01, iSerialNumber 14

 port 2 powered
 port 3 powered
 port 4 powered
 port 5 addr 3: high speed, self powered, config 1, USB2.0 Storage 
Device(0x6830), Cypress Semiconductor(0x04b4), rev 0.01, iSerialNumber 
5560

 port 6 powered
Controller /dev/usb2:
addr 1: full speed, self powered, config 1, UHCI root hub(0x), 
Intel(0x8086), rev 1.00

 port 1 powered
 port 2 powered
Controller /dev/usb3:
addr 1: full speed, self powered, config 1, UHCI root hub(0x), 
Intel(0x8086), rev 1.00

 port 1 powered
 port 2 powered
Controller /dev/usb4:
addr 1: full speed, self powered, config 1, UHCI root hub(0x), 
Intel(0x8086), rev 1.00

 port 1 powered
 port 2 powered
Controller /dev/usb5:
addr 1: full speed, self powered, config 1, UHCI root hub(0x), 
Intel(0x8086), rev 1.00
 port 1 addr 2: full speed, self powered, config 1, Bluetooth(0x0001), 
Cambridge Silicon Radio(0x0a12), rev 31.64
 port 2 addr 3: full speed, power 100 mA, config 1, Fingerprint 
Sensor(0x1600), AuthenTec(0x08ff), rev c.10





On Sun, Jan 3, 2010 at 2:03 AM, Vijay Sankar  wrote:

I am trying to use a USB 2.0 Gigabit Ethernet adapter

axe0 at uhub1 port 1 configuration 1 interface 0 "ASIX Electronics AX88178"
rev 2.00/0.01 addr 2
axe0: AX88178, address 00:80:c8:ff:ff:a1
ukphy0 at axe0 phy 0: Generic IEEE 802.3u media interface, rev. 9: OUI
0x1e525e, model 0x0014

$ ifconfig axe0
axe0: flags=8843 mtu 1500
B  B  B  B lladdr 00:80:c8:ff:ff:a1
B  B  B  B priority: 0
B  B  B  B media: Ethernet autoselect (none loopback)
B  B  B  B status: no carrier
B  B  B  inet6 fe80::280:c8ff:feff:ffa1%axe0 prefixlen 64 scopeid 0x5
B  B  B  inet 10.0.0.212 netmask 0xff00 broadcast 10.0.0.255

I can see packets on the interface if I use tcpdump but the status shows

"No

Carrier". However the lights on the adapter are on and I can do a tcpdump
and see packets arriving at the interface.

I tried this on different systems -- a netbook, a laptop, and two desktops
and in each case got the same result (4.5 -stable, 4.6 release, and 4.6
-stable, all i386 and a 4.5 -stable amd64). I also tried changing the media
and mediaopt settings to 100BaseTX, 10BaseT, and 1000BaseT in addition to
the default autoselect.

Will this device work on OpenBSD or if this was a dumb purchase on my part
can someone suggest a USB ethernet adapter that will work properly?

Thanks very much.

Here is the full dmesg and please let me know if any additional information
will be useful.

$ dmesg
OpenBSD 4.6-stable (GENERIC.MP) #0: Sun Dec 27 11:48:54 CST 2009
B  B r...@server8.sankars.local:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Core(TM)2 Duo CPU T8100 @ 2.10GHz ("GenuineIntel" 686-class)
2.10 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,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,
xTPR

real mem B = 3219075072 (3069MB)
avail mem = 3118567424 (2974MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 01/21/08, BIOS32 rev. 0 @ 0xfdc34,
SMBIOS rev. 2.4 @ 0xbfecc000 (40 entries)
bios0: vendor Phoenix Technologies LTD version "COLSSF15" date 01/21/2008
bios0: LG Electronics R500-C.CP03A9
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP HPET MCFG TCPA TMOR SLIC APIC BOOT SSDT SSDT SSDT
SSDT SSDT
acpi0: wakeup devices LANC(S4) HDEF(S0) PXSX(S4) PXSX(S4) PXSX(S4) PXSX(S4)
PXSX(S4) PXSX(S4) USB1(S3) USB2(S4) USB3(S3) USB4(S3) USB5(S0) EHC1(S3)
EHC2(S3) PS2K(S3) LID0(S3) PWRB(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 199MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU T8100 @ 2.10GHz ("GenuineIntel" 686-class)
2.10 GHz
cpu1:


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,SSE3,MWA

Re: Openssl patch breaks Tor

2010-01-03 Thread Stuart Henderson
On 2010-01-02, nixlists  wrote:
> If I upgrade to -current, don't I risk stability and security issues;

"stable" mostly refers to API changes; neither -current nor
-stable should be particularly unreliable (and security should
be the same or better in -current).



Re: IPSEC bringing down networking

2010-01-03 Thread Stuart Henderson
On 2010-01-03, Jeff Simmons  wrote:
> Probably a bit premature to be asking this since I won't be able to 
> physically 
> access the machine until Monday, but here goes ...
>
> I have a machine that I admin remotely running 4.6 with all the patches. It's 
> a firewall only machine with 6 ethernet interfaces, 4 of which are active, 
> and has been running fine since I upgraded it. It's got a fairly complex 
> pf.conf. Last week I set up a VPN on it to a Sonic Wall appliance. The VPN 
> comes up and works fine, and then somewhere between 4 and 24 hours later the 
> box loses all network connectivity. You can still login via console, and I've 
> been able to get the local people to run some basic commands (ifconfig, 
> netstat, ps, pfctl -s) and everything seems normal (from what I can get from 
> non-technical people over the phone), but none of the interfaces are passing 
> packets. Rebooting solves the problem for the next 4-24 hrs. It's happened 
> several times now. System logs show nothing.
>
> Any ideas as to what is going on would be greatly appreciated. And 
> especially, 
> what should I be looking for (i.e. what commands should I run) if I can 
> manage to get on the box when the network is hosed?

When you're on the machine and experiencing the problem, it would
be useful to collect the output from 'netstat -rn'. (i.e. redirect to
a file, copy it off when the network's working again).

You could try 'ipsecctl -F' rather than rebooting.



Re: 802.11n cards for AP?

2010-01-03 Thread Stuart Henderson
On 2010-01-02, Steven M. Caesare  wrote:
>
> I've found some cable/antenna assemblies that might allow me to remote
> an antenna to a good spot in the house for coverage, and I'm thus
> re-considering going with a FW based AP setup once again.
>
> According to the OpenBSD site, the following 802.11n devices are
> supported:
>
> athn
> iwn
> run

no hostap (same for otus)

> ral

RT2860 has great RF performance but under some conditions running
in hostap mode, things stop working until you ifconfig down+up
(PR 5958).

As others mentioned, OpenBSD doesn't support 802.11n yet, these
cards run in 11g mode for now.



Re: Further testing a drive with dd running -current

2010-01-03 Thread David Vasek

On Sat, 2 Jan 2010, Scott McEachern wrote:


The second was your suggestion, and interestingly, it produces the error.

Partition "e" starts at 43 022 070, the "problem" is at 268 435 455, so we'll 
skip 225 413 380 to start just before that spot:


# dd if=/dev/rwd0e of=/dev/null skip=225413380
dd: /dev/rwd0e: Input/output error
5+0 records in
5+0 records out
2560 bytes transferred in 4.084 secs (627 bytes/sec)



Try searching the web for st31500341as or for barracuda 7200.11, you will 
find some reports about troubles with them and with their firmware.


As you can access partitions beyond that sector (and you can indeed, 
because you were able to newfs them, mount them and install files there), 
that means that only than one sector or a group of sectors are affected. 
Did you try much larger values of "skip="? You should be able to trace the 
exact range of affected sectors by channging the number of skipped sectors 
then.


Also, you could test the disk with stand-alone tools or other OS's for 
comparison. This one (DFT from Hitachi), for example, should work even 
with Seagate:

http://www.hgst.com/hdd/support/download.htm#DFT

Or SeaTools from Seagate. It would be quite interesting if it reports an 
error too:

http://www.seagate.com/ww/v/index.jsp?locale=en-US&name=SeaTools&vgnextoid=720bd20cacdec010VgnVCM10dd04090aRCRD

Regards,
David



Re: Openssl patch breaks Tor

2010-01-03 Thread J.C. Roberts
On Sat, 2 Jan 2010 18:45:00 -0500 nixlists  wrote:

> If I upgrade to -current, don't I risk stability and security issues;
> or are the chances of that are very low as far as this OS goes? 

(sigh) 
If you run *any* software, you are running the risk of stability
and security issues! --It's just a fact of life.

> Long
> time ago I did try development versions of NetBSD and FreeBSD because
> I needed support for hardware that -stable didn't have, and they were
> quite shaky. Or do you guys just want more people to use -current for
> the project progress reasons? I thought -current was for people who
> are more into hacking code than running a stable server.
> 

With only a few rare exceptions, the OpenBSD -current branch is
typically almost as "stable" as the -stable branch *BUT* you get the
advantage of more recent versions of ports, albeit at the cost of
needing to compile them yourself.

Running -current is more work, and requires more knowledge, but it is
well worth the effort. There are always some caveats when running
the -current branch, so you'll need to pay attention to:
http://www.openbsd.org/faq/current.html

Often, it is easiest to do a completely new, full installation from a
snapshot. This can prevent you from needing to fix the various caveats
such as file format changes, requirements and whatnot (typically
listed in the URL above). On the other hand, if you don't mind making
the needed changes manually, you can also do an "upgrade" (rather than
a full install) as Stuart mentioned.

Since you should *ALWAYS* have a backup of your data when doing either
a full install or an upgrade, and often you'll want to be rebuilding
and reinstalling a lot of your ports, the time you might save doing an
update isn't much... --particularly if you lose an hour or two because
you missed something.

I spent a few years only running -stable, and of course, doing my own
back-porting of the newer versions of the ports I needed/wanted to
update. It was a time consuming pain in the ass, but I learned a lot
because I was completely *on* *my* *own* --back porting is not
supported.

You (and me as well) are far better off just running -current than
messing around with a custom system made from random parts from both
-stable and -current.

Search the misc@ mail list archives for the term "curmudgeon" (someone
too set in their old ways of doing things), and you'll probably learn
something from the discussions. There are *lots* of older sysadmins who
are afraid of running the -current branch, but their fears are mostly
due to not realizing the world has changed in the last 20-40 years.

-- 
J.C. Roberts



Re: What does your environment look like?

2010-01-03 Thread Tomas Bodzar
I use default fvwm(1) and I'm happy with that. I tried cwm(1) after
this post http://undeadly.org/cgi?action=article&sid=20090502141551
and I found it very clean and useful, but I still use fvwm(1). Anyway
I plan to try this one http://www.scrotwm.org/

On Sat, Jan 2, 2010 at 11:04 PM, Josh Rickmar 
wrote:
> Forgot to send to list.
>
> Josh
>
> - Forwarded message from Josh Rickmar  -
>
> Date: Sat, 2 Jan 2010 21:29:50 +
> From: Josh Rickmar 
> To: Brynet 
> Subject: Re: What does your environment look like?
> User-Agent: Mutt/1.5.20 (2009-06-14)
>
> On Sat, Jan 02, 2010 at 09:08:38PM -0500, 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
>> B 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?
>
> dwm (with patches)
>
>> * What other utilities do you find useful, any "dockapps" or similar
>> applets? personal customizations?
>
> dmenu
>
>> * Do you try to keep things uniform across other desktops?
>
> I'm on a laptop, not so much of an issue. Otherwise I would.
>
>> * What does your environment look like? anyone willing to post
>> screenshots or actual workspace photos?
>
> http://imagebin.ca/view/3JllgShA.png
>
>> 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.
>>
>
> Josh
>
> - End forwarded message -
>
>



--
http://www.openbsd.org/lyrics.html



Re: USB Ethernet

2010-01-03 Thread Tomas Bodzar
Did you try current? Anyway man pages says that this chip is supported
in both release and current. What says 'usbdevs -v' about your device?

On Sun, Jan 3, 2010 at 2:03 AM, Vijay Sankar  wrote:
> I am trying to use a USB 2.0 Gigabit Ethernet adapter
>
> axe0 at uhub1 port 1 configuration 1 interface 0 "ASIX Electronics AX88178"
> rev 2.00/0.01 addr 2
> axe0: AX88178, address 00:80:c8:ff:ff:a1
> ukphy0 at axe0 phy 0: Generic IEEE 802.3u media interface, rev. 9: OUI
> 0x1e525e, model 0x0014
>
> $ ifconfig axe0
> axe0: flags=8843 mtu 1500
> B  B  B  B lladdr 00:80:c8:ff:ff:a1
> B  B  B  B priority: 0
> B  B  B  B media: Ethernet autoselect (none loopback)
> B  B  B  B status: no carrier
> B  B  B  inet6 fe80::280:c8ff:feff:ffa1%axe0 prefixlen 64 scopeid 0x5
> B  B  B  inet 10.0.0.212 netmask 0xff00 broadcast 10.0.0.255
>
> I can see packets on the interface if I use tcpdump but the status shows
"No
> Carrier". However the lights on the adapter are on and I can do a tcpdump
> and see packets arriving at the interface.
>
> I tried this on different systems -- a netbook, a laptop, and two desktops
> and in each case got the same result (4.5 -stable, 4.6 release, and 4.6
> -stable, all i386 and a 4.5 -stable amd64). I also tried changing the media
> and mediaopt settings to 100BaseTX, 10BaseT, and 1000BaseT in addition to
> the default autoselect.
>
> Will this device work on OpenBSD or if this was a dumb purchase on my part
> can someone suggest a USB ethernet adapter that will work properly?
>
> Thanks very much.
>
> Here is the full dmesg and please let me know if any additional information
> will be useful.
>
> $ dmesg
> OpenBSD 4.6-stable (GENERIC.MP) #0: Sun Dec 27 11:48:54 CST 2009
> B  B r...@server8.sankars.local:/usr/src/sys/arch/i386/compile/GENERIC.MP
> cpu0: Intel(R) Core(TM)2 Duo CPU T8100 @ 2.10GHz ("GenuineIntel" 686-class)
> 2.10 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,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,
xTPR
> real mem B = 3219075072 (3069MB)
> avail mem = 3118567424 (2974MB)
> mainbus0 at root
> bios0 at mainbus0: AT/286+ BIOS, date 01/21/08, BIOS32 rev. 0 @ 0xfdc34,
> SMBIOS rev. 2.4 @ 0xbfecc000 (40 entries)
> bios0: vendor Phoenix Technologies LTD version "COLSSF15" date 01/21/2008
> bios0: LG Electronics R500-C.CP03A9
> acpi0 at bios0: rev 2
> acpi0: tables DSDT FACP HPET MCFG TCPA TMOR SLIC APIC BOOT SSDT SSDT SSDT
> SSDT SSDT
> acpi0: wakeup devices LANC(S4) HDEF(S0) PXSX(S4) PXSX(S4) PXSX(S4) PXSX(S4)
> PXSX(S4) PXSX(S4) USB1(S3) USB2(S4) USB3(S3) USB4(S3) USB5(S0) EHC1(S3)
> EHC2(S3) PS2K(S3) LID0(S3) PWRB(S4)
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpihpet0 at acpi0: 14318179 Hz
> acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: apic clock running at 199MHz
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: Intel(R) Core(TM)2 Duo CPU T8100 @ 2.10GHz ("GenuineIntel" 686-class)
> 2.10 GHz
> cpu1:
>
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,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,
xTPR
> ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus 1 (PEGP)
> acpiprt2 at acpi0: bus 2 (RP01)
> acpiprt3 at acpi0: bus 4 (RP02)
> acpiprt4 at acpi0: bus 6 (RP03)
> acpiprt5 at acpi0: bus -1 (RP04)
> acpiprt6 at acpi0: bus -1 (RP05)
> acpiprt7 at acpi0: bus -1 (RP06)
> acpiprt8 at acpi0: bus 8 (PCIB)
> acpiec0 at acpi0
> acpicpu0 at acpi0: C2, C1, PSS
> acpicpu1 at acpi0: C2, C1, PSS
> acpipwrres0 at acpi0: CTHT
> acpitz0 at acpi0: critical temperature 99 degC
> acpitz1 at acpi0: critical temperature 85 degC
> acpitz2 at acpi0: critical temperature 85 degC
> acpiac0 at acpi0: AC unit online
> acpibat0 at acpi0: CMB0 model "BAT1" serial 1234 type LION oem " LG "
> acpibtn0 at acpi0: LID0
> acpibtn1 at acpi0: PWRB
> acpibtn2 at acpi0: SLPB
> acpivideo0 at acpi0: EGFX
> acpivout0 at acpivideo0: CRT0
> acpivout1 at acpivideo0: LCD0
> acpivout2 at acpivideo0: LCD1
> acpivout3 at acpivideo0: TV0_
> acpivout4 at acpivideo0: DVI0
> bios0: ROM list: 0xc/0xd200 0xcd800/0x3000! 0xe/0x1800!
> cpu0: Enhanced SpeedStep 2095 MHz: speeds: 2101, 2100, 1600, 1200, 800 MHz
> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
> pchb0 at pci0 dev 0 function 0 "Intel GM965 Host" rev 0x03
> ppb0 at pci0 dev 1 function 0 "Intel GM965 PCIE" rev 0x03: apic 2 int 16
> (irq 5)
> pci1 at ppb0 bus 1
> vga1 at pci1 dev 0 function 0 vendor "NVIDIA", unknown product 0x0425 rev
> 0xa1
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> em0 at pci0 dev 25 function 0 "Intel ICH8 IGP M" rev 0x03: apic 2 int 20
> (irq 11), address 00:e0:91:36:cc:62
> uhci0 at pci0 dev 26 function 0 "Intel 82801H USB" rev 0x03: apic 2 int 16
> (irq 5)
> uhci1 at pci0 dev 26 function

Re: OT - problem with pcc OpenBSD 4.6

2010-01-03 Thread Tomas Bodzar
But this post says that - pcc can now build a bootable OpenBSD
-current x86 kernel. So I suppose that you will have better chance
with current and not release/stable.

On Sun, Jan 3, 2010 at 3:41 AM, Jesus Sanchez  wrote:
> As anounced in undeadly.org i've started trying pcc for little things
> and personal sources and in case of find bugs, report them. But this
> issue seems more like i'm missing something.
>
> My box it's a fresh OpenBSD 4.6 relase install (i've tested this issue
> in other machine with a fresh install)
>
> The way I installed pcc was doing make install on /usr/src/usr.bin/pcc .
> I made a simple helloworld to test it but it didn't compiled. (error
> returned at end of the mail). The source is:
>
> #include 
>
> int main () {
> B  printf("Hello world\n");
> B  B return 0;
> }
>
> gcc -Wall compiled without problems but in pcc it doesn't works.
>
> this is the output of "pcc -v -o helloworld helloworld.c" and
> I have no clue about what causes it:
>
> --
>
> /usr/local/libexec//cpp -v -D__PCC__=0 -D__PCC_MINOR__=9
> -D__PCC_MINORMINOR__=9 -D__OpenBSD__ -D__unix__ -D__i386__ -D__i386
> -D__ELF__ -S /usr/include/ -I /usr/lib/pcc/TARGMACH-OpenBSD/0.9.9/include
> helloworld.c /tmp/ctm.1TiiMk
> /usr/local/libexec//ccom_i386 -v /tmp/ctm.1TiiMk /tmp/ctm.0IDb4j
> /usr/include//time.h, line 112: syntax error
> /usr/include//time.h, line 112: syntax error
> /usr/include//time.h, line 116: syntax error
> /usr/include//time.h, line 116: syntax error
> /usr/include//time.h, line 118: syntax error
> /usr/include//time.h, line 118: syntax error
> /usr/include//stdio.h, line 219: syntax error
> /usr/include//stdio.h, line 219: syntax error
> /usr/include//stdio.h, line 225: syntax error
> /usr/include//stdio.h, line 225: syntax error
> /usr/include//stdio.h, line 234: syntax error
> /usr/include//stdio.h, line 234: syntax error
> /usr/include//stdio.h, line 266: syntax error
> /usr/include//stdio.h, line 266: syntax error
> /usr/include//stdio.h, line 267: syntax error
> /usr/include//stdio.h, line 268: syntax error
> /usr/include//stdio.h, line 270: syntax error
> /usr/include//stdio.h, line 270: syntax error
> /usr/include//stdio.h, line 271: syntax error
> /usr/include//stdio.h, line 273: syntax error
> /usr/include//stdio.h, line 273: syntax error
> /usr/include//stdio.h, line 274: syntax error
> /usr/include//stdio.h, line 276: syntax error
> /usr/include//stdio.h, line 276: syntax error
> /usr/include//stdio.h, line 277: syntax error
> /usr/include//stdio.h, line 278: syntax error
> /usr/include//stdio.h, line 280: syntax error
> /usr/include//stdio.h, line 280: syntax error
> /usr/include//stdio.h, line 281: syntax error
> /usr/include//stdio.h, line 339: syntax error
> /usr/include//stdio.h, line 339: syntax error
> /usr/include//stdio.h, line 339: compiler error: too many errors
>
>



--
http://www.openbsd.org/lyrics.html