Re: [ANNOUNCEMENT] [1.5] Updated: {gettext/gettext-devel/libgettextpo0/libintl8/libasprintf0}-0.17-3

2009-02-02 Thread Yaakov (Cygwin/X)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chuck Wilson wrote: > This is a packaging and bugfix update of the gettext package(s). This > will most likely be the final gettext update for the cygwin-1.5 > distribution; future development will continue with gettext-0.17-10 for > cygwin-1.7. Ch

Re: Get bad results when running ./ncurses from rxvt

2009-02-02 Thread Charles Wilson
Bill Klein wrote: > When I go to the > /usr/share/libs/ncurses/test > directory under by "normal" bash shell and enter > ./ncurses > everything looks good. Well, you probably do have one special setting: IIRC, the line draw stuff doesn't work properly even in cmd.exe/bash unless your CYGWIN vari

Re: find assert

2009-02-02 Thread Gregory Sharp
> Here's a question: Did you switch on case sensitivity as per > http://cygwin.com/1.7/cygwin-ug-net.html#pathnames-casesensitive ? > If yes, change your cygdrive prefix in /etc/fstab to contain the > additional option "posix=0, as per > http://cygwin.com/1.7/cygwin-ug-net.html#mount-table and try

[ANNOUNCEMENT] Updated: tig 0.13-1 -- Curses based git repository browser

2009-02-02 Thread Jari Aalto
PACKAGE DESCRIPTION === Homepage: http://jonas.nitro.dk/tig License : GPL-2 A command line repository browser capable of displaying a summerized revision log and showing commit log messages, diffstats and diffs. Progam may also be used as a pager. It reads input from stdin and col

[ANNOUNCEMENT] Updated: bzr 1.11-1 -- Python based distributed version control

2009-02-02 Thread Jari Aalto
PACKAGE DESCRIPTION === Home page: http://bazaar-vcs.org/ License : GPL (Bzr is part of GNU project) Distributed version control that is used in projects like managing Ubuntu packages and it is one of the funded projects of Canonical. - Uses one .bzr dir

Re: Finding either boot time or login time

2009-02-02 Thread Mark J. Reed
On Mon, Feb 2, 2009 at 9:11 AM, Ronald Fischer wrote: > Would you mind explaining the ~~ trick? Not at all, but I'll do so offlist. Perl-fu is not on-topic for Cygwin. On Mon, Feb 2, 2009 at 9:34 AM, Jerry D. Hedden wrote: > Clever tricks are interesting, but definitely are an obfuscation. It'

RE: Copy converts tabs to spaces ?

2009-02-02 Thread Buchbinder, Barry (NIH/NIAID) [E]
Ralf Gans wrote on Monday, February 02, 2009 8:57 AM: > On 02.02.2009, at 11:05, xerces8 wrote: >> I noticed that when copying text from a the Cygwin Bash window and >> then pasting it somewhere (like WordPad), tabulator characters are >> converted to spaces. >> >> The same happens with RXVT too. >

Get bad results when running ./ncurses from rxvt

2009-02-02 Thread Bill Klein
I have tried reinstalling the ncurses and the rxvt (with and without "enhanced Unicode) features and am still having problems. When I go to the /usr/share/libs/ncurses/test directory under by "normal" bash shell and enter ./ncurses everything looks good. However, when I try this under the rxvt

Re: diff inserts tab into header ?

2009-02-02 Thread Dave Korn
xerces8 wrote: > Spiro Trikaliotis wrote: > >>> I discovered this when trying to send a patch to a project and >>> they rejected it because of this tab chars. >> Are you sure this is the case? Can you send the exact message they sent >> you when they rejected the patch? > > Sure, they said this: >

RE: Finding either boot time or login time

2009-02-02 Thread Owen Rees
--On 02 February 2009 11:54 -0500 Cooper, Karl \(US SSA\) wrote: I don't know perl, but I did try both of these one-liners on my Cygwin 1.7 setup, and the output differs (by one second). I thought that was interesting. I get a one second difference between the two formulae as well (due to the

Re: diff inserts tab into header ?

2009-02-02 Thread xerces8
Spiro Trikaliotis wrote: > > I discovered this when trying to send a patch to a project and > > they rejected it because of this tab chars. > > Are you sure this is the case? Can you send the exact message they sent > you when they rejected the patch? Sure, they said this: >> Which version of di

RE: Finding either boot time or login time

2009-02-02 Thread Cooper, Karl (US SSA)
> Mark J. Reed writes: >> One-liner to display the boot time: >> $ perl -lane 'print ~~localtime(time-$F[0])' /proc/uptime > > Ronald Fischer wrote: >> Would you mind explaining the ~~ trick? > > Clever tricks are interesting, but definitely are an obfuscation. > This makes things more plain: >

Re: diff inserts tab into header ?

2009-02-02 Thread Spiro Trikaliotis
Hello, * On Mon, Feb 02, 2009 at 04:10:52PM +0100 xerces8 wrote: > I noticed that > diff -u Portmon.log _viminfo > (using diffutils 2.8.7-1) puts tabs into the header, like this: > > --- Portmon.log 2008-07-25 13:57:56.631375000 +0200 > +++ _viminfo2009-01-21 13:56:23.715740300 +0100 > @@

diff inserts tab into header ?

2009-02-02 Thread xerces8
Hi! (plase CC me, as I am not subscribed; I will check the list, but then can not properly reply) I noticed that diff -u Portmon.log _viminfo (using diffutils 2.8.7-1) puts tabs into the header, like this: --- Portmon.log 2008-07-25 13:57:56.631375000 +0200 +++ _viminfo2009-01-21 13:56:23.7

Re: Finding either boot time or login time

2009-02-02 Thread Jerry D. Hedden
Mark J. Reed writes: > One-liner to display the boot time: > $ perl -lane 'print ~~localtime(time-$F[0])' /proc/uptime Ronald Fischer wrote: > Would you mind explaining the ~~ trick? Clever tricks are interesting, but definitely are an obfuscation. This makes things more plain: perl -lane 'print

Re: Finding either boot time or login time

2009-02-02 Thread Ronald Fischer
Mark J. Reed gmail.com> writes: > One-liner to display the boot time: > > $ perl -lane 'print ~~localtime(time-$F[0])' /proc/uptime Thanks a lot! This is great! Would you mind explaining the ~~ trick? localtime returns a list, so I would have concluded that applyiing ~ to this list would forc

Re: Copy converts tabs to spaces ?

2009-02-02 Thread Ralf Gans
Hi, copy an paste from window to window takes what's printed, not what you have written. So, if the terminal prints spaces to represent the tabs, as a terminal usualy does, you CAN only copy spaces. All else is an exception, U*X ist NOT wysiwyg! Regards, Ralf On 02.02.2009, at 11:05, xerces8

Re: The error of *import socket* within python.

2009-02-02 Thread Jason Tishler
Hongyi, On Sat, Jan 31, 2009 at 12:19:04PM +0800, Hongyi Zhao wrote: > On Fri, 30 Jan 2009 17:24:27 -0500, Jason Tishler > wrote: Please see the following: http://cygwin.com/acronyms#PCYMTNQREAIYR > >cygcheck -c python > > Please see the following infomation. Note, this time, I use the >

SCTP (was Re: New to cygwin)

2009-02-02 Thread Corinna Vinschen
On Feb 2 02:48, sarshh wrote: > Hi, can any one please guide me as I am unable to include > using cygwin, what could be the problem, and what should be done to solve > it? The reason for your problem is that there is no file netinet/sctp.h on Cygwin. The reason why there is no such file on Cygw

Re: New to cygwin

2009-02-02 Thread sarshh
Hi, can any one please guide me as I am unable to include using cygwin, what could be the problem, and what should be done to solve it? best Regards Tomasz Jankowski wrote: > > Hello! > > I'm completely new to cygwin (and generally to programming for the MS > Windows too). I'm working on a li

Re: Copy converts tabs to spaces ?

2009-02-02 Thread Sisyphus
- Original Message - From: "Sisyphus" One workaround is to run 'notepad foo.c' instead of 'cat.c' Hmmm .. doesn't make a lot of sense. I meant "instead of 'cat foo.c'". Cheers, Rob -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cy

Re: Copy converts tabs to spaces ?

2009-02-02 Thread Sisyphus
- Original Message - From: "xerces8" Details: - print the content of some text file that has tabs (like a C program source) : cat foo.c - select and copy the text with the mouse - paste (ctrl-V) into WordPad You'll get the same behaviour if, instead of running 'cat foo.c' in the

Copy converts tabs to spaces ?

2009-02-02 Thread xerces8
Hi! I noticed that when copying text from a the Cygwin Bash window and then pasting it somewhere (like WordPad), tabulator characters are converted to spaces. The same happens with RXVT too. Details: - print the content of some text file that has tabs (like a C program source) : cat foo.c -