cygwin-xfree newbie woes: of mice and xterm

2002-03-03 Thread Gene C. Ruzicka
i just installed xfree, and i'm running into some weird problems. first, using the left and center mouse buttons to cut and the center to paste doesn't work when i invoke the xterm that's on my PC . but when i log onto my office UNIX workstation from home and run xterm there with DISPLAY set to

newbie questios: mouse and command line problems

2002-03-03 Thread Gene C. Ruzicka
i just installed xfree, and i'm running into some weird problems. first, using the left and center mouse buttons to cut and the center to paste doesn't work when i invoke the xterm that's on my PC . but when i log onto my office UNIX workstation from home and run xterm there with DISPLAY set to

Mouse-click focus in X ?

2002-03-03 Thread Lars Jensen
How do I get the MS windows-like mouse-click focus behavior in X windows? I want a window to become active first when I click within the window area. (Presently a window becomes active when I place the mouse within the window area.) I'm using standard Cygwin-xfree setup with twm. Thanks for any

Re: Mouse-click focus in X ?

2002-03-03 Thread Brian Genisio
This is all up to the Windows Manager you are using... twm doesnt have too many options... Try IceWM, or KDE. They have a ton of options, and you can configure windows actions the way you want. I *think* IceWM will do it by default. http://xfree86.cygwin.com/ported-software.html B ---

Re: Printing locally.

2002-03-03 Thread Brian Salter-Duke
On Sat, Mar 02, 2002 at 11:40:47PM -0500, David Means wrote: I don't have my cygwin machine handy, so I've got to ask: how about this: cat a.txt /cygdrive/c/WINNT/lpt1 that's probably not the ultimate solution, but does it work? No. It reports nothing and does nothing. There is

ICEWM Window manager for cygwin XFree86

2002-03-03 Thread Mike Hoare
Hi there, I have managed to get Cygwin to work, but am stuck with the default window manager for XFree86 (twm) I have downloaded icewm 109-2 via the link on xfree86cygwincom Whilst it apperars to be installed and I have replaced all refferences to twm with icewm, the default is all I get when I

RE: start for Cygwin

2002-03-03 Thread Dr. Carsten Bormann
So just call it differently. It would be nice if this could replace my little shell script st: #!/bin/bash for i do start $(cygpath -w $i) done (start being /c/Windows/command/start.exe) Gruesse, Carsten -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug

RE: start for Cygwin

2002-03-03 Thread David Starks-Browning
On Saturday 2 Mar 02, Stephan Mueller writes: Note though, that on Win9x, start is a standalone file (I forget if it's startexe or startcom) on the path Cygwin still supports 9x, so fears about consternation in some quarters still apply (it's just that they're different quarters than Charles

Re: Printing locally

2002-03-03 Thread fergus at bonhard dot uklinux dot net
What about this? Any good? If the file a.txt is DOS terminated, try cp a.txt prn OR cat a.txt prn and if a.txt is Unix-terminated, try cat a.txt | unix2dos prn Fergus -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting:

RE: start for Cygwin

2002-03-03 Thread Robert Collins
I think cygstart or something like that will eliminate the potiential for touble. Rob -Original Message- From: David Starks-Browning [mailto:[EMAIL PROTECTED]] Sent: Sunday, March 03, 2002 8:32 PM To: [EMAIL PROTECTED] Subject: RE: start for Cygwin On Saturday 2 Mar 02,

RE: start for Cygwin

2002-03-03 Thread David Starks-Browning
On Sunday 3 Mar 02, Robert Collins writes: I think cygstart or something like that will eliminate the potiential for touble Indeed, that would solve it! David -- Unsubscribe info: http://cygwincom/ml/#unsubscribe-simple Bug reporting: http://cygwincom/bugshtml Documentation:

Re: start for Cygwin

2002-03-03 Thread Michael Schaap
At 06:16 3-3-2002, Charles Wilson wrote: Michael Schaap wrote: Hmmmhow does this differ from the run utility here: http://wwwneurogatechedu/users/cwilson/cygutils/unversioned/run/ It may be entirely different; I'm not sure Certainly they were written for different purposes Run was intended

RE: start for Cygwin

2002-03-03 Thread Michael Schaap
At 09:45 3-3-2002, Dr Carsten Bormann wrote: So just call it differently It would be nice if this could replace my little shell script st: #!/bin/bash for i do start $(cygpath -w $i) done (start being /c/Windows/command/startexe) It would (Only, your st script treats multiple

RE: start for Cygwin

2002-03-03 Thread Michael Schaap
At 12:58 3-3-2002, David Starks-Browning wrote: On Sunday 3 Mar 02, Robert Collins writes: I think cygstart or something like that will eliminate the potiential for touble Indeed, that would solve it! It would I have mixed feelings about this, though On the one hand, calling it start may

Re: fetchmail 5.9.8 and maildrop 1.3.7

2002-03-03 Thread Rui Carmo
Jason, On Sat, Mar 02, 2002 at 09:47:19PM -0500, Jason Tishler wrote: Rui, I was under the impression that recv() bugs had been twiddled in 1310 Or did the changes in recv() not address MSG_PEEK? Hmm, I will look into this It would be great if my patch just became obsolete The

setup.exe (cinstall) bugfixes + minor new feature

2002-03-03 Thread Max Bowsher
I've been working with the setup code, and have discovered some bugs in the current (just updated) CVS version. I'm posting a patch here for comments, whilst I join cygwin-patches, and study the Contributing instructions. The patch does the following: BugFix: io_stream::mkpath_p(isadir, path)

w32api bugfix (was: Currently, CVS setup.exe does not compile, due to warnings with 'warnings as errors' in effect. How best to change code to avoid warnings?)

2002-03-03 Thread Max Bowsher
Hmm, does C++ support the same feature? If not then an ifdef __cplusplus might do it. Rob Unfortunately not - the problem is the differing interpretation of the line 'typedef int (WINAPI *FARPROC)();' in 3 sets of circumstances: 1) C++ 'int proc();' and 'int proc(void);' are

Re: start for Cygwin

2002-03-03 Thread Max Bowsher
I think there was a start.exe in Win9x/Me (i.e. it was not a command.com builtin), but my Win9x days are mercifully over, so I can't say for sure. Nevertheless, a cygutils start could be a useful scripting tool. Ah -- and that explains why one previously had to do cmd /c start foo from a bash

terminal emulation problem

2002-03-03 Thread Phil Smith
Has anyone executed the FTP command client and issued the shell escape '!' recently ? This worked fine in 133 but in the updates (including 1310), there are garbage characters displayed by the bash shell, and after any command There seems to be some change in the terminal settings This is

RE: setup.exe (cinstall) bugfixes + minor new feature

2002-03-03 Thread Robert Collins
Thanks Max. -Original Message- From: Max Bowsher [mailto:[EMAIL PROTECTED]] Sent: Monday, March 04, 2002 4:54 AM To: [EMAIL PROTECTED] Subject: setup.exe (cinstall) bugfixes + minor new feature I've been working with the setup code, and have discovered some bugs in the

RE: w32api bugfix (was: Currently, CVS setup.exe does not compile, due to warnings with 'warnings as errors' in effect. How best to change code to avoid warnings?)

2002-03-03 Thread Robert Collins
-Original Message- From: Max Bowsher [mailto:[EMAIL PROTECTED]] Sent: Sunday, March 03, 2002 9:36 PM To: [EMAIL PROTECTED] Subject: w32api bugfix (was: Currently, CVS setup.exe does not compile, due to warnings with 'warnings as errors' in effect. How best to change code to

bash in Explorer Context menu (like DOS here)

2002-03-03 Thread Hans Horn
Hi there, I'd like to know whether it is possible to have the abitlity to open a bash shell from a folder's context menu in Windows Explorer (like the MS powertool 'doshere')? thx INF, hans -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting:

missed one...

2002-03-03 Thread Phil Smith
The news group is: http://groupsgooglecom/groups?hl=engroup=altbaldspot -- Unsubscribe info: http://cygwincom/ml/#unsubscribe-simple Bug reporting: http://cygwincom/bugshtml Documentation: http://cygwincom/docshtml FAQ: http://cygwincom/faq/

Re: missed one...

2002-03-03 Thread Phil Smith
Sorry. I selected newgroup post instead of new mail in OE ! Phil Smith [EMAIL PROTECTED] wrote in message news:a5u69h$phr$[EMAIL PROTECTED]; The news group is: http://groups.google.com/groups?hl=engroup=alt.baldspot -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: terminal emulation problem

2002-03-03 Thread Randall R Schulz
Phil, I cannot confirm what you say using BASH under either a Windows console or RXVT Everything seems to work as expected Tell us more about your shell / emulator configuration, what you're doing and the specific unwanted characters that appear By the way, is your $SHELL setting consistent

RE: start for Cygwin

2002-03-03 Thread Dr. Carsten Bormann
I see that you are using Windos 9x/ME. Have you tried my start, and if so, is it working? I believe it is _supposed_ to work under Win9x, but we'd better make sure before this is included in cygutils... Will do the next time I have time to kill (i.e., not too soon). Gruesse, Carsten --

Re: start for Cygwin

2002-03-03 Thread Scott Evans
Michael Schaap [EMAIL PROTECTED] writes: Hi, I've written a little start utility, which is similar to cmd /c start, only better. Just tried it under Win98SE -- looks like it works great. I'm all for adding this to cygutils (but I definitely think cygstart is a smarter name choice -- saves

Re: adding a new program to cygwin?

2002-03-03 Thread Hack Kampbjørn
Thomas Dettbarn wrote: hello! i have written a small game, and it would be a great honour for me to see it as an official package bundled with cygwin. the game's name is nInvaders, its homepage is http://dettus.dyndns.org/ninvaders. check it out, it only needs ncurses to run. If you're

long delays on fhandler_base::open with cygwin 1.3.10

2002-03-03 Thread Chris January
I'm using Cygwin 1.3.10 DLL and I occasionally get long delays (2s !) when fhandler_base::open is called on a disk file. This occurs sporadically and is not dependant on the file being opened. I've included a little strace snippet below. Just look how long fhandler_base::open takes to return! No

Re: Printing locally

2002-03-03 Thread Brian Salter-Duke
On Sun, Mar 03, 2002 at 10:49:53AM -, fergus at bonhard dot uklinux dot net wrote: What about this? Any good? If the file a.txt is DOS terminated, try cp a.txt prn OR cat a.txt prn and if a.txt is Unix-terminated, try cat a.txt | unix2dos prn Fergus This was a good

Re: long delays on fhandler_base::open with cygwin 1.3.10

2002-03-03 Thread Randall R Schulz
Chris, Are you sure that this is a Cygwin issue? My system exhibits pauses like this and they affect many, possibly all, executing programs I have noticed nothing that suggests this is a Cygwin issue, though I must admit, I have a Cygwin BASH running at all times I know only the symptom:

RE: Strange behavior

2002-03-03 Thread Ross Smith
From: Chuck Allison [mailto:[EMAIL PROTECTED]] I have a simple Rational number class and have discovered weird behavior with Cygwin's g++. If you look at the very short main program in file rtest2.cpp, you will see by the output that g++ get's the wrong answer for r1 / r2 ==

RE: Strange behavior

2002-03-03 Thread Randall R Schulz
Ross, To call that result pure luck denies the fact that digital computers, when properly functioning, are 100% deterministic. Of course, it's not proper floating-point programming, but that doesn't mean luck is involved. Randall Schulz Mountain View, CA USA At 18:04 2002-03-03, Ross Smith

Re: More security issues

2002-03-03 Thread Pierre A. Humblet
At 11:19 PM 2/23/2002 +0100, Corinna Vinschen wrote: I am still looking at that On 2001-10-31 you added RevertToSelf() in dtablecc (dtable::vfork_child_dup) Do you remember why? Yes! It's very important Without that RevertToSelf(), the process has no access to it's own open socket handles

Re: Strange behavior

2002-03-03 Thread Richard R. Malloy
OK. I'm no IA32 expert can someone explain the following results. (Do the floating point registers use guard bits, randomly initialized perhaps?) bool operator==(const Rational r1, const Rational r2) { double a=r1.toDouble(), b=r2.toDouble(); cout ?== a a ?== b b endl; return a

Re: Strange behavior

2002-03-03 Thread Chuck Allison
That's the point. They're always redued, so in both cases, the expression 2.0/3.0 is evaluated. How can that be non-deterministic? - Original Message - From: Richard R. Malloy [EMAIL PROTECTED] To: Randall R Schulz [EMAIL PROTECTED] Cc: Ross Smith [EMAIL PROTECTED]; 'Chuck Allison'

IA64

2002-03-03 Thread Edward Lam
Hi, Has anyone ported cygwin to the IA64 yet? Thanks, -Edward (Please cc my e-mail as I won't be able to regular check messages here) -- Unsubscribe info: http://cygwincom/ml/#unsubscribe-simple Bug reporting: http://cygwincom/bugshtml Documentation:

RE: Strange behavior

2002-03-03 Thread Robert Collins
Floating point comparisons should _always_ be done via a confidence interval, not bitwise equality. As for determinism, I don't know what the logic circuits look like, so can't and won't comment :}. Rob -Original Message- From: Chuck Allison [mailto:[EMAIL PROTECTED]] Sent:

nondeterministic results of uname -n

2002-03-03 Thread John A. Turner
I want to make it clear that I'm neither complaining nor asking for a change - just reporting something I've noticed in case it's of interest to anyone basically, the nodename reported by uname is sometimes uppercase, sometimes lowercase - ie on my laptop sometimes I see: CYGWIN_NT-50 ubik

Re: bash in Explorer Context menu (like DOS here)

2002-03-03 Thread Bjoern Kahl AG Resy
Hallo ! On Sun, 3 Mar 2002, Hans Horn wrote: I'd like to know whether it is possible to have the abitlity to open a bash shell from a folder's context menu in Windows Explorer (like the MS powertool 'doshere')? Yes, I have a skript (*bat *sh) that does this If used via send to on a