Signal handling in Win32 GUI programs

2009-01-11 Thread Andy Koppe
e any tricks, ideally not involving polling, that I should be using? Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

Re: Signal handling in Win32 GUI programs

2009-01-11 Thread Andy Koppe
way around this is to start a thread and wait for signals in that thread. I've added a thread doing 'for (;;) pause();', but unfortunately that doesn't seem to do the trick. Do I need to go into Cygwin internals and wait directly on the Win32 event(s) used for signals? Andy

Re: Signal handling in Win32 GUI programs

2009-01-11 Thread Andy Koppe
igwait() process, using SIGCHLD and asynchronous reads? Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

Re: MinTTY "vs" rxvt (was Re: MinTTY 0.3.3)

2009-01-11 Thread Andy Koppe
version w/o all the libW11 hackery? Bypassing the X protocol by implementing Xlib directly on Win32 does seem rather a good idea in principle at least. How come it hasn't been used more widely? Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem repo

Re: First Pass at mintty documentation

2009-01-11 Thread Andy Koppe
00 incantation. > [about mousewheel scrolling in less] > the feature doesn't work in Vista when the > scrollbar is shown. Looks like the inactive scrollbar is > swallowing the mousewheel events. Actually this seems to be an issue with the trackpad driver on my laptop. It's

Re: MinTTY "vs" rxvt (was Re: MinTTY 0.3.3)

2009-01-11 Thread Andy Koppe
s. The default is a light grey (191,191,191) in order to leave room for the bright attribute. Setting it to proper white (255,255,255) might make a difference. Regarding blurriness, it might be worth trying the different font smoothing methods (none, anti-aliased, "ClearType"). Andy -- Uns

Re: Signal handling in Win32 GUI programs

2009-01-12 Thread Andy Koppe
Actually I still can't quite get signal handling in MinTTY to work right. SIGINT is fine, but SIGTERM, SIGHUP, and SIGKILL don't seem to get to sigwait(), instead still invoking the default handler, i.e. terminating MinTTY without SIGHUP being sent to the command inside it. Here's what I got:

Re: MinTTY Double Click Issue

2009-01-12 Thread Andy Koppe
part of a double (or triple) click. I think the Windows default is something like 700ms. Presumably you don't see this problem in other Windows apps, e.g. Notepad? Is there a config option to adress this? Nope, there isn't anything directly related to that. Andy -- Unsubscribe info:

Re: Signal handling in Win32 GUI programs

2009-01-13 Thread Andy Koppe
2009/1/13 Andy Koppe : > static const sigset_t term_sigs = >1<http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

A question about cygstart

2009-01-14 Thread Andy Hall
subsequent invocation of the same command will bring up the window maximized. No combination of options to cygstart seems to overcome this.   What other approaches are available. Andy Hall ServicePower, Inc. 744 San Antonio Road Phone: (650) 739-0988 E-Mail: a.h...@servicepower.com -- U

MinTTY 0.3.4

2009-01-14 Thread Andy Koppe
r was terminated by a runtime error signal such as SIGSEGV or SIGILL. Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

Re: First Pass at mintty documentation; etc.

2009-01-14 Thread Andy Koppe
ou explain the "interactive" bit a bit more. Do you mean clicking on the window title and start typing away at it? Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

Re: First Pass at mintty documentation; etc.

2009-01-14 Thread Andy Koppe
Andy Koppe wrote: > Lee D. Rothstein wrote: >> I do lots of bash scripting including Windows/DOS commands, and I >> can think of only one character cell app that ever gave me any >> trouble from rxvt or xterm (whatever that app is -- I think a >> Resource Kit app), I fo

keycodes (was: Re: First Pass at mintty documentation; etc.)

2009-01-14 Thread Andy Koppe
he same as above with rxvt: "\eOa": history-search-backward "\eOb": history-search-forward Speaking of history, does anyone know why xterm and rxvt diverged so much on modifier keycodes and why the xterm codes ended up being six characters long? Andy -- Unsubscribe i

console vs pty (was: Re: First Pass at mintty documentation; etc.)

2009-01-14 Thread Andy Koppe
does happen when calling read() that means that pty input doesn't reach the program? Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

Re: MinTTY 0.3.4

2009-01-14 Thread Andy Koppe
istro? Yes, but unfortunately all my MinTTY time has been taken up with bugfixes. Hopefully the worst is fixed now though. Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs

Re: Another rvxt vs. minTTY 0.3.4

2009-01-15 Thread Andy Koppe
viour changed so that all child process signal handlers are reset to SIG_DFL? At the prompt, Control-C is recognized. I think that's because bash disables pty signal generation and processes control characters directly. Andy -- Unsubscribe info: http://cygwin.com/ml/#unsu

Re: Yet another rvxt vs. minTTY 0.3.4

2009-01-16 Thread Andy Koppe
in the terminal. The mouse pointer indicates where clicks are going: when it's the so-called I-bar, it goes to the window, and when it's an arrow it goes to the app. Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.

Re: MinTTY

2009-01-17 Thread Andy Koppe
t run in the same directory as the .cygport file. So my probably rather stupid question is, where should I be putting those files and how? Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation:

Re: MinTTY

2009-01-17 Thread Andy Koppe
Andy Koppe wrote: Okay, I'm having a go at this. cygport does look very nice indeed, but unfortunately I got stuck anyway. So I've got the following files all in one directory: mintty-0.3.4-1.cygport mintty-0.3.4-src.tgz setup.hint postinstall.sh preremove.sh Building

Re: Finding out login history

2009-01-19 Thread Andy Koppe
> Thank you for helping. Which package do I have to install, to > have 'last' available? util-linux For future reference: http://cygwin.com/packages/ Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.ht

Re: Finding out login history

2009-01-19 Thread Andy Koppe
ching for 'last.exe' narrows down the list of hits.) Fri Jan 25 05:39:06 2008 8704 usr/bin/last.exe Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.htm

Re: paste into vim

2009-01-20 Thread Andy Koppe
> how to paste in vim (not gvim) from clipboard ? Hold down Shift while middle-clicking. Vim activates application mouse mode, which means clicks go to vim rather than to the terminal that normally does the paste from the clipboard. Shift overrides that. Andy -- Unsubscribe info: h

MinTTY 0.3.5

2009-01-20 Thread Andy Koppe
t With any luck, this will be the last MinTTY announcement in this form. Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

[ANNOUNCEMENT] New package: mintty-0.3.5-1

2009-01-21 Thread Andy Koppe
The package mintty-0.3.5-1 has been added to the Cygwin distribution. It will appear in the 'Shells' category of the Cygwin setup program. DESCRIPTION === MinTTY is a new terminal emulator for Cygwin. It is based on code from PuTTY 0.60 by Simon Tatham and team. Features include: * Xterm

Re: paste into vim

2009-01-22 Thread Andy Koppe
0309/04/l_ms001.jpg Note how they've also relabeled all the F keys, with the proper labels relegated to the side of the keys. Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://

Re: environment problems mixing mintty and xterm

2009-01-22 Thread Andy Koppe
is going awry there. Does the LINES variable in the xterm change immediately after invoking mintty, when you change mintty's size, or only after exiting it? What command line are you invoking mintty with? Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Proble

Re: Signal handling in WIN32 console programs

2009-01-22 Thread Andy Koppe
o the child process' pty. The pty driver may translate that into a signal depending on the pty's line settings (as shown by stty). Sorry I don't know how ^C is processed in a Windows console or why the behaviour would be different with ptys. Andy -- Unsubscribe info:

Re: MinTTY feature? Or bug?

2009-01-29 Thread Andy Koppe
es a ^L being typed.) The default compatibility setting includes 'SCO ANSI', hence the behaviour you're seeing. I'll take it out in the next release. Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html

Re: Tried mintty but it locks-up on enabling "Copy on select"

2009-02-09 Thread Andy Koppe
ch bother, any details about the bug and your system would be appreciated. The ~/.minttyrc file might be helpful too. > After killing it it leaves behind a bash.exe which also has to be killed. Yep, if it crashes, the child process won't get killed. But of course it's not suppos

Re: Tried mintty but it locks-up on enabling "Copy on select"

2009-02-09 Thread Andy Koppe
o, a few more questions, if you're willing to help tracking it down. Does it lock up as soon as you start mintty or the first time you try to copy something? Have you got any clipboard utilities running? Does it work if you delete or rename ~/.minttyrc to go back to the default settings and

Re: 1.7 - Odd behaviour with vim

2009-02-10 Thread Andy Koppe
lear the alternate screen when switching to it. Andy 2009/2/10 Chris Sutcliffe : > When edit a file (via :e ) with vim under Cygwin 1.7 the > first time I'm opened a cygwin terminal (mintty), there is a message > that briefly pops up and seems to be overwritten by the vim disp

Re: Tried mintty but it locks-up on enabling "Copy on select"

2009-02-11 Thread Andy Koppe
es one when you press OK in the options dialog, but of course you didn't get to that. >What does mintty put in there if it creates one? Its settings, in the form of key-value pairs like 'CopyOnSelect=1'. (I'd asked in case it was a particular combination of opti

Re: console scroll speed on Win XP

2009-03-01 Thread Andy Koppe
native Windows console programs might not work correctly in them, particularly input.) Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

Re: [Fwd: Re: Reproducing the cygwin X problems; MinTTY, too]

2009-03-01 Thread Andy Koppe
ected in other apps, but Ctrl-C and Ctrl-V don't work? Is copy-on-select enabled in mintty? Do you have any clipboard utilities running? Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

Re: job control: "set CYGWIN=tty" but ^Z doesn't work

2009-03-02 Thread Andy Koppe
ing cygwin.bat again should do the trick. Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

Re: MinTTY 0.3.3

2009-03-08 Thread Andy Koppe
ew MinTTY window, and as discussed on a separate thread here you can assign hotkeys to Windows shortcuts. > moreover it will replace > Mintty lack of tabs problems IMHO. That's not MinTTY's problem, it's Windows'! ;) >> keep up the good work!! > Yup Thanks, A

Re: Replacing setup.exe and cygcheck with dpkg (Was: Re: cygcheck typo in both manpage and --help)

2009-03-09 Thread Andy Koppe
Spiro Trikaliotis: > You can replace a running exe (or dll) by doing the following: > > 1. rename the .DLL or .EXE Are you sure that's possible? I'd expect Windows to complain loudly at that point. Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-sim

Re: psql and mintty

2009-03-09 Thread Andy Koppe
ue with ncurses recently, perhaps it's something to do with that. Therefore just running setup again to update to the latest versions might be worth trying. Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.

Re: cut & paste between windows and cygwin

2009-03-09 Thread Andy Koppe
se are full Windows console replacements. Fergus: > For copying clipboard -> xterm, use or just . I don't think on its own works, not in the default config anyway. does work in all of these terminals though, as does clicking on the middle mouse button or wheel. Andy -- Unsubscrib

Re: minTTY will not interrupt 'locked' process

2009-03-09 Thread Andy Koppe
s. The terminal driver normally turns that into a SIGINT or SIGQUIT, but applications can override that, or choose to ignore signals. Also, Cygwin can't deliver signals while a program is executing a Win32 function. Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem

Bash sometimes writes to stdout in MS_DOS format.

2009-03-10 Thread Andy Hall
atable. All I have to do is induce certain errors detectable by the child script, $PROGRAM_CMD. I have been unable to create a simple test case that exhibits this behavior, probably because of #1. The scripts are pretty much platform independent and run on Linux, Solaris and HP-UX without a problem.

Re: IOCTL using

2009-03-12 Thread Andy Koppe
> (i.e. flee Rome and settle in Babylon) I'm afraid you'd have been a few centuries too late. By the time of the Romans there wasn't much left of Babylon. :) Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin

Re: Clearing the Cygwin console

2009-03-14 Thread Andy Koppe
rned. > > How can a console used with Cygwin be cleared? Ctrl+L. Works in all terminals. Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

Re: Mintty running program from shortcut problem

2009-03-14 Thread Andy Koppe
sr/bin/mintty.exe -w /usr/bin -a "bash -lc > /usr/bin/info" /usr/bin/mintty.exe > As mentioned above, invoking a login shell is overkill here. Just setting PATH will do: $ mkshortcut -D -i /usr/bin/mintty.exe -w /usr/bin -a "sh -c 'PATH=/bin info'" /usr/bin/m

[ANNOUNCEMENT] Update: mintty-0.3.6-1

2009-03-14 Thread Andy Koppe
MinTTY is a terminal emulator for Cygwin with a native Windows user interface and minimalist design. Its terminal emulation is largely compatible with xterm, but it does not require an X server to be running. It is based on code from PuTTY 0.60 by Simon Tatham and team. This is a routine update.

Re: clearing the scrollback buffer in mintty

2009-03-15 Thread Andy Koppe
ck, but of course MinTTY is meant to be compatible with xterm. Meanwhile, this will do the reset and clear the scrollback: alias cls='echo -e "\ec\e[3J"' Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

Re: long unsigned int vs. uint32_t again

2009-03-15 Thread Andy Koppe
rmat=2 in 3.4.4 just too strict here -- and should be checking > the actual bitwidths of types against the formats, before assuming that > "lu" doesn't match uint32_t? No. "long" and "int" are different types, and ignoring this would just store up trouble for wh

[ANNOUNCEMENT] Updated: mintty-0.3.7-1

2009-03-16 Thread Andy Koppe
MinTTY is a terminal emulator for Cygwin with a native Windows user interface and minimalist design. Its terminal emulation is largely compatible with xterm, but it does not require an X server to be running. It is based on code from PuTTY 0.60 by Simon Tatham and team. This is a compatibility upd

Re: clearing the scrollback buffer in mintty

2009-03-16 Thread Andy Koppe
gt; > On 'mintty' it does a 'clear' (i.e., clears the screen), > rather than a 'cls' (i.e., clears the screen and > scrollback buffer. Fixed in 0.3.7. Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

Re: mintty & less

2009-03-16 Thread Andy Koppe
entry. To get them working in less, add these two lines to ~/.lesskey (and run lesskey to translate it into the binary ~/.less): \eOH goto-line \eOF goto-end Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentati

Re: Porting to GCC 4.3.2

2009-03-16 Thread Andy Koppe
er > auto-import info messages. Use -Werror. Should be a legal requirement. ;) Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

Duplicate mintty window (was: Re: MinTTY 0.3.3)

2009-03-16 Thread Andy Koppe
ut I guess including this in MinTTY really is quite a bit more convenient, also in comparison with shortcuts. I'll stick a Duplicate command in the window menu, with disablable shortcut Alt+F2. Reopened issue 11: http://code.google.com/p/mintty/issues/detail?id=11 Andy -- Unsubscribe info:

Re: Did anyone download the Windows 7 beta?

2009-03-17 Thread Andy Koppe
>> completely.  (It's also, at least in win7, trivial for viruses etc. to bypass >> programmatically, because MS left a wide-open back door in it for the benefit >> of their own software.  Duh!) > > in win7 or vista or both ? 7 only. http://arstechnica.com/microsoft/news/2009/03/opinion-ms-should

Re: chere doesn't work anymore with MinTTY

2009-03-18 Thread Andy Koppe
version information and exit -h, --help Display this help message and exit Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

Re: chere doesn't work anymore with MinTTY

2009-03-18 Thread Andy Koppe
ating manpage. Konsole and gnome-terminal do support it though, without implementing any other xterm options, so I guess mintty better does as well: issue 69. Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation:

Re: chere doesn't work anymore with MinTTY

2009-03-20 Thread Andy Koppe
ugh its GUI. Alternatively, its config file can be edited manually. Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

[ANNOUNCEMENT] Updated: mintty-0.3.8-1

2009-03-21 Thread Andy Koppe
MinTTY is a terminal emulator for Cygwin with a native Windows user interface and minimalist design. Its terminal emulation is largely compatible with xterm, but it does not require an X server to be running. It is based on code from PuTTY 0.60 by Simon Tatham and team. This is a minor feature upd

Re: MinTTY 0.3.8 - ALT+F2

2009-03-21 Thread Andy Koppe
by default. Do the "Duplicate" command and its shortcut appear in the window menu? (Left-click on the program icon in the titlebar to access that.) Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentati

Re: MinTTY 0.3.8 - ALT+F2

2009-03-21 Thread Andy Koppe
> On the Window page of option, I only have the following 3 fields to me to > choose: > > Disable transparency when active > Show scrollbar > Close on Alt+F4 That's not 0.3.8 then (I hope). What does the "About..." box say? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Probl

Re: Clearing the Cygwin console

2009-03-21 Thread Andy Koppe
> Oh, "cls" is one of those "built-in" commands.  Any hints as to where > "clear" went? Cygwin Package List Search Results Found 4 matches for clear.exe. clear/clear-1.0-1 removed package; install ncurses instead ncurses/ncurses-5.5-2 Utilities for terminal handling

Re: strtold, isnormal

2009-03-23 Thread Andy Koppe
>> Oh, btw., the isnormal macro exists in math.h. > > Thanks.  But for some reason it's not getting picked up: > > gcc -c -I. -I/usr/local/include -I/home/reynolds-gregg/include > -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT > -D__EXTENSIONS__ -D_TC_PREFIX="\"/usr/local\"" > -D_TC_INC

Re: 'less': not working with 'mintty' > v0.3.6

2009-03-24 Thread Andy Koppe
down Shift or Ctrl while rolling the mousewheel. (And don't forget to run lesskey.) Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

MinTTY 0.4-alpha1

2009-03-25 Thread Andy Koppe
the current size. The manpage hasn't yet been brought into sync with these changes. Let me know how you get on, or what else you'd like to see improved. (But don't mention tabs! :) Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports:

Re: 'less': not working with 'mintty' > v0.3.6

2009-03-25 Thread Andy Koppe
k. I'm sorry, but I'm out of ideas on this one. ESCOF is the End keycode in less's output notation, where the escape character is shown as ESC, so that ought to match "\eOH goto-line". Even stranger that ^C would fix it. (It's working fine here, both on 1.5 and

Re: MinTTY 0.4-alpha1

2009-03-25 Thread Andy Koppe
how about disabling this by default, and having a command line option for activating it might be necessary? Suggestions for the name of such an option welcome. ("--keep-open-on-error" is the best I could come up with so far, but that's a bit on the unsnappy side.) Andy -- U

Re: MinTTY 0.4-alpha1

2009-03-26 Thread Andy Koppe
he unsnappy side.) > > FWIW, xterm uses "-hold" I think we've got a winner. Thanks! Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

Problem with git on Cygiwn 1.7

2009-03-26 Thread Andy Moreton
Hi, I've tried to grab a copy of the Linux repo from kernel.org using git in Cygwin 1.7, and I seem to be hitting the same problem noted here by Eric Blake: http://www.cygwin.com/ml/cygwin/2009-02/msg00567.html Running the following commands: cd /cygdrive/d/Source/kernel.org ajm> strace -o git-

Re: gcc4: missing atomic builtins?

2009-03-29 Thread Andy Koppe
ve 586 as the minimum supported CPU"? Windows 2000 and XP only require 586. Can't imagine many people using them on a Pentium machine though, and the 686 CMOV instruction would be nice to have. Also, should -with-tune be set to something recent? Andy -- Unsubscribe info: http://cygw

-mwindows and --Wl,subsystem,windows

2009-03-29 Thread Andy Koppe
Without it, stdout from mintty opens a console, but with it, the output ends up in the mintty window itself. No idea how the latter comes about.) What is the intended behaviour for -mwindows, and should it be used at all? Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Probl

Re: -mwindows and --Wl,subsystem,windows

2009-03-29 Thread Andy Koppe
Dave Korn: > Andy Koppe wrote: >> According to this post on the gcc mailing list a few years back, gcc's >> -mwindows option should imply --Wl,subsystem,windows: >> >> http://gcc.gnu.org/ml/gcc-help/2004-01/msg00225.html > >   Yep, it still does. Ah, you&#x

Re: MinTTY 0.4-alpha1

2009-04-01 Thread Andy Koppe
cursor by > clicking with mouse. No, it was to do with issue 74 ('Alt key on its own sends ^[' conflicts with Alt-select). Fixed in 0.4-beta1, available from http://mintty.googlecode.com now. Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports

Re: [1.7] Support for CJK Character Sets

2009-04-04 Thread Andy Moreton
On Sat 04 Apr 2009, Corinna Vinschen wrote: > On Apr 3 21:20, Corinna Vinschen wrote: >> On Apr 4 02:32, neomjp wrote: >> > [...] >> > But it failed for JIS/ISO-2022-JP and eucJP. (It was represented as >> > ASCII SO(0x0e)/UTF-8 sequence). >> > >> > What is going wrong here? What makes the file

Finding an executable's Windows subsystem

2009-04-05 Thread Andy Koppe
Apologies for having failed to google an answer, but is there an easy way in Cygwin to find out which Windows subsystem an executable targets? More specfically, is rxvt a 'console' or a 'windows' program? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: ht

popup consoles on Windows 7

2009-04-05 Thread Andy Koppe
ista is fine, but on 7 multiple consoles pop up briefly, and one stays up. Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

Re: popup consoles on Windows 7

2009-04-15 Thread Andy Koppe
CloseWindowStation(wst); } Debug output showed that the function calls all succeeded, and that CreateWindowStation() did create a station separate from the default one. No idea what to do about it ... Andy 2009/4/5 Andy Koppe: > MinTTY is a -mwindows app, which so far seemed to work well

RE: GREP: Memory Exhausted

2009-04-15 Thread Andy Hall
handled differently. If you watch memory consumption on windows while grep is running, it remains flat for about 30 seconds and then starts growing in sizeable chunks until it fails. And BTW, there was an earlier version of grep that worked but I have since lost the version number. Andy Hall

Re: GREP: Memory Exhausted

2009-04-15 Thread Andy Koppe
> Shailesh Dadure wrote: > >> GREP: Memory Exhausted > > Andy Hall wrote: > >> grep: memory exhausted > >  Letters in an error message don't just randomly change between upper and > lower case for no reason. It just prints argv[0], so if you invoke it

Re: GREP: Memory Exhausted

2009-04-15 Thread Andy Koppe
ot;Memory Exhausted" being uppercase. Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

Re: popup consoles on Windows 7

2009-04-15 Thread Andy Koppe
ut now it doesn't. > If the above code also allocs a console window when run from a non-cygwin > (mingw) application, then this should be reported as a bug to Microsoft. Okay, I'll try that. Any tips on how best to report Cygwin-related bugs to MS? Andy -- Unsubscribe info:

Re: popup consoles on Windows 7

2009-04-15 Thread Andy Koppe
x27;conhost.exe' for every console, which I don't think I've seen on previous Windows versions. Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

Re: popup consoles on Windows 7

2009-04-21 Thread Andy Koppe
ich I >> don't think I've seen on previous Windows versions. > > Confirmed.  I'm going to send a bug report to MSFT. Thanks! Is there a way to monitor developments on this issue? Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

Re: DOS programs under "screen"

2009-04-21 Thread Andy Koppe
pproach taken by http://sourceforge.net/projects/console/, which uses Win32 interfaces for accessing a console's screen contents and paints its own version of that. Andy ps: Actually, would it be possible to invoke a process with all the Win32 console functions overwritten by custom one

Re: Copying/Pasting in Cygwin

2009-04-22 Thread Andy Koppe
Xterm supports an OSC sequence for accessing the clipboard/selection. I don't know whether vim or emacs have support for this though. From http://invisible-island.net/xterm/ctlseqs/ctlseqs.html: OSC P s ; P t BEL ... P s = 5 2 → Manipulate Selection Data. These controls may be disabled using the a

Re: MS-DFSR conflict with cygwin file permissions

2009-04-23 Thread Andy Koppe
> The loss of the POSIX permissions is fine for me. But what is then the > purpose of tty in the CYGWIN variable? Better Unix terminal emulation in the Cygwin console, but with the drawback that many interactive Windows console apps won't work correctly. Andy -- Unsubscribe info

UTF-8 (was: Re: Updated: rxvt-20050409-10)

2009-04-24 Thread Andy Koppe
u might want to give MinTTY a go, which does have UTF-8 support without requiring X. (It's hiding in the "Codepage" drop-down list on the "Text" options pane.) Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.

[ANNOUNCEMENT] Updated: mintty-0.3.9-1

2009-04-25 Thread Andy Koppe
MinTTY is a terminal emulator for Cygwin with a native Windows user interface and minimalist design. Its terminal emulation is largely compatible with xterm, but it does not require an X server to be running. It is based on code from PuTTY 0.60 by Simon Tatham and team. This update contains a numb

Re: [ANNOUNCEMENT] Updated: rxvt-20050409-10

2009-04-27 Thread Andy Koppe
in C:\bin\run.exe /usr/bin/rxvt.exe -display 127.0.0.1:0 \ -tn rxvt-cygwin -e /bin/bash --login It's due to a quoting problem in the mkshortcut commands in the postinstall script. Also, is it necessary to invoke rxvt through run.exe, as rxvt does its own console hiding anyway

Re: mintty and CTRL + ->

2009-04-27 Thread Andy Koppe
y-search-backward "\e[1;5B": history-search-forward > Usually CTRL+d allows me to exit from a terminal when logged in ssh for > instance but it doesn't work either. That should work, unless the end-of-file character is set to something other than ^D on the remo

Re: [ANNOUNCEMENT] Updated: mintty-0.3.9-1

2009-04-27 Thread Andy Koppe
ng mintty until a fix is available. Should you have updated already, you can work around the issue by setting the codepage to one of the Windows codepages, e.g. 1252 for "Western" users. Apologies for releasing with such an obvious bug. Andy -- Unsubscribe info: http://cygwin.com

Re: [ANNOUNCEMENT] Updated: rxvt-20050409-11

2009-04-29 Thread Andy Koppe
revious post got you so worked up The words "pandering", "major regression", and "useless" might have had something to do with it. Not exactly the sort of feedback that makes a volunteer effort enjoyable. Andy -- Unsubscribe info: http://cygwin.com/ml/#unsub

[ANNOUNCEMENT] Updated: mintty-0.3.10-1

2009-04-29 Thread Andy Koppe
MinTTY is a terminal emulator for Cygwin with a native Windows user interface and minimalist design. Its terminal emulation is largely compatible with xterm, but it does not require an X server to be running. It is based on code from PuTTY 0.60 by Simon Tatham and team. This update fixes a couple

Re: Moving Cygwin

2009-04-30 Thread Andy Koppe
s with other apps that might install Unix-like directories, and an even smaller risk of erroneous Cygwin packages clobbering files elsewhere. I'm happy to deal with that, and the reminder on every update really isn't necessary. Andy -- Unsubscribe info: http://cygwin.com/ml/#

Re: DOS programs under "screen"

2009-05-01 Thread Andy Koppe
ent to the pty to be displayed by the likes of screen. As far as I can see, recreating the raw output from the cooked one isn't possible in general. This article has more on this: http://homepages.tesco.net/~J.deBoynePollard/FGA/capture-console-win32.html Andy -- Unsubscribe info: http:/

Re: DOS programs under "screen"

2009-05-01 Thread Andy Koppe
to high-level console I/O only. Oh, and ReadFile() and WriteFile() would need to be hooked too, to see whether they're accessing the console in question. I think I'll stick with difficulty rating "Insane" for this issue on the MinTTY issue tracker. Andy -- Unsubscrib

Re: emacs in its own window

2009-05-05 Thread Andy Koppe
all the X version of emacs and invoke it as emacs-X11.) Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

Re: dual installation 1.5 and 1.7: which XWin to use?

2009-05-05 Thread Andy Koppe
help testing it. ;) Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

Re: New group alt.comp.cygwin available on usenet

2009-05-06 Thread Andy Koppe
e access to > this group, you will probably need to contact the server administrator, > requesting that the group alt.comp.cygwin is added to the newsfeed. Colour me puzzled. gmane.os.cygwin already provides NNTP access to the Cygwin mailing list, and a separate newsgroup seems rather unnecessar

Re: [ANNOUNCEMENT] [1.7] Updated: cygwin-1.7.0-47

2009-05-07 Thread Andy Koppe
be nice. :) No, it wouldn't. The maximize/restore button should do just fine. Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

Re: Bug to setup Cygwin on Windows Server 2008 64bits

2009-05-07 Thread Andy Koppe
t started a shell (bash.exe) > inside a command window.  In other words, there no guarantee that any useful > environment was set up. Yep. To get the usual environment, bash needs to be invoked with option --login (or -l), which makes it a "login shell" and ensures that /et

<    1   2   3   4   5   6   7   8   9   10   >