Re: Print

2008-08-13 Thread Brian Dessent
r wrote: > When I try to print under cygwin ( a text file too ) with 'lpr' I can hear the > printer ( Lexmark Z600 Series connected via usb to a simple desktop pc ) > move the cursor to be ready for printing but nothing happens. > I tried with text files and .ps too. > > 'lpr test' > 'lpr test2.p

Print

2008-08-13 Thread r
When I try to print under cygwin ( a text file too ) with 'lpr' I can hear the printer ( Lexmark Z600 Series connected via usb to a simple desktop pc ) move the cursor to be ready for printing but nothing happens. I tried with text files and .ps too. 'lpr test' 'lpr test2.ps' It seems that cygw

Re: setup.exe crashing on postgress uninstall

2008-08-13 Thread Reini Urban
Reini Urban schrieb: William Deegan schrieb: I just downloaded latest setup.exe and ran it to update my current packages. When it got to uninstalling postgresql prior to installing the new version, it crashed and hung. I remember having experimented with a postinstall script. This was a faile

Re: setup.exe crashing on postgress uninstall

2008-08-13 Thread Reini Urban
William Deegan schrieb: I just downloaded latest setup.exe and ran it to update my current packages. When it got to uninstalling postgresql prior to installing the new version, it crashed and hung. I remember having experimented with a postinstall script. This was a failed attempt, and should b

Re: Problems using stat function

2008-08-13 Thread Larry Hall (Cygwin)
Ignasi Villagrasa wrote: Hi everyone, I'm migrating an old WATCOM C++ based application to cygwin, using -mno-cygwin in order to make the converted executable as similar as possible to the original one. I get a problem using int stat ( const char *__path, struct stat *__sbuf ); I get an im

setup.exe crashing on postgress uninstall

2008-08-13 Thread William Deegan
Greetings, I just downloaded latest setup.exe and ran it to update my current packages. When it got to uninstalling postgresql prior to installing the new version, it crashed and hung. Any suggestions how to get past this/capture useful information to file a bug with? Also, if I instruct setup.e

Re: perl - finding files that don't exist?

2008-08-13 Thread Reini Urban
Larry Hall (Cygwin) schrieb: Paul Mallas wrote: I am not sure where this issue should sits - is it a perl problem or a cygwin problem or windows? Not sure - but I have noticed just after cygwin upgrade. Perl seems to be finding files that don't exist: $ ls -a ./ ../ Babel.pm $ perl -e 'p

Problems using stat function

2008-08-13 Thread Ignasi Villagrasa
Hi everyone, I'm migrating an old WATCOM C++ based application to cygwin, using -mno-cygwin in order to make the converted executable as similar as possible to the original one. I get a problem using int stat ( const char *__path, struct stat *__sbuf ); I get an improper offset and so

Re: perl.exe: fatal error on Vista

2008-08-13 Thread Reini Urban
Tim McDaniel schrieb: On Wed, 13 Aug 2008, hce <[EMAIL PROTECTED]> wrote: On 8/13/08, Reini Urban <[EMAIL PROTECTED]> wrote: I would try rebase with -v (verbose) and also tie it to a log file. $ rebaseall -v | tie rebaseall.log There is no tie command Reini must have meant the "tee" comma

Re: Lines wrapping in emails

2008-08-13 Thread Angelo Graziosi
Larry Hall wrote: Another technique (again requiring manual intervention) that seems to work for me with Thunderbird is the "Rewrap" function under "Edit". Larry, as you can see [1], your suggestions work fine, I am only afraid because inadvertently changed the subject of the email. Sorry! C

Re: On bash prompt

2008-08-13 Thread Angelo Graziosi
Larry Hall wrote: Another technique (again requiring manual intervention) that seems to work for me with Thunderbird is the "Rewrap" function under "Edit". I didn't know it. Thanks. This wrapping behaviour looks like a weak point of Thunderbird. A manual intervention with 'Rewrap' should be b

Re: emacs open display problem

2008-08-13 Thread [EMAIL PROTECTED]
Ken Brown wrote: >On 8/10/2008 2:48 PM, parminides wrote: >>emacs just flat-out refuses to open a display window. >You might need to install or reinstall libncurses7. See >http://sourceware.org/ml/cygwin-xfree/2007-03/msg00081.html It worked like a charm. Thank you so much.

Re: perl - finding files that don't exist?

2008-08-13 Thread Larry Hall (Cygwin)
Paul Mallas wrote: I am not sure where this issue should sits - is it a perl problem or a cygwin problem or windows? Not sure - but I have noticed just after cygwin upgrade. Perl seems to be finding files that don't exist: $ ls -a ./ ../ Babel.pm $ perl -e 'print (-f "./PRN.pm")' 1 $ per

Re: Lines wrapping in emails

2008-08-13 Thread Larry Hall (Cygwin)
Angelo Graziosi wrote: Perhaps this question is not strictly related to Cygwin, but its solution could help Cygwin people. I have seen that many emails to these lists have long lines that make them unreadable (see [1], for example). Since this problem could potentially regard me too, I would

perl - finding files that don't exist?

2008-08-13 Thread Paul Mallas
I am not sure where this issue should sits - is it a perl problem or a cygwin problem or windows? Not sure - but I have noticed just after cygwin upgrade. Perl seems to be finding files that don't exist: $ ls -a ./ ../ Babel.pm $ perl -e 'print (-f "./PRN.pm")' 1 $ perl -e 'print (-e "./P

Re: perl.exe: fatal error on Vista

2008-08-13 Thread Tim McDaniel
On Wed, 13 Aug 2008, hce <[EMAIL PROTECTED]> wrote: On 8/13/08, Reini Urban <[EMAIL PROTECTED]> wrote: I would try rebase with -v (verbose) and also tie it to a log file. $ rebaseall -v | tie rebaseall.log There is no tie command Reini must have meant the "tee" command. It's intended to b

Re: perl.exe: fatal error on Vista

2008-08-13 Thread Julio Emanuel
On Wed, Aug 13, 2008 at 11:33 AM, hce <[EMAIL PROTECTED]> wrote: > > > >There is no tie command, so I tried to call /bin/rebaseall -v > >rebaseall.log from the ash. Please find attached rebaseall.log and >cygcheck.log as per above requirment. > >Thank you. > Did you noticed th

RE: perl.exe: fatal error on Vista

2008-08-13 Thread Dave Korn
Dave Korn wrote on 13 August 2008 13:06: > Or try doing it the same way the rebaseall script checks: > > grep -E -q -i -v '/ash(.exe)?$' /proc/[0-9]*/exename Ooops. You'll want to remove the -q flag, in order to see the names, rather than just have a status code of 0 or 1 in the shell "$?" va

RE: perl.exe: fatal error on Vista

2008-08-13 Thread Dave Korn
hce wrote on 13 August 2008 12:36: > On 8/13/08, Reini Urban wrote: >> >> I would try rebase with -v (verbose) and also tie it to a log file. >> >> $ rebaseall -v | tie rebaseall.log >> > There is no tie command, It's a typo, Reini meant 'tee'. >> > so I tried to call /bin/rebaseall -v

Re: perl.exe: fatal error on Vista

2008-08-13 Thread hce
On 8/13/08, Reini Urban <[EMAIL PROTECTED]> wrote: > 2008/8/13 hce: > > On 8/13/08, Reini Urbanwrote: > > >> 2008/8/13 hce: > >> > >> > On 8/12/08, Reini Urban wrote: > >> >> 2008/8/12 hce: > >> >> > >> >> > I installed cygwin from http://www.cygwin.com/setup.exe on Vista. I > am > >> >

Re: perl.exe: fatal error on Vista

2008-08-13 Thread Reini Urban
2008/8/13 hce: > On 8/13/08, Reini Urbanwrote: >> 2008/8/13 hce: >> >> > On 8/12/08, Reini Urban wrote: >> >> 2008/8/12 hce: >> >> >> >> > I installed cygwin from http://www.cygwin.com/setup.exe on Vista. I am >> >> > building the VLC at the moment and had following error for cygwin >> >> >

Re: perl.exe: fatal error on Vista

2008-08-13 Thread hce
On 8/13/08, Reini Urban <[EMAIL PROTECTED]> wrote: > 2008/8/13 hce: > > > On 8/12/08, Reini Urban wrote: > >> 2008/8/12 hce: > >> > >> > I installed cygwin from http://www.cygwin.com/setup.exe on Vista. I am > >> > building the VLC at the moment and had following error for cygwin > >> > perl

Lines wrapping in emails

2008-08-13 Thread Angelo Graziosi
Perhaps this question is not strictly related to Cygwin, but its solution could help Cygwin people. I have seen that many emails to these lists have long lines that make them unreadable (see [1], for example). Since this problem could potentially regard me too, I would ask if someone has som

Re: On bash prompt

2008-08-13 Thread Brian Dessent
Angelo Graziosi wrote: > So, just a curiosity, why the extra 'code' (1), above? What the true > difference between > > PS1='\[\e]0;[EMAIL PROTECTED] \[\e[33m\]\w\[\e[0m\]\n\$ ' > > and > > PS1='[EMAIL PROTECTED] \[\e[33m\]\w\[\e[0m\]\n\$ ' The ESC]0; sequence sets the window title. Brian --

On bash prompt

2008-08-13 Thread Angelo Graziosi
In /etc/profile, PS1 for bash is defined as PS1='\[\e]0;[EMAIL PROTECTED] \[\e[33m\]\w\[\e[0m\]\n\$ ' Indeed I have $ echo $PS1 \[\e]0;[EMAIL PROTECTED] \[\e[33m\]\w\[\e[0m\]\n\$ ^(1)^ Now this causes some problems with 'M-x shell' in Emacs: the prompt has many garbage characters, li

Re: ash-20040127-3: Invalid behavior of negated pipeline

2008-08-13 Thread Corinna Vinschen
On Aug 12 19:31, Eric Blake wrote: > According to Corinna Vinschen on 8/12/2008 9:40 AM: > | Use bash as sh. ash is only in the distro to run rebaseall. I won't > | release a new version of ash any time soon, if it doesn't explicitely > | affect rebase. > > Although, now that the bash package bli

Re: /etc/group manual-edits-workaround still reqd in 1.7?

2008-08-13 Thread Corinna Vinschen
On Aug 12 14:26, Tom Rodman wrote: > On Mon 7/28/08 10:18 +0200 Corinna Vinschen wrote: > > On Jul 26 09:12, Tom Rodman wrote: > > > I use cygwin in a large domain, from time to time my account is > > > added or removed from domain groups without any warning (last > > > time 'IT' added 'Domain User