выстaвка СТPОИТЕЛЬСТВО YКPAИНA

2010-04-09 Thread Мосол Е.С.
Ophckaxael onqerhr| lefdymapndmy~ b{qrabjy +OPHLYQ: QRPNHREK\QRBN
YJPAHMA;. B{qrabja ayder opnundhr| q 20 on 23 aopek 2010 cnda b
Lefdymapndmnl B{qrabnwmnl Vemrpe b oabhk|nme 9 1 on adpeqy: c. Jheb,
Apnbapqjni op-r, 15 (lerpn +Kebnaepefma;).

B paljau b{qrabjh qnqrnhrq aeqokarma KNREPE_ +BQE DK_ PELNMRA - 2010;,
b jnrnpni aydyr pag{cpam{ vemm{e ophg{ nr jnloamhi-ywaqrmhv. Png{cp{xh
ophgnb  efedmebmn b 13.00.

Ondpnama hmtnplavh on rek.: (044) 537-69-99.

rhfjjonptl
734104239826306



Re: ACPI so close I can almost taste it...

2010-04-09 Thread Josh Rickmar
On Thu, Apr 08, 2010 at 08:53:12PM -0400, STeve Andre' wrote:
 Willing to be a test case for other ideas!

Same here, I have a T500 and just upgraded to the latest -current to
test out the new suspend and resume.  My dmesg:


OpenBSD 4.7-current (GENERIC.MP) #179: Wed Apr  7 21:07:50 MDT 2010
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 2070614016 (1974MB)
avail mem = 2001797120 (1909MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (74 entries)
bios0: vendor LENOVO version 6FET66WW (2.16 ) date 04/22/2009
bios0: LENOVO 2081CTO
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET SLIC BOOT ASF! SSDT TCPA SSDT 
SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) UART(S3) IGBE(S4) EXP0(S4) EXP1(S4) 
EXP2(S4) EXP3(S4) EXP4(S4) PCI1(S4) USB0(S3) USB3(S3) USB5(S3) EHC0(S3) 
EHC1(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz, 2394.32 MHz
cpu0: 
FPU,VME,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,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG
cpu0: 3MB 64b/line 8-way L2 cache
cpu0: apic clock running at 265MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz, 2394.00 MHz
cpu1: 
FPU,VME,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,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG
cpu1: 3MB 64b/line 8-way L2 cache
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (AGP_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 3 (EXP1)
acpiprt4 at acpi0: bus -1 (EXP2)
acpiprt5 at acpi0: bus -1 (EXP3)
acpiprt6 at acpi0: bus -1 (EXP4)
acpiprt7 at acpi0: bus 21 (PCI1)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpipwrres0 at acpi0: PUBS
acpitz0 at acpi0: critical temperature 127 degC
acpitz1 at acpi0: critical temperature 100 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model 42T4622 serial  4274 type LION oem Panasonic
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
acpidock0 at acpi0: GDCK not docked (0)
cpu0: Enhanced SpeedStep 2394 MHz: speeds: 2401, 2400, 1600, 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel GM45 Host rev 0x07
vga1 at pci0 dev 2 function 0 Intel GM45 Video rev 0x07
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 0xd000, size 0x1000
inteldrm0 at vga1: apic 1 int 16 (irq 11)
drm0 at inteldrm0
Intel GM45 Video rev 0x07 at pci0 dev 2 function 1 not configured
Intel GM45 HECI rev 0x07 at pci0 dev 3 function 0 not configured
pciide0 at pci0 dev 3 function 2 Intel GM45 PT IDER rev 0x07: DMA 
(unsupported), channel 0 wired to native-PCI, channel 1 wired to native-PCI
pciide0: using apic 1 int 18 (irq 11) for native-PCI interrupt
pciide0: channel 0 ignored (not responding; disabled or no drives?)
pciide0: channel 1 ignored (not responding; disabled or no drives?)
Intel GM45 AMT SOL rev 0x07 at pci0 dev 3 function 3 not configured
em0 at pci0 dev 25 function 0 Intel ICH9 IGP M AMT rev 0x03: apic 1 int 20 
(irq 11), address 00:24:7e:6c:df:df
uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x03: apic 1 int 20 (irq 
11)
uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x03: apic 1 int 21 (irq 
11)
uhci2 at pci0 dev 26 function 2 Intel 82801I USB rev 0x03: apic 1 int 22 (irq 
11)
ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev 0x03: 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
azalia0 at pci0 dev 27 function 0 Intel 82801I HD Audio rev 0x03: apic 1 int 
17 (irq 11)
azalia0: RIRB time out
azalia0: codecs: Conexant CX20561, 0x/0x, using Conexant CX20561
azalia0: RIRB time out
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x03: apic 1 int 20 (irq 
11)
pci1 at ppb0 bus 2
ppb1 at pci0 dev 28 function 1 Intel 82801I PCIE rev 0x03: apic 1 int 21 (irq 
11)
pci2 at ppb1 bus 3
iwn0 at pci2 dev 0 function 0 Intel WiFi Link 5300 rev 0x00: apic 1 int 17 
(irq 11), MIMO 3T3R, MoW, address 00:21:6a:34:37:56
uhci3 at pci0 dev 29 function 0 Intel 82801I USB rev 0x03: apic 1 int 16 (irq 
11)
uhci4 at pci0 dev 29 function 1 Intel 82801I USB rev 0x03: apic 1 int 17 (irq 
11)
uhci5 at pci0 dev 29 function 2 Intel 82801I USB rev 0x03: apic 1 int 18 (irq 
11)
ehci1 at pci0 dev 29 function 7 Intel 82801I USB rev 0x03: apic 1 int 19 (irq 
11)
usb1 at ehci1: USB revision 

Mutfaktaki Mucize Ürün Flavor Wave Turbo

2010-04-09 Thread Tv Ürünü
Flavorwave Turbo F}r}n












Flavor Wave Turbo  - Mucize F}r}n



(Yemek Tarifleri Kitab} Hediyeli, Kargo Bedava!)
  Ayap}n}za kadar gelen bu f}rsat} geri ccedil;evirmeyin.
Tuuml;m Kartlara 12 Taksit





Bilgi almak iccedil;in : 0216 444 9 965








Bu linke t}klayarak mutfak ya~ant}n}z} depi~tirin.




  Flavor Wave a~ap}daki mutfak araglar}n}n vzelliklerine sahiptir
Standart F}r}n

  Izgara F}r}n
  Mikrodalga F}r}n

  Tost Makinesi

  Gril
Turbo F}r}n

  Rotisserie
Fritvz

Elektrikli K}zartma Tavas}
Elektrikli Buhar Tenceresikanitliyor.

  Flavor Wave TurboF}r}n

^imdi FlavorWaveOven Turbo iledahagabukve daha
sapl}kl}yemeklerpi~ireceksiniz!Yemekpi~irmekiginvaktinizyokama sapl}ks}z
yemekyemekten deho~lanm}yormusunuz?
FlavorWave OvenTurbo 1300 Wattl}k g|c| ile vp|nlerinizi sadece h}zl}
pi~irmez,
daha da vnemlisi gabuk, az yap igeren, aromasi bozulmam}~ sapl}kl} yiyecekler
haz}rlaman}za yard}mc} olur!
Flavor F}r}n} sat}n ald}p}n}zda sapl}p}n}za ve tad alma duyunuza yat}r}m
yapm}~ olursunuz!

Avantajlar}n}z:

Cam gvvdesi pi~irme esnas}nda takibi kolayla~t}r}p m|kemmel sonug alman}z}
saplar
Ta~}nabilir halojen F}r}n ile gabuk, sapl}kl} ve kolay bigimde yemek
pi~irebilirsiniz.
]ki tepsisi ayn} anda iki katta yemek pi~irmenizi saplar
Normal f}r}nlardan daha gabuk pi~irdipi ispatlanm}~t}r









Kavacik Mah. Ekinciler Cad. Ulu Er Plaza No:16 Kat:3
  Beykoz / Istanbul
  Telefon :(0216) 444 9 965 -
  Turkcell : 0530 877 48 58 -
  Vodafone 0546 877 48 58



Re: mandoc

2010-04-09 Thread Michael Dexter
 I think we want to lock Kristaps in a room until he writes a C compiler.

Nah, while Kristaps is in Stockholm, Northern Sweden provides *true*
isolation: http://pcc.ludd.ltu.se/

Michael



Attaching to a USB keyboard

2010-04-09 Thread Jens Teglhus Møller
Hi

I have bought a USB RFID reader http://tinyurl.com/y964owb which
attaches as a USB keyboard (part two in my home access project).

It works as expected and prints out the ID of a RFID brick on the current
terminal.

Is it possible for a process to consume all output for a (this) particular
keyboard or do i have to force it into ugen (is that even possible) and
try to read the output myself?

I don't have the dmesg/attach info at hand, but will post it later if
required.

Best regards Jens



Re: Hello

2010-04-09 Thread Miss Andre Polanski
Hello

I am Miss Andre Polanski A Russian working with a CHEMICAL CO. We supply to
the industries here in UK. A chemical used for the purification of rough
diamonds and precious stones. This chemical is in high demand here in UK and I
found it very cheap in Asia precisely Malaysia. it is manufactured in North
Korea but because of the Export duties in North Korea and some product cannot
be exported directly to UK that is why we buy from Agents, I need a middle
person who can transact the business with me, the person will buy from the
agent in Malaysia, and resale to my company at the quoted price.

if you are interested i will introduce you to my company as the agent dealing
on this chemical in Asia, you will buy from the agent and resale to my
company. my company will be sending our representative to Asia to purchase
this chemical and i don't want them to go directly to the agent because of the
price which i have quoted to them for this will cause a conflict of interest
and i stand the risk of losing my job that is the more reason i need a middle
person in this transaction (the person am supposed to use as middle man is not
buoyant).

This business is in this dimension as you will not take my company
representative to the main distributor to avoid direct transaction from the
source, since this is where we will be making our profits, thereafter share
the profits after mapping out the money input costs. I don't know if we can
make this together as this is a long term and continuous business, if this is
acceptable by you get back to me ASAP. This is a personal deal between you and
I, and i hope we make our partnership/friendship/ relationship indelible.
Yours Faithfully
Miss Andre Polanski.



Re: Attaching to a USB keyboard

2010-04-09 Thread Chris Bennett

Jens Teglhus Mxller wrote:

Hi

I have bought a USB RFID reader http://tinyurl.com/y964owb which
attaches as a USB keyboard (part two in my home access project).

It works as expected and prints out the ID of a RFID brick on the current
terminal.

Is it possible for a process to consume all output for a (this) particular
keyboard or do i have to force it into ugen (is that even possible) and
try to read the output myself?

I don't have the dmesg/attach info at hand, but will post it later if
required.

Best regards Jens


  

I have a scanner which requires me to disable uscanner in kernel to work.
boot -c at boot prompt.
Beyond that, I don't know anything else.

--
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: disklabel - new paritition

2010-04-09 Thread bdz

Otto Moerbeek wrote:

On Mon, Apr 05, 2010 at 11:18:35PM +0200, bdz wrote:

  

Otto Moerbeek wrote:


On Tue, Apr 06, 2010 at 12:12:04AM +0200, bdz wrote:

  

hi!

i installed my system with the automated disklabel layout, i
just made some size modifications. the disk is a 500G sata. i
got a lot of space at the end of the disk that now i want to use
as storage. i can not add the new label 'l' because disklabel
says:



a l
  

offset: [0]
The offset must be = 0 and  0, the limits of the OpenBSD portion
of the disk. The 'b' command can change these limits.

the response is the same for any specified number.

here is the current layout:


p
  

OpenBSD area: 0-0; size: 0; free: 63
#size   offset  fstype [fsize bsize  cpg]
 a:  2104452   63  4.2BSD   2048 163841 # /
 b:  2104515  2104515swap
c:9767731680  unused
d:   530145  4209030  4.2BSD   2048 163841 #
/tmp
 e: 10490445  4739175  4.2BSD   2048 163841 # /var
 f:  4209030 15229620  4.2BSD   2048 163841 # /usr
 g:  2104515 19438650  4.2BSD   2048 163841
# /usr/X11R6
 h: 12594960 21543165  4.2BSD   2048 163841
# /usr/local
 i:  4209030 34138125  4.2BSD   2048 163841 # /usr/src
 j:  4209030 38347155  4.2BSD   2048 163841 # /usr/obj
 k:  2104515 42556185  4.2BSD   2048 163841 # /home

it displays the OpenBSD area: 0-0 wrong. what do you suggest to
help with this situation?


Show you fdisk output. Likely the A6 partiton is funny.

  

could the following work?
- use disklabel -e
- make a new line with label 'l':
 l: SIZE OFFSET RAID   2048 163841 # /home/storage

- SIZE: c size - (sizes a,b,d-k + 63)
- OFFSET: size k + offset k
- RAID for softraid crypto
- :x


If your fdisk settings are ok, you can fisk the openbsd area wit the b
command. But first check what fdisk reports.

-Otto
  

hi Otto,

strange thing happened. i did as you suggested, used the 'b' command
w/ 63, * parameters. then i could add the new 'l' partition with no
problem and the starting and ending sectors are fine (63-976773168).
after i quit i went back for checking things out and the
starting/ending sectors are 0 again but the 'l' partition is in
place. so i send you the disklabel to see if you can find any odd
things.



Very strange. I cannot see what this would happen, and this is the
first report describining anything like it. Anyway, thanks for the
info, and I'll investigate what could be going on.

In the meantime, I think your disk is good to use. The bounds are only
used for editing, and will not influence runtime operations.
  
everything is all right. the new partition is working good so thank you 
for your help.

-Otto

  

thank you
Adam



  

# /dev/rwd0c:
type: ESDI
disk: ESDI/IDE disk
label: SAMSUNG HD502IJ 
flags:

bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 60801
total sectors: 976773168
rpm: 3600
interleave: 1
boundstart: 0
boundend: 0
drivedata: 0 


16 partitions:
#size   offset  fstype [fsize bsize  cpg]
  a:  2104452   63  4.2BSD   2048 163841 # /
  b:  2104515  2104515swap   
  c:9767731680  unused   
  d:   530145  4209030  4.2BSD   2048 163841 # /tmp

  e: 10490445  4739175  4.2BSD   2048 163841 # /var
  f:  4209030 15229620  4.2BSD   2048 163841 # /usr
  g:  2104515 19438650  4.2BSD   2048 163841 # /usr/X11R6
  h: 12594960 21543165  4.2BSD   2048 163841 # /usr/local
  i:  4209030 34138125  4.2BSD   2048 163841 # /usr/src
  j:  4209030 38347155  4.2BSD   2048 163841 # /usr/obj
  k:  2104515 42556185  4.2BSD   2048 163841 # /home
  l:932112468 44660700RAID   




Re: OT: javascript deobfuscator?

2010-04-09 Thread Jason Beaudoin
On Wed, Apr 7, 2010 at 5:20 PM, bofh goodb...@gmail.com wrote:
 On Wed, Apr 7, 2010 at 5:13 PM, Jean-Philippe Ouellet 
 jean-phili...@ouellet.biz wrote:

 On 4/7/10 4:47 PM, bofh wrote:

 Anyone know of a good standalone javascript deobfuscator?  We want to run
 it
 against something like the results from tcpflow.


 Standalone... not really, but I use a firefox plugin[1] and that has
worked
 nicely for everything I've had to do so far. I looked for a good
standalone
 deobfuscator a while back, but couldn't find one, and came to the
conclusion
 that it was because you'd need a javascript engine anyway, and to make
sure
 the code was properly reverse engineered to what is done in the browser,
it
 would be best to actually use a browser and trace what is done.

 I know this isn't standalone, but I still hope it helps in your scenario.

 [1] https://addons.mozilla.org/en-US/firefox/addon/10345


 Thanks.  I know about that, but I need it to run in a from a script, and
 have the output parseable by a script.


doing some fun stuff with bro?



Best System Call Tracer

2010-04-09 Thread Aaron Lewis
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,
Is there any dtrace or strace like tools in OpenBSD ?

Thanks in advance !
- -- 
Best Regards,
Aaron Lewis - PGP: 0x4A6D32A0
FingerPrint EA63 26B2 6C52 72EA A4A5 EB6B BDFE 35B0 4A6D 32A0
irc: A4r0n on freenode
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAku/DZ4ACgkQvf41sEptMqCWgwCfQf16xOvKCwsIuRo6vtbb24bU
HKoAn1XanS91TbbyCeif6eJDYBO0Jw64
=4gVg
-END PGP SIGNATURE-



Re: Best System Call Tracer

2010-04-09 Thread Bret S. Lambert
On Fri, Apr 09, 2010 at 07:21:02PM +0800, Aaron Lewis wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hi,
   Is there any dtrace or strace like tools in OpenBSD ?

apropos trace, much?

 
   Thanks in advance !
 - -- 
 Best Regards,
 Aaron Lewis - PGP: 0x4A6D32A0
 FingerPrint EA63 26B2 6C52 72EA A4A5 EB6B BDFE 35B0 4A6D 32A0
 irc: A4r0n on freenode
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
 iEYEARECAAYFAku/DZ4ACgkQvf41sEptMqCWgwCfQf16xOvKCwsIuRo6vtbb24bU
 HKoAn1XanS91TbbyCeif6eJDYBO0Jw64
 =4gVg
 -END PGP SIGNATURE-



Re: Best System Call Tracer

2010-04-09 Thread Will
On Fri, Apr 9, 2010 at 7:21 AM, Aaron Lewis aaron.lewis1...@gmail.com
wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hi,
Is there any dtrace or strace like tools in OpenBSD ?

Thanks in advance !
 - --
 Best Regards,
 Aaron Lewis - PGP: 0x4A6D32A0
 FingerPrint EA63 26B2 6C52 72EA A4A5 EB6B BDFE 35B0 4A6D 32A0
 irc: A4r0n on freenode
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

 iEYEARECAAYFAku/DZ4ACgkQvf41sEptMqCWgwCfQf16xOvKCwsIuRo6vtbb24bU
 HKoAn1XanS91TbbyCeif6eJDYBO0Jw64
 =4gVg
 -END PGP SIGNATURE-



There's ktrace. When run, it (by default) writes its output to a
ktrace.out and then you can use kdump to output that file in a
human-readable format. man 1 ktrace for more information.

--
-Will Orr



Re: Best System Call Tracer

2010-04-09 Thread Aaron Lewis
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

apropos trace is cool !
systrace,ptrace,ktrace .. i'd try with them ;-)

Thanks Lambert.

- -- 
Best Regards,
Aaron Lewis - PGP: 0x4A6D32A0
FingerPrint EA63 26B2 6C52 72EA A4A5 EB6B BDFE 35B0 4A6D 32A0
irc: A4r0n on freenode
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAku/EYcACgkQvf41sEptMqCk+QCgp0E0Y9E0iRg0Hqgk3LCBPABQ
GokAoJGgOTwDrWA81qMoTNhSPikiEfmF
=halO
-END PGP SIGNATURE-



[SOLVED] Re: Best System Call Tracer

2010-04-09 Thread Aaron Lewis
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 04/09/2010 07:30 PM, Will wrote:
 On Fri, Apr 9, 2010 at 7:21 AM, Aaron Lewis aaron.lewis1...@gmail.com wrote:



ktrace  kdump displays asm code , that's what i want.

 There's ktrace. When run, it (by default) writes its output to a
 ktrace.out and then you can use kdump to output that file in a
 human-readable format. man 1 ktrace for more information.

Thanks Will ;-)


- -- 
Best Regards,
Aaron Lewis - PGP: 0x4A6D32A0
FingerPrint EA63 26B2 6C52 72EA A4A5 EB6B BDFE 35B0 4A6D 32A0
irc: A4r0n on freenode
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAku/Eb4ACgkQvf41sEptMqBjHACeK6nzu5luruircdOgWgQCQ9Y+
CsYAn3qCY8zDYH6VRenmXWeyqbgTbceE
=6iZp
-END PGP SIGNATURE-



Re: Attaching to a USB keyboard

2010-04-09 Thread Stuart Henderson
On 2010-04-09, Jens Teglhus M?ller j...@mostlyharmless.dk wrote:
 Is it possible for a process to consume all output for a (this) particular
 keyboard

I don't know about that..

 or do i have to force it into ugen (is that even possible) and

you already know how to force it into ugen, same thing you did
for the Velleman kit :)

I'm not sure if that would make sense to commit this one though,
as presumably some people will want the device to present keyboard input..

 try to read the output myself?

I would look around and see if someone already has code for this
using libusb (which is fairly portable)...

 I don't have the dmesg/attach info at hand, but will post it later if
 required.

 Best regards Jens



application key mappings in cwm

2010-04-09 Thread Michael W. Lucas
Hi,

I recently switched to cwm (from WindowMaker).  Everything works
great, except for how some key mappings interact with applications.

OpenOffice uses control-arrowkey to move the cursor a word at a time,
and control-shift-arrowkey to highlight.  At times I must highlight
entire paragraphs, or skip through paragraphs at high speed, so I need
this function.  Firefox has similar behavior, and I'm sure other apps
do as well.

cwm uses control-arrowkeys for window size  placement, so these
keystrokes never reach the app.

I'm not attached to control-arrowkey for this application function,
but I need the function.  I'm sure other people have had this
annoyance as well.

My first thought is to use the windows key on this keyboard for a
control key just for applications, but a) I'm not sure how to do that,
and b) someone else has probably had a better idea.

Any suggestions for remapping keys to restore control-shift-arrow
highlighting in apps, without losing cwm's behavior?  Is there a
specific OpenBSD way to do that, or a particular man page I should
read?

Thanks,
==ml

-- 
Michael W. Lucasmwlu...@blackhelicopters.org
http://www.MichaelWLucas.com/
Latest book:  Cisco Routers for the Desperate, 2nd Edition
http://www.CiscoRoutersForTheDesperate.com/



Re: application key mappings in cwm

2010-04-09 Thread Mike Small
On Fri, Apr 09, 2010 at 11:09:58AM -0400, Michael W. Lucas wrote:
 My first thought is to use the windows key on this keyboard for a
 control key just for applications, but a) I'm not sure how to do that,
 and b) someone else has probably had a better idea.

The prefix is 4- for the Mod4 key, which is usually the windows key
according to cwmrc(5).  That worked okay on my Mac (with a non-Mac
keyboard), at least.  With cwm(1) and cwmrc(5) up, it's fairly
straightforward to come up with a binding that doesn't interfere
with applications.  They're good short man pages.  The reload
confiruation command is very handy while doing this (default binding
CMS-r).  I made a not so long .cwmrc that works for me in conjunction
with emacs, and what gobbles up more keys than that?


-- 
Mike Small
sma...@panix.com



Re: application key mappings in cwm

2010-04-09 Thread Manuel Giraud
Michael W. Lucas mwlu...@blackhelicopters.org writes:

 Any suggestions for remapping keys to restore control-shift-arrow
 highlighting in apps, without losing cwm's behavior?  Is there a
 specific OpenBSD way to do that, or a particular man page I should
 read?

man 5 cwmrc

rebinding example:

bind C-Down unmap
bind 4-Down movedown

-- 
Manuel Giraud



Ενημέρωση - Ταξιδεύετε;

2010-04-09 Thread Ενημέρωση Cosmos
 *N$NNNNNN%NN$N**;*
 * 

*
NN3N?ON,N6N5ON5* NN5ON?ON?ON9N:N, N5N9ON9ON.ON9N1;*
NN3N?ON,N6N5ON5* NN:ON?ON;N?O
N:N, N5N9ON9ON.ON9N1;*
NN;N5N/N=N5ON5* NN5N=N?N4N?ON5N/N1;*
NN=N?N9N:N9N,N6N5ON5* NOON?N:N/N=N7ON1;*
N#ONNN5ON-ON5ON5* ON5 N#ON=N-N4ON9N1-N#ONOOON9N1;*
NON9ON:N-ON8N5ON8N5* NNON?ON9N:N-O NN:N8N-ON5N9O;*
*/ /*
***NN= N5N/OON5 NN$NNN!NNN***

NN=N,N;N?N3N1 NN5 ON, N5ON.ON9N1 *NNNNN N$NNNNNN)N
(NN5ON?ON?ON9N:N, N5N9ON9ON.ON9N1,NN:ON?ON;N?O
N:N,
N5N9OON.ON9N1,NON1ON.ON5N9O NN5N=N?N4N?ON5N/O N=,
NN=N?N9N:N9N,ON5N9O NOON?N:N9N=N.OO  N=)* ON1N/ON=N5ON5 ON1
N1N:ON;N?ON8N1 *NN)N!N* ON;N7OON=N?N=ON1O ON;N1 ON1O ON1
N$N1NN9N4N9O   ON9N:N, N-NN?N4N1 NN5 *3NN7N=N5O-4NN7N=N5O
N5ON9ON1N3N-O*. NN7ON.OON5 N=N1 ON1O OON5N/N;N?ONN5
OON? e-mail/Fax ON1 N1N=N,N;N?N3N1 *NN4N9O  ON9N:N,
N#ONOO   N=N7ON9N:N,*..

 N ON?N3ON,NNN1ON1 N5N3N:N5N:ON9NN-N=N1 N:N1N9
OON7NN1ON1N4N?ON?O
NN5N=N1 N1OO ON7N= NNNNNN
N$N!NN NNN 

/ /

***NNN?N4N1 N$N1NN9N4N/O N= 1.000-2.000 b, ON?N= OOON=N?***

* *1 NN)N!NNN NN5ON?ON?ON9N:O N5N9ON9ON.ON9N?
N5OO   ON5ON9N:N?O
 NN5 N5ON9OOON?ON.

 NON9OOON?ON. 1% ON?O ON6N/ON?O ON5 NN5OON7ON,

***NNN?N4N1 N$N1NN9N4N/O N= 2.000-5.000 b, ON?N= OOON=N?***

** 2 NN)N!NNN NN5ON?ON?ON9N:N, N5N9ON9ON.ON9N1
N5OO   ON5ON9N:N?O
 NN5 N5ON9OOON?ON.

 NON9OOON?ON. 1% ON?O ON6N/ON?O ON5 NN5OON7ON,

***NNN?N4N1 N$N1NN9N4N/O N= 5.000-10.000 b, ON?N= OOON=N?***

*** * 3 NN)N!NNN NN5ON?ON?ON9N:N, N5N9ON9ON.ON9N1
N5OO   ON5ON9N:N?O
 NN5 N5ON9OOON?ON. N. 2 N5N9ON9ON.ON9N1
NOOOON7O 

 NON9OOON?ON. 1% ON?O ON6N/ON?O ON5 NN5OON7ON,

***NNN?N4N1 N$N1NN9N4N/O N= 10.000-30.000 b, ON?N= OOON=N?***

** 4 NN)N!NNN NN5ON?ON?ON9N:N, N5N9ON9ON.ON9N1
N5OO   ON5ON9N:N?O
 NN5 N5ON9OOON?ON. N. 2 N5N9ON9ON.ON9N1
NOOOON7O +1 N5OO  ON5ON9N:N?O
 

 NON9OOON?ON. 1,2% ON?O ON6N/ON?O OON? ON-N;N?O ON?O
OOON=N?O ON5 NN5OON7ON,

***NNN?N4N1 N$N1NN9N4N/O N= 30.000-70.000 b, ON?N= OOON=N?***

*** * 5 NN)N!NNN NN5ON?ON?ON9N:N, N5N9ON9ON.ON9N1
N5OO   ON5ON9N:N?O
 NN5 N5ON9OOON?ON. N. 2 N5N9ON9ON.ON9N1
NOOOON7O +1 N5OO  ON5ON9N:N?O


 NON9OOON?ON. 1,2% ON?O ON6N/ON?O OON? ON-N;N?O ON?O
OOON=N?O ON5 NN5OON7ON,

***NNN?N4N1 N$N1NN9N4N/O N= 70.000-120.000 b, ON?N=
OOON=N?***

*** * 6 NN)N!NNN NN5ON?ON?ON9N:N, N5N9ON9ON.ON9N1
N5OO   ON5ON9N:N?O
 NN5 N5ON9OOON?ON. N. 3 N5N9ON9ON.ON9N1
NOOOON7O

 1 NN)N!NNN N%ON5ON1ON;N1N=ON9N:O N5N9ON9ON.ON9N?

 1 NN)N!NNN N$N!NNNNN!N OON7N=
NOOOON7(N1N5ON?ON?ON9N:N,
N5N9ON9ON.ON9N1+NN5N=N?N4N?ON5N/N?)

NON9OOON?ON. 1,5% ON?O ON6N/ON?O OON? ON-N;N?O ON?O
OOON=N?O ON5 NN5OON7ON,

* *

***NNN?N4N1 N$N1NN9N4N/O N= 120.000-300.000 b, ON?N=
OOON=N?***

*** * 7 NN)N!NNN NN5ON?ON?ON9N:N, N5N9ON9ON.ON9N1
N5OO   ON5ON9N:N?O
 NN5 N5ON9OOON?ON. N. 3 N5N9ON9ON.ON9N1
NOOOON7O

 2 NN)N!NNN N%ON5ON1ON;N1N=ON9N:N, N5N9ON9ON.ON9N1

 2 NN)N!NNN N$N!NNNNN!N OON7N=
NOOOON7(N1N5ON?ON?ON9N:N, N5N9ON9ON.ON9N1 +
NN5N=N?N4N?ON5N/N?)

 NON9OOON?ON. 1,8% ON?O ON6N/ON?O OON? ON-N;N?O ON?O
OOON=N?O ON5 NN5OON7ON,

***NN= N5N/OON5** NNNN)N$NN#***

N N1N/ON=N5ON5 ON1 N/N4N9N1 NOON1 NN5 ON9O
NNON?ON9N:N-O N5ON1N9ON5N/N5O ON;N7OON=N?N=ON1O ON1
ON1NN/N4N9N1 ON1O

 *NN N NN#N$N)N$NNNN# NNN!N$NN# MASTER/VISA*

 NN9N1 ON?ON, N-O O 1.000 b, ON5 3NN7N=N5O N,ON?N:N5O
N4OON5N9O
 NN9N1 ON?ON, N1OO 1.000 b, N-O O 5.000 b, ON5 4NN7N=N5O
N,ON?N:N5O N4OON5N9O
 NN9N1 ON?ON, N1OO 5.000 b, N-O O 30.000 b, ON5 5NN7N=N5O
N,ON?N:N5O N4OON5N9O

 *NN NNN$NNNN#NNN# *

 *NNNNNN* 104/471384-20
 *ALPHA *177/00232462
 *N NNN!NNN)N#* 5061018272609
 *EUROBANK* 00260248160200251541

***NN= N5N/OON5 **NNNNN#NN N%N NN!NN#NN***

*

*

N N1N/ON=N5ON5 ON1 N/N4N9N1 NOON1 NN5 ON9O
NNON?ON9N:N-O N5ON1N9ON5N/N5O N:N1N9 ON?OO NN4N9OON5O
ON;N7OON=N?N=ON1O ON1 ON1NN/N4N9N1 ON1O NN5 N5N9N4N9N:N-O
N#ONN2N,ON5N9O NN7NN?ON/N?O

***NN= N5N/OON5** N NNNN NN#N$NNNN - N#N'NNN***

*

*

N N1N/ON=N5ON5 ON1 N/N4N9N1 NOON1 NN5 ON9O
NNON?ON9N:N-O N5ON1N9ON5N/N5O N:N1N9 ON?OO NN4N9OON5O 

***NN9 OON7ON5ON/N5O NN1O***

**

N#ON1 N5ON1N3N3N5N;NN1ON9N:N, ON1O ON1NN/N4N9N1,
N4N/N=N?ONN5 N9N4N9N1N/ON5ON7 N-NON1ON7 OON7N= ON;N.ON7
N9N:N1N=N?ON?N/N7ON7 OO   N= N1ON1N9ON.ON5O N= ON?O ON5N;N,ON7
N5NOON7ON5OON=ON1O N,NN5ON1 NN5 ON?N= N:N1N;O
ON5ON?
N4ON=N1OO OOOON? N:N1N9 OON? 

problems with carp based firewall - all connections are suspended after falling back from failover

2010-04-09 Thread tom baecker
Hello,

I've setup a openbsd-ha firewall, based on the
http://www.openbsd.org/faq/pf/carp.html.

If the master goes down - the backup system become the Master rule. All
established connections are in sync and stay active - so thats perfect.
But if the original Master system comes back again and fall back to the
Master state - all established connections are broken, maybe they not
successfully synced to the old master?

Is there a way to prevent fallback, so the backup system stay in Master rule
after failover?
Maybe also I've a wrong setup.

Primary setup:
/etc/hostname.carp0:

inet 10.1.1.1 255.255.255.0 10.100.255.255 vhid 1 pass bbb
/etc/hostname.carp1:
inet 10.1.2.1 255.255.255.0 10.68.255.255 vhid 2 pass aaa
/etc/hostname.carp2:
inet 10.1.3.1 255.255.255.0 10.101.10.255 vhid 3 pass xxx
/etc/hostname.pfsync0

up syncdev em1

net.inet.carp.preempt=1
net.inet.ip.forwarding=1
net.inet.carp.log=7

pf.conf
# allow pfsync
pass quick on em1 proto pfsync
# allow carp
pass quick on { em0, em2, em3 } proto carp keep state


Standby setup:
/etc/hostname.carp0:

inet 10.1.1.1 255.255.255.0 10.100.255.255 vhid 1 advskew 100 pass bbb
/etc/hostname.carp1:
inet 10.1.2.1 255.255.255.0 10.68.255.255 vhid 2 advskew 100 pass aaa
/etc/hostname.carp2:
inet 10.1.3.1 255.255.255.0 10.101.10.255 vhid 3 advskew 100 pass xxx
/etc/hostname.pfsync0

up syncdev em1

net.inet.carp.preempt=1
net.inet.ip.forwarding=1
net.inet.carp.log=7

 pf.conf
# allow pfsync
pass quick on em1 proto pfsync
# allow carp
pass quick on { em0, em2, em3 } proto carp keep state




A failover and fallback gives me the follow entrys in the message log:

the master goes down:
Apr  9 16:02:05 fw-bkp /bsd: carp1: state transition: BACKUP - MASTER
Apr  9 16:02:05 fw-bkp /bsd: carp0: state transition: BACKUP - MASTER
Apr  9 16:02:05 fw-bkp /bsd: carp2: state transition: BACKUP - MASTER
the master comes back:
Apr  9 16:25:07 fw-bkp /bsd: carp0: state transition: MASTER - BACKUP
Apr  9 16:25:07 fw-bkp /bsd: carp2: state transition: MASTER - BACKUP
Apr  9 16:25:17 fw-bkp /bsd: carp1: state transition: MASTER - BACKUP


the primary booting up and takeover the master rule:
Apr  9 16:24:11 fw-pri /bsd: carp: carp0 demoted group carp to 129
Apr  9 16:24:11 fw-pri /bsd: carp: carp1 demoted group carp to 130
Apr  9 16:24:11 fw-pri /bsd: carp: carp2 demoted group carp to 131
Apr  9 16:24:11 fw-pri /bsd: carp0: state transition: INIT - BACKUP
Apr  9 16:24:11 fw-pri /bsd: carp: carp0 demoted group carp to 134
Apr  9 16:24:12 fw-pri /bsd: carp: pfsync0 demoted group carp to 131
Apr  9 16:24:12 fw-pri /bsd: carp: pfsync0 demoted group pfsync to 1
Apr  9 16:24:12 fw-pri /bsd: carp1: state transition: INIT - BACKUP
Apr  9 16:24:12 fw-pri /bsd: carp: carp1 demoted group carp to 130
Apr  9 16:24:12 fw-pri /bsd: carp2: state transition: INIT - BACKUP
Apr  9 16:24:12 fw-pri /bsd: carp: carp2 demoted group carp to 129
Apr  9 16:24:12 fw-pri /bsd: carp1: state transition: BACKUP - MASTER
Apr  9 16:24:29 fw-pri /bsd: carp: pfsync0 demoted group carp to 0
Apr  9 16:24:29 fw-pri /bsd: carp: pfsync0 demoted group pfsync to 0
Apr  9 16:24:30 fw-pri /bsd: carp0: state transition: BACKUP - MASTER
Apr  9 16:24:30 fw-pri /bsd: carp2: state transition: BACKUP - MASTER


hopefully you can help me.
Regards,
Tom



Re: application key mappings in cwm

2010-04-09 Thread Owain Ainsworth
On Fri, Apr 09, 2010 at 11:09:58AM -0400, Michael W. Lucas wrote:
 Hi,
 
 I recently switched to cwm (from WindowMaker).  Everything works
 great, except for how some key mappings interact with applications.
 
 OpenOffice uses control-arrowkey to move the cursor a word at a time,
 and control-shift-arrowkey to highlight.  At times I must highlight
 entire paragraphs, or skip through paragraphs at high speed, so I need
 this function.  Firefox has similar behavior, and I'm sure other apps
 do as well.
 
 cwm uses control-arrowkeys for window size  placement, so these
 keystrokes never reach the app.
 
 I'm not attached to control-arrowkey for this application function,
 but I need the function.  I'm sure other people have had this
 annoyance as well.
 
 My first thought is to use the windows key on this keyboard for a
 control key just for applications, but a) I'm not sure how to do that,
 and b) someone else has probably had a better idea.
 
 Any suggestions for remapping keys to restore control-shift-arrow
 highlighting in apps, without losing cwm's behavior?  Is there a
 specific OpenBSD way to do that, or a particular man page I should
 read?

cwmrc(5) should help you out there. As a quick hint:

bind CS-Left unmap
bind CS-Right unmap
bind CS-Up unmap
bind CS-Down unmap
bind C-Left unmap
bind C-Right unmap
bind C-Up unmap
bind C-Down unmap

Will remove those keybindings that you conflict with. We really ought to
make that configuration language a bit more powerful...

-0-
-- 
You don't have to think too hard when you talk to teachers.
-- J. D. Salinger



Re: -current amd64 (#178): NO PROPOSAL CHOSEN

2010-04-09 Thread Christian Weisgerber
Toni Mueller openbsd-m...@oeko.net wrote:

 while playing around with the latest code as of today, off of CVS's
 HEAD, I find that it sometimes takes considerable time to establish a
 connection to a static peer, and while negotiating, the two isakmpds
 sometimes send NO_PROPOSAL_CHOSEN to each other. After a while, it
 suddenly works. Normally, the connection should come up immediately
 after one proposal packet from each isakmpd.

I have been seeing this behavior, more or less randomly, forever.

-- 
Christian naddy Weisgerber  na...@mips.inka.de



Re: ACPI so close I can almost taste it...

2010-04-09 Thread STeve Andre'
On Friday 09 April 2010 03:37:17 Josh Rickmar wrote:
 On Thu, Apr 08, 2010 at 08:53:12PM -0400, STeve Andre' wrote:
  Willing to be a test case for other ideas!

 Same here, I have a T500 and just upgraded to the latest -current to
 test out the new suspend and resume.  My dmesg:

Interesting, so you can at least partly reactivate, which I cannot.
What do you do to suspend?

--STeve Andre'



Howto Create a Auto-Extract Package with Shell Script tar ?

2010-04-09 Thread Aaron Lewis
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,
I'm trying to make a small binary package , which aims to install some
X11 fonts to /usr/share/fonts/truetype.
Creating such a binary package will allow me to port it on any
UNIX/Linux system , very useful.

Firstly i need to compress my fonts to a Font_Name.tar.bz2 , if i want
to put the extract script and Font_Name.tar.bz2 together  , a single
bundle , howto archive it ?

Right now , i tried to append the Archive to the script file , Then try
to read through the `setup file' except for the first 5 lines.

#!/bin/bash





tail +5 $0 | tar xvf - -C /tmp
exit 0
#
//Append Tar.Bz2 file

Doesn't looks like a good way , anyone could help ?

Thanks in advance !


- -- 
Best Regards,
Aaron Lewis - PGP: 0x4A6D32A0
FingerPrint EA63 26B2 6C52 72EA A4A5 EB6B BDFE 35B0 4A6D 32A0
irc: A4r0n on freenode
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAku/0cEACgkQvf41sEptMqCJgQCfQESwZdv2QvE9j1q9l1AM4fUZ
EW0AoJbplPCW0bnCrzE4wI8IHC9g/Ugk
=3kRR
-END PGP SIGNATURE-