Re: undeadly (window managers)

2012-04-29 Thread Alexei Malinin
Brett wrote:
 bleh ... it does what it advertizes and works pretty fine, I've
 used it for years and the fact that it's a stone age version
 does not prevent me from working with it both at home  at work.

 the reason why i like it is precisely because it's simple and
 doesn't come with tons of features that change all of the time,
 it's the same look  feel on all systems I use, and has been like
 that for years.

 Yes, I concur with this sentiment. Having tried many WMs, and doing
 repetitive wiping of installs/port building that you eventually
 want stability and not go hunting why this or that broke. It just
 diverts your time away from your planned work for that day. So I
 now use the default fvwm like Marc says he does, but I am looking
 for a very fast compiled lightweight WM, and will try out the
 alternatives :-)

 Joe's Window Manager is fast to compile. I've been using for a few
 months and have not noticed any bugs. The config file is in xml and
 easy to set up, and very flexible. Combined with dmenu you can setup
 a system for fast workflow. It is stacked, not tiling, though, so
 maybe some programmers might not like that aspect.

I use twm (with a few initial settings made in the late 90s)
more then 10 years (!), it fits all my needs at work and at home


-- 
Alexei Malinin



Re: undeadly (window managers)

2012-04-29 Thread Steffen Daode Nurpmeso
Marc wrote:
   the reason why i like it is precisely because it's simple and doesn't
   come with tons of features that change all of the time, it's the same
   look  feel on all systems I use, and has been like that for years.

That is true for me, too.
I don't use any pointing devices for normal workflow at all,
only if i have to enter web-browser, PDF-viewer or if i go
audacity, so i'm thankful this is so easily possible with ahwm.
And i require my ALT-TAB with it's *natural* flow.  (IMHO.)

(To be honest - on this MacBook i sometimes enjoy the touchpad:
gestures are fat on the code side, but fingertipping is a sensual
experience for sure..
Must be a bit of the usual 1st world megalomania - *everything*,
and at your fingertip..)

Anyway, i was happy that i've found ahwm, as i had kinda
frustrating experiences using fvwm*, icewm and the others i tried.
And it has a real documentation, that was not self-evident at that
time.  And it worked the way it should right away.
(And when there's nothing, there's nothing you can run from.)

It would be a pity if such a good piece of software would get lost.
I remember reading an article in the german computer magazine c't
around year 2000 (something) about a (Mac) text editor named
Pepper, and it was a rather enthusiastic report.
Then, once i got this MacBook in 2009, i searched the internet
- and it was *all gone*!  No executable, no code, nowhere.

Amit wrote:
  Yes, I concur with this sentiment. Having tried many WMs, and doing
  repetitive wiping of installs/port building that you eventually want
  stability and not go hunting why this or that broke. It just diverts
  your time away from your planned work for that day. So I now use the
  default fvwm like Marc says he does, but I am looking for a very fast
  compiled lightweight WM, and will try out the alternatives :-)

Having had no contact to port stuff yet, i'll try to provide the
ahwm package as fast as possible, for you to try ,-
I looked for a nice stub template and found one in jwm, so maybe
it'll do without reading all the port documentation beforehand.
(cough.)

Brett wrote:
 Joe's Window Manager is fast to compile. I've been using for a few months and 
 have not noticed any bugs. The config file is in xml and easy to set up, and 
 very flexible. Combined with dmenu you can setup a system for fast workflow. 
 It is stacked, not tiling, though, so maybe some programmers might not like 
 that aspect.

1.6 MB screenshot. XML configuration.
Hey, Joe.
Oh!  That's jwm!
Well.

--steffen
Forza Figa!



Re: undeadly (window managers)

2012-04-29 Thread Jonathan Thornburg
In message http://marc.info/?l=openbsd-miscm=133568945200754w=1,
Alexei Malinin Alexei.Malinin () mail ! ru wrote:
 I use twm (with a few initial settings made in the late 90s)
 more then 10 years (!), it fits all my needs at work and at home

old-fogie mode
I started with twm around 1986-7, and still have several old .twmrc
files with 1992-1993 timestamps.  Sometime or other I really ought to
get around to trying one of these new-fangled multi-desktop thingies... :)
/old-fogie mode

Seriously, I'm basically happy with twm, but a multi-desktop variant
would be nice.  Looking around for such a critter, I've found vtwm,
ctwm, and tvtwm.  What are the tradeoffs between them?

ciao,

-- 
-- Jonathan Thornburg [remove -animal to reply] 
jth...@astro.indiana-zebra.edu
   Dept of Astronomy  IUCSS, Indiana University, Bloomington, Indiana, USA
   Washing one's hands of the conflict between the powerful and the
powerless means to side with the powerful, not to be neutral.
  -- quote by Freire / poster by Oxfam



sndiod is not working for me

2012-04-29 Thread Juan Francisco Cantero Hurtado
Hi!. Long history short. I've updated my desktop system with new
hardware for to work on some new ports. The system is fast and I'm very
happy with the performance.

Now the bad news. I have two little and frustrating problems. I'll send
after other mail with my other (unrelated) problem. I've been searching
from a week ago the root of the problem and the solution, but I can't
find the fix for this.

sndiod is not working by default. OpenBSD runs always sndiod, I can see
the sndiod daemon on the boot process and ps shows the daemon running.
All is OK but it is not working.

I try aucat -i file.wav and I hear nothing. The mixer has the correct
values. Of course, the soundcard is supported by OpenBSD.

I've found only one fix for the problem. I'll write below the process:

Power on the system.

sndiod appears in the boot output.

ps shows sndiod running:
# ps -auxHk | grep -i snd
_sndio   17172  0.0  0.0   460   508 ??  Is   10:10PM0:00.00 
/usr/bin/sndiod
root 11464  0.0  0.0   376   872 p0  S+10:11PM0:00.00 grep -i snd

# aucat -i file.wav - I hear nothing.

# /etc/rc.d/sndiod -df stop
doing rc_read_runfile
doing rc_check
sndiod
doing rc_stop
doing rc_wait stop
doing rc_check
doing rc_check
doing rc_check
doing rc_check
doing rc_check
doing rc_check
doing rc_check
doing rc_check
doing rc_check
doing rc_check
doing rc_check
doing rc_check
doing rc_check
doing rc_check
doing rc_check
doing rc_check
doing rc_check
doing rc_check
doing rc_check
doing rc_check
doing rc_check
doing rc_check
doing rc_check
doing rc_check
doing rc_check
doing rc_check
doing rc_check
doing rc_check
doing rc_check
doing rc_check
(failed)

# ps -auxHk | grep -i snd
_sndio   17172  0.0  0.0   576   968 ??  Ss   10:10PM0:00.21 
/usr/bin/sndiod
root 18007  0.0  0.0   448   252 p0  R+/0  10:12PM0:00.00 grep -i snd

# kill -9 17172

# ps -auxHk | grep -i snd
_sndio   17172  0.0  0.0   576   968 ??  SEs  10:10PM0:00.25 (sndiod)
root   428  0.0  0.0   412   276 p0  R+/1  10:12PM0:00.00 grep -i snd

# ps -auxHk | grep -i snd
root 14505  0.0  0.0   320   240 p0  R+/1  10:13PM0:00.00 grep -i snd

# /etc/rc.d/sndiod -df start
doing rc_read_runfile
doing rc_check
sndiod
doing rc_start
doing rc_write_runfile
(ok)

# ps -auxHk | grep -i snd
_sndio   31989  0.0  0.0   540   980 ??  Is   10:13PM0:00.15 
/usr/bin/sndiod
root  8498  0.0  0.0   188   240 p0  R+/0  10:27PM0:00.00 grep -i snd

# aucat -i file.wav - Now works. I can hear the audio.


I'm using plain -current.


OpenBSD 5.1-current (GENERIC.MP) #2: Sun Apr 29 00:28:29 CEST 2012
juan...@sobremesa.juanfra.info:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8566591488 (8169MB)
avail mem = 8316198912 (7930MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xeb0d0 (65 entries)
bios0: vendor American Megatrends Inc. version 0707 date 02/07/2012
bios0: ASUSTeK COMPUTER INC. F1A55
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC MCFG HPET SSDT SSDT
acpi0: wakeup devices SBAZ(S4) PS2K(S4) PS2M(S4) UAR1(S4) UHC1(S4) UHC2(S4) 
USB3(S4) UHC4(S4) USB5(S4) UHC6(S4) UHC7(S4) PE20(S4) PE21(S4) RLAN(S4) 
PE22(S4) PE23(S4) PCE2(S4) PCE4(S4) P0PC(S4)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD A4-3400 APU with Radeon(tm) HD Graphics, 2700.24 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
cpu0: AMD erratum 721 detected and fixed
cpu0: apic clock running at 199MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD A4-3400 APU with Radeon(tm) HD Graphics, 2699.94 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache
cpu1: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
cpu1: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
cpu1: AMD erratum 721 detected and fixed
ioapic0 at mainbus0: apid 3 pa 0xfec0, version 21, 24 pins
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpihpet0 at acpi0: 14318180 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 3 (PE20)
acpiprt2 at acpi0: bus 4 (PE21)
acpiprt3 at acpi0: bus -1 (PE22)
acpiprt4 at acpi0: bus 5 (PE23)
acpiprt5 at acpi0: bus -1 (BR13)
acpiprt6 at acpi0: bus -1 (PCE2)
acpiprt7 at acpi0: 

The multimedia keys of my usb keyboard don't work

2012-04-29 Thread Juan Francisco Cantero Hurtado
Hi. The multimedia keys of my usb keyboard don't work. xev shows
nothing when I press the keys. I've searched in the archives but I've
found nothing.

I've tried the integrated keyboard of my netbook with the same layout
(pc105 es) and this works without problems.

I've tried the usb keyboard on two computers (with different arch and
wm) and doesn't work the multimedia keys. On other OS the keyboard works
perfect.

Am I missing something? Any suggestion?


$ setxkbmap -print -verbose
Trying to build keymap using the following components:
keycodes:   xfree86+aliases(qwerty)
types:  complete
compat: complete
symbols:pc+es+inet(pc105)+terminate(ctrl_alt_bksp)
geometry:   pc(pc105)
xkb_keymap {
xkb_keycodes  { include xfree86+aliases(qwerty)   };
xkb_types { include complete  };
xkb_compat{ include complete  };
xkb_symbols   { include pc+es+inet(pc105)+terminate(ctrl_alt_bksp)
};
xkb_geometry  { include pc(pc105) };
};

My system is plain -current.

OpenBSD 5.1-current (GENERIC.MP) #2: Sun Apr 29 00:28:29 CEST 2012
juan...@sobremesa.juanfra.info:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8566591488 (8169MB)
avail mem = 8316198912 (7930MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xeb0d0 (65 entries)
bios0: vendor American Megatrends Inc. version 0707 date 02/07/2012
bios0: ASUSTeK COMPUTER INC. F1A55
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC MCFG HPET SSDT SSDT
acpi0: wakeup devices SBAZ(S4) PS2K(S4) PS2M(S4) UAR1(S4) UHC1(S4) UHC2(S4) 
USB3(S4) UHC4(S4) USB5(S4) UHC6(S4) UHC7(S4) PE20(S4) PE21(S4) RLAN(S4) 
PE22(S4) PE23(S4) PCE2(S4) PCE4(S4) P0PC(S4)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD A4-3400 APU with Radeon(tm) HD Graphics, 2700.24 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
cpu0: AMD erratum 721 detected and fixed
cpu0: apic clock running at 199MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD A4-3400 APU with Radeon(tm) HD Graphics, 2699.94 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache
cpu1: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
cpu1: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
cpu1: AMD erratum 721 detected and fixed
ioapic0 at mainbus0: apid 3 pa 0xfec0, version 21, 24 pins
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpihpet0 at acpi0: 14318180 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 3 (PE20)
acpiprt2 at acpi0: bus 4 (PE21)
acpiprt3 at acpi0: bus -1 (PE22)
acpiprt4 at acpi0: bus 5 (PE23)
acpiprt5 at acpi0: bus -1 (BR13)
acpiprt6 at acpi0: bus -1 (PCE2)
acpiprt7 at acpi0: bus -1 (PCE4)
acpiprt8 at acpi0: bus 1 (P0PC)
acpicpu0 at acpi0: C2, PSS
acpicpu1 at acpi0: C2, PSS
acpibtn0 at acpi0: PWRB
cpu0: 2700 MHz: speeds: 2700 2400 2200 2000 1800 1400 1100 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 AMD AMD64 12h Host rev 0x00
ahci0 at pci0 dev 17 function 0 AMD Hudson AHCI rev 0x40: msi, AHCI 1.3
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: ATA, ST3250310AS, 3.AA SCSI3 0/direct fixed 
t10.ATA_ST3250310AS_5RY0ZTKS
sd0: 238475MB, 512 bytes/sector, 488397168 sectors
sd1 at scsibus0 targ 1 lun 0: ATA, ST3500418AS, CC34 SCSI3 0/direct fixed 
naa.5000c500142c3ef3
sd1: 476940MB, 512 bytes/sector, 976773168 sectors
ohci0 at pci0 dev 18 function 0 AMD Hudson USB rev 0x11: apic 3 int 18, 
version 1.0, legacy support
ehci0 at pci0 dev 18 function 2 AMD Hudson USB rev 0x11: apic 3 int 17
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 AMD EHCI root hub rev 2.00/1.00 addr 1
ohci1 at pci0 dev 19 function 0 AMD Hudson USB rev 0x11: apic 3 int 18, 
version 1.0, legacy support
ehci1 at pci0 dev 19 function 2 AMD Hudson USB rev 0x11: apic 3 int 17
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 AMD EHCI root hub rev 2.00/1.00 addr 1
piixpm0 at pci0 dev 20 function 0 AMD Hudson-2 SMBus rev 0x13: polling
iic0 at piixpm0
iic0: addr 0x20 01=0d 02=17 03=26 04=00 05=00 06=00 07=00 08=00 09=00 0a=00 
0b=00 0c=00 0d=00 0e=09 0f=8b 10=00 11=00 12=00 13=00 14=00 15=0f 16=1a 17=20 
18=e0 19=fb 1a=a8 1b=a3 1c=ac 1d=80 1e=04 1f=03 20=09 21=09 

OSPF oddness

2012-04-29 Thread Matt Hamilton
OK, this might just be my misunderstanding of OSPF, so just want to
run this by you and see if it is a mistake on my behalf. Let me try
and explain:

In this case I have a number of routers (OpenBSD 5.0 boxes running
ospfd and bgpd, except .106 which is a Cisco) which all share a common
network to peer traffic (vlan50 213.133.64.96/27). The also are all on
a management network (vlan1 192.168.111.0/24). They each have various
other vlans connected to various other networks.

The problem I have is that I don't seem to be able to control which
router is used to send traffic to a host on the management vlan
(e.g. 192.168.111.31).

So, on 213.133.64.103:

# ospfctl sh dat | grep 192.168.111.  
192.168.111.0   213.133.64.98   924  0x80ce 0x91ba
192.168.111.0   213.133.64.101  500  0x8094 0xf38f
192.168.111.0   213.133.64.102  1361 0x8005 0x0d05
192.168.111.0   213.133.64.104  1963 0x8011 0x674c
192.168.111.0   213.133.64.106  19   0x8012 0x5957

# ospfctl sh rib | grep 192.168.111.  
192.168.111.0/24 213.133.64.98 Type 1 ext   Network   110
02:22:39
192.168.111.0/24 213.133.64.101Type 1 ext   Network   110
02:22:39
192.168.111.0/24 213.133.64.102Type 1 ext   Network   110
02:22:34

Firstly, why don't all the routes in the ospf database appear in the
rib?

The problem I'm seeing is a packet going via 213.133.64.103 as a
router destined to 192.168.111.31 gets sent via 213.133.64.98, but
192.168.111.31 has a default gateway of 192.168.111.1 which is the
other interface on the router 213.133.64.106. So I get asymmetric
packet flows.

I want to somehow say that 213.133.64.106 is the preferred router when
trying to reach 192.168.111.0/24. Yet seeing as all of the routers are
on the same network segment I don't see how I can set the cost. Even
if i could get the cost on vlan50 to take any effect (I've tried
different values to no joy) it would surely affect *all* routes to
that router, not just 192.168.111.0/24.

-Matt



Re: OSPF oddness

2012-04-29 Thread Matt Hamilton
Matt Hamilton matth at netsight.co.uk writes:

 
 OK, this might just be my misunderstanding of OSPF, so just want to
 run this by you and see if it is a mistake on my behalf. Let me try
 and explain:

Nevermind... after battling this for several hours, I manage to work it 
out 5 mins after sending the email to the list. I just found out I need 
to add vlan1 as an interface on each ospfd in passive mode. Then I 
can add a metric to ech one individually.

-Matt



anz bank message

2012-04-29 Thread mess...@anz.com.au
Now Available: Exciting changes to ANZ Online Banking and your ANZ
estatement.

To view the changes and your estatement, click below:

https://www.anz.com/INETBANK/bankmain.asp

The Message Centre ANZ Online Banking..