Re: 1W OpenBSD machine for 29 GBP?

2009-07-12 Thread Paul M

On 11/07/2009, at 7:56 PM, David Vasek wrote:


On Sat, 11 Jul 2009, Steve Fairhead wrote:


http://bifferos.bizhat.com/

What do you reckon? ;)


Can't be used, as the FPU emulation has been removed some time ago.

Regards,
David



Also, as I understand, OpenBSD requires a MMU. I was unable to find out 
whether or not this chip has one.



paulm



Re: What kernel to use for a QuadProcesor, or Dual Xeon 3.0ghz

2009-07-12 Thread Joachim Schipper
On Sat, Jul 11, 2009 at 02:52:43PM -0500, Andres Salazar wrote:
 On Sat, Jul 11, 2009 at 1:54 AM, Jan-Erik Skata jesk...@gmail.com wrote
 
  Yes, you should use the SMP kernel on multicore CPUs aswell. I have usually
  just moved /bsd.mp onto /bsd and rebooted.
  Otherwise only one CPU and/or core will be used.
 
 Ok, however since this is Symmetric MultiProcessing then I wouldnt benefit
 from running a mysql server because this is a single thread and it would
 still only use one core, right?
 
 Does OpenBSD support asymmetrical processing ?

You have your terminology confused: the symmetric in SMP refers to the
identical treatment of identical processors, not to any way of mapping
threads to CPUs (CPU cores). See
http://en.wikipedia.org/wiki/Asymmetric_multiprocessing for details.

OpenBSD's current threading model is n:1, which means that scheduling is
based on processes, not threads (i.e. only one thread of any given
process can be on the CPU at a given time). See
http://en.wikipedia.org/wiki/Thread_(computer_science)#Models. Some
people are working on changing this, but they have been at it for a
while and it is not production-ready yet.

This does, indeed, mean that a multi-threaded process such as MySQL does
not benefit from having multiple cores in the box, except to the extent
that other work may be offloaded to other cores.

I'll try to restrain myself from promoting PostgreSQL here... oops!

Joachim



Re: What kernel to use for a QuadProcesor, or Dual Xeon 3.0ghz

2009-07-12 Thread Eric Furman
On Sun, 12 Jul 2009 07:34 +0200, Joachim Schipper
joac...@joachimschipper.nl wrote:
 On Sat, Jul 11, 2009 at 02:52:43PM -0500, Andres Salazar wrote:
  On Sat, Jul 11, 2009 at 1:54 AM, Jan-Erik Skata jesk...@gmail.com wrote
  
   Yes, you should use the SMP kernel on multicore CPUs aswell. I have 
   usually
   just moved /bsd.mp onto /bsd and rebooted.
   Otherwise only one CPU and/or core will be used.
  
  Ok, however since this is Symmetric MultiProcessing then I wouldnt benefit
  from running a mysql server because this is a single thread and it would
  still only use one core, right?
  
  Does OpenBSD support asymmetrical processing ?
 
 You have your terminology confused: the symmetric in SMP refers to the
 identical treatment of identical processors, not to any way of mapping
 threads to CPUs (CPU cores). See
 http://en.wikipedia.org/wiki/Asymmetric_multiprocessing for details.
 
 OpenBSD's current threading model is n:1, which means that scheduling is
 based on processes, not threads (i.e. only one thread of any given
 process can be on the CPU at a given time). See
 http://en.wikipedia.org/wiki/Thread_(computer_science)#Models. Some
 people are working on changing this, but they have been at it for a
 while and it is not production-ready yet.
 
 This does, indeed, mean that a multi-threaded process such as MySQL does
 not benefit from having multiple cores in the box, except to the extent
 that other work may be offloaded to other cores.
 
 I'll try to restrain myself from promoting PostgreSQL here... oops!

Not to mention the huge debate among programmers about the actual
usefulness of multi-threading...
but that's another story entirely..
check the archives and your favorite search engine.



Color with ls command

2009-07-12 Thread Olivier Regnier
Hello,

With OpenBSD 4.4, I got the color in console with the ls command and the
package gnuls.

Here is my profile:

SHELL=/bin/ksh

PS1=\w \\$ 

 PKG_PATH=ftp://ftp.crans.org/pub/OpenBSD/4.5/packages/`machine -a`/

 DIR=di=01;34:
 CON=*conf=01;33:
 EXE=*sh=01;32:
 ARC=*tar=01;31:*gz=01;31:*tar.gz=01;31:*tgz=01;31:*bz2=01;31:*zip=01;31:
 MUS=*ogg=40;35:*mp3=40;35:*avi=40;35:*mpg=40;35:*mpeg=40;35:
 IMG=*png=01;35:*gif=01;35:*jpg=01;35:*jpeg=01;35:
 LS_COLORS=${DIR}${CON}${EXE}${ARC}${MUL}${IMG}

 export SHELL PS1 PKG_PATH LS_COLORS

 alias ls=ls \
   ll=ls -l la=ls -a lla=ls -la ld=ll | grep '^d' \
   md=/bin/mkdir rd=/bin/rmdir \
   rm=/bin/rm -i cp=/bin/cp -i mv=/bin/mv -i \
   df=/bin/df -h du=/usr/bin/du -h \
   h=history j=jobs p=/usr/bin/lpr \
   c=/usr/bin/clear bye=exit off=/sbin/halt -p

But with OpenBSD 4.5, it does not work.

Thank you in advance for your answers.

-Olivier

_
Dicouvrez toutes les possibilitis de communication avec vos proches
http://www.microsoft.com/windows/windowslive/default.aspx



email money transfer alert

2009-07-12 Thread CIBC Online Banking
CIBC INTERAC . Email Money Transfer Alert

Please verify this payment information below:

  * Receiver Name: James Borg

  * Receiver email: k...@bell.ca

  * Amount: $360.00CAD

  * Transfer Date: Saturday, 11 July 2009

If you remember trying to make Interac email money transfer on the above
date, please select That was me.

If you do not remember trying to make Interac email money transfer on the
above date, please select That was NOT me.
Fees and various terms apply when you send an INTERAC Email Money
Transfer.

That was me

That was not me

) 2009 CIBC Online Banking.



Re: pkg_add hangs downloading several packages.

2009-07-12 Thread Marc Espie
On Mon, Jul 06, 2009 at 02:27:34PM +0200, Jesus Sanchez wrote:
 Hi list, using 4.5

 I've a little script to add a few packages after a fresh install,
 basically it's a pkg_add -i a b c  line with ~40 packages to
 install, but at some point after some packages get installed, the
 connection with the server hangs and nothing happens untill I kill it
 with Ctrl+c.

ftp server ? looks like a server or proxy somewhere that doesn't like
abort commands.

unfortunately, you can't do anything on the client. Using http will work
around the breakage.



Re: Color with ls command

2009-07-12 Thread ropers
2009/7/12 Olivier Regnier oregn...@hotmail.com:
 Hello,

 With OpenBSD 4.4, I got the color in console with the ls command and the
 package gnuls.
 (...)
 But with OpenBSD 4.5, it does not work.

This may be slightly asinine, but just to confirm, with OpenBSD 4.4,
you had this package installed, and with OpenBSD 4.5 you have the same
package installed?
http://www.openbsd.org/4.5_packages/i386/gnuls-4.1p0.tgz-long.html

And with neither version did you have this package installed, which
also provides purrtee ls colours?
http://www.openbsd.org/4.5_packages/i386/colorls-4.5.tgz-long.html

Also, and I'm ashamed to even ask you this, but of course you are
using the right package/port version for your system?
http://openbsd.org/faq/faq15.html#NoFun

regards,
--ropers



Re: What kernel to use for a QuadProcesor, or Dual Xeon 3.0ghz

2009-07-12 Thread Stuart Henderson
On 2009-07-10, Andres Salazar ndrsslz...@gmail.com wrote:
 Hello community,

  I have two boxes:

 Quad Core Processor with 4GB RAM
 Dual Xeon 3.0 Ghz with 2GB of RAM


 I have heard contradicting information as far as I can use both the MP and
 the REGULAR kernel (i386 or amd64) and that both would give me the same
 performance..

 Isnt it true that If i apply the regular kernel on these boxes I would be
 wasting CPU power? Per top it would only show one CPU.

 Also.. is it better to use amd64 or i386.. or doesnt matter?

If you want to make sure you get the fastest performance, try the various
options *with your particular application* and benchmark them.



Re: Color with ls command

2009-07-12 Thread Chris Bennett

ropers wrote:

2009/7/12 Olivier Regnier oregn...@hotmail.com:
  

Hello,

With OpenBSD 4.4, I got the color in console with the ls command and the
package gnuls.
(...)
But with OpenBSD 4.5, it does not work.



This may be slightly asinine, but just to confirm, with OpenBSD 4.4,
you had this package installed, and with OpenBSD 4.5 you have the same
package installed?
http://www.openbsd.org/4.5_packages/i386/gnuls-4.1p0.tgz-long.html

And with neither version did you have this package installed, which
also provides purrtee ls colours?
http://www.openbsd.org/4.5_packages/i386/colorls-4.5.tgz-long.html

Also, and I'm ashamed to even ask you this, but of course you are
using the right package/port version for your system?
http://openbsd.org/faq/faq15.html#NoFun

regards,
--ropers

  

I just tried both of these, only, only gnuls worked.
But it cut username and groupname down to eight characters.
I tried all the options that seemed appropriate, like --tabsize and --width
These failed to have any effect.

Is there a fix for this? Ilike cute, pretty colors, but not if it cuts 
info!!


Chris Bennett



Re: Color with ls command

2009-07-12 Thread Jesus Sanchez

Chris Bennett escribis:

ropers wrote:

2009/7/12 Olivier Regnier oregn...@hotmail.com:
 

Hello,

With OpenBSD 4.4, I got the color in console with the ls command and 
the

package gnuls.
(...)
But with OpenBSD 4.5, it does not work.



This may be slightly asinine, but just to confirm, with OpenBSD 4.4,
you had this package installed, and with OpenBSD 4.5 you have the same
package installed?
http://www.openbsd.org/4.5_packages/i386/gnuls-4.1p0.tgz-long.html

And with neither version did you have this package installed, which
also provides purrtee ls colours?
http://www.openbsd.org/4.5_packages/i386/colorls-4.5.tgz-long.html

Also, and I'm ashamed to even ask you this, but of course you are
using the right package/port version for your system?
http://openbsd.org/faq/faq15.html#NoFun

regards,
--ropers

  

I just tried both of these, only, only gnuls worked.
But it cut username and groupname down to eight characters.
I tried all the options that seemed appropriate, like --tabsize and 
--width

These failed to have any effect.

Is there a fix for this? Ilike cute, pretty colors, but not if it cuts 
info!!


Chris Bennett





try the package colorls



Re: Color with ls command

2009-07-12 Thread Chris Bennett

Jesus Sanchez wrote:

I just tried both of these, only, only gnuls worked.
But it cut username and groupname down to eight characters.
I tried all the options that seemed appropriate, like --tabsize and 
--width

These failed to have any effect.

Is there a fix for this? Ilike cute, pretty colors, but not if it 
cuts info!!


Chris Bennett





try the package colorls



Yes this worked once I changed TERM=xterm-xfree86

pkg_delete gnuls

Chris Bennett



Re: Color with ls command

2009-07-12 Thread Jacob Meuser
On Sun, Jul 12, 2009 at 07:32:49AM -0500, Chris Bennett wrote:
 ropers wrote:
 2009/7/12 Olivier Regnier oregn...@hotmail.com:
   
 Hello,
 
 With OpenBSD 4.4, I got the color in console with the ls command and the
 package gnuls.
 (...)
 But with OpenBSD 4.5, it does not work.
 
 
 This may be slightly asinine, but just to confirm, with OpenBSD 4.4,
 you had this package installed, and with OpenBSD 4.5 you have the same
 package installed?
 http://www.openbsd.org/4.5_packages/i386/gnuls-4.1p0.tgz-long.html
 
 And with neither version did you have this package installed, which
 also provides purrtee ls colours?
 http://www.openbsd.org/4.5_packages/i386/colorls-4.5.tgz-long.html
 
 Also, and I'm ashamed to even ask you this, but of course you are
 using the right package/port version for your system?
 http://openbsd.org/faq/faq15.html#NoFun
 
 regards,
 --ropers
 
   
 I just tried both of these, only, only gnuls worked.

do you have $TERM set appropriately, as per colorls(1)?

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



xterm in scrotwm, won't read aliases or TERM from ./profile or other file

2009-07-12 Thread Chris Bennett
I'm using xterm in scrotwm. However, each instance fails to read any 
aliases or environment stuff like TERM.
I have set a file that echos all the needed commands which I then copy 
paste to get my stuff into that xterm only.


This works well, but is there any way at all to automatically do this?
scrotwm does not work with anything except 'xterm' only and exactly in 
/etc/scrotwm.conf.


Chris Bennett



AMD 780/790GX Motherboards

2009-07-12 Thread Glenn Gombert
Hello,

I was interested in finding out if OpenBSD supported the new
(i.e. M4A78-E) motherboards that use the AMD 780/790GX series chip sets? It
could not find them mentioned on the AMD64 support page, Goggling did not
produce any hits on this subject either. I get an error when trying to load
4.5 on this new motherboard that I purchased.

Thanks!
Glenn



Re: xterm in scrotwm, won't read aliases or TERM from ./profile or other file

2009-07-12 Thread Floor Terra
Hi,

On Sun, Jul 12, 2009 at 4:01 PM, Chris
Bennettch...@bennettconstruction.biz wrote:
 I'm using xterm in scrotwm. However, each instance fails to read any aliases
 or environment stuff like TERM.
 I have set a file that echos all the needed commands which I then copy paste
 to get my stuff into that xterm only.

 This works well, but is there any way at all to automatically do this?

Put this in your ~/.Xdefaults
xterm.*.loginShell: true


 scrotwm does not work with anything except 'xterm' only and exactly in
 /etc/scrotwm.conf.

 Chris Bennett





-- 
Floor Terra flo...@gmail.com
www: http://brobding.mine.nu/



Re: 1W OpenBSD machine for 29 GBP?

2009-07-12 Thread Brynet
Paul M wrote:
 Also, as I understand, OpenBSD requires a MMU. I was unable to find out
 whether or not this chip has one.

 paulm

Hi,

The MMU is an integral part of a 32-bit x86 processor, it will most
definitely have one if it's = to an i386.

According to the link in the initial email, it's 486SX-compatible.. so
it most likely will not have an FPU, which is required by OpenBSD/i386
since the conversion to ELF.

The last version you could run on an FPU-less system is 3.3, which was
released November 1st, 2003.

HTH.

-Brynet



Re: xterm in scrotwm, won't read aliases or TERM from ./profile or other file

2009-07-12 Thread Chris Bennett

Floor Terra wrote:

Hi,

On Sun, Jul 12, 2009 at 4:01 PM, Chris
Bennettch...@bennettconstruction.biz wrote:
  

I'm using xterm in scrotwm. However, each instance fails to read any aliases
or environment stuff like TERM.
I have set a file that echos all the needed commands which I then copy paste
to get my stuff into that xterm only.

This works well, but is there any way at all to automatically do this?



Put this in your ~/.Xdefaults
xterm.*.loginShell: true

  

Thanks!!
I looked on the web a lot and tried many things. Never saw this solution.

Chris Bennett



Re: AMD 780/790GX Motherboards

2009-07-12 Thread Peter Strömberg

Glenn Gombert wrote:

Hello,

I was interested in finding out if OpenBSD supported the new
(i.e. M4A78-E) motherboards that use the AMD 780/790GX series chip sets? It
could not find them mentioned on the AMD64 support page, Goggling did not
produce any hits on this subject either. I get an error when trying to load
4.5 on this new motherboard that I purchased.

  


I have an M3A78-T (790GX) which works fine, after some bios tweaks

1) I had to disable USB2, or the machine would spontaneously reboot

2) The built-in NIC is useless
mskc0 at pci3 dev 0 function 0 Marvell Yukon 88E8056 rev 0x12, 
Yukon-2 EC Ultra (0x3): apic 4 int 18 (irq 11)

msk0 at mskc0 port A: address 00:22:15:86:05:1c
eephy0 at msk0 phy 0: 88E1149 Gigabit PHY, rev. 1
start an torrent and it will stop working in less than a minute

I put in an PCI-E Intel PRO/1000 PT instead, with some difficulties.
It doesn't work in slot 2 and 3
em0: Hardware Initialization Failed
em0: Unable to initialize the hardware
but it works in slot 4 (I haven't tried slot 1)

3) And lastly I disabled the useless azalia on the northbridge
azalia0 at pci1 dev 5 function 1 ATI RS780 HD Audio rev 0x00: apic 4 
int 19 (irq 10)

azalia0: invalid ADC PCM format: 0x
azalia0: No codecs found
so I got audio from the other azaila
azalia1 at pci0 dev 20 function 2 ATI SBx00 HD Audio rev 0x00: apic 4 
int 16 (irq 7)

azalia1: codecs: Realtek ALC888
audio0 at azalia1

Now it's running 24/7 as my main file server/samba/torrent/console 
server machine

I've had it since 4.4-current

This is 4.6-current
real mem = 3756720128 (3582MB)
avail mem = 3633623040 (3465MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.5 @ 0x9f400 (71 entries)
bios0: vendor American Megatrends Inc. version 0502 date 10/30/2008
bios0: ASUSTeK Computer INC. M3A78-T
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC MCFG OEMB HPET OSFR SSDT
acpi0: wakeup devices PCE2(S4) PCE3(S4) PCE4(S4) PCE5(S4) PCE6(S4) 
PCE7(S4) PCE9(S4) PCEA(S4) SBAZ(S4) PS2K(S3) PS2M(S3) P0PC(S4) UHC1(S4) 
UHC2(S4) UHC3(S4) USB4(S4) UHC5(S4) UHC6(S4) UHC7(S4) PWRB(S3)

acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Phenom(tm) 9750 Quad-Core Processor, 2406.40 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,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 
64b/line 16-way L2 cache, 2MB 64b/line 32-way L3 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: apic clock running at 200MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Phenom(tm) 9750 Quad-Core Processor, 2406.12 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,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 
64b/line 16-way L2 cache, 2MB 64b/line 32-way L3 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

cpu2 at mainbus0: apid 2 (application processor)
cpu2: AMD Phenom(tm) 9750 Quad-Core Processor, 2406.12 MHz
cpu2: 
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,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu2: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 
64b/line 16-way L2 cache, 2MB 64b/line 32-way L3 cache
cpu2: ITLB 32 4KB entries fully associative, 16 4MB entries fully 
associative
cpu2: DTLB 48 4KB entries fully associative, 48 4MB entries fully 
associative

cpu3 at mainbus0: apid 3 (application processor)
cpu3: AMD Phenom(tm) 9750 Quad-Core Processor, 2406.12 MHz
cpu3: 
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,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu3: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 
64b/line 16-way L2 cache, 2MB 64b/line 32-way L3 cache
cpu3: ITLB 32 4KB entries fully associative, 16 4MB entries fully 
associative
cpu3: DTLB 48 4KB entries fully associative, 48 4MB entries fully 
associative

ioapic0 at mainbus0 apid 4 pa 0xfec0, version 21, 24 pins
acpihpet0 at acpi0: 14318180 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (P0P1)
acpiprt2 at acpi0: bus -1 (PCE2)
acpiprt3 at acpi0: bus 2 (PCE3)
acpiprt4 at acpi0: bus -1 (PCE4)
acpiprt5 at acpi0: bus -1 (PCE5)
acpiprt6 at acpi0: bus -1 (PCE6)
acpiprt7 at acpi0: bus 3 (P0PC)
acpicpu0 at acpi0: PSS
acpicpu1 at acpi0: PSS
acpicpu2 at acpi0: PSS
acpicpu3 at acpi0: PSS
acpibtn0 at acpi0: PWRB
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 AMD RS780 Host rev 0x00
ppb0 at pci0 dev 1 function 

SATA hardisk appearing offline

2009-07-12 Thread Mihai Popescu B.S.
Hello,

I have a DELL Precision 370 workstation and BIOS allows me to select
the SATA behaviour mode: it can be AHCI mode or emulate the good old
known ATA mode. The hardisk I'm using is a SATA 300 model ( aka SATA
II ).

I was using it in ATA mode for some time, but I tried the AHCI at each
release. Starting with 4.5 the AHCI was setup correctly and I started
using it as default since then. Thus, from time to time I still have
some problems. The boot process is ok, the kernel is loaded but the
hardisk is not detected anymore and the computer freezes at this
point. The successful line about hardisk detect is replaced with this
one:

sd0 at scsibus1 targ 0 lun 0: ATA,  ,   SCSI3 0/direct fixed
sd0: driver offline
unknown vendor 0x0004 product 0x (class prehistoric, subclass
miscellaneous, rev 0x04) at pci0 dev31 function 3 not configured.

Unfortunately the fail dmesg is not recorded in /var/log/messages. The
only way to reproduce it for sure is on first reboot after fresh
OpenBSD install. After a few reboots I will get a success.

My question is this: is it a problem about hardware failure or the
ahci driver is not mature enough ? I'm worried because this appears
randomly and I can't relate it to something. The only sure way to
reproduce it is to install a fresh Openbsd, when I do the first reboot
after install it will appear for sure.

 success dmesg ===
OpenBSD 4.5-current (GENERIC) #57: Fri Jun 12 14:46:47 MDT 2009
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) 4 CPU 3.20GHz (GenuineIntel 686-class) 3.20 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,CNXT-ID,xTPR
real mem  = 1071783936 (1022MB)
avail mem = 1027928064 (980MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 07/07/06, BIOS32 rev. 0 @
0xffe90, SMBIOS rev. 2.3 @ 0xf0450 (72 entries)
bios0: vendor Dell Inc. version A08 date 07/07/2006
bios0: Dell Inc. Precision WorkStation 370
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP SSDT APIC BOOT ASF! MCFG HPET
acpi0: wakeup devices VBTN(S4) PCI0(S5) PCI1(S5) PCI2(S5) PCI3(S5)
PCI4(S5) KBD_(S3) USB0(S3) USB1(S3) USB2(S3) USB3(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 199MHz
ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 8
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 4 (PCI1)
acpiprt1 at acpi0: bus 2 (PCI2)
acpiprt2 at acpi0: bus 3 (PCI3)
acpiprt3 at acpi0: bus 1 (PCI4)
acpiprt4 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0
acpibtn0 at acpi0: VBTN
bios0: ROM list: 0xc/0xf800 0xcf800/0x800
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel 82925X Host rev 0x04
ppb0 at pci0 dev 1 function 0 Intel 82925X PCIE rev 0x04: apic 8 int
16 (irq 11)
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 ATI Radeon X1650 Pro rev 0x9e
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
radeondrm0 at vga1: apic 8 int 16 (irq 11)
drm0 at radeondrm0
ATI Radeon X1650 Pro Sec rev 0x9e at pci1 dev 0 function 1 not configured
ppb1 at pci0 dev 28 function 0 Intel 82801FB PCIE rev 0x03: apic 8
int 16 (irq 11)
pci2 at ppb1 bus 2
bge0 at pci2 dev 0 function 0 Broadcom BCM5751 rev 0x01, BCM5750 A1
(0x4001): apic 8 int 16 (irq 11), address 00:13:20:18:a2:cf
brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
ppb2 at pci0 dev 28 function 1 Intel 82801FB PCIE rev 0x03: apic 8
int 17 (irq 10)
pci3 at ppb2 bus 3
uhci0 at pci0 dev 29 function 0 Intel 82801FB USB rev 0x03: apic 8
int 21 (irq 9)
uhci1 at pci0 dev 29 function 1 Intel 82801FB USB rev 0x03: apic 8
int 22 (irq 5)
uhci2 at pci0 dev 29 function 2 Intel 82801FB USB rev 0x03: apic 8
int 18 (irq 3)
uhci3 at pci0 dev 29 function 3 Intel 82801FB USB rev 0x03: apic 8
int 23 (irq 10)
ehci0 at pci0 dev 29 function 7 Intel 82801FB USB rev 0x03: apic 8
int 21 (irq 9)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb3 at pci0 dev 30 function 0 Intel 82801BA Hub-to-PCI rev 0xd3
pci4 at ppb3 bus 4
emu0 at pci4 dev 2 function 0 Creative Labs SoundBlaster Live rev
0x07: apic 8 int 18 (irq 3)
ac97: codec id 0x83847609 (SigmaTel STAC9721/23)
ac97: codec features 18 bit DAC, 18 bit ADC, SigmaTel 3D
audio0 at emu0
Creative Labs PCI Gameport Joystick rev 0x07 at pci4 dev 2 function
1 not configured
ichpcib0 at pci0 dev 31 function 0 Intel 82801FB LPC rev 0x03: PM disabled
pciide0 at pci0 dev 31 function 1 Intel 82801FB IDE rev 0x03: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: PIONEER, DVD-RW DVR-116D, 1.06 ATAPI
5/cdrom removable
cd0(pciide0:0:0): using PIO 

Re: SATA hardisk appearing offline

2009-07-12 Thread Chris Cappuccio
Have you tried different disks?  The AHCI driver works really well with AHCI 
1.1 and AHCI 1.2 on intel chipsets, at least in my experience.

Mihai Popescu B.S. [mihai...@gmail.com] wrote:
 Hello,
 
 I have a DELL Precision 370 workstation and BIOS allows me to select
 the SATA behaviour mode: it can be AHCI mode or emulate the good old
 known ATA mode. The hardisk I'm using is a SATA 300 model ( aka SATA
 II ).
 
 I was using it in ATA mode for some time, but I tried the AHCI at each
 release. Starting with 4.5 the AHCI was setup correctly and I started
 using it as default since then. Thus, from time to time I still have
 some problems. The boot process is ok, the kernel is loaded but the
 hardisk is not detected anymore and the computer freezes at this
 point. The successful line about hardisk detect is replaced with this
 one:
 
 sd0 at scsibus1 targ 0 lun 0: ATA,  ,   SCSI3 0/direct fixed
 sd0: driver offline
 unknown vendor 0x0004 product 0x (class prehistoric, subclass
 miscellaneous, rev 0x04) at pci0 dev31 function 3 not configured.
 
 Unfortunately the fail dmesg is not recorded in /var/log/messages. The
 only way to reproduce it for sure is on first reboot after fresh
 OpenBSD install. After a few reboots I will get a success.
 
 My question is this: is it a problem about hardware failure or the
 ahci driver is not mature enough ? I'm worried because this appears
 randomly and I can't relate it to something. The only sure way to
 reproduce it is to install a fresh Openbsd, when I do the first reboot
 after install it will appear for sure.
 
  success dmesg ===
 OpenBSD 4.5-current (GENERIC) #57: Fri Jun 12 14:46:47 MDT 2009
 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
 cpu0: Intel(R) Pentium(R) 4 CPU 3.20GHz (GenuineIntel 686-class) 3.20 GHz
 cpu0: 
 FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,CNXT-ID,xTPR
 real mem  = 1071783936 (1022MB)
 avail mem = 1027928064 (980MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 07/07/06, BIOS32 rev. 0 @
 0xffe90, SMBIOS rev. 2.3 @ 0xf0450 (72 entries)
 bios0: vendor Dell Inc. version A08 date 07/07/2006
 bios0: Dell Inc. Precision WorkStation 370
 acpi0 at bios0: rev 0
 acpi0: tables DSDT FACP SSDT APIC BOOT ASF! MCFG HPET
 acpi0: wakeup devices VBTN(S4) PCI0(S5) PCI1(S5) PCI2(S5) PCI3(S5)
 PCI4(S5) KBD_(S3) USB0(S3) USB1(S3) USB2(S3) USB3(S3)
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: apic clock running at 199MHz
 ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins
 ioapic0: misconfigured as apic 0, remapped to apid 8
 acpihpet0 at acpi0: 14318179 Hz
 acpiprt0 at acpi0: bus 4 (PCI1)
 acpiprt1 at acpi0: bus 2 (PCI2)
 acpiprt2 at acpi0: bus 3 (PCI3)
 acpiprt3 at acpi0: bus 1 (PCI4)
 acpiprt4 at acpi0: bus 0 (PCI0)
 acpicpu0 at acpi0
 acpibtn0 at acpi0: VBTN
 bios0: ROM list: 0xc/0xf800 0xcf800/0x800
 pci0 at mainbus0 bus 0: configuration mode 1 (bios)
 pchb0 at pci0 dev 0 function 0 Intel 82925X Host rev 0x04
 ppb0 at pci0 dev 1 function 0 Intel 82925X PCIE rev 0x04: apic 8 int
 16 (irq 11)
 pci1 at ppb0 bus 1
 vga1 at pci1 dev 0 function 0 ATI Radeon X1650 Pro rev 0x9e
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 radeondrm0 at vga1: apic 8 int 16 (irq 11)
 drm0 at radeondrm0
 ATI Radeon X1650 Pro Sec rev 0x9e at pci1 dev 0 function 1 not configured
 ppb1 at pci0 dev 28 function 0 Intel 82801FB PCIE rev 0x03: apic 8
 int 16 (irq 11)
 pci2 at ppb1 bus 2
 bge0 at pci2 dev 0 function 0 Broadcom BCM5751 rev 0x01, BCM5750 A1
 (0x4001): apic 8 int 16 (irq 11), address 00:13:20:18:a2:cf
 brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
 ppb2 at pci0 dev 28 function 1 Intel 82801FB PCIE rev 0x03: apic 8
 int 17 (irq 10)
 pci3 at ppb2 bus 3
 uhci0 at pci0 dev 29 function 0 Intel 82801FB USB rev 0x03: apic 8
 int 21 (irq 9)
 uhci1 at pci0 dev 29 function 1 Intel 82801FB USB rev 0x03: apic 8
 int 22 (irq 5)
 uhci2 at pci0 dev 29 function 2 Intel 82801FB USB rev 0x03: apic 8
 int 18 (irq 3)
 uhci3 at pci0 dev 29 function 3 Intel 82801FB USB rev 0x03: apic 8
 int 23 (irq 10)
 ehci0 at pci0 dev 29 function 7 Intel 82801FB USB rev 0x03: apic 8
 int 21 (irq 9)
 usb0 at ehci0: USB revision 2.0
 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
 ppb3 at pci0 dev 30 function 0 Intel 82801BA Hub-to-PCI rev 0xd3
 pci4 at ppb3 bus 4
 emu0 at pci4 dev 2 function 0 Creative Labs SoundBlaster Live rev
 0x07: apic 8 int 18 (irq 3)
 ac97: codec id 0x83847609 (SigmaTel STAC9721/23)
 ac97: codec features 18 bit DAC, 18 bit ADC, SigmaTel 3D
 audio0 at emu0
 Creative Labs PCI Gameport Joystick rev 0x07 at pci4 dev 2 function
 1 not configured
 ichpcib0 at pci0 dev 31 function 0 Intel 82801FB LPC rev 0x03: PM disabled
 pciide0 at pci0 dev 31 function 1 Intel 

material about magicpoint

2009-07-12 Thread Paulo Manoel Mafra
Hello misc,
I've installed the magicpoint presentation tool and I would like to know
if there is any related book or complete user guide (in english,
french or portuguese). The tool seems to be very simple and easy to use,
but I would like to see what is possible to do with it.
Any recommendation ?

Thanks,
Paulo.



tmux vs screen questions

2009-07-12 Thread frantisek holop
hi there,

old habits die hard, but i wouldn't mind drowning screen(1)..

so i am biting the bullet and trying to convert my spartan
.screenrc to .tmux.conf, this mail being the result of that
process, hopefully seen as constructive criticism...


a cosmetic start, i personally think that '.tmuxrc' might be
a better name as it runs commands as opposed to simple
configuration..  also, in openbsd i came to associate most .conf
files with a man page as well...  (i have typed man tmux.conf now
for the 15th time, sigh)


the first feature that i would like to turn off is how tmux
resizes my putty window to strict 80 columns, probably based on
COLUMNS.  but COLUMNS is lying, i set my windows size in putty to
100x25 and the shell doesn't pick it up at login time...  it's not
a big deal really because many programs (like mc) do pick up the
real geometry and adapt...


for tmux to dethrone screen, basically i need these to work the
very same way (maaany years of pavlov reflexes in these), taken
from screen (my prefix is x):

C-x space:  next screen
C-x backspace:  previous screen
C-x i:  info (i have status turned off but sometimes need
to peek at where i am, screen(1) outputs:
(23,14)/(99,26)+1024 +flow app mouse bce G0[B0BB] 2(ksh)
perhaps a window-info equivalent in tmux?
C-x :  windowlist -b (a very brief, barebone list of all
the windows with their titles)
C-x C-x:last active window
copy mode
visual bell with configurable text

so i proceeded to try to convert this into tmux syntax:
--
set-option -g prefix C-x
set-option -g status off

unbind-key C-b
  bind-key C-x send-prefix
  bind-key C-x last
  bind-key ' ' next  # not working, i must hit C-x C-space
# bind-key previous  # i have no idea how to bind backspace
  bind-keylist-windows  # this is not working, still does split-window
--

(space looks kind of confusing in C-x ? as well...)

so i am not doing very well at the moment..


some other random issues:

- most of the set-option commands do not state what is their
  default behaviour in the man page.. (like bell-action, etc)

- the error/warning messages in the status line disappear so fast,
  i have no chance of reading them (status is turned off
  otherwise)

- socket_path (also in $TMUX) contains double slash
  (/tmp//tmux-1000/default, debug level 0)

- no matter what i do, i can't make vim colorful..  TERM=screen
  just like with screen, but screen defines a TERMCAP as well.
  even if i do export TERM=rxvt, still everything is bw..

how are the other screen guys doing?  lots of pain? ;]

-f
-- 
does the name pavlov ring a bell?



Re: tmux vs screen questions

2009-07-12 Thread Marco Peereboom
I have pavlov issues but no functional ones.  Vim is happy as a clam
once i fixed ctrl-pgup and ctrl-pgdn

My tmux.conf:
setw -g xterm-keys on
bind b last-window
bind  last-window
bind '' choose-window
bind s split-window

My .vimrc bits:
syntax on
set ruler
set tabstop=8
set autoindent
set showmode
set showmatch
set tags=./tags,tags,/usr/src/sys/arch/amd64/tags
set hlsearch
set incsearch
set mouse=a
imap  
au BufNewFile,BufRead /tmp/mutt*,/tmp/cvs*,*.txt set tw=72 noai noshowmatch
au BufNewFile,BufRead /tmp/mutt*,/tmp/cvs*,*.txt setlocal spell
spelllang=en_us
au BufNewFile,BufRead /tmp/mutt*,/tmp/cvs*,*.txt syntax off

nn F7 :setlocal spell! spell?CR

 Convert to hex and back; does not save changes
nn F5 :%!xxd -g 1CR
nn F6 :%!xxd -g 1 -rCR
source /usr/local/share/vim/vim72/ftplugin/man.vim

 ctrl up and ctrl down in tmux
if term == screen
set t_kN=[6;*~
set t_kP=[5;*~
endif

For completions sake .Xdefaults:
xterm*termName: xterm-color
xterm*loginShell:   true
xterm*background:   black
xterm*boldFont: vtbold
xterm*border:   pink
xterm*cursorColor:  yellow
#xterm*font: -misc-*-*-*-*-*-13-*-*-*-*-*-*-*
#xterm*font: -terminus-*-*-*-*-*-13-*-*-*-*-*-*-*
xterm*font: -*-terminus-*-*-*-*-12-*-*-*-*-*-*-*
xterm*foreground:   white
xterm*internalBorder:   2
xterm*jumpScroll:   on
xterm*mouse:yellow
xterm*reverse*Wrap: on
xterm.ReverseWrap:  on
xterm*saveLines:2000
xterm*scrollBar:off
xterm*titlebar: on
xterm*visualBell:   off
xterm.ActiveIcon:   on
xterm.AllowIconInput:   on
xterm.AutoRaise:on
xterm.Background:   black
xterm.Border:   blue
xterm.BorderWidth:  3
xterm.Cursor:   green
xterm.Foreground:   white
xterm.InternalBorder:   2
xterm.TextUnderIcon:on


On Sun, Jul 12, 2009 at 11:20:40PM +0200, frantisek holop wrote:
 hi there,

 old habits die hard, but i wouldn't mind drowning screen(1)..

 so i am biting the bullet and trying to convert my spartan
 .screenrc to .tmux.conf, this mail being the result of that
 process, hopefully seen as constructive criticism...


 a cosmetic start, i personally think that '.tmuxrc' might be
 a better name as it runs commands as opposed to simple
 configuration..  also, in openbsd i came to associate most .conf
 files with a man page as well...  (i have typed man tmux.conf now
 for the 15th time, sigh)


 the first feature that i would like to turn off is how tmux
 resizes my putty window to strict 80 columns, probably based on
 COLUMNS.  but COLUMNS is lying, i set my windows size in putty to
 100x25 and the shell doesn't pick it up at login time...  it's not
 a big deal really because many programs (like mc) do pick up the
 real geometry and adapt...


 for tmux to dethrone screen, basically i need these to work the
 very same way (maaany years of pavlov reflexes in these), taken
 from screen (my prefix is x):

 C-x space:next screen
 C-x backspace:previous screen
 C-x i:info (i have status turned off but sometimes need
   to peek at where i am, screen(1) outputs:
   (23,14)/(99,26)+1024 +flow app mouse bce G0[B0BB] 2(ksh)
   perhaps a window-info equivalent in tmux?
 C-x :windowlist -b (a very brief, barebone list of all
   the windows with their titles)
 C-x C-x:  last active window
 copy mode
 visual bell with configurable text

 so i proceeded to try to convert this into tmux syntax:
 --
 set-option -g prefix C-x
 set-option -g status off

 unbind-key C-b
   bind-key C-x send-prefix
   bind-key C-x last
   bind-key ' ' next# not working, i must hit C-x C-space
 # bind-key previous  # i have no idea how to bind backspace
   bind-keylist-windows  # this is not working, still does split-window
 --

 (space looks kind of confusing in C-x ? as well...)

 so i am not doing very well at the moment..


 some other random issues:

 - most of the set-option commands do not state what is their
   default behaviour in the man page.. (like bell-action, etc)

 - the error/warning messages in the status line disappear so fast,
   i have no chance of reading them (status is turned off
   otherwise)

 - socket_path (also in $TMUX) contains double slash
   (/tmp//tmux-1000/default, debug level 0)

 - no matter what i do, i can't make vim colorful..  TERM=screen
   just like with screen, but screen defines a TERMCAP as well.
   even if i do export TERM=rxvt, still everything is bw..

 how are the other screen guys doing?  lots of pain? ;]

 -f
 --
 does the name pavlov ring a bell?



Re: tmux vs screen questions

2009-07-12 Thread Antoine Jacoutot
On Sun, 12 Jul 2009, frantisek holop wrote:
 - no matter what i do, i can't make vim colorful..  TERM=screen
   just like with screen, but screen defines a TERMCAP as well.
   even if i do export TERM=rxvt, still everything is bw..

I usually start it this way:
TERM=xterm-color tmux


-- 
Antoine



Re: tmux vs screen questions

2009-07-12 Thread frantisek holop
hmm, on Sun, Jul 12, 2009 at 04:45:18PM -0500, Marco Peereboom said that
 bind '' choose-window

you sure this works?  i am still getting split-window...

 bind s split-window

does it work without this?  it's as if if the function is
not reassigned to something else or unbound, then it
overrides my choice.  i don't know.

-f
-- 
solitude.  a great place to visit, a bad place to stay



Re: tmux vs screen questions

2009-07-12 Thread Okan Demirmen
On Sun 2009.07.12 at 16:45 -0500, Marco Peereboom wrote:
 For completions sake .Xdefaults:
 xterm*termName: xterm-color
 xterm*loginShell:   true
 xterm*background:   black
 xterm*boldFont: vtbold
 xterm*border:   pink
 xterm*cursorColor:  yellow
 #xterm*font: -misc-*-*-*-*-*-13-*-*-*-*-*-*-*
 #xterm*font: -terminus-*-*-*-*-*-13-*-*-*-*-*-*-*

 ^ - those should be commented with a '!' - see xrdb(1).

however, xrdb runs through cpp first, so you are ok...a mere
technicality ;)

cheers,
okan



Please confirm your message

2009-07-12 Thread Aaron W. LaFramboise
This message was created automatically by mail delivery software (TMDA).

Your message attached below is being held because the address
misc@openbsd.org has not been verified.

To release your message for delivery, please send an empty message
to the following address, or use your mailer's Reply feature.

   root+confirm+1247436660.20288.ef4...@aaronwl.com

This confirmation verifies that your message is legitimate and not
junk-mail. You should only have to confirm your address once.

If you do not respond to this confirmation request within 14 days,
your message will not be delivered.
Return-Path: misc@openbsd.org
Received: from localhost ([122.155.9.29])
by aaronwl.com (8.14.3/8.14.3) with SMTP id n6CM9tlW020055
for r...@aaronwl.com; Sun, 12 Jul 2009 17:10:13 -0500
Message-Id: 01ca033e.0a8f5...@localhost
Date: Mon, 13 Jul 2009 05:16:52 +0400
X-Priority: 3
From: misc@openbsd.org
Subject: somebody  love somebody
X-Mailer: Courier MTA
To: r...@aaronwl.com
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Filter: Yes
X-Spam-Flag: YES
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on cruppie.aaronwl.com
X-Spam-Level: ***
X-Spam-Status: Yes, score=11.9 required=5.0 tests=BAYES_80, 
DATE_IN_FUTURE_03_06, HELO_LOCALHOST, RCVD_IN_BL_SPAMCOP_NET, 
RCVD_IN_SORBS_WEB, RCVD_IN_XBL, RDNS_NONE autolearn=no version=3.2.5
X-Spam-Relay-Country: TH
X-Spam-ASN: AS9931 122.155.0.0/20/20
X-Spam-Report: * 2.0 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in 
bl.spamcop.net *  [Blocked - see 
http://www.spamcop.net/bl.shtml?122.155.9.29] *  3.0 RCVD_IN_XBL RBL: 
Received via a relay in Spamhaus XBL *  [122.155.9.29 listed in 
zen.spamhaus.org] *  0.6 RCVD_IN_SORBS_WEB RBL: SORBS: sender is a abuseable 
web server *  [122.155.9.29 listed in dnsbl.sorbs.net] *  3.9 
HELO_LOCALHOST HELO_LOCALHOST * 0.3 DATE_IN_FUTURE_03_06 Date: is 3 to 6 hours 
after Received: date *  2.0 BAYES_80 BODY: Bayesian spam probability is 80 to 
95% *  [score: 0.8225] *  0.1 RDNS_NONE Delivered to trusted network by a 
host with no rDNS
X-Scanned-By: MIMEDefang 2.67 on 173.11.108.179
X-Envelope-To: r...@aaronwl.com

that hooting train, that crunch of watermelon rind, 
http://protect-links.com/4343rrt And when he cried the little children died in 
the streets.



Re: tmux vs screen questions

2009-07-12 Thread Nicholas Marriott
 the first feature that i would like to turn off is how tmux
 resizes my putty window to strict 80 columns, probably based on
 COLUMNS.  but COLUMNS is lying, i set my windows size in putty to
 100x25 and the shell doesn't pick it up at login time...  it's not
 a big deal really because many programs (like mc) do pick up the
 real geometry and adapt...

tmux does not do this, it just issues the terminal initialisation strings to
from whatever terminal you have set it $TERM, in your cases they must include 
sequences
which make the terminal resize.

However, you will be glad to hear that in -current, tmux no longer issues these
commands (they are not necessary and interfere with alternate screens), but if
you prefer not to upgrade, putty has an option to disable this: in the options,
under Terminal - Features, check the Disable remote-controlled terminal
resizing box.

 for tmux to dethrone screen, basically i need these to work the
 very same way (maaany years of pavlov reflexes in these), taken
 from screen (my prefix is x):
 
 C-x space:next screen
 C-x backspace:previous screen
 C-x i:info (i have status turned off but sometimes need
   to peek at where i am, screen(1) outputs:
   (23,14)/(99,26)+1024 +flow app mouse bce G0[B0BB] 2(ksh)
   perhaps a window-info equivalent in tmux?

Should be easy enough, I'll add it to the todo list.

 C-x :windowlist -b (a very brief, barebone list of all
   the windows with their titles)
 C-x C-x:  last active window
 copy mode

What is copy mode missing?

 visual bell with configurable text

I don't know what this means?

 so i proceeded to try to convert this into tmux syntax:
 --
 set-option -g prefix C-x
 set-option -g status off
 
 unbind-key C-b
   bind-key C-x send-prefix
   bind-key C-x last
   bind-key ' ' next# not working, i must hit C-x C-space

Works for me in xterm, I'll have to try it putty later.

 # bind-key previous  # i have no idea how to bind backspace
   bind-keylist-windows  # this is not working, still does split-window

This is not correct and should give an error - are you sure you restarted the
tmux server or reloaded your configuration with source-file?

Try:

 bind '' list-windows

Although are you sure you don't want choose-window instead?

 --
 
 (space looks kind of confusing in C-x ? as well...)
 
 so i am not doing very well at the moment..



 some other random issues:
 
 - most of the set-option commands do not state what is their
   default behaviour in the man page.. (like bell-action, etc)
 
 - the error/warning messages in the status line disappear so fast,
   i have no chance of reading them (status is turned off
   otherwise)

You can change the length of time they appear with the display-time option.

 - socket_path (also in $TMUX) contains double slash
   (/tmp//tmux-1000/default, debug level 0)

This is not really a problem except cosmetically, I'm not too worried about it.

 - no matter what i do, i can't make vim colorful..  TERM=screen
   just like with screen, but screen defines a TERMCAP as well.
   even if i do export TERM=rxvt, still everything is bw..

What does echo $TERM show before you attach tmux?

 how are the other screen guys doing?  lots of pain? ;]
 
 -f
 -- 
 does the name pavlov ring a bell?



Re: current /root/.login question

2009-07-12 Thread Philip Guenther
On Fri, Jul 10, 2009 at 10:12 AM, Emilio Pereaepe...@walkereng.com wrote:
 There have been some changes to the default /root/.login recently that I
 don't understand, and hope someone can enlighten me.

 On my oldest server, the root shell is still csh, so the change is very
 noticeable:  Using the /root/.login from the 4.5 CD, when I login there
 is a terminal type prompt which has always included the proper terminal
 type as default.  The /root/.login from the current snapshot always
 results in an unknown terminal type, so I have to type in the terminal
 type myself before proceeding.  Is this as intended?
...
 Last login: Fri Jul 10 11:35:12 2009 from herakles.walkereng.net
 OpenBSD 4.6 (GENERIC) #58: Thu Jul  9 21:24:42 MDT 2009
...
 tset: unknown terminal type !*
 Terminal type? nxterm
 Erase is delete.
 Kill is control-U (^U).
 Interrupt is control-C (^C).
 Read the afterboot(8) man page for administration advice.

Something is weird about your 4.6-almost system:
 - the error from tset implies that it was passed !* on the command line
 - the Erase is.../Kill is.../Interrupt is... output implies that
tset was *not*
   passed the -Q option

The latter would seem to imply that the tset in the /root/.login file
has either been changed or it is not the tset invocation that's
causing that output.  Do you perhaps have anything in your /etc/csh.*
files?

If nothing turns up there, I suggest adding set echo to the top of
/root/.cshrc, and maybe echo starting .login and such at the top of
each sourced file, then loggin in and seeing where the problem tset is
being invoked and with what.

If that small hammer doesn't give you enough information, there's
always the big hammer: use ktrace -i on whatever is starting the
shell (the terminal program, the login process, whatever).


Philip Guenther



Re: tmux vs screen questions

2009-07-12 Thread Marco Peereboom
From my .screenrc
vbell on
vbellwait 0.20
vbell_msg Boing.



Re: tmux vs screen questions

2009-07-12 Thread frantisek holop
hmm, on Mon, Jul 13, 2009 at 12:09:08AM +0100, Nicholas Marriott said that
 However, you will be glad to hear that in -current, tmux no longer issues 
 these
 commands (they are not necessary and interfere with alternate screens), but if

i am using current :]


 What is copy mode missing?

nothing, i just put it on the list what is needed for tmux
to dehtrone screen :]


  visual bell with configurable text
 
 I don't know what this means?

screen lets you do something like this:

vbell on
vbell_msg   Wuff    Wuff  

vbell_msg appears in the bottom line when there is a bell.
it helps because flashes on the terminal are easy to miss..

bind-key ' ' next  # not working, i must hit C-x C-space

 Works for me in xterm, I'll have to try it putty later.

c-x space still calls the layout command.  i must keep ctrl
pressed and press space to go to the next window.

  # bind-key previous  # i have no idea how to bind backspace

how do i bind backspace please?


  bind '' list-windows
 
 Although are you sure you don't want choose-window instead?

ok, this is now all right.


 You can change the length of time they appear with the display-time option.

i cannot find anything like that in the man page...

  - no matter what i do, i can't make vim colorful..  TERM=screen
just like with screen, but screen defines a TERMCAP as well.
even if i do export TERM=rxvt, still everything is bw..
 
 What does echo $TERM show before you attach tmux?

again, this seems to be a putty specific issue.
no problems whatsoever on local terminal.
TERM is set to xterm before i run tmux, then it changes to screen.

thanks for the answers!  it's really easy (and dangerous) to
get used to this kind of support...

-f
-- 
my muse turned out to be a dike



Re: tmux vs screen questions

2009-07-12 Thread Nicholas Marriott
I see, thanks.

I don't think a customisable message is necessary, but yes it would be nice to
have the option to display bells visually - I'll have a look, it shouldn't be
too difficult.

It might be better not to use the terminal visual bell but to just always show
it in the same way in the status line.


On Sun, Jul 12, 2009 at 07:11:14PM -0500, Marco Peereboom wrote:
 From my .screenrc
 vbell on
 vbellwait 0.20
 vbell_msg Boing.



Canadian business leads

2009-07-12 Thread Canadian Business Publications
Canadian Business Publications is pleased 
to announce the introduction of the 
Canadian Business web directory,
a constantly updated list of canadian
businesses on the web.

This database and search engine allow every entrepreneur 
and marketing professional to quickly gain access 
to a wealth of information to start a direct marketing 
campaign.

Try a search now and get accurate canadian results.
Register you business its free.

http://www.yellowcan.ca




This message is a broadcast by Canadian business publications 
895 Laurentides boulevard
Piedmont, Qc
J0R 1K0



Re: current /root/.login question

2009-07-12 Thread Emilio Perea
On Sun, Jul 12, 2009 at 05:04:58PM -0700, Philip Guenther wrote:
 On Fri, Jul 10, 2009 at 10:12 AM, Emilio Pereaepe...@walkereng.com wrote:
  There have been some changes to the default /root/.login recently that I
  don't understand, and hope someone can enlighten me.
 
  On my oldest server, the root shell is still csh, so the change is very
  noticeable:  Using the /root/.login from the 4.5 CD, when I login there
  is a terminal type prompt which has always included the proper terminal
  type as default.  The /root/.login from the current snapshot always
  results in an unknown terminal type, so I have to type in the terminal
  type myself before proceeding.  Is this as intended?
 ...
  Last login: Fri Jul 10 11:35:12 2009 from herakles.walkereng.net
  OpenBSD 4.6 (GENERIC) #58: Thu Jul  9 21:24:42 MDT 2009
 ...
  tset: unknown terminal type !*
  Terminal type? nxterm
  Erase is delete.
  Kill is control-U (^U).
  Interrupt is control-C (^C).
  Read the afterboot(8) man page for administration advice.
 
 Something is weird about your 4.6-almost system:
  - the error from tset implies that it was passed !* on the command line
  - the Erase is.../Kill is.../Interrupt is... output implies that
 tset was *not*
passed the -Q option
 
 The latter would seem to imply that the tset in the /root/.login file
 has either been changed or it is not the tset invocation that's
 causing that output.  Do you perhaps have anything in your /etc/csh.*
 files?

That was it!  The line 

alias tset 'set noglob histchars=; eval `\tset -s \!*`; unset noglob 
histchars'

which was removed in version 1.9 (25-Apr-1998!) was somehow still in
root's .cshrc.

My apologies...  I'm ashamed to say that I thought .login was executed
ahead of .cshrc and didn't check the man page.



Re: tmux vs screen questions

2009-07-12 Thread Nicholas Marriott
  What is copy mode missing?
 
 nothing, i just put it on the list what is needed for tmux
 to dehtrone screen :]

I don't understand. What is tmux copy mode missing?

   visual bell with configurable text
  
  I don't know what this means?
 
 screen lets you do something like this:
 
 vbell on
 vbell_msg   Wuff    Wuff  
 
 vbell_msg appears in the bottom line when there is a bell.
 it helps because flashes on the terminal are easy to miss..

Yep I understand, I'll have a look at this, but I'm not going to make the
message customisable.

   # bind-key previous  # i have no idea how to bind backspace
 
 how do i bind backspace please?

Backspace is a difficult one since it can generate several codes. Try bind dc
and bind ^H, if those don't work I'll have a look, tmux doesn't currently
look at the kbs terminal cap but maybe it should, although there is no
guarantee that is accurate anyway.

  You can change the length of time they appear with the display-time option.
 
 i cannot find anything like that in the man page...

It was missed and is fixed in -current a few days ago.
 
   - no matter what i do, i can't make vim colorful..  TERM=screen
 just like with screen, but screen defines a TERMCAP as well.
 even if i do export TERM=rxvt, still everything is bw..
  
  What does echo $TERM show before you attach tmux?
 
 again, this seems to be a putty specific issue.
 no problems whatsoever on local terminal.
 TERM is set to xterm before i run tmux, then it changes to screen.

The xterm terminal description does not support colour so tmux does not attempt
to use it, use a terminal description that does have it such as xterm-color or
xterm-xfree86.

 thanks for the answers!  it's really easy (and dangerous) to
 get used to this kind of support...
 
 -f
 -- 
 my muse turned out to be a dike



Re: 1W OpenBSD machine for 29 GBP?

2009-07-12 Thread Stuart Henderson
On 2009-07-12, Brynet bry...@gmail.com wrote:
 Paul M wrote:
 Also, as I understand, OpenBSD requires a MMU. I was unable to find out
 whether or not this chip has one.

 paulm

 Hi,

 The MMU is an integral part of a 32-bit x86 processor, it will most
 definitely have one if it's = to an i386.

 According to the link in the initial email, it's 486SX-compatible.. so
 it most likely will not have an FPU, which is required by OpenBSD/i386
 since the conversion to ELF.

 The last version you could run on an FPU-less system is 3.3, which was
 released November 1st, 2003.

You'll also need a bootloader that can read from the onboard flash and a
kernel that together take under 1MB, or a bootloader that speaks USB/umass
or ethernet. 32MB RAM is also quite a restriction.

If you don't want to modify OpenBSD then PC Engines alix is about the
closest thing (it's a little way off this in terms of size/power/price,
but not hugely so, and it's much more useful).



Re: tmux vs screen questions

2009-07-12 Thread Nicholas Marriott
   What does echo $TERM show before you attach tmux?
  
  again, this seems to be a putty specific issue.
  no problems whatsoever on local terminal.
  TERM is set to xterm before i run tmux, then it changes to screen.
 
 The xterm terminal description does not support colour so tmux does not 
 attempt
 to use it, use a terminal description that does have it such as xterm-color or
 xterm-xfree86.

This causes problems fora lot of people, I don't think there are any bw xterms
out there and recent ncurses does have setaf/setab in its xterm
description... so I don't see a reason we shouldn't just have a quirk to
override it. Could you try this please?

Index: tty-term.c
===
RCS file: /cvs/src/usr.bin/tmux/tty-term.c,v
retrieving revision 1.2
diff -u -p -r1.2 tty-term.c
--- tty-term.c  5 Jun 2009 03:13:16 -   1.2
+++ tty-term.c  13 Jul 2009 01:26:12 -
@@ -151,6 +151,18 @@ tty_term_quirks(struct tty_term *term)
}
 
if (strncmp(term-name, xterm, 5) == 0) {
+   /* xterms have colour, but some termcaps do not. */
+   if (!tty_term_has(term, TTYC_SETAF)) {
+   term-codes[TTYC_SETAF].type = TTYCODE_STRING;
+   term-codes[TTYC_SETAF].value.string = 
+   xstrdup(\033[3%p1%dm);
+   }
+   if (!tty_term_has(term, TTYC_SETAB)) {
+   term-codes[TTYC_SETAB].type = TTYCODE_STRING;
+   term-codes[TTYC_SETAB].value.string = 
+   xstrdup(\033[4%p1%dm);
+   }
+
/* xterm supports ich1 but some termcaps omit it. */
if (!tty_term_has(term, TTYC_ICH1)) {
term-codes[TTYC_ICH1].type = TTYCODE_STRING;



Re: tmux vs screen questions

2009-07-12 Thread Damien Miller
On Mon, 13 Jul 2009, Nicholas Marriott wrote:

What does echo $TERM show before you attach tmux?
   
   again, this seems to be a putty specific issue.
   no problems whatsoever on local terminal.
   TERM is set to xterm before i run tmux, then it changes to screen.
  
  The xterm terminal description does not support colour so tmux does not 
  attempt
  to use it, use a terminal description that does have it such as xterm-color 
  or
  xterm-xfree86.
 
 This causes problems fora lot of people, I don't think there are any bw 
 xterms
 out there and recent ncurses does have setaf/setab in its xterm
 description... so I don't see a reason we shouldn't just have a quirk to
 override it. Could you try this please?

Shouldn't we consider updating our terminfo/termcap too?

-d



Re: tmux vs screen questions

2009-07-12 Thread Wayne M. Scace

Hello,
What exactly is tmux?
Thanks in advance

Wayne



Re: tmux vs screen questions

2009-07-12 Thread Nicholas Marriott
Yes, I'd like to get it updated but it is a bit fiddly since quite a lot has
changed to the latest ncurses and that often includes multiple levels of
inheritence between entries.

I had a quick look and it seems the latest ncurses adds yet another xterm type,
xterm-new, and makes xterm just the same as that. xterm-new inherits from
xterm-basic, which we have, but our xterm-basic is not quite the same as the
one they use. I'll have a closer look tomorrow and see if I can get it sorted
out.


On Mon, Jul 13, 2009 at 11:51:13AM +1000, Damien Miller wrote:
 On Mon, 13 Jul 2009, Nicholas Marriott wrote:
 
 What does echo $TERM show before you attach tmux?

again, this seems to be a putty specific issue.
no problems whatsoever on local terminal.
TERM is set to xterm before i run tmux, then it changes to screen.
   
   The xterm terminal description does not support colour so tmux does not 
   attempt
   to use it, use a terminal description that does have it such as 
   xterm-color or
   xterm-xfree86.
  
  This causes problems fora lot of people, I don't think there are any bw 
  xterms
  out there and recent ncurses does have setaf/setab in its xterm
  description... so I don't see a reason we shouldn't just have a quirk to
  override it. Could you try this please?
 
 Shouldn't we consider updating our terminfo/termcap too?
 
 -d



Re: tmux vs screen questions

2009-07-12 Thread neal hogan
On Mon, Jul 13, 2009 at 02:15:33AM +, Wayne M. Scace wrote:
   Hello,
   What exactly is tmux?

man tmux(1)

 Thanks in advance
 
 Wayne



Re: tmux vs screen questions

2009-07-12 Thread frantisek holop
hmm, on Sun, Jul 12, 2009 at 09:57:48PM -0500, neal hogan said that
 On Mon, Jul 13, 2009 at 02:15:33AM +, Wayne M. Scace wrote:
  Hello,
  What exactly is tmux?
 
 man tmux(1)

that'll work only on -current.
hmm.  man.cgi doesn't see it either in current.
what's going on?

-f
-- 
wasting your life is prohibited by the law



A Distancia.Comienza en Agosto

2009-07-12 Thread Psicologia Social
Por favor

Por favor, no responda este mail.

Si desea responder, hagalo a la direccion que figura al
pie.

 

 

 

 

 Inscripciones para Primero Intensivo

Ciclo Agosto - Febrero

  

Psicologia Social

 

 

  

Coordinacisn General

Licenciada Diana Coblier

 

 

 

 Primera Escuela Virtual de Psicologia Social

Totalmente a Distancia

Para Hispano Parlantes de todo el pams y del mundo.

Tel. 011 - 48657124

  

 

 

Teorma y Ticnica Pichon Riviere

Certificados de Estudios avalados por la propia Institucion

Trabajo de Campo desde Primer Aqo

 

 

Inscripcion abierta

.

 

 

Para consultas por Internet, remitir mail a

fundaciontehuel...@hotmail.com

 

 

Si no desea seguir recibiendo nuestra info, por favor, mandar mail a

fundaciontehuel...@hotmail.com

con la palabra

remover

en el Asunto.
 



Re: tmux vs screen questions

2009-07-12 Thread frantisek holop
hmm, on Mon, Jul 13, 2009 at 01:54:51AM +0100, Nicholas Marriott said that
   What is copy mode missing?
  
  nothing, i just put it on the list what is needed for tmux
  to dehtrone screen :]
 
 I don't understand. What is tmux copy mode missing?

it is not missing anything.  that was just a list of 
things i use.

  how do i bind backspace please?
 
 Backspace is a difficult one since it can generate several codes. Try bind 
 dc
 and bind ^H, if those don't work I'll have a look, tmux doesn't currently
 look at the kbs terminal cap but maybe it should, although there is no
 guarantee that is accurate anyway.

none of these seems to work.

-f
-- 
the golden rule:  he who has the gold makes the rules.



Re: tmux vs screen questions

2009-07-12 Thread Ted Unangst
On Sun, Jul 12, 2009 at 11:38 PM, frantisek holopmin...@obiit.org wrote:
 hmm, on Sun, Jul 12, 2009 at 09:57:48PM -0500, neal hogan said that
 On Mon, Jul 13, 2009 at 02:15:33AM +, Wayne M. Scace wrote:
  Hello,
  What exactly is tmux?

 man tmux(1)

 that'll work only on -current.

lynx http://www.google.com/search?q=tmux will work on all versions of
OpenBSD.



Re: tmux vs screen questions

2009-07-12 Thread Han Boetes
Ted Unangst wrote:
 On Sun, Jul 12, 2009 at 11:38 PM, frantisek holopmin...@obiit.org wrote:
  hmm, on Sun, Jul 12, 2009 at 09:57:48PM -0500, neal hogan said that
   On Mon, Jul 13, 2009 at 02:15:33AM +, Wayne M. Scace wrote:
Hello,
What exactly is tmux?
  
   man tmux(1)
 
  that'll work only on -current.

 lynx http://www.google.com/search?q=tmux will work on all versions of
 OpenBSD.

Or even better: http://lmgtfy.com/?q=tmux



# Han



Re: tmux vs screen questions

2009-07-12 Thread Bret S. Lambert
On Mon, Jul 13, 2009 at 02:15:33AM +, Wayne M. Scace wrote:
   Hello,
   What exactly is tmux?

It's a floor wax...*and* a dessert topping!

 Thanks in advance

 Wayne



Re: tmux vs screen questions

2009-07-12 Thread Wayne M. Scace

Bret S. Lambert wrote:

It's a floor wax...*and* a dessert topping!


ROFL!!  Thanks for the laugh Bret!  It's good to see someone else has a 
sense of humour in this group.



Wayne