Install CORBA

2007-03-02 Thread marcos rebelo

Oi people

I'm going to start studding CORBA, after more then 8 year. I need to
know the better libraries that I can use in Cygwin to use.

Note: If you have some recommendations on ease studies, I will be
thanks full to.

Thanks
Marcos

--
Marcos Rebelo
http://oleber.freehostia.com

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Cron Guidance

2007-03-02 Thread Larry Hall (Cygwin)

[EMAIL PROTECTED] wrote:

Please let know if any guide exist for setting up the cron on Cygwin
under Windows XP. I really need a primer with examples and a guide on
tools editing the cron. My Google search gave me the start, yet I am
hoping for some tips on best practices. In addition, I need to
configure Cygwin with the cron functionality and the tools for editing
cron commands. So far, my research discovered that cron editing tools
include  lynx, curl, and crontab, which are not currently part of my
Cygwin installation. I am hoping for a better guide before running
cygwin setup and missing some key dependencies.



You will not miss any package dependencies using 'setup.exe' unless
you de-select any dependent packages that 'setup.exe' selects for you
when you choose packages you want.  As for documentation on setting
up Cygwin's 'cron', you'll find that in /usr/share/doc/Cygwin/cron.README.
Use this information exclusively for configuring a working 'cron' on
Cygwin if you want support from this list on your installation.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: sshd: can't mount samba shares (update)

2007-03-02 Thread David Abrahams
David Abrahams <[EMAIL PROTECTED]> writes:

> I have a Windows XP64 and XP (32-bit) virtual machine running on the
> same actual hardware, both with a cygwin installation, running sshd.
> When I ssh into the XP64 machine and issue
>
>   net use s: machine-name\\share-name password /USER:username
>
> it works just fine, but not on the 32-bit XP machine:
>
>   System error 5 has occurred.
>
>   Access is denied.
>
> The only difference I can see is that on the XP64 machine, the user
> that runs the sshd service is ".\sshd_server" whereas it's the local
> system user on the XP32 machine.  I accepted (at least I think so) the
> offer of privilege separation in both installations.

Rejecting privilege separation on the XP32 machine doesn't help.
After restoring privilege separation, I can mount the shares for
cygwin using "mount", but still can't make it available to native
Win32 tools with "net use."

Again, any help appreciated.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



sshd: can't mount samba shares

2007-03-02 Thread David Abrahams

I have a Windows XP64 and XP (32-bit) virtual machine running on the
same actual hardware, both with a cygwin installation, running sshd.
When I ssh into the XP64 machine and issue

  net use s: machine-name\\share-name password /USER:username

it works just fine, but not on the 32-bit XP machine:

  System error 5 has occurred.

  Access is denied.

The only difference I can see is that on the XP64 machine, the user
that runs the sshd service is ".\sshd_server" whereas it's the local
system user on the XP32 machine.  I accepted (at least I think so) the
offer of privilege separation in both installations.

Can anyone offer a clue?

Many thanks in advance,
Dave

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Cron Guidance

2007-03-02 Thread robert_neville310
Please let know if any guide exist for setting up the cron on Cygwin
under Windows XP. I really need a primer with examples and a guide on
tools editing the cron. My Google search gave me the start, yet I am
hoping for some tips on best practices. In addition, I need to
configure Cygwin with the cron functionality and the tools for editing
cron commands. So far, my research discovered that cron editing tools
include  lynx, curl, and crontab, which are not currently part of my
Cygwin installation. I am hoping for a better guide before running
cygwin setup and missing some key dependencies.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: pmap doesn't work; reason?

2007-03-02 Thread Igor Peshansky
On Fri, 2 Mar 2007, LDR wrote:

> not a critical command, to be sure.
>
> For each try of a process ID, it spits back:
>
> Bad system call

Hard to know with so little information, but as a WAG:
does 
help?
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Freedom is just another word for "nothing left to lose"...  -- Janis Joplin

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



pmap doesn't work; reason?

2007-03-02 Thread LDR
not a critical command, to be sure.

For each try of a process ID, it spits back:

Bad system call

Lee

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Win2k + Cygwin + Rsync + OpenSSH = hang

2007-03-02 Thread DePriest, Jason R.

On 3/2/07, Justin Zipperle  wrote:

I've tested pulling from other Linux servers and rsync still hangs.  I
have also been unable to push from the Windows server to any Linux
server - rsync on the Windows box hangs.  Since all of these Linux
machines work fine rsyncing to and from other Linux machines, I'm
confident that the problem is with rsync on the Windows machine.

Can anyone help with this?

Thanks!
-Justin



Does this help? http://cygwin.com/ml/cygwin/2007-02/msg00643.html

-Jason

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: /dev/null timing and clock skew problems

2007-03-02 Thread Aaron Gray

Aaron Gray writes:

> The code for this is available in standard Make, but it isn't enabled 
> in
> the current build on Cygwin. (The code can be found in remake.c, at 
> line

> 1277. It's currently enabled if WINDOWS32 or __MSDOS__ is defined.)

Is this just the three second clearance or something more substantial 
that

will guarentee builds ?


The #if statement starting on that line is just for the three second 
clearance.

I use it on a local build of Make and it seems to work well.


The " has modification time 0.0096 s in the future" were harmless.

But the "Clock skew detected.  Your build may be incomplete." can possibly 
indicate an incomplete build.
This seems to be a problem on my slower machine XP, but not on my newer 
Vista one.


Were you getting clock skew problems too ?

I have not had time and head space to build make yet, I'll try it in the 
morning.


Many thanks for the reply,

Aaron


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Help with ATLAS

2007-03-02 Thread Ignazio Di Napoli

René Berber wrote:

Looks like a problem with linking static libraries, g++ looks for dynamic
libraries unless you do:

g++ -static -g -O2 -L/usr/local/atlas/lib/ -o linprog.exe main.o matrix.o
vector.o lipsol.o myexception.o matrix-io.o matrix-cmp.o matrix-ops.o
matrix-pos.o matrix-fun.o matrix-lna.o matrix-stb.o sparsematrix.o -llapack
-lcblas -lf77blas -latlas


THANK YOU SO MUCH!!! It works!

Ignazio


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: garbage in man output

2007-03-02 Thread Andrew Schulman
> On 3/1/2007 3:13 PM, Andrew Schulman wrote:
> > ...man pages are all coming out with formatting commands
> > rendered as garbage text.  For example, the output of 'man ls' starts out
> > with
> >
> > ESC[1mNAMEESC[0m
> >ls - list directory contents
> >
> > where the 'ESC' strings are rendered in inverse video.  The first line is
> > supposed to render 'NAME' in bold face.  
> >   
> See http://sourceware.org/ml/cygwin/2006-11/msg00745.html .  The 
> solution there worked for me.

Thanks-- that works.  Much obliged.
Andrew.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: Difference Between CYGIPC And CYGServer

2007-03-02 Thread Gary R. Van Sickle
> From: Corinna Vinschen
> Sent: Friday, March 02, 2007 2:01 PM
> Subject: Re: Difference Between CYGIPC And CYGServer
> 
> On Mar  2 12:54, Charles Wilson wrote:
> >  (In cygwin-1.7.0+, cygserver will also implement POSIX-compliant 
> > shared memory objects and message queues).
> 
> Even better.  POSIX shared memory objects and message queues 
> are both implemented using file backed sharead memory which 
> works without help of cygserver.
>

Swt.

-- 
Gary R. Van Sickle


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: One happy screen user

2007-03-02 Thread Thorsten Kampe
* Frank Fesevur (Fri, 02 Mar 2007 00:32:28 +0100)
> I am using the screen test package Andrew Schulman mentioned here some 2 
> weeks ago. And so far it works great for me. 
> http://cygwin.com/ml/cygwin/2007-02/msg00446.html
> 
> Andrew, thanks for your work. Again, I'm not experiencing any problems 
> with this build. Please consider trying to make it an official cygwin 
> package.

But only after he resolved the issue I reported ;) :

http://cygwin.com/ml/cygwin/2007-02/msg00465.html


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Win2k + Cygwin + Rsync + OpenSSH = hang

2007-03-02 Thread Justin Zipperle
I've tested pulling from other Linux servers and rsync still hangs.  I 
have also been unable to push from the Windows server to any Linux 
server - rsync on the Windows box hangs.  Since all of these Linux 
machines work fine rsyncing to and from other Linux machines, I'm 
confident that the problem is with rsync on the Windows machine.


Can anyone help with this?

Thanks!
-Justin


On 2/15/2007 5:05 PM, Justin Zipperle wrote:
For the time being I've setup my Win2k server to push data to my Linux 
server, and I've noticed some more troubling behavior that hopefully 
will help narrow down the cause.


If I use the -vv option and there are more than 10,000 files to 
compare, before it starts transferring it dies with:


Read from remote host {my.linux.server}: Connection reset by peer
rsync: connection unexpectedly closed (8 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at 
io.c(453) [sender=2.6.9]


On the remote (Linux) side, rsync is still running and I have to kill 
it manually:


28422 ?  Ss  0:00 sshd: [EMAIL PROTECTED]
28427 ?  Ss  0:00 rsync --server -vvlogDtpr --partial . /remotedir/

If I have less than 10,000 files, it runs okay with -vv.  I've also 
noticed that this sometimes happens when using the -z option, though 
not always.  It does not appear to crash with -v.  I wonder if it has 
to do with the size of files being transferred...


I'm going to try this against another server shortly and see if the 
same things happen.


-Justin


Frank Fesevur wrote:

At 14-2-2007 14:48, Justin Zipperle wrote:
 > I'm trying to pull data from a Windows 2000 Server to a Debian Linux
 > server using rsync over ssh.  If I initiate the transfer from 
Linux it hangs when transferring data, though it works when I push it 
from the Windows server.  This appears to be a known issue.

 >
 > In August 2006, Darryl Miles wrote to this list "I am actively 
working
 > on a solution, but at current work rate it maybe a few weeks to a 
month

 > before any preliminary patch will be posted here."
 >
 > Does anyone know of a fix for this problem?  I'm using Cygwin 
1.5.24, Rsync 2.6.9, and OpenSSH 4.5p1.


I have asked a similar question last December and no reply to that 
one either. 


It seems that Darryl didn't have the time anymore to solve this, or 
he was too much worried after the whole legal discussion that 
followed his post that he decided not to do it at all. Which would be 
a pity, because I have no clue how to fix it myself.


Regards,
Frank



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Cygwin speed

2007-03-02 Thread Thorsten Kampe
* Brian Dessent (Fri, 02 Mar 2007 11:11:54 -0800)
> Vinod Gupta wrote:
>> Cygwin was a slow by a factor of 3x. Is that normal?
> 
> Yes.

Actually no. The standard approximate guess is a factor of two which 
corresponds to Vinod's testings.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Difference Between CYGIPC And CYGServer

2007-03-02 Thread Corinna Vinschen
On Mar  2 12:54, Charles Wilson wrote:
>  (In cygwin-1.7.0+, cygserver will also implement 
> POSIX-compliant shared memory objects and message queues).

Even better.  POSIX shared memory objects and message queues are both
implemented using file backed sharead memory which works without help of
cygserver.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Strange message from updatedb

2007-03-02 Thread Phil Edwards

I'll need more details if you expect me to help resolve that crash.  A
stackdump is nearly useless without compiled symbols to go along it - what
was your exact command line?  What version of find?


It wasn't meant to be a bug report for find(1), just a note of why I'd
stopped investigating it.  I don't know why I pasted the stacktrace.  Old
habits, I guess.

Here's the minimum command line which shows the original problem of trying
directories which should be pruned (taken from updatedb output originally):

% /usr/bin/find /cygdrive/c -regex
'/cygdrive/c/System.Volume.Information' -prune -o -print > test
/usr/bin/find: could not change to directory /cygdrive/c/System Volume
Information: Permission denied

Shorter regexps, like '/cygdrive/c/Sys.*', also fail to match.

Adding -D tree causes the segfault (and doesn't show helpful information for
this problem anyhow, it turns out):
% /usr/bin/find -D tree /cyg

It's findutils 4.3.2, the latest available cygwin package.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: garbage in man output

2007-03-02 Thread Ken Brown

On 3/1/2007 3:13 PM, Andrew Schulman wrote:

...man pages are all coming out with formatting commands
rendered as garbage text.  For example, the output of 'man ls' starts out
with

ESC[1mNAMEESC[0m
   ls - list directory contents

where the 'ESC' strings are rendered in inverse video.  The first line is
supposed to render 'NAME' in bold face.  


All of my man pages are so full of this stuff as to be close to unreadable.
Can someone tell me what's causing it, and how I can fix it?
  
See http://sourceware.org/ml/cygwin/2006-11/msg00745.html .  The 
solution there worked for me.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Problems with ssh-host-config using cyginw installed on samba share

2007-03-02 Thread Larry Hall (Cygwin)

On 03/02/2007, David Abrahams wrote:
Hmm, now I'm really wondering whether this is a lost cause, since when you 
log in the network shares aren't available until you "net use" them... now 
that I have everything working on C:\ the experimentation will have to wait 
until I get some free time. 


Sure.  All the caveats about accessing network shares from services apply
for cygwin 1.5.x.  With appropriate incantations, you can remove this
restriction with cygwin 1.7, currently available in a snapshot near you. ;-)

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Help with ATLAS

2007-03-02 Thread René Berber
Ignazio Di Napoli wrote:

>> nm /usr/local/atlas/lib/libcblas.a | grep cblas_dgemm
> cblas_dgemm.o:  T _cblas_dgemm
> 
> Another note: if I add 'extern "C" {...}' around #include , the 
> error becomes: undefined reference to _cblas_dgemm, which is exacty the 
> symbol in the output.

Looks like a problem with linking static libraries, g++ looks for dynamic
libraries unless you do:

g++ -static -g -O2 -L/usr/local/atlas/lib/ -o linprog.exe main.o matrix.o
vector.o lipsol.o myexception.o matrix-io.o matrix-cmp.o matrix-ops.o
matrix-pos.o matrix-fun.o matrix-lna.o matrix-stb.o sparsematrix.o -llapack
-lcblas -lf77blas -latlas
-- 
René Berber


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Cygwin speed

2007-03-02 Thread Brian Dessent
Vinod Gupta wrote:

> Cygwin was a slow by a factor of 3x. Is that normal?

Yes.  Emulation of POSIX functions which do not exist on Windows is
expensive.  Fork is especially bad, which is all you're really testing
there.

Brian

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: script problem

2007-03-02 Thread Frank Fesevur

At 2-3-2007 17:27, Asher Vilensky wrote:

Any other rxvt tips would be appreciated.


Create/edit the .Xdefaults file to do your settings and not command line 
options. When you use the chere or other things that start rxvt you will 
always have the same rxvt appearance.


Regards,
Frank


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Help with ATLAS

2007-03-02 Thread Ignazio Di Napoli

René Berber wrote:

Same exact error message?


Yes.


nm /usr/local/atlas/lib/libcblas.a | grep cblas_dgemm

cblas_dgemm.o:
 T _cblas_dgemm

Another note: if I add 'extern "C" {...}' around #include , the 
error becomes: undefined reference to _cblas_dgemm, which is exacty the 
symbol in the output.


Thank you,
Ignazio


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Difference Between CYGIPC And CYGServer

2007-03-02 Thread Igor Peshansky
On Fri, 2 Mar 2007, Charles Wilson wrote:

> neo napster wrote:
> > I have a few queries regarding cygserver and cygipc. what will be the
> > impact to move from cygipc to cygserver? I have some systems programs
> > which make calls to the CYGIPC, since these programs are coded long
> > back.
> >
> > Can you please give us an idea of the things that need to be done to
> > move from cygipc to cygserver. Our programs are coded in C.
>
> Both provide (some) of the standard IPC calls.  Both cygipc and
> cygserver implement the BSD interfaces for shared memory, semaphores,
> and message queues. (In cygwin-1.7.0+, cygserver will also implement
> POSIX-compliant shared memory objects and message queues).
>
> cygipc is practically unmaintained -- and the code quality is, er, less
> than ideal.  cygserver is actively maintained and coded to a much higher
> standard.
>
> Since both, today, implement the same BSD-derived interface[see (4),
> below], to move from one to the other, you should simply
>
> (1) stop using -I/usr/include/cygipc in your build
> (1) stop using -lcygipc2 in your build
> (3) don't run ipc-daemon2.exe; instead, run /usr/bin/cygserver-config
> and follow the instructions.
> (4) remove calls to
>   cygipc_set_err_handler
>   cygipc_get_err_handler
>   cygipc_set_debug
>   cygipc_get_debug
>   cygipc_tracing_enabled
>cygserver uses Win32 event logging for error and debug handling, so
>these hacks provided by cygipc are unnecessary.

It seems that this information (verbatim) would be very useful in
cygserver.README (or some other document in /usr/share/doc/cygserver).
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Freedom is just another word for "nothing left to lose"...  -- Janis Joplin

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Cygwin speed

2007-03-02 Thread Vinod Gupta

I ran the following loop under bash on three different machines:

i=100
while [ $i -gt 0 ]; do
 j=$(((i/3+i*3)**3))
 i=$((i-1))
done

Here is how long it took:

CPU   OSTime (secs)
---     --
P4/3.2GHz Linux RHEL4  41
Core Duo/2.2GHz   Mac OSX 10.4 43
Core Duo/2.4GHz   WinXP+Cygwin107

Cygwin was a slow by a factor of 3x. Is that normal?

Vinod


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: script problem

2007-03-02 Thread Matt Wozniski

On 3/2/07, Gary R. Van Sickle wrote:

Actually the advantages tend to go the other way at this point.  The Cygwin
non-X rxvt is no longer being actively maintained upstream.  rxvt-unicode is
being actively maintained both upstream and here in Cygwinton.  It looks
nicer (fonts appear to get antialising), there's bugfixes (though I've only
ever run into one minor bug on the non-X rxvt), and has some Unicode/UTF-8
support if that's important to you.


And, xterm has extremely good unicode support.  If unicode support is
important to you, then right now xterm provides more support than the
cygwin rxvt-unicode.

~Matt

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Help with ATLAS

2007-03-02 Thread René Berber
Ignazio Di Napoli wrote:

> René Berber wrote:
>> Never put libraries first.
> 
> Doesn't help...

Same exact error message?

>> g++ -g -O2 -L/usr/local/atlas/lib/ -o linprog.exe main.o matrix.o
>> vector.o lipsol.o myexception.o matrix-io.o matrix-cmp.o matrix-ops.o 
>> matrix-pos.o
>> matrix-fun.o matrix-lna.o matrix-stb.o sparsematrix.o -llapack -lcblas
>> -lf77blas -latlas

Do this to test the library:

nm /usr/local/atlas/lib/libcblas.a | grep cblas_dgemm

is the function defined?
-- 
René Berber


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: script problem

2007-03-02 Thread Gary R. Van Sickle
> From: Marco Atzeri
> Sent: Friday, March 02, 2007 9:05 AM
> Subject: Re: script problem
> 
> 
> --- Asher Vilensky 
> 
> > Thanks for the kind advice.  I indeed installed rxvt.  I've noticed 
> > that  rxvt does not save me much memory over XWin.
> > Approx 10MB (rxvt)
> > over 20MB (XWin).  No biggie.  Are there any other 
> advantages of using 
> > rxvt over XWin?  If so, what are they?
> > 
> 
> 20Mb less.
> Because   Xterm+Xwin (Xterm need Xwin) 30MB
> RXVT alone less than 10MB 
> 
>  

rxvt-unicode (one instance) + Xming comes out to ~20MB total, ~6MB for urxvt
and ~14MB for Xming.

-- 
Gary R. Van Sickle
 


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: script problem

2007-03-02 Thread Gary R. Van Sickle
> From: Asher Vilensky
> Sent: Friday, March 02, 2007 7:32 AM
> Subject: Re: script problem
> 
> Thanks for the kind advice.  I indeed installed rxvt.  I've 
> noticed that  rxvt does not save me much memory over XWin.  
> Approx 10MB (rxvt) over 20MB (XWin).  No biggie.  Are there 
> any other advantages of using rxvt over XWin?  If so, what are they?
> 

Actually the advantages tend to go the other way at this point.  The Cygwin
non-X rxvt is no longer being actively maintained upstream.  rxvt-unicode is
being actively maintained both upstream and here in Cygwinton.  It looks
nicer (fonts appear to get antialising), there's bugfixes (though I've only
ever run into one minor bug on the non-X rxvt), and has some Unicode/UTF-8
support if that's important to you.

I recently switched over to rxvt-unicode completely, after being a longtime
non-X rxvt user.  The only downside to the switch that I've experienced is
that my interactive shells take quite a bit longer to come up, but I think
that may have something to do with my setup rather than something intrinsic
to the rxvt-unicode+Xserver setup.  My usage pattern is such (start one or
two interactive shells and leave them up all day) that it's not an issue for
me.

> BTW, nobody has yet to suggest a solution to my original 
> problems - XWin won't die during Windows shutdown.

Try Xming as your X server instead, I've never seen this problem with it.

-- 
Gary R. Van Sickle
 


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Help with ATLAS

2007-03-02 Thread Ignazio Di Napoli

René Berber wrote:

Never put libraries first.


Doesn't help...



g++ -g -O2 -L/usr/local/atlas/lib/ -o linprog.exe main.o matrix.o vector.o
lipsol.o myexception.o matrix-io.o matrix-cmp.o matrix-ops.o matrix-pos.o
matrix-fun.o matrix-lna.o matrix-stb.o sparsematrix.o -llapack -lcblas -lf77blas
-latlas

The order could be also a problem.


I used the documentation order.


Thank you,
Ignazio


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Ambiguous error from ./configure

2007-03-02 Thread Forrest Aldrich

Here is the output from cygcheck.


Thank you,

Forrest



Cygwin Configuration Diagnostics
Current System Time: Fri Mar 02 12:45:36 2007

Windows XP Professional Ver 5.1
Build 2600 Service Pack 2

Path:   C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
c:\Program Files\PC-Doctor for Windows\

c:\Program Files\IBM ThinkVantage\Client Security Solution
c:\Program Files\ClientPack\
c:\Program Files\Diskeeper Corporation\Diskeeper\
c:\Program Files\QuickTime\QTSystem\
c:\PROGRA~1\SecureFX


Output from C:\cygwin\bin\id.exe (nontsec)
UID: 1005(Forrest Aldrich) GID: 513(None)
0(root)513(None)
544(Administrators)545(Users)
1009(SophosAdministrator)  1007(SophosUser)


Output from C:\cygwin\bin\id.exe (ntsec)
UID: 1005(Forrest Aldrich) GID: 513(None)
0(root)513(None)
544(Administrators)545(Users)
1009(SophosAdministrator)  1007(SophosUser)


SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS

USER = 'Forrest Aldrich'
PWD = '/home/Forrest Aldrich'
HOME = '/home/Forrest Aldrich'
MAKE_MODE = 'unix'

HOMEPATH = '\Documents and Settings\Forrest Aldrich'

MANPATH = '/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man'
APPDATA = 'C:\Documents and Settings\Forrest Aldrich\Application Data'
HOSTNAME = 'MONSTER'
RR = 'C:\Program Files\IBM ThinkVantage\Rescue and Recovery'

TERM = 'cygwin'
PROCESSOR_IDENTIFIER = 'x86 Family 15 Model 4 Stepping 7, GenuineIntel'
WINDIR = 'C:\WINDOWS'
TVTPYDIR = 'C:\Program Files\IBM ThinkVantage\Common\Python24'

TVT = 'C:\Program Files\IBM ThinkVantage'
OLDPWD = '/usr/bin'
USERDOMAIN = 'MONSTER'
OS = 'Windows_NT'
ALLUSERSPROFILE = 'C:\Documents and Settings\All Users'
!:: = '::\'

TEMP = '/cygdrive/c/DOCUME~1/FORRES~1/LOCALS~1/Temp'
COMMONPROGRAMFILES = 'C:\Program Files\Common Files'
QTJAVA = 'C:\Program Files\Java\jre1.5.0_10\lib\ext\QTJava.zip'
USERNAME = 'Forrest Aldrich'

PROCESSOR_LEVEL = '15'
FP_NO_HOST_CHECK = 'NO'
SYSTEMDRIVE = 'C:'
USERPROFILE = 'C:\Documents and Settings\Forrest Aldrich'
CLIENTNAME = 'Console'
PS1 = '\[\e]0;[EMAIL PROTECTED] \[\e[33m\]\w\[\e[0m\]\n\$ '

LOGONSERVER = '\\MONSTER'
PROCESSOR_ARCHITECTURE = 'x86'
!C: = 'C:\cygwin\bin'
SHLVL = '1'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
HOMEDRIVE = 'C:'

PROMPT = '$P$G'
COMSPEC = 'C:\WINDOWS\system32\cmd.exe'
TMP = '/cygdrive/c/DOCUME~1/FORRES~1/LOCALS~1/Temp'
SYSTEMROOT = 'C:\WINDOWS'
IBMSHARE = 'C:\IBMSHARE'
PRINTER = 'Auto HP LaserJet 2100 PCL6 on GIZMO'

CVS_RSH = '/bin/ssh'
PROCESSOR_REVISION = '0407'
CLASSPATH = '.;C:\Program Files\Java\jre1.5.0_10\lib\ext\QTJava.zip'
INFOPATH = '/usr/local/info:/usr/share/info:/usr/info:'

PROGRAMFILES = 'C:\Program Files'
NUMBER_OF_PROCESSORS = '2'
SESSIONNAME = 'Console'
COMPUTERNAME = 'MONSTER'
SONICCENTRAL = 'c:\Program Files\Common Files\Sonic Shared\Sonic Central\'

_ = '/usr/bin/cygcheck'
POSIXLY_CORRECT = '1'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2

HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2

 (default) = '/cygdrive'
 cygdrive flags = 0x0022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
 (default) = 'C:\cygwin'
 flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin

 (default) = 'C:\cygwin/bin'
 flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
 (default) = 'C:\cygwin/lib'
 flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options


a:  fd N/AN/A
c:  hd  NTFS148836Mb  12% CP CS UN PA FC MONSTER
d:  cd N/AN/A
g:  hd  NTFS476945Mb   2% CP CS UN PA FC LACIE


C:\cygwin  /  system  binmode
C:\cygwin/bin  /usr/bin   system  binmode
C:\cygwin/lib  /usr/lib   system  binmode
.  /cygdrive  system  binmode,cygdrive

Found: C:\cygwin\bin\awk.exe

Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cp.exe
Found: C:\cygwin\bin\cpp.exe
Not Found: crontab
Found: C:\cygwin\bin\find.exe
Found: C:\cygwin\bin\gcc.exe
Not Found: gdb

Found: C:\cygwin\bin\grep.exe
Found: C:\cygwin\bin\kill.exe
Found: C:\cygwin\bin\ld.exe
Found: C:\cygwin\bin\ls.exe
Found: C:\cygwin\bin\make.exe
Found: C:\cygwin\bin\mv.exe
Found: C:\cygwin\bin\patch.exe

Found: C:\cygwin\bin\perl.exe
Found: C:\cygwin\bin\rm.exe
Found: C:\cygwin\bin\sed.exe
Found: C:\cygwin\bin\ssh.exe
Found: C:\cygwin\bin\sh.exe
Found: C:\cygwin\bin\tar.exe
Found: C:\cygwin\bin\test.exe

Not Found: vi
Found: C:\cygwin\bin\vim.exe

 103k 2006/06/05 C:\cygwin\bin\cygapr-1-0.dl

RE: script problem

2007-03-02 Thread Stepp, Charles
 
rxvt -menu terminal.menu --backspacekey ' -fg $FG -bg $BG -geometry "$G"
-ls -sb -sl 5000 -sr -cr red -si +sk -sw -ipf -pr green -fn 8x13bold &

Charles Stepp
Oracle DBA
"Dumb it down..."
 -- Pernice Brothers

-Original Message-
From: Asher Vilensky [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 02, 2007 11:28 AM
To: Marco Atzeri; cygwin@cygwin.com
Subject: Re: script problem

Ok, good point.  You convinced me.  Gone is X.  
One annoying thing I've noticed is that the backspace button doesn't
work in vi.  It produces '^?' character.  Can somebody remind me how to
set this right in .vimrc or whatever?  I've been away from Unix/Linux
for a while.
Any other rxvt tips would be appreciated.

Thanks.


--- Marco Atzeri <[EMAIL PROTECTED]> wrote:

> 
> --- Asher Vilensky <[EMAIL PROTECTED]> ha scritto:
> 
> > Thanks for the kind advice.  I indeed installed
> > rxvt.  I've noticed
> > that  rxvt does not save me much memory over XWin. 
> > Approx 10MB (rxvt)
> > over 20MB (XWin).  No biggie.  Are there any other
> > advantages of using
> > rxvt over XWin?  If so, what are they?
> > 
> 
> 20Mb less.
> Because   Xterm+Xwin (Xterm need Xwin) 30MB
> RXVT alone less than 10MB 
> 
>  
>  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND 
>  
>  8728  13m  128 R  0.0  2.6   0:01.87 XWin
>   
>  4316 6100   60 S  0.0  1.2   0:00.11 xterm   
>   
>  2800 4452   84 S  0.0  0.9   0:00.12 rxvt
>   
>  2792 3808   92 S  0.0  0.7   0:00.13 bash
>   
>  2732 3448   44 S  0.0  0.7   0:00.04 bash
>   
>  2556 3292   60 S  0.3  0.6   0:03.17 rxvt
>   
> 
> 
> 
>   
> 
>   
>   
> ___ 
> L'email della prossima generazione? Puoi averla con la nuova Yahoo!
> Mail: 
> http://it.docs.yahoo.com/nowyoucan.html
> 
> --
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:   http://cygwin.com/problems.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/
> 
> 



 


Food fight? Enjoy some healthy debate 
in the Yahoo! Answers Food & Drink Q&A.
http://answers.yahoo.com/dir/?link=list&sid=396545367

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Help with ATLAS

2007-03-02 Thread René Berber
Ignazio Di Napoli wrote:
[snip]
> g++  -g -O2  -L/usr/local/atlas/lib/ -llapack -lcblas -lf77blas -latlas
>  -o linprog.exe main.o matrix.o vector.o lipsol.o myexception.o
> matrix-io.o matrix-cmp.o matrix-ops.o matrix-pos.o matrix-fun.o
> matrix-lna.o matrix-stb.o sparsematrix.o
> 
> I get:
> 
> matrix-ops.o: In function `_ZNK6MatrixmlERKS_':
> /tesi/Progetto.min/build/src/../../src/matrix.h:175: undefined reference
> to `cblas_dgemm(CBLAS_ORDER, CBLAS_TRANSPOSE, CBLAS_TRANSPOSE, int, int,
> int, double, double const*, int, double const*, int, double, double*, int)'

Never put libraries first.

g++ -g -O2 -L/usr/local/atlas/lib/ -o linprog.exe main.o matrix.o vector.o
lipsol.o myexception.o matrix-io.o matrix-cmp.o matrix-ops.o matrix-pos.o
matrix-fun.o matrix-lna.o matrix-stb.o sparsematrix.o -llapack -lcblas -lf77blas
-latlas

The order could be also a problem.
-- 
René Berber


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Problems with ssh-host-config using cyginw installed on samba share

2007-03-02 Thread Matthew Woehlke

David Abrahams wrote:

"Larry Hall (Cygwin)" <[EMAIL PROTECTED]> writes:
My WAG 


WAG?  Oh  I can "guess" what that means ;-)


Hmm... Feral Donkey Conjecture? Oh, wait, that's an FDC. :-)

--
Matthew
"Have you tried that new mixed drink, 'GDR'"?
"What is it?"
"Gin, Duck and Rum. It tastes fowl."


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Difference Between CYGIPC And CYGServer

2007-03-02 Thread Charles Wilson

neo napster wrote:
I have a few queries regarding cygserver and cygipc. 
what will be the impact to move from cygipc to cygserver? 
I have some systems programs which make calls to the CYGIPC, 
since these programs are coded long back.


Can you please give us an idea of the things that need to be done 
to move from cygipc to cygserver. Our programs are coded in C.


Both provide (some) of the standard IPC calls.  Both cygipc and 
cygserver implement the BSD interfaces for shared memory, semaphores, 
and message queues. (In cygwin-1.7.0+, cygserver will also implement 
POSIX-compliant shared memory objects and message queues).


cygipc is practically unmaintained -- and the code quality is, er, less 
than ideal.  cygserver is actively maintained and coded to a much higher 
standard.


Since both, today, implement the same BSD-derived interface[see (4), 
below], to move from one to the other, you should simply


(1) stop using -I/usr/include/cygipc in your build
(1) stop using -lcygipc2 in your build
(3) don't run ipc-daemon2.exe; instead, run /usr/bin/cygserver-config 
and follow the instructions.

(4) remove calls to
  cygipc_set_err_handler
  cygipc_get_err_handler
  cygipc_set_debug
  cygipc_get_debug
  cygipc_tracing_enabled
   cygserver uses Win32 event logging for error and debug handling, so
   these hacks provided by cygipc are unnecessary.

--
Chuck

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: script problem

2007-03-02 Thread DePriest, Jason R.

On 3/2/07, Asher Vilensky  wrote:

Thanks.  These were already set in .vimrc.  And, they don't work in
rxvt, but do work in an xterm.  :-(

Meanwhile, I found out I ***have to*** use XWin since I'm displaying X
applications on my XP.  So I'm back to the very original question:

How to automatically kill XWin.exe when WIndows shutdown?



Try the suggestion here:
http://www.windowsnetworking.com/kbase/WindowsTips/WindowsXP/RegistryTips/Miscellaneous/WhenWindowsWontShutDown.html

That should auto-kill processes instead of asking you to do it.

-Jason

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: script problem

2007-03-02 Thread Asher Vilensky
Thanks.  These were already set in .vimrc.  And, they don't work in
rxvt, but do work in an xterm.  :-(

Meanwhile, I found out I ***have to*** use XWin since I'm displaying X
applications on my XP.  So I'm back to the very original question:

How to automatically kill XWin.exe when WIndows shutdown?



--- "DePriest, Jason R." <[EMAIL PROTECTED]> wrote:

> On 3/2/07, Asher Vilensky  wrote:
> > Ok, good point.  You convinced me.  Gone is X.
> > One annoying thing I've noticed is that the backspace button
> doesn't
> > work in vi.  It produces '^?' character.  Can somebody remind me
> how to
> > set this right in .vimrc or whatever?  I've been away from
> Unix/Linux
> > for a while.
> > Any other rxvt tips would be appreciated.
> >
> > Thanks.
> >
> 
> check your /usr/share/vim/vimrc file for these:
> 
> set nocompatible" Use Vim defaults instead of 100% vi
> compatibility
> set backspace=indent,eol,start  " more powerful backspacing
> 
> or just stick a .vimrc in your home directory with these two lines
> 
> That might help.
> 
> -Jason
> 
> --
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:   http://cygwin.com/problems.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/
> 
> 



 

Sucker-punch spam with award-winning protection. 
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Problems with ssh-host-config using cyginw installed on samba share

2007-03-02 Thread David Abrahams
"Larry Hall (Cygwin)" <[EMAIL PROTECTED]> writes:

> David Abrahams wrote:
>> I installed my Cygwin on a samba share and found that ssh-host-config
>> didn't work.  Specifically, I got the message "/usr/bin/awk: No such
>> file or directory".  Yes, I had awk installed and available at
>> /usr/bin/awk.  It was even a binary and not a symlink.
>>
>> I tried reinstalling twice.  Then I finally wiped that installation
>> and installed to C:\cygwin; everything works now.
>>
>> Can anyone tell me how to fix the problem, or, failing that, is there
>> a way to seamlessly relocate my cygwin to the network share?
>
>
> My WAG 

WAG?  Oh  I can "guess" what that means ;-)

> based on available information is smbntsec.  See the User's Guide:
>
> 

Thanks.

Hmm, now I'm really wondering whether this is a lost cause, since when
you log in the network shares aren't available until you "net use"
them... now that I have everything working on C:\ the experimentation
will have to wait until I get some free time.

Thanks again,

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: script problem

2007-03-02 Thread DePriest, Jason R.

On 3/2/07, DePriest, Jason R. wrote:

On 3/2/07, Asher Vilensky  wrote:
> Ok, good point.  You convinced me.  Gone is X.
> One annoying thing I've noticed is that the backspace button doesn't
> work in vi.  It produces '^?' character.  Can somebody remind me how to
> set this right in .vimrc or whatever?  I've been away from Unix/Linux
> for a while.
> Any other rxvt tips would be appreciated.
>
> Thanks.
>

check your /usr/share/vim/vimrc file for these:

set nocompatible" Use Vim defaults instead of 100% vi compatibility
set backspace=indent,eol,start  " more powerful backspacing

or just stick a .vimrc in your home directory with these two lines

That might help.

-Jason



Forgot something.  You probably don't have a /usr/share/vim/vimrc file.

Do this to get a .vimrc file in your home directory:

cp /usr/share/vim/vim70/vimrc_example.vim ~/.vimrc

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: script problem

2007-03-02 Thread DePriest, Jason R.

On 3/2/07, Asher Vilensky  wrote:

Ok, good point.  You convinced me.  Gone is X.
One annoying thing I've noticed is that the backspace button doesn't
work in vi.  It produces '^?' character.  Can somebody remind me how to
set this right in .vimrc or whatever?  I've been away from Unix/Linux
for a while.
Any other rxvt tips would be appreciated.

Thanks.



check your /usr/share/vim/vimrc file for these:

set nocompatible" Use Vim defaults instead of 100% vi compatibility
set backspace=indent,eol,start  " more powerful backspacing

or just stick a .vimrc in your home directory with these two lines

That might help.

-Jason

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: script problem

2007-03-02 Thread Matthew Woehlke

Asher Vilensky wrote:

One annoying thing I've noticed is that the backspace button doesn't
work in vi.  It produces '^?' character.  Can somebody remind me how to
set this right in .vimrc or whatever?  I've been away from Unix/Linux
for a while.


My first guess would be 'stty erase'. Failing that, this is a Vim 
question and should be sent to a Vim mailing list. :-)


--
Matthew
"Have you tried that new mixed drink, 'GDR'"?
"What is it?"
"Gin, Duck and Rum. It tastes fowl."


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: script problem

2007-03-02 Thread Asher Vilensky
Ok, good point.  You convinced me.  Gone is X.  
One annoying thing I've noticed is that the backspace button doesn't
work in vi.  It produces '^?' character.  Can somebody remind me how to
set this right in .vimrc or whatever?  I've been away from Unix/Linux
for a while.
Any other rxvt tips would be appreciated.

Thanks.


--- Marco Atzeri <[EMAIL PROTECTED]> wrote:

> 
> --- Asher Vilensky <[EMAIL PROTECTED]> ha scritto:
> 
> > Thanks for the kind advice.  I indeed installed
> > rxvt.  I've noticed
> > that  rxvt does not save me much memory over XWin. 
> > Approx 10MB (rxvt)
> > over 20MB (XWin).  No biggie.  Are there any other
> > advantages of using
> > rxvt over XWin?  If so, what are they?
> > 
> 
> 20Mb less.
> Because   Xterm+Xwin (Xterm need Xwin) 30MB
> RXVT alone less than 10MB 
> 
>  
>  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND 
>  
>  8728  13m  128 R  0.0  2.6   0:01.87 XWin
>   
>  4316 6100   60 S  0.0  1.2   0:00.11 xterm   
>   
>  2800 4452   84 S  0.0  0.9   0:00.12 rxvt
>   
>  2792 3808   92 S  0.0  0.7   0:00.13 bash
>   
>  2732 3448   44 S  0.0  0.7   0:00.04 bash
>   
>  2556 3292   60 S  0.3  0.6   0:03.17 rxvt
>   
> 
> 
> 
>   
> 
>   
>   
> ___ 
> L'email della prossima generazione? Puoi averla con la nuova Yahoo!
> Mail: 
> http://it.docs.yahoo.com/nowyoucan.html
> 
> --
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:   http://cygwin.com/problems.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/
> 
> 



 

Food fight? Enjoy some healthy debate 
in the Yahoo! Answers Food & Drink Q&A.
http://answers.yahoo.com/dir/?link=list&sid=396545367

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: script problem

2007-03-02 Thread Marco Atzeri

--- Asher Vilensky <[EMAIL PROTECTED]> ha scritto:

> Thanks for the kind advice.  I indeed installed
> rxvt.  I've noticed
> that  rxvt does not save me much memory over XWin. 
> Approx 10MB (rxvt)
> over 20MB (XWin).  No biggie.  Are there any other
> advantages of using
> rxvt over XWin?  If so, what are they?
> 

20Mb less.
Because   Xterm+Xwin (Xterm need Xwin) 30MB
RXVT alone less than 10MB 

 
 VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND 
 
 8728  13m  128 R  0.0  2.6   0:01.87 XWin
  
 4316 6100   60 S  0.0  1.2   0:00.11 xterm   
  
 2800 4452   84 S  0.0  0.9   0:00.12 rxvt
  
 2792 3808   92 S  0.0  0.7   0:00.13 bash
  
 2732 3448   44 S  0.0  0.7   0:00.04 bash
  
 2556 3292   60 S  0.3  0.6   0:03.17 rxvt
  







___ 
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: 
http://it.docs.yahoo.com/nowyoucan.html

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: script problem

2007-03-02 Thread Asher Vilensky
Thanks for the kind advice.  I indeed installed rxvt.  I've noticed
that  rxvt does not save me much memory over XWin.  Approx 10MB (rxvt)
over 20MB (XWin).  No biggie.  Are there any other advantages of using
rxvt over XWin?  If so, what are they?

BTW, nobody has yet to suggest a solution to my original problems -
XWin won't die during Windows shutdown.




--- Andrew DeFaria <[EMAIL PROTECTED]> wrote:

> Asher Vilensky wrote:
> > I'm running my Xcygwin on Windows XP. I have an xterm open 
> > automatically when I start the machine. The problem is when I'm 
> > shutting the machine down. It's giving me the window of "end
> program 
> > now". I think it's waiting for XWin to die. I can see a message
> about 
> > it in the title bar of the "End Now" dialog box. When I look at the
> 
> > task manager I can see XWin.exe running.  The question is how to
> cause 
> > this program to die when I order the
> > machine to shutdown.
> Stop XWin.exe? =-O
> 
> Just out of curiosity, why are you running a heavy process like X
> just 
> to run an xterm? Why not instead use something like Cygwin's rxvt
> (not 
> normally installed by default) which is a lot like xterm but does not
> 
> require a heavy X server to run?
> -- 
> Andrew DeFaria 
> I don't have a solution but I admire the problem.
> 
> 
> --
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:   http://cygwin.com/problems.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/
> 
> 



 

We won't tell. Get more on shows you hate to love 
(and love to hate): Yahoo! TV's Guilty Pleasures list.
http://tv.yahoo.com/collections/265 

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Require your help

2007-03-02 Thread Larry Hall (Cygwin)

Kesavan, RamKumar wrote:

Hi,

I'm new to Cygwin and have a couple of questions.

 
I have a Unix application which I have to port on Windows using Cygwin.


1] Are there any best practices for doing this.



Nothing I can recommend.  Just compile, link, and go.  If there's issues,
you'll see them in this process.



2] Secondly, if my application is using some 3rd party libraries then
should I have the windows versions of these 3rd party libraries.
What I mean is if my application is using say a shared object XYZ.so on
linux then to be able to compile my application on Windows using Cygwin,
can I use the same XYZ.so from linux or do I need to have XYZ.dll 



You need to have Windows DLLs or libraries.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: System Error 3 has Occured --- The System cannot find the path specified

2007-03-02 Thread Larry Hall (Cygwin)

neo napster wrote:

Hi,

We were trying to just get the cygserver up and running. We have
successfully installed cygserver. But, when starting Cygserver (net start
cygserver), the following error occurs:

"System Error 3 has Occured ---   The System cannot find the path
specified".

I have checked services.msc for the cygserver service, it is installed
correctly and the path to the exectuable is pointing to cygrunsrv.exe in
the correct folder. What could be the problem?




Good question.  Based on the information you've given so far, there's not
much concrete to go on.  My WAG is that the path causing the problem is
the one to 'cygserver'.  You won't see that from services.msc.  It's a
parameter to 'cygrunsrv.exe'.  I'd recommend checking that in the registry
or uninstalling and reinstalling to see if that clears up any "typos".  If
not, then look in the registry and make sure the service is pointing to
'cygserver' and that it can be found.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Require your help

2007-03-02 Thread Kesavan, RamKumar
Hi,

I'm new to Cygwin and have a couple of questions.

 
I have a Unix application which I have to port on Windows using Cygwin.

1] Are there any best practices for doing this.

2] Secondly, if my application is using some 3rd party libraries then
should I have the windows versions of these 3rd party libraries.
What I mean is if my application is using say a shared object XYZ.so on
linux then to be able to compile my application on Windows using Cygwin,
can I use the same XYZ.so from linux or do I need to have XYZ.dll 

Thanks in advance. 

Regards

Ram

 
 
 



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Help with ATLAS

2007-03-02 Thread Ignazio Di Napoli

Hi everyone.
I downloaded, compiled and installed ATLAS. Now in my 
/usr/local/atlas/lib I have the 4 ATLAS .a.

But, when I try to compile my program with:

g++ -I. -I../../src  -I/usr/local/atlas/include/-g -O2 -MT 
matrix-ops.o -MD -MP -MF .deps/matrix-ops.Tpo -c

-o matrix-ops.o ../../src/matrix-ops.cpp
mv -f .deps/matrix-ops.Tpo .deps/matrix-ops.Po

And link with:

g++  -g -O2  -L/usr/local/atlas/lib/ -llapack -lcblas -lf77blas -latlas 
 -o linprog.exe main.o matrix.o vector.o lipsol.o myexception.o 
matrix-io.o matrix-cmp.o matrix-ops.o matrix-pos.o matrix-fun.o 
matrix-lna.o matrix-stb.o sparsematrix.o


I get:

matrix-ops.o: In function `_ZNK6MatrixmlERKS_':
/tesi/Progetto.min/build/src/../../src/matrix.h:175: undefined reference 
to `cblas_dgemm(CBLAS_ORDER, CBLAS_TRANSPOSE, CBLAS_TRANSPOSE, int, int, 
int, double, double const*, int, double const*, int, double, double*, int)'



Can anybody help me? I've tried everything... I'm going crazy!

Ignazio


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: /dev/null timing and clock skew problems

2007-03-02 Thread Magnus Holmgren
Aaron Gray writes:

> > The code for this is available in standard Make, but it isn't enabled in 
> > the current build on Cygwin. (The code can be found in remake.c, at line
> > 1277. It's currently enabled if WINDOWS32 or __MSDOS__ is defined.)
> 
> Is this just the three second clearance or something more substantial that 
> will guarentee builds ?

The #if statement starting on that line is just for the three second clearance.
I use it on a local build of Make and it seems to work well.

  Magnus



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/