Re: Free Select Mode in latest Cygwin

2013-02-27 Thread Larry Hall (Cygwin)
On 2/27/2013 12:21 PM, Bixler, Mark wrote: I recently got a new setup at work and installed the latest version of Cygwin. I can no longer find where to do the Edit Mode for free selection of test. I used to be able to just click and highlight anything I wanted, both columns and full body. Now t

Re: Where do the DBUS* programs put their crash logs?

2013-02-27 Thread Ken Brown
On 2/27/2013 5:30 PM, Jim Reisert AD1C wrote: I have a rather convoluted way of starting Emacs, running Windows 7 Pro, 64-bit: [JJR:~] $ cat .startxwinrc /usr/bin/emacs --daemon This sets up Emacs to run in client/server mode. I use "emacsclient" to bring up the editor window. Then every time

Re: startxwin started bash does not read .bashrc or .bash_profile

2013-02-27 Thread Kevin Layer
Also, strace'ing startxwin was not fruitful--the program hangs without putting up any windows or doing much work at all. I'm open to more suggestions... -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.c

Re: startxwin started bash does not read .bashrc or .bash_profile

2013-02-27 Thread Kevin Layer
Btw, this happens on my home and work systems. Both Windows 7 Ultimate x64. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Where do the DBUS* programs put their crash logs?

2013-02-27 Thread Jim Reisert AD1C
I have a rather convoluted way of starting Emacs, running Windows 7 Pro, 64-bit: [JJR:~] $ cat .startxwinrc /usr/bin/emacs --daemon This sets up Emacs to run in client/server mode. I use "emacsclient" to bring up the editor window. Then every time I create a new xterm, my .bashrc does this: if

Re: startxwin started bash does not read .bashrc or .bash_profile

2013-02-27 Thread Kevin Layer
K Stahl wrote: >> I normally start a terminal in my .xinitrc file (Place it in your home >> directory): >> >> Example: >> >> #!/usr/bin/sh >> urxvt -e bash -l & wmpid=$! >> wait ${wmpid} Turns out, I'm mistaken, but I found out something interesting. I had created a .xinitrc with a single "xte

Re: startxwin started bash does not read .bashrc or .bash_profile

2013-02-27 Thread Kevin Layer
Earnie Boyd wrote: >> On Wed, Feb 27, 2013 at 3:15 PM, Kevin Layer wrote: >> > That was one of the experiments I did, and I saw no evidence that any >> > commands were executed. I even passed it as the argument to the >> > invocation. >> > >> > As for the assumption, I understand that an error co

Re: startxwin started bash does not read .bashrc or .bash_profile

2013-02-27 Thread Earnie Boyd
On Wed, Feb 27, 2013 at 3:15 PM, Kevin Layer wrote: > That was one of the experiments I did, and I saw no evidence that any > commands were executed. I even passed it as the argument to the > invocation. > > As for the assumption, I understand that an error could have > short-circuited the process

Re: startxwin started bash does not read .bashrc or .bash_profile

2013-02-27 Thread Kevin Layer
Andrey Repin wrote: >> Greetings, Kevin Layer! >> >> > I know ~/.bashrc hasn't been read because my prompt is not changed and >> > my aliases are not there. >> >> That's just assumption. Not the first-hand knowledge. It may be true, or >> not... Best way to know is to place >> set -x >> around t

Re: startxwin started bash does not read .bashrc or .bash_profile

2013-02-27 Thread Christopher Faylor
On Wed, Feb 27, 2013 at 11:37:52PM +0400, Andrey Repin wrote: >Greetings, Kevin Layer! > >> I know ~/.bashrc hasn't been read because my prompt is not changed and >> my aliases are not there. > >That's just assumption. Not the first-hand knowledge. It may be true, or >not... Best way to know is to

Re: startxwin started bash does not read .bashrc or .bash_profile

2013-02-27 Thread Andrey Repin
Greetings, Kevin Layer! > I know ~/.bashrc hasn't been read because my prompt is not changed and > my aliases are not there. That's just assumption. Not the first-hand knowledge. It may be true, or not... Best way to know is to place set -x around the start of the file and observe the results. >

Re: Need help with reported cygwin snapshot problem

2013-02-27 Thread marco atzeri
On 2/27/2013 4:51 PM, Christopher Faylor wrote: Yaakov is reporting a problem with Cygwin on IRC: (02/27/13 00:01:06) cygwinports: cgf:remember my webkit hang? this should be easier to reproduce: wget'ing a large file also hangs at the end (02/27/13 00:01:11) cygwinports: e.g. wget ftp://ftp.r

Re: startxwin started bash does not read .bashrc or .bash_profile

2013-02-27 Thread Kevin Layer
K Stahl wrote: >> I normally start a terminal in my .xinitrc file (Place it in your home >> directory): >> >> Example: >> >> #!/usr/bin/sh >> urxvt -e bash -l & wmpid=$! >> wait ${wmpid} Bash started via .xinitrc *does* read my .bashrc. Interesting! I'll play more with this tonight to see if

Re: startxwin started bash does not read .bashrc or .bash_profile

2013-02-27 Thread Kevin Layer
Jon TURNEY wrote: >> On 27/02/2013 00:08, Kevin Layer wrote: >> > If I put this into .startxwinrc: >> > >> > mintty /usr/bin/bash.exe --login -i >> > >> > the resulting shell does not read .bash_profile. If I put >> > >> > mintty /usr/bin/bash.exe -i >> > >> > it doesn't read .bashrc. >>

Re: startxwin started bash does not read .bashrc or .bash_profile

2013-02-27 Thread Jon TURNEY
On 27/02/2013 00:08, Kevin Layer wrote: > If I put this into .startxwinrc: > > mintty /usr/bin/bash.exe --login -i > > the resulting shell does not read .bash_profile. If I put > > mintty /usr/bin/bash.exe -i > > it doesn't read .bashrc. I've tried to reproduce this, but it seem to work

RE: Is there a source of moderately random data with good speed in Cygwin?

2013-02-27 Thread Adam Dinwoodie
Alan Thompson wrote: > On Wed, Feb 27, 2013 at 7:33 AM, Adam Dinwoodie > wrote: Standard reminder: please don't quote email addresses. This is a publicly archived mailing list, and I'd prefer not to receive any more spam than I already do. See also http://cygwin.com/acronyms/#PCYMTNQREAIYR --

Re: Is there a source of moderately random data with good speed in Cygwin?

2013-02-27 Thread Andrey Repin
Greetings, Adam Dinwoodie! >> I was need to pipe some bytes through application and watch it's reaction. >> But with /dev/urandom the stream speed is only about 40Mb/sec. Using >> /dev/zero, however, makes it 3 orders of magnitude faster (~35Gb/s), but for >> technical reasons, using monotonous s

Re: startxwin started bash does not read .bashrc or .bash_profile

2013-02-27 Thread K Stahl
I normally start a terminal in my .xinitrc file (Place it in your home directory): Example: #!/usr/bin/sh urxvt -e bash -l & wmpid=$! wait ${wmpid} Using this scheme, I haven't had the issues the original poster has described. -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: Is there a source of moderately random data with good speed in Cygwin?

2013-02-27 Thread Alan Thompson
On Wed, Feb 27, 2013 at 7:33 AM, Adam Dinwoodie wrote: > Andrey Repin wrote: >> I was need to pipe some bytes through application and watch it's reaction. >> But with /dev/urandom the stream speed is only about 40Mb/sec. Using >> /dev/zero, however, makes it 3 orders of magnitude faster (~35Gb/s)

Re: startxwin started bash does not read .bashrc or .bash_profile

2013-02-27 Thread Kevin Layer
Eliot, thanks for the reply. The passwd/group was an interesting thought. Unfortunately: @oob2$ mkpasswd -l > passwd.new @oob2$ diff passwd passwd.new @oob2$ mkgroup -l > group.new @oob2$ diff group group.new @oob2$ It's not just mintty. When I run xterm, it doesn't source any of my init fil

Re: startxwin started bash does not read .bashrc or .bash_profile

2013-02-27 Thread Eliot Moss
Dear Kevin (et al.) -- I use StartXWin all the time, and start bash from an xterm, and the startup reading of .bash_profile, etc., proceeds as documented. Thinking it might be something about mintty, I tested that as well, with --login and with just -i, and it all works as expected, reading the p

Need help with reported cygwin snapshot problem

2013-02-27 Thread Christopher Faylor
Yaakov is reporting a problem with Cygwin on IRC: (02/27/13 00:01:06) cygwinports: cgf:remember my webkit hang? this should be easier to reproduce: wget'ing a large file also hangs at the end (02/27/13 00:01:11) cygwinports: e.g. wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p392.tar.bz2

Re: startxwin started bash does not read .bashrc or .bash_profile

2013-02-27 Thread Kevin Layer
Robert Pendell wrote: >> Commonly .bash_profile does source in .bashrc so that it gets executed too. Exactly what mine does. I just want to be clear: I have not been able to get bash to source *anything* when started from startxwin.exe. I've done hours of experimentation and done many variation

Re: startxwin started bash does not read .bashrc or .bash_profile

2013-02-27 Thread Eliot Moss
On 2/27/2013 10:36 AM, Robert Pendell wrote: Dear Robert -- I think the original poster's concern was not the general working of bash with .bash_profile and .bashrc, but the specific behavior when bash is started by an instance of mintty which itself is started by the X windows server in .startxw

Re: startxwin started bash does not read .bashrc or .bash_profile

2013-02-27 Thread Robert Pendell
On Tue, Feb 26, 2013 at 10:20 PM, Kevin Layer <> wrote: > Arthur Tu wrote: > >>> On 2/27/2013 8:08 AM, Kevin Layer wrote: >>> > If I put this into .startxwinrc: >>> > >>> >mintty /usr/bin/bash.exe --login -i >>> > >>> > the resulting shell does not read .bash_profile. If I put >>> > >>> >m

RE: Is there a source of moderately random data with good speed in Cygwin?

2013-02-27 Thread Adam Dinwoodie
Andrey Repin wrote: > I was need to pipe some bytes through application and watch it's reaction. > But with /dev/urandom the stream speed is only about 40Mb/sec. Using > /dev/zero, however, makes it 3 orders of magnitude faster (~35Gb/s), but for > technical reasons, using monotonous sequence is h

Is there a source of moderately random data with good speed in Cygwin?

2013-02-27 Thread Andrey Repin
Greetings, All! I was writing some test scripts, and hit an... issue. At one stage, I was need to pipe some bytes through application and watch it's reaction. But with /dev/urandom the stream speed is only about 40Mb/sec. Using /dev/zero, however, makes it 3 orders of magnitude faster (~35Gb/s), b

Re: GetEnvironmentVariable doesn't work

2013-02-27 Thread Corinna Vinschen
On Feb 27 10:54, Алексей Павлов wrote: > Hi! > > I set some environment variable. When I try to get it with > GetEnvironmentVariable{A,W} it return empty result. With "getenv" I > can get variable value. Also I think GetEnvironmentVariable doesn't > work inside Cygwin.dll (maybe I wrong). > My exa