RE: ls -l | less shows 'escape' chars

2004-07-01 Thread Chris Taylor
On Thu, July 1, 2004 6:08 pm, Hannu E K Nevalainen said: > > For man rxvt: > > > Use google on YODLTAGSTART and you'll eventually find a sed script and > how to use it. It was posted very recently to this list. > > /Hannu E K Nevalainen, B.Sc. EE - 59+16.37'N, 17+12.60'E > --76--> > > > **

Re: Larry Hall ,One more qeustion,

2004-07-01 Thread Christopher Faylor
On Fri, Jul 02, 2004 at 09:58:23AM +0800, rudolf wrote: >I got the answers from Larry Hall about cygwin posix functions. > >Then I have the last question. > >Is there any way to invoke posix functions from cygwin1.dll under MSVC >without cygwin installed and only run cygserver ? I guess it doesn't

Larry Hall ,One more qeustion,

2004-07-01 Thread rudolf
Hi, I got the answers from Larry Hall about cygwin posix functions. Then I have the last question. Is there any way to invoke posix functions from cygwin1.dll under MSVC without cygwin installed and only run cygserver ? Rudolf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-

Re: Bug: "cygpath -w ." returns ".\" instead of "."

2004-07-01 Thread Luc Hermitte
Hello, * On Thu, Jul 01, 2004 at 02:42:46PM -0700, Trevor Baker <[EMAIL PROTECTED]> wrote: > Now in cygwin this may cause problems elsewhere, such as in the following > trivial script: > #-- > #!/bin/sh > > BASEDIR=`cygpath -w .` > FILE="$BASEDIR/out.txt" > > touch "$FILE" > #--

Bug: "cygpath -w ." returns ".\" instead of "."

2004-07-01 Thread Trevor Baker
Hi, If I execute these commands, I get these outputs: $ cygpath -w . .\ $ cygpath -u . . As you can see these commands return different values. Now in cygwin this may cause problems elsewhere, such as in the following trivial script: #-- #!/bin/sh BASEDIR=`cygpath -w .` FILE="$BASEDIR/o

Re: ls -l | less shows "escape" chars

2004-07-01 Thread Joe
The only downside is if you need the output to go to a file or a pipe to a different program. If you still have ls aliased to "ls --color", then this: ls > /tmp/filelist will still put escape codes in filelist. "ls --color=auto" won't - it will keep it plain ascii text. If you never do that, t

Re: Does Cygwin can run sql queries to MS SQL server ?

2004-07-01 Thread Jason Tishler
Frederic, On Thu, Jul 01, 2004 at 06:40:12PM +0200, Frederic wrote: > if a database runs on a MS SQL server, > and that I want to run queries from a Win Workstation with Cygwin, do > you thing it's possible ? Yes, sqsh and FreeTDS run very nicely under Cygwin: http://www.sqsh.org/ http:/

RE: Does Cygwin can run sql queries to MS SQL server ?

2004-07-01 Thread PLAN Frédéric URS Lyon
Just a mistake.. sorry :( >Please don't commandeer an existing thread for your own >purposes. >Start a new one instead. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.ht

Re: Does Cygwin can run sql queries to MS SQL server ?

2004-07-01 Thread Larry Hall
At 12:40 PM 7/1/2004, you wrote: >Hello everybody, > >about Cygwin & MS SQL : > >if a database runs on a MS SQL server, >and that I want to run queries from a Win Workstation with Cygwin, >do you thing it's possible ? >I'm afraid it can't be done... > > Win Workstation W2K Server >

RE: ls -l | less shows "escape" chars

2004-07-01 Thread Hannu E K Nevalainen
For man rxvt: Use google on YODLTAGSTART and you'll eventually find a sed script and how to use it. It was posted very recently to this list. /Hannu E K Nevalainen, B.Sc. EE - 59+16.37'N, 17+12.60'E --76--> ** on a mailing list; please keep replies on that particular list ** -- pri

Problems linking stdcall functions from DLL

2004-07-01 Thread Michael Haubenwallner
Some time ago, there was a question about linking third party dll's with cdecl function declarations but without the @x-decorations: http://www.cygwin.com/ml/cygwin/2003-09/msg00307.html Is there already a solution for this problem, as i've seen this test not working yet with recent binutils-200403

Does Cygwin can run sql queries to MS SQL server ?

2004-07-01 Thread PLAN Frédéric URS Lyon
Hello everybody, about Cygwin & MS SQL : if a database runs on a MS SQL server, and that I want to run queries from a Win Workstation with Cygwin, do you thing it's possible ? I'm afraid it can't be done... Win Workstation W2K Server with Cywin>M

Re: ls -l | less shows "escape" chars

2004-07-01 Thread geneSmith
Joe wrote, On 7/1/2004 11:09 AM: Either don't use color or change it to --color=auto. I alias ls to "ls -x -color=auto". Then "ls | less" gives you columns without escape codes. If you want a single column, use "ls -1 | less". The -1 overrides the -x in the alias and gives one column. Or leave ou

Re: ls -l | less shows "escape" chars

2004-07-01 Thread geneSmith
Clemson, Chris wrote, On 7/1/2004 10:17 AM: what OS are you actually connected to via your terminal? I am just running cygwin via a rxvt terminal on win2k. I fixed it by putting alias less="less -R" in ~/.bash_profile. -gene -- Lit up like Levy's -- Unsubscribe info: http://cygwin.com/ml/#unsu

Re: Cygwin Memory Allocation and heap_chunk_in_mb

2004-07-01 Thread Dan Hatton
On Wed, 30 Jun 2004, Brian Ford wrote: > That's only half of it. You need to set the > IMAGE_FILE_LARGE_ADDRESS_AWARE flag in the executable's COFF header. Let me check I've got clear what to do: I need to download the source code for the cygwin ld package apply the patch of 6th May, 2

Re: ls -l | less shows "escape" chars

2004-07-01 Thread Joe
Either don't use color or change it to --color=auto. I alias ls to "ls -x -color=auto". Then "ls | less" gives you columns without escape codes. If you want a single column, use "ls -1 | less". The -1 overrides the -x in the alias and gives one column. Or leave out the -x if you never want col

Re: Bug affecting postgres now() function - more info and offer to fix cygwin bug...

2004-07-01 Thread Sean McCune
Great! I was going to start work on a fix, too, but ran into cygwin building problems, so you beat me to it. Thanks! I have the snapshot running. And postgres is keeping time. I haven't looked at your source yet, but I assume there's still an independent counter running and you're resetting th

Re: mod-php4 missing from cygwin distro

2004-07-01 Thread Larry Hall
At 05:55 PM 7/1/2004, you wrote: >Hello, > >I'd like to be able to run apache + php via cygwin. However, a setup package search >for `mod-php4' and the like led to zero results. A search on `php' returned results >but nothing useful. > >It seems that mod-php4 is missing. > >The following googl

Re: help me more :( , posix functions in cygwin1.dll and many questions

2004-07-01 Thread Larry Hall
At 01:20 AM 7/1/2004, you wrote: >Hi, > >I have asked more question about share memory and semahpore , now I have further >difficult quesions > >1) is there a way to compile VC++ generated libraray in cygwin gcc? Generally yes. It's a porting effort. > 2) all posix IPC functions require cy

RE: ls -l | less shows "escape" chars

2004-07-01 Thread Clemson, Chris
> export TERM=vt100 > had no effect. > > Where is the terminfo/termcap stuff? good question - it's been a while since i've tried to change it - it wasn't easy (for me anyway) so i gave up eventually. you'll have to look it up on the web. what OS are you actually connected to via your terminal? >

Re: 1.5.10: Problem with SIGEV_THREAD

2004-07-01 Thread Bob Cousins
Bob Cousins hotmail.com> writes: > > I am having a problem with timer notifications using SIGEV_THREAD. I adapted > the sigev_thread.c program from > http://homepage.mac.com/dbutenhof/Threads/source.html to illustrate problem. The problem appears to be related to the timer thread terminating.

Re: ls -l | less shows "escape" chars

2004-07-01 Thread Christopher Faylor
On Thu, Jul 01, 2004 at 09:55:39AM -0400, geneSmith wrote: >Luc Hermitte wrote, On 7/1/2004 9:14 AM: >>* On Thu, Jul 01, 2004 at 09:06:16AM -0400, geneSmith >><[EMAIL PROTECTED]> wrote: >> >>>Also, my less man page is totally messed up. All other man pages >>>seem to work. >> >> >>I have export PAG

Re: IPC over PTY

2004-07-01 Thread Christopher Faylor
On Thu, Jul 01, 2004 at 12:18:58PM +0200, Branko on dkts wrote: >I would be most grateful for your help. > >I am having trouble transferring data between two processes over pseudo >terminal (PTY) master/slave connection. I send data from the slave process >to the master process with no problem. How

Re: ls -l | less shows "escape" chars

2004-07-01 Thread geneSmith
Luc Hermitte wrote, On 7/1/2004 9:14 AM: Hello, * On Thu, Jul 01, 2004 at 09:06:16AM -0400, geneSmith <[EMAIL PROTECTED]> wrote: Also, my less man page is totally messed up. All other man pages seem to work. I have export PAGER='less -R' in my .bashrc HTH, Oops, I misspoke. It is my rxvt man page

Re: ls -l | less shows "escape" chars

2004-07-01 Thread geneSmith
Clemson, Chris wrote, On 7/1/2004 9:13 AM: that looks suspiciously like ANSI (colour) escape codes. is your terminal setting correct? $ echo $TERM xterm hmm, try setting TERM to vt100 or something, as that's quite a simple terminal type and doesn't do anything fancy other than bold and underline.

Re: ls -l | less shows "escape" chars

2004-07-01 Thread geneSmith
Luc Hermitte wrote, On 7/1/2004 9:14 AM: Hello, * On Thu, Jul 01, 2004 at 09:06:16AM -0400, geneSmith <[EMAIL PROTECTED]> wrote: Also, my less man page is totally messed up. All other man pages seem to work. I have export PAGER='less -R' in my .bashrc HTH, man less started working again. I d

RE: ls -l | less shows "escape" chars

2004-07-01 Thread Buchbinder, Barry (NIH/NIAID)
or switch the alias to "ls --color=auto", which will color for a simple ls but not when redirecting stdout. -Original Message- From: Joe Sent: Thursday, July 01, 2004 9:03 AM To: [EMAIL PROTECTED] Subject: Re: ls -l | less shows "escape" chars Do you have ls aliased to "ls --color"? Try:

Re: ls -l | less shows "escape" chars

2004-07-01 Thread Luc Hermitte
Hello, * On Thu, Jul 01, 2004 at 09:06:16AM -0400, geneSmith <[EMAIL PROTECTED]> wrote: > Also, my less man page is totally messed up. All other man pages seem > to work. I have export PAGER='less -R' in my .bashrc HTH, -- Luc Hermitte -- Unsubscribe info: http://cygwin.com/ml/#unsub

RE: ls -l | less shows "escape" chars

2004-07-01 Thread Clemson, Chris
> > that looks suspiciously like ANSI (colour) escape codes. > > is your terminal setting correct? > > > $ echo $TERM > xterm hmm, try setting TERM to vt100 or something, as that's quite a simple terminal type and doesn't do anything fancy other than bold and underline. of course, if your terminf

Re: ls -l | less shows "escape" chars

2004-07-01 Thread geneSmith
Joe wrote, On 7/1/2004 9:02 AM: Do you have ls aliased to "ls --color"? Try: /bin/ls | less That fixes it. Should I not use color? "geneSmith" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] When I do "ls -l | less" a typical line looks like this with "ESC" in reverse video and other w

Re: ls -l | less shows "escape" chars

2004-07-01 Thread geneSmith
Clemson, Chris wrote, On 7/1/2004 8:50 AM: When I do "ls -l | less" a typical line looks like this with "ESC" in reverse video and other weird chars. What causes this? Can it be fixed? -rwx--+ 1 Administ 1392640 Jul 1 08:31 ESC[01;32mNTUSER.DATESC[0m that looks suspiciously li

Re: ls -l | less shows "escape" chars

2004-07-01 Thread Joe
Do you have ls aliased to "ls --color"? Try: /bin/ls | less "geneSmith" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > When I do "ls -l | less" a typical line looks like this with "ESC" in > reverse video and other weird chars. What causes this? Can it be fixed? > > -rwx--+

RE: ls -l | less shows "escape" chars

2004-07-01 Thread Clemson, Chris
> When I do "ls -l | less" a typical line looks like this with "ESC" in > reverse video and other weird chars. What causes this? Can it > be fixed? > > -rwx--+ 1 Administ 1392640 Jul 1 08:31 > ESC[01;32mNTUSER.DATESC[0m that looks suspiciously like ANSI (colour) escape codes.

ls -l | less shows "escape" chars

2004-07-01 Thread geneSmith
When I do "ls -l | less" a typical line looks like this with "ESC" in reverse video and other weird chars. What causes this? Can it be fixed? -rwx--+ 1 Administ 1392640 Jul 1 08:31 ESC[01;32mNTUSER.DATESC[0m -- Lit up like Levy's -- Unsubscribe info: http://cygwin.com/ml/#

Re: Using GDB to debug ia64 files

2004-07-01 Thread Ashwin N
Larry Hall wrote: > At 06:39 AM 6/30/2004, you wrote: [...] >>I'de like to add PDB support to the BFD library, but I have problems finding >>my way into the code. Have an idea of what to read/do first ? >>If I can manage to add support of the PDB format to BFD, do you think I will >>be able to d

Re: Bug affecting postgres now() function - more info and offer to fix cygwin bug...

2004-07-01 Thread Corinna Vinschen
On Jun 28 23:04, Sean McCune wrote: > More useful info: (and yes I'm replying to my own message) > > I spelunked through the source code and found this in times.cc: > > LONGLONG > hires_ms::usecs (bool justdelta) > { > if (!minperiod) /* NO_COPY variable */ > prime (); > DWORD now = timeG

[CYGWIN SETUP 2.427] Proxy port not saved

2004-07-01 Thread Emmanuel Engelhart
Hi Exactly the same problem as described as follow: http://sources.redhat.com/ml/cygwin/2001-10/msg01161.html Regards Emmanuel Engelhart -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin

Re: Can i build Kernel Modules using cygwin and test them

2004-07-01 Thread Chris Taylor
On Thu, July 1, 2004 10:03 am, bertrand marquis said: > Saurabh Agarwal a écrit: > > >>> Hi All, I want to write Kernel Modules and test them using cygwin as most of time i have windows machine. Can i make kernel modules in cygwin and test the. I tried it but Module.h, kern

IPC over PTY

2004-07-01 Thread Branko on dkts
Hi list! I would be most grateful for your help. I am having trouble transferring data between two processes over pseudo terminal (PTY) master/slave connection. I send data from the slave process to the master process with no problem. However, when I try to send data in the opposite direction, th

Re: Can i build Kernel Modules using cygwin and test them

2004-07-01 Thread bertrand marquis
Saurabh Agarwal a écrit: On Thu, 1 Jul 2004 13:42:30 +0530, Saurabh Agarwal <[EMAIL PROTECTED]> wrote: On Thu, 1 Jul 2004 13:02:39 +0530, Saurabh Agarwal <[EMAIL PROTECTED]> wrote: Hi All, I want to write Kernel Modules and test them using cygwin as most of time i have windows machine. Can

Re: [Fwd: Gcc2 2.95.3-10]

2004-07-01 Thread Reini Urban
Corinna Vinschen wrote: Wrong mailing list. Redirected to [EMAIL PROTECTED] - Forwarded message from Oz Arad - Date: Thu, 1 Jul 2004 09:59:26 +0300 From: "Oz Arad" Subject: Gcc2 2.95.3-10 To: <[EMAIL PROTECTED]> Hi, I am looking for gcc2 2.95.3-10 for cygwin environment, running on Win2k.

Re: Can i build Kernel Modules using cygwin and test them

2004-07-01 Thread Saurabh Agarwal
On Thu, 1 Jul 2004 13:42:30 +0530, Saurabh Agarwal <[EMAIL PROTECTED]> wrote: > > > On Thu, 1 Jul 2004 13:02:39 +0530, Saurabh Agarwal > <[EMAIL PROTECTED]> wrote: > > > > Hi All, > > I want to write Kernel Modules and test them using cygwin as most of > > time i have windows machine. > > Can i m

[Fwd: Gcc2 2.95.3-10]

2004-07-01 Thread Corinna Vinschen
Wrong mailing list. Redirected to [EMAIL PROTECTED] - Forwarded message from Oz Arad - > Date: Thu, 1 Jul 2004 09:59:26 +0300 > From: "Oz Arad" > Subject: Gcc2 2.95.3-10 > To: <[EMAIL PROTECTED]> > > Hi, > I am looking for gcc2 2.95.3-10 for cygwin environment, running on Win2k. > Where

Re: help me more :( , posix functions in cygwin1.dll and many questions

2004-07-01 Thread Corinna Vinschen
On Jul 1 09:06, Reini Urban wrote: > rudolf wrote: > > I have asked more question about share memory and semaphore , > > now I have further difficult quesions > > no, no, no, no > http://cygwin.com/faq/faq_toc.html#TOC94 > "Can I build a Cygwin program that does not require cygwin1.dll at > runt

Re: help me more :( , posix functions in cygwin1.dll and many questions

2004-07-01 Thread Reini Urban
rudolf wrote: > I have asked more question about share memory and semaphore , > now I have further difficult quesions no, no, no, no http://cygwin.com/faq/faq_toc.html#TOC94 "Can I build a Cygwin program that does not require cygwin1.dll at runtime?" > No look elsewhere for your MSVC-compatible