Re: Help for debug and pause

2006-12-05 Thread Dave Silvia
Hi! You could be talking about two different things, I'm not sure. If you mean pause a running program from a command line then you use: Ctrl-Z If you use Ctrl-C, it quits the program. Once you've paused a program from the command line, you type: fg Which brings it back to the foreground. If

Re: Help for debug and pause

2006-12-05 Thread sitha
Hi, I am confused by continue a program. I just used CTRL-C to pause the program but I could not continue the program by `c`. Pls help me. Regards, Sitha. -- View this message in context: http://www.nabble.com/Help-for-debug-and-pause-tf2760997.html#a7714151 Sent from the Cygwin Users mailing

Re: Setting vim to nocompatible by default in Cygwin [Attn base-files maintainer]

2006-12-05 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to DePriest, Jason R. on 12/5/2006 3:06 PM: > > It was indeed confusing to me when I started using Cygwin. > > I copied my vimrc file from my Debian GNU/Linux system to my Cygwin > system and that fixed it (and a few other issues I have wit

Re: find -execdir command executed in wrong directory

2006-12-05 Thread Eric Blake
David Rothenberger acm.org> writes: > > > "find -execdir" seems to be executing the command in the wrong > directory. If the file is in /tmp/a/b/c, the command is executed with > the current directory /tmp/a/b instead of /tmp/a/b/c. oldfind does the > right thing. Thanks for the report. I'm fo

Re: bash-3.2.5-7: COLUMNS and LINES variables are not set

2006-12-05 Thread Eric Blake
Mark Edgar gcmail.maricopa.edu> writes: > > It seems that bash for Cygwin does not set the COLUMNS and LINES shell > variables, neither at startup nor when WINCH is delivered. Defining > TIOCGWINSZ by including in lib/sh/winsize.c fixes the issue. Thanks for the hint! Look for 3.2.5-8 soon

find -execdir command executed in wrong directory

2006-12-05 Thread David Rothenberger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 "find -execdir" seems to be executing the command in the wrong directory. If the file is in /tmp/a/b/c, the command is executed with the current directory /tmp/a/b instead of /tmp/a/b/c. oldfind does the right thing. % cygcheck -cd findutils Cygwin

Re: Binaries Don't Execute

2006-12-05 Thread Igor Peshansky
On Tue, 5 Dec 2006, tbrowder wrote: > I have upgraded my cygwin installation and now some bibaries don't > execute. The ones I've noticed so far are ssh and diff. > > When I execute ssh, the binary is found on my path, and it shows as > executable, but it responds with nothing. Same thing with di

setting up a local mirror

2006-12-05 Thread Nathan Moore
Cygwin is used extensively within my school's physics department, and I'd like to set up a local mirror for packages. I assume this entails writing a bash script which downloads all of the source packages from an official repository. The script is then run at regular (ie crontab scheduled

Binaries Don't Execute

2006-12-05 Thread tbrowder
I have upgraded my cygwin installation and now some bibaries don't execute. The ones I've noticed so far are ssh and diff. When I execute ssh, the binary is found on my path, and it shows as executable, but it responds with nothing. Same thing with diff and which. Any clues? Thanks. Tom Browde

Re: Vista 64 users, please test snapshot

2006-12-05 Thread Ben
Bravo! Working beautifully here. I haven't exactly tested everything, but at least I can run commands from bash without error. b P.S. Had to re-run setup to allow post-install scripts to run. Just make sure not to reinstall the cygwin dll package. Corinna wrote: I've applied a patch to Cygwin

bash-3.2.5-7: COLUMNS and LINES variables are not set

2006-12-05 Thread Mark Edgar
It seems that bash for Cygwin does not set the COLUMNS and LINES shell variables, neither at startup nor when WINCH is delivered. Defining TIOCGWINSZ by including in lib/sh/winsize.c fixes the issue. -Mark -- Unsubscribe info: http://cygwin.com/ml

Re: Setting vim to nocompatible by default in Cygwin

2006-12-05 Thread DePriest, Jason R.
On 12/5/06, Carles Cufi wrote: Fair enough. I have to say that it can be a bit confusing for people who are used to standard Linux distributions and Mac OS X when they start using Cygwin, but I understand your point. Thanks! Carles It was indeed confusing to me when I started using Cygwin

Re: Setting vim to nocompatible by default in Cygwin

2006-12-05 Thread Carles Cufi
Fair enough. I have to say that it can be a bit confusing for people who are used to standard Linux distributions and Mac OS X when they start using Cygwin, but I understand your point. Thanks! Carles - Original Message From: Corinna Vinschen <[EMAIL PROTECTED]> To: cygwin@cygwin.com

Re: postres using cygwin on windows95

2006-12-05 Thread Reini Urban
Amy schrieb: I have to create a database using Open Office and using PostgreSQL; to accomplish this i ran into Cygwin. I just read an SQL book, so I am very new to Prgramming. Heres my problem: after installing (and installing the DLL files for win95) i was able to open correctly. I also creat

Vista 64 users, please test snapshot

2006-12-05 Thread Corinna Vinschen
I've applied a patch to Cygwin which should workaround what appears to be a compatibility bug in WOW64 on Vista 64. If you want details, see the huge comment in the sources, file dcrt0.cc, get_cygwin_startup_info(). http://cygwin.com/acronyms/#WJFFM Please try the latest snapshot DLL from http:/

Re: cygwin opengl problem

2006-12-05 Thread dvmorris
ok, i will start looking at all the opengl code and seeing where the problem might be. thanks for the advice. dave -- View this message in context: http://www.nabble.com/cygwin-opengl-problem-tf2762607.html#a7704268 Sent from the Cygwin Users mailing list archive at Nabble.com. -- Unsubscribe

undo (C-/) for terminal version of emacs not working

2006-12-05 Thread James Bigler
I use the emacs in terminal mode (-nw) quite a bit, and I haven't be able to figure this out. When I run emacs in either the cmd.exe or the rxvt window I can't get the terminal to send a C-/ character. Many other C- functions work (like C-space in rxvt as discussed here: http://sourceware.or

Re: cygwin opengl problem

2006-12-05 Thread Larry Hall (Cygwin)
dvmorris wrote: dvmorris wrote: I finally managed to get this c++ program compiled on cygwin, and when I start it up, the interface (done in fltk) works great, but the opengl display window is frozen. It only shows the last frame from the openGL buffer on the machine. if i open another opengl

postres using cygwin on windows95

2006-12-05 Thread Amy
Hi, I have to create a database using Open Office and using PostgreSQL; to accomplish this i ran into Cygwin. I just read an SQL book, so I am very new to Prgramming. Heres my problem: after installing (and installing the DLL files for win95) i was able to open correctly. I also created data fi

Re: cygwin opengl problem

2006-12-05 Thread dvmorris
dvmorris wrote: > > I finally managed to get this c++ program compiled on cygwin, and when I > start it up, the interface (done in fltk) works great, but the opengl > display window is frozen. It only shows the last frame from the openGL > buffer on the machine. if i open another opengl program

cygwin opengl problem

2006-12-05 Thread dvmorris
I finally managed to get this c++ program compiled on cygwin, and when I start it up, the interface (done in fltk) works great, but the opengl display window is frozen. It only shows the last frame from the openGL buffer on the machine. if i open another opengl program, display something, then go

Re: printf '\377\376h\000\r\000\n\000'|file - #wrong result?

2006-12-05 Thread Tom Rodman
Thanks Corinna On Mon 12/4/06 22:10 +0100 cygwin@cygwin.com wrote: > On Dec 4 14:47, Tom Rodman wrote: > > Should this directed to the "file" package maintainer?: > > No. You're using different versions of the `file' package. The output > of `file' is based on data files which are updated with

Re: bash CRLF problems (I have read the recent announcement)

2006-12-05 Thread Kevin Layer
Mark Fisher <[EMAIL PROTECTED]> wrote: >> if you change the echo's to "echo -n" you don't get the ^M chars, as >> it surpresses the CR in the output. >> is this possible on the "real" scripts you talk about, or is the >> version generating script/app not changeable? The only restriction is that i

Re: print from xfig

2006-12-05 Thread Andrew Louie
Steven Woody gmail.com> writes: > > i can run xfig successuflly, but i can not print our network printer. > it reported: > > lpr: printer error: can't open 'd:\printersharename' > > what do i do? thank you. > Can you normally print with lpr? did you try: lpr -P//networkshare/printername

Re: Help for debug and pause

2006-12-05 Thread Larry Hall (Cygwin)
sitha wrote: Hi Everybody, I am bit new to cygwin. I want to know about two things very clearly pls help me. 1. how to debug a program written in C++? Pls give me little detail explanation. Use 'gdb' like so 'gdb '. must have been compiled with the '-g' switch. 2.How to pause a program whi

Re: bash CRLF problems (I have read the recent announcement)

2006-12-05 Thread Mark Fisher
On 12/5/06, Kevin Layer wrote: Larry Hall (Cygwin) wrote: >> > version=`cat foo1.out` >> > ... >> Time to adjust your expectations. ;-) Text mounts write CRNL as EOLs >> for all files that are not explicitly opened as binary (or text for >> that matter). Text mounts remove the CR from EOLs r

Help for debug and pause

2006-12-05 Thread sitha
Hi Everybody, I am bit new to cygwin. I want to know about two things very clearly pls help me. 1. how to debug a program written in C++? Pls give me little detail explanation. 2.How to pause a program while it is runing and then how to restart again? Regards, SItha. -- View this message in cont

Re: Setting vim to nocompatible by default in Cygwin

2006-12-05 Thread Corinna Vinschen
On Dec 5 11:48, Corinna Vinschen wrote: > On Dec 4 14:29, Carles Cufi wrote: > > Hi there, > > > > After some discussion with Matt Wozniski I've come to the conclusion that > > the default global config file for vim (/usr/share/vim/vimrc) included with > > Cygwin differs quite importantly from

Re: Setting vim to nocompatible by default in Cygwin

2006-12-05 Thread Corinna Vinschen
On Dec 4 14:29, Carles Cufi wrote: > Hi there, > > After some discussion with Matt Wozniski I've come to the conclusion that the > default global config file for vim (/usr/share/vim/vimrc) included with > Cygwin differs quite importantly from the ones included in other UNIX-like > operating sy