Re: 1.7 ssh/rsync consuming all cpu on x64 Vista

2009-07-02 Thread Andy Koppe
2009/7/2 Jonathan jonat...@kc8onw.net: I still see 100% CPU usage per core with the latest snapshot (2009-07-01) I've tried removing tortoisesvn and virtualbox and still have performance issues, is my next step trying a clean windows install? Only if you're gonna install XP. ;) Andy --

Re: popup consoles on Windows 7

2009-07-02 Thread Andy Koppe
2009/7/2 Julio Costa cost...@gmail.com: HKCU\Console\argv[0]\WindowPosition = 0x80008000 Good idea! Why on Earth are we having this trouble to have an available console all the time? Is it necessary to redirect the in/out streams? Is it another thing? From earlier in the thread: me: The

Re: boost-1.39 compilation with gcc-4

2009-07-02 Thread Andy Koppe
2009/7/2 Eray Ozkura: I prefer not to subscribe to any high-volume lists, so if you have an answer please CC to me. Ever heard of mail filters? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation:

Re: [ANNOUNCEMENT] [1.7] Updated [security]: bash-3.2.49-23

2009-07-01 Thread Andy Koppe
2009/7/2 Christopher Faylor: And for those who want to wail about this, take a look at the various Why is Cygwin so slow threads that have been here in the last month.  Every special case accommodation we make to allow MS-DOSisms to work seamlessly adds code to Cygwin and cause

fork and exec (was: Re: Proposed patch to system.XWinrc)

2009-06-30 Thread Andy Koppe
2009/6/23 Christopher Faylor: If posix_spawn() ever gets implemented in Cygwin to avoid the slowness of fork(), /bin/sh might well change to the first shell that supports it. It's really somewhat of an urban myth about Cygwin's fork being slow. Cygwin's exec is also pretty slow.  I'm not really

Re: Cannot convert string nil2 to type FontStruct, was: post-upgrade problems

2009-06-29 Thread Andy Koppe
2009/6/29 Jon TURNEY: Perhaps to avoid this, xterm's setup.hint should list font-alias as a requirement since it names fonts defined there in it's default resources? font-adobe-dpi100 (and -dpi75?) should probably be xterm's or xorg-server's dependencies as well, otherwise you get a warning

Re: .bashrc

2009-06-29 Thread Andy Koppe
2009/6/29 Dave Tang: So I've changed my home directory to /home/d.tang in my passwd file. I copied the .bashrc into my new home directory. But when I restart cygwin, it still doesn't load the .bashrc. Bash on Cygwin is normally invoked as a login shell, in which case it doesn't source

mkshortcut --allusers --smprograms

2009-06-29 Thread Andy Koppe
Shortcuts created by postinstall scripts using mkshortcut --allusers --smprograms aren't readable for ordinary users, so all they get to see in the start menu is a white dummy icon that doesn't do anything. This affects both MinTTY and rxvt, at least with Cygwin 1.7 on Windows 7. I guess the

Re: [RFU] mintty-0.4.2-1

2009-06-28 Thread Andy Koppe
2009/6/28 Corinna Vinschen: For both 1.5 and 1.7: wget http://mintty.googlecode.com/files/mintty-0.4.2-1.tar.bz2 wget http://mintty.googlecode.com/files/mintty-0.4.2-1-src.tar.bz2 Please delete 0.4.0-1. Done.  I also removed 0.3.10-1.  I hope that was ok. Yep, that's fine. Thanks! Andy

[ANNOUNCEMENT] Updated: mintty-0.4.2-1

2009-06-28 Thread Andy Koppe
MinTTY is a terminal emulator for Cygwin with a native Windows user interface and minimalist design. Among its features are Unicode support and a graphical options dialog. Its terminal emulation is largely compatible with xterm, but it does not require an X server. MinTTY is based on code from

Re: Cygwin 1.7 setup-1.7.exe minor display error

2009-06-27 Thread Andy Koppe
2009/6/27 Christopher Faylor cgf-use-the-mailinglist-ple...@cygwin.com: I haven't actually used it, but this looks quite promising: http://www.resedit.net http://www.resedit.net/screenshots.htm Even mentions MingW and says this: To open a file which uses Win32 API symbolic constants, you will

Re: popup consoles on Windows 7

2009-06-27 Thread Andy Koppe
2009/6/26 Corinna Vinschen: On Jun 26 15:08, Julio Costa wrote: I've been following this discussion, crossing fingers to someone came to some conclusion, as this is the biggest show-stopper for Cygwin in several months. I've not access to a Win 7, but I would like at least to drop some

Re: [PATCH] Add @cjknarrow modifier (was Re: [Fwd: [1.7] wcwidth failing configure tests])

2009-06-27 Thread Andy Koppe
2009/6/15 Corinna Vinschen: Define the default for ja, ko, and zh to use width = 2, with a @cjknarrow (or whatever) modifier to use width = 1. I think it is good idea. If everybody agrees to this suggestion, here's the patch.  Tested with various combinations like  

Re: Cygwin 1.7 setup-1.7.exe minor display error

2009-06-26 Thread Andy Koppe
2009/6/26 Christopher Faylor: Yes.  Thanks for doing this.  I hate working with this rc stuff.  I used to use Visual C++ to lay out the dialogs but, somewhere along the line, my installation bit-rotted. Well, adding those #defines is probably the final kiss of death for ever being able to

Re: Problem with displaying ASCII table in mintty

2009-06-26 Thread Andy Koppe
2009/6/26 Mark Harig Is is possible to display the upper 128 entries in the ASCII table in mintty using the 'cygutils' application 'ascii'? I have attempted to use two configurations, but neither one displays the table without problems in mintty: Configuration 1:   - mintty: Using the

Re: popup consoles on Windows 7

2009-06-26 Thread Andy Koppe
2009/6/26 Corinna Vinschen The issue will definitely not be fixed in RTM.  Oh well. :( We will have to find a W7 workaround for our method of creating a hidden console.  I have asked Microsoft to provide us with a workaround but I have no really big hope that they can or will do it.  Any

Re: popup consoles on Windows 7

2009-06-26 Thread Andy Koppe
2009/6/26 Corinna Vinschen: The proper, yet probably completely impractical solution: compile Cygwin programs for the GUI subsystem instead of the console one and attach to the parent process' console, if any, with explicit calls at program startup. POSIX programs don't use the Win32 console

Re: popup consoles on Windows 7

2009-06-26 Thread Andy Koppe
2009/6/26 Corinna Vinschen: Forgot to say: the occurances of this could at least be reduced by trying AttachConsole to get a hold on the parent process' console, if any. When I attempted that in MinTTY, though, I couldn't make it work. Yes, I thought of trying AttachConsole first.  It's a

Re: popup consoles on Windows 7

2009-06-26 Thread Andy Koppe
2009/6/26 Corinna Vinschen: Yes, I thought of trying AttachConsole first.  It's a band-aid since it will of course not work if there's just no parent console That can be dealt with, because AttachConsole reports back whether it did manage to attach, so if it doesn't, one can then call

Re: Some questions about mintty

2009-06-25 Thread Andy Koppe
2009/6/25 Mark Harig: At the bash shell prompt while editing commands is one example, but it is also the case for me in text editors, vim or emacs, for example. From the Options menu, I set the cursor type to block and set the cursor color to a light color, say, yellow, and then moved the

Re: Problem with mintty-0.4.1-1 and orpie

2009-06-25 Thread Andy Koppe
2009/6/25 David Rothenberger: After upgrading to mintty-0.4.1-1, the Enter, +, -, *, and / keys on my number pad no longer with in orpie. Reverting to mintty-0.4.0-2 solves the problem. Sure about 0.4.0-2? I'm finding the behaviour changed between 0.4-rc3 and 0.4-rc4. That's when the keycodes

Re: Problem with mintty-0.4.1-1 and orpie

2009-06-25 Thread Andy Koppe
2009/6/25 Mark Harig: (TERM=xterm by default for me. I have no idea where that comes from.) This is documented in the manual page for 'mintty': TERM variable The TERM variable for the child process is set to xterm, so that pro‐ grams that pay attention to it expect xterm keycodes and

Re: Problem with mintty-0.4.1-1 and orpie

2009-06-25 Thread Andy Koppe
2009/6/25 David Rothenberge: After upgrading to mintty-0.4.1-1, the Enter, +, -, *, and / keys on my number pad no longer with in orpie. Reverting to mintty-0.4.0-2 solves the problem. Sure about 0.4.0-2? Yup. I checked it a number of times. Ah, you're right; I hadn't tried it with NumLock

Re: Problem with mintty-0.4.1-1 and orpie

2009-06-25 Thread Andy Koppe
2009/6/26 Matt Wozniski: There's a bit in the TIPS section of the manual on how to set any environment variable using the shell's -c option, e.g.: mintty sh -c TERM=xterm-256color emacs Hm.  Maybe I'm missing something, but - isn't this a place where using /bin/env would make more

Re: Problem with mintty-0.4.1-1 and orpie

2009-06-25 Thread Andy Koppe
2009/6/25 Andrew Schulman: After upgrading to mintty-0.4.1-1, the Enter, +, -, *, and / keys on my number pad no longer with in orpie. Reverting to mintty-0.4.0-2 solves the problem. Also, running TERM=cygwin orpie also solves the problem. (TERM=xterm by default for me. I have no idea where

Re: Problem with mintty-0.4.1-1 and orpie

2009-06-25 Thread Andy Koppe
2009/6/26 Mark Harig: From the 0.4.0 release announcement: - MinTTY now has its own identity, instead of pretending to be an old xterm. The ^E answerback string is mintty, the ^[[c primary device attribute command reports a vt100, and the ^[[c secondary DA command reports terminal type 77

Re: setup-1.7.exe command line options

2009-06-24 Thread Andy Koppe
2009/6/23 Christopher Faylor: On Tue, Jun 23, 2009 at 04:13:39PM -0500, Thrall, Bryan wrote: Where can I find documentation on the setup-1.7.exe command line options, in particular the one for installing packages without invoking the GUI that I think was added last year? I had a look in

Re: cygcheck triggers Wow6432Node infinite loop on Windows Server 2008

2009-06-24 Thread Andy Koppe
2009/6/24 GJ Hagenaars: Hi there, On a Windows Server 2008, running cronbug from the (bash) command line results in an ever increasing cronbug.txt file because cygcheck walks the registry and gets into an infinite loop. It will repeatedly find these entries, deeper and deeper in the

Re: Proposed patch to system.XWinrc

2009-06-23 Thread Andy Koppe
2009/6/23 Jon TURNEY: Always assuming that /bin/bash exists, or that /bin/sh is bash is probably bad style for portability across unicies. However, in this specific case, it's probably ok. You never know. If posix_spawn() ever gets implemented in Cygwin to avoid the slowness of fork(),

Re: Some questions about mintty

2009-06-23 Thread Andy Koppe
2009/6/22 Mark Harig: 1. There is no description of the '-e' switch in mintty's manual page.   Is it an execute-this-command option?  Or, should the user be   aware that it is specific to execute this shell? The -e option was added for compatibility with xterm and other terminals, but it isn't

setup-1.7.exe command line options

2009-06-23 Thread Andy Koppe
Where can I find documentation on the setup-1.7.exe command line options, in particular the one for installing packages without invoking the GUI that I think was added last year? I had a look in all the places I could think of, but without success, and invoking setup with -h, -H, -help or --help

Re: Some questions about mintty

2009-06-23 Thread Andy Koppe
2009/6/23 Mark Harig idirect...@aim.com: The background colour is used for text beneath the cursor, so if the cursor is visible infront of the background, the text beneath the cursor should be visible too. With the default white-on-black colours, you get black text inside a white cursor block.

[ANNOUNCEMENT] [ANNOUNCEMENT] Updated: mintty-0.4.1-1

2009-06-22 Thread Andy Koppe
MinTTY is a terminal emulator for Cygwin with a native Windows user interface and minimalist design. Among its features are Unicode support and a graphical options dialog. Its terminal emulation is largely compatible with xterm, but it does not require an X server. MinTTY is based on code from

[ANNOUNCEMENT] Updated: mintty-0.4.1-1

2009-06-22 Thread Andy Koppe
MinTTY is a terminal emulator for Cygwin with a native Windows user interface and minimalist design. Among its features are Unicode support and a graphical options dialog. Its terminal emulation is largely compatible with xterm, but it does not require an X server. MinTTY is based on code from

Fwd: [RFU] mintty-0.4.1-1

2009-06-20 Thread Andy Koppe
For both 1.5 and 1.7: wget http://mintty.googlecode.com/files/mintty-0.4.1-1.tar.bz2 wget http://mintty.googlecode.com/files/mintty-0.4.1-1-src.tar.bz2 Thanks, Andy

Re: [PATCH] Add @cjknarrow modifier (was Re: [Fwd: [1.7] wcwidth failing configure tests])

2009-06-18 Thread Andy Koppe
2009/6/18 Thomas.Wolff: And as a matter of fact, you can run both xterm and MinTTY with a non-CJK locale and ambiguous characters being wide. This is achieved by invoking xterm -cjk_width or by selecting an according font in MinTTY, e.g. Ming, SimSun, MS Mincho, or even just the popular

Re: Optimize cygwin on recent windows version (Vista and Seven)

2009-06-15 Thread Andy Koppe
Until now I was using cygwin on Windows XP and I was satisfied by cygwin-1.7 but these last few days I switched to a more powerful laptop with very fast hardware (Core Duo 3.0 Ghz and SSD OCZ Vertex) and running windows Seven. Now when I test cygwin, everything is so sloowww Not exactly

Re: Optimize cygwin on recent windows version (Vista and Seven)

2009-06-15 Thread Andy Koppe
2009/6/15 Christopher Faylor: One issue that I've noticed on Windows 7, both with Cygwin 1.5 and 1.7, is that trying to log a utmp entry when starting a terminal can take up to half a minute, presumably due to waiting for some sort of timeout. Sorry but this isn't a much more useful report.

Re: emacs package size

2009-06-14 Thread Andy Koppe
2009/6/13 Ken Brown: The growth actually occurred with version 22 and was discussed a couple years ago (http://cygwin.com/ml/cygwin-apps/2007-07/msg00047.html).  The main problem is that the binary itself is huge, so I don't think there's much I can do about it.  Another factor is that there

emacs package size

2009-06-13 Thread Andy Koppe
The emacs package has grown from 6 MB to 20 MB between versions 21 and 23, so I was wondering, what is all that extra stuff? Perhaps it would be worthwhile splitting less than essential parts off into an emacs-extras package or some such? That size must be quite off-putting for people on slow or

Re: Using emacs in a terminal window

2009-06-11 Thread Andy Koppe
No, when Emacs is run in terminal (text-only, non-X-windows) mode, it will use whatever terminal capability is in effect, not only in `term-mode'. Yes, but nevertheless the TERM setting needs to fit the terminal that Emacs is actually running in, so rxvt (or some variation thereof) for rxvt

Re: Using emacs in a terminal window

2009-06-11 Thread Andy Koppe
Here are some differences between the terminfo capabilities 'rxvt-cygwin-native' and 'Eterm-256color': 1. max_colors: rxvt    - max_colors: 8 Eterm - max_colors: 256 I'd say it's a bug that the rxvt max_colors entry is 8, since rxvt does support 256 colours in its default setting. (And I

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

2009-06-10 Thread Andy Koppe
2009/6/10 Dave Korn: Corinna Vinschen wrote: What's new in contrast to 1.7.0-48 === - When running Cygwin applications in the Windows console window, the   Backspace key now returns ASCII DEL (^?, \177) instead of ASCII BS   (^H, \008).  The

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

2009-06-10 Thread Andy Koppe
Me scribbled: - When running Cygwin applications in the Windows console window, the   Backspace key now returns ASCII DEL (^?, \177) instead of ASCII BS   (^H, \008).  The Control-Backspace key now returns ESC-DEL (^[^?,   \033\177) or \377, dependent on the meta mode set by the setmetamode  

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

2009-06-10 Thread Andy Koppe
And then there are rxvt and xterm and their termcap and terminfo entries as well ... That I don't understand.  What have xterm and rxvt terminals to do with the cygwin terminal type represented by a Windows console? Nothing, sorry. Erroneous copy pasting from a previous post. Andy --

Re: RXVT Problem

2009-06-10 Thread Andy Koppe
I'm using Win2000-SP4, and I've created a shortcut in the quick launch bar to start an RXVT terminal with this parameters: Target: C:\cygwin\bin\rxvt.exe -e bash --login Start in: C:\cygwin\bin The problem is when I click this shortcut, the terminal opens and closes immediately The likely

Re: last update is weird

2009-06-09 Thread Andy Koppe
2009/6/9 Vincent R.: I already have the minus... I have uninstalled and resinstalled mintty but same problem. I can also see that start menu shortcut is not created anymore. Ah, packaging bug, sorry. I forgot to include the postinstall and preremove scripts. I'll upload a corrected 0.4.0-2

Re: last update is weird

2009-06-09 Thread Andy Koppe
I have started cygwin-1.7 setup to update to latest cygwin dll and now when I start mintty, seems are very weird. My terminal looks like a mix between a windows terminal and mintty, for instance I have the following text in black and white : Microsoft Windows XP [version 5.1.2600] (C)

[RFU] mintty-0.4.0-1

2009-06-07 Thread Andy Koppe
For both 1.5 and 1.7: wget http://mintty.googlecode.com/svn/tags/0.4.0/cygport/setup.hint wget http://mintty.googlecode.com/files/mintty-0.4.0-1.tar.bz2 wget http://mintty.googlecode.com/files/mintty-0.4.0-1-src.tar.bz2 Thanks, Andy

Re: bad mintty setup.hint

2009-06-07 Thread Andy Koppe
2009/6/7 Christopher Faylor: /sourceware/infra/bin/cygwin/upset: Error.  Parsing failed. - release/mintty/setup.hint(13): unterminated quote for ldesc Apologies for that. Corrected setup.hint attached. Is there a way to check these before uploading? Andy setup.hint Description: Binary data

Re: ASLR sometimes stops working on Vista with 1.7? [was: Re: Cygwin 1.7 release (was ...)]

2009-06-07 Thread Andy Koppe
2) if the length of the actual pathname to the DLL is more than 2k wide characters (e.g. 4k bytes) then issue #1 is made increasingly likely, Surely anyone with paths like that deserves all the pain that comes their way. 2k characters means 85 levels of Documents and Settings. :) Andy --

[ANNOUNCEMENT] Updated: mintty-0.4.0-1

2009-06-07 Thread Andy Koppe
MinTTY is a terminal emulator for Cygwin with a native Windows user interface and minimalist design. Among its features are Unicode support and a graphical options dialog. Its terminal emulation is largely compatible with xterm, but it does not require an X server. MinTTY is based on code from

Re: mousewheel in xterm, vim (was: mintty-0.4.0-1)

2009-06-07 Thread Andy Koppe
2009/6/8 David Arnstein: can anyone suggest how to get mousewheel working with 1. X11 xterm windows, while at shell prompt. Not sure that's possible/practical. What would you expect it to do? 2. X11 xterm windows, while in vim. Put this line in ~/.vimrc: :set mouse=a Andy -- Unsubscribe

Re: [Fwd: [1.7] wcwidth failing configure tests]

2009-06-06 Thread Andy Koppe
2009/6/5 Thomas Wolff: the locale syntax allows for an optional modifier which can be used to specify deviations, e.g.        de_DE           has charmap ISO-8859-1        de...@euro      has charmap ISO-8859-15        uz_UZ           has charmap ISO-8859-1        uz...@cyrillic  has charmap

Re: [Fwd: [1.7] wcwidth failing configure tests]

2009-06-06 Thread Andy Koppe
nit-picking Thomas, couldn't you have discussed this in the two weeks I was on vacation?  Why did you wait until I implemented the language-based approach? /nit-picking Sorry, that's largely my fault. Among a bunch of other MinTTY issues we were privately discussing various more or less mad

Re: mintty ^H/^? bug

2009-06-05 Thread Andy Koppe
2009/6/5 Ken Brown: I guess what I could do is remove the setting from the dialog and instead make it a config file or command line option only, because it's not really something that users should normally have to worry about. Does the command line option currently exist? No. Sorry, I

AltGr troubles (was: Re: Suggestion for terminal package maintainers)

2009-06-04 Thread Andy Koppe
Back to the cygwin list, since this is getting off-topic for cygwin-apps. 2009/6/3 Ken Brown: On 6/3/2009 10:32 AM, Corinna Vinschen wrote: On non-English keyboards, the right Alt key is called AltGr and returns the modifiers Left-Control/Right-Alt. So maybe the answer is that

Re: Suggestion for terminal package maintainers

2009-06-03 Thread Andy Koppe
2009/6/3 Corinna Vinschen: Even not knowing the sequence returned by Alt-Backspace, AFAICS, the right thing to do is to send either ^[^? or \377, dependent on the setting of dev_state-metabit. I think that's the right thing to do. I'd pointed out the problem with Alt+Backspace, but that got

Re: Suggestion for terminal package maintainers

2009-06-03 Thread Andy Koppe
Ah, right.  The old CTRL-V method doesn't work for two character sequences when the second one is ^?.  Using stty raw shows that Alt-Backspace does return what Corinna says above, at least on Ubuntu. Same on Suse and Debian (well, Knoppix). Andy

Re: Suggestion for terminal package maintainers

2009-06-03 Thread Andy Koppe
Thomas Wolff: Checking escape sequences of function keys and keypad keys, there are many similarities (and common deficiencies) with Linux console and some weird differences: * Linux console (SUSE, don't know if it's really consistent) defines  function keys F1...F12 and Shift-F1...Shift-F8

Re: Suggestion for terminal package maintainers

2009-06-02 Thread Andy Koppe
Corinna Vinschen: What makes me a bit concerned about this change is that, while we can change Cygwin's terminfo and termcap files, we can't do that for existing non-Cygwin installations.  Is it really safe to change the BS key to ^? now that the cygwin terminal type is known to return ^H for

Re: what package for man 3 printf?

2009-06-02 Thread Andy Koppe
I couldn't figure this out. What package to install to get man 3 printf ? Search http://cygwin.com/packages for printf.3.  We unfortunately don't have a package of man pages for our C library functions. Actually the cygwin-doc package does have man pages for much of the C standard library.

Re: what package for man 3 printf?

2009-06-02 Thread Andy Koppe
 We unfortunately don't have a package of man pages for our C library functions. Actually the cygwin-doc package does have man pages for much of the C standard library. D'oh, that's what Dave said in the next sentence. Sorry, Andy -- Unsubscribe info:

Re: mintty ^H/^? bug

2009-06-02 Thread Andy Koppe
I think there's a minor bug in the way mintty handles the ^H/^? option for the Backspace key.  Suppose you have mintty set up so that Backspace sends ^H (the default).  You then use the options menu to change this so that Backspace sends ^?.  Then stty -a still shows erase = ^H, and some

Re: Win2k Command Window Can't Execute G++

2009-05-31 Thread Andy Koppe
2009/5/31 Roger Head: Thanks for the reply, Matt. I don't have a really good idea of how Cygwin and Windows are both supposed to be able to handle .LNKs to e.g. G++, but a dump of g++.exe.lnk shows strings for /etc/alternatives and L:\cygwin\etc\alternatives. So yes, I don't know if

Re: emacs -nw keypad, tpu-edt.el, and C-h

2009-05-31 Thread Andy Koppe
2009/5/30 Ken Brown: Now C-h and Backspace work as expected when I run emacs in a Cygwin console, provided I do stty erase ^? first.  Am I right in assuming that this won't be necessary once the termios default is changed? Yep. 2009/5/30 Matt Wozniski: On Debian, at least, the console sends

Re: emacs -nw keypad, tpu-edt.el, and C-h

2009-05-31 Thread Andy Koppe
2009/5/31 Ken Brown: As I long-time emacs user, I have to say that I have never been tempted to type Ctrl-Backspace in emacs.  But, as a result of this discussion, I just tried it in three different settings and got three different behaviors.  (The three settings were: emacs under X, emacs in

Re: emacs -nw keypad, tpu-edt.el, and C-h

2009-05-30 Thread Andy Koppe
Christopher Faylor wrote: Now of course if emacs can translate low-level console I/O as it sees fit, then the Cygwin DLL could also be able to translate Backspace into ^?  characters rather than ^H, in CYGWIN=tty mode anyway.  So I had a look at fhandler_console.cc.  It already uses

Re: emacs -nw keypad, tpu-edt.el, and C-h

2009-05-30 Thread Andy Koppe
One more thing: with your change, Alt can be used to override ^? and get ^H instead. Usually though, Ctrl is used as the modifier for this, whereas Alt acts as Meta (i.e. it sends a ^[ prefix). Actually, we could take this one step further. In MinTTY, if Backspace is set to send ^?,

Re: emacs -nw keypad, tpu-edt.el, and C-h

2009-05-30 Thread Andy Koppe
The Linux console in Opensuse actually does the same thing, and two's a standard, right? ;) Actually, no.  I emulated the linux console on my system.  kterminal and xterm also makes no distinction that I can see between CTRL-Backspace and Backspace. As I said, I've seen the ^_ in the text

Re: emacs -nw keypad, tpu-edt.el, and C-h

2009-05-29 Thread Andy Koppe
Actually, this holy war can be bypassed, without sacrificing Emacs correctly working on a console.  What the console should send for that is the Backspace function key. Makes sense to me.  Andy, is there any reason all cygwin terminals shouldn't do this (including mintty)?  This already

Re: emacs -nw keypad, tpu-edt.el, and C-h

2009-05-29 Thread Andy Koppe
Actually, this holy war can be bypassed, without sacrificing Emacs correctly working on a console.  What the console should send for that is the Backspace function key. Makes sense to me.  Andy, is there any reason all cygwin terminals shouldn't do this (including mintty)?  This already

Re: emacs -nw keypad, tpu-edt.el, and C-h

2009-05-28 Thread Andy Koppe
Ken Brown: A separate issue that has arisen in this thread is that when emacs runs in a cygwin terminal [*], it sees C-h as DEL instead of as the help key. Can someone familiar with cygwin terminals help with this?  I'm speculating again (bad habit), but it seems that the keycodes are being

Re: emacs -nw keypad, tpu-edt.el, and C-h

2009-05-28 Thread Andy Koppe
Can cygwin terminals be configured so that emacs can tell the difference between the Backspace key and pressing h while holding down the control key? pressing h while holding down the control key produces ^H (0x08). By default, this is also what backspace sends.  As Andy says, many (all?)

Re: emacs -nw keypad, tpu-edt.el, and C-h

2009-05-28 Thread Andy Koppe
Sorry, I guess I haven't been expressing myself very well.  I wasn't suggesting any particular course of action, and I certainly don't want to break other applications. No worries. I was just trying to explain why the proper and obvious fix of switching the backspace defaults to ^? might be

Re: emacs -nw keypad

2009-05-27 Thread Andy Koppe
As I understand the emacs documentation, the setting TERM=xterm should cause emacs to load term/xterm.el.  In that file I find lines like (define-key map \eOq [kp-1]) (define-key map \eOr [kp-2]) This looks like the place where emacs should learn to interpret the keypad keys. xterm

Re: emacs -nw keypad

2009-05-27 Thread Andy Koppe
In an xterm (with TERM=xterm) a few keypad keys do in fact have a (not very useful) definition: kp-f1, kp-f2, kp-f3, kp-f4 are (incorrectly) mapped to f1, f2, f3, f4 and kp-enter is correctly mapped. With xterm's default config, F1 to F4 do actually send the keypad codes ^[OP to ^[OS. That's

Re: [1.7] Proposal: the filename encoding in C locale uses UTF-8 instead of SO/UTF-8

2009-05-13 Thread Andy Koppe
- why do you need to touch the filename at all? I haven't read all of it. Is the UTF-16 on disk and we need to work around UTF-16 being intractable as C string? Yes. If you simply treated each UTF-16 symbol as two chars, you'd get unintended NULs and slashes. For starters, the upper halves of

Re: [1.7] Proposal: the filename encoding in C locale uses UTF-8 instead of SO/UTF-8

2009-05-13 Thread Andy Koppe
Not necessarily better, but here is a chart: Sys:  App:    function expects/returns NULL: NULL:   UTF-8 C/UA: NULL:   UTF-8 NULL: C/UA:   UTF-8 C/UA: C/UA:   UTF-8 SPEC: NULL:   System Locale SPEC: C/UA:   UTF-8 NULL  SPEC:   Application Locale C/UA: SPEC:   Application Locale SPEC:

Re: Installing Cygwin without using setup

2009-05-13 Thread Andy Koppe
2009/5/13 Gary Johnson garyj...@spocom.com: Cygwin installs to one directory, usually c:\cygwin. You can choose to use it or not.  I really don't understand the question.  Sorry. Doesn't setup.exe add entries to the Windows registry as well? Only a few for Cygwin's own use, e.g. for the

Re: popup consoles on Windows 7

2009-05-13 Thread Andy Koppe
2009/5/8 Corinna Vinschen: Unfortunately I got the reply that this issue cannot be addressed this time but MSFT will consider addressing the issue in a future version of Windows. Forgot to say: thanks for the update. This is really bad. Yep. And the workaround with ShowWindowAsync() isn't

Re: [Fwd: [1.7] wcwidth failing configure tests]

2009-05-13 Thread Andy Koppe
2009/5/12 Corinna Vinschen: Trouble is, there's the thorny issue of the CJK Ambiguous Width category of characters, which consists of things like Greek and Cyrillic letters as well as line drawing symbols. Those have a width of 1 in Western use, yet with CJK fonts they have a width of 2.

Re: [Fwd: [1.7] wcwidth failing configure tests]

2009-05-13 Thread Andy Koppe
How should that work?  The first half of the surrogate pair has not enough information to decide that.  For instance, take the ranges 0x10A01, 0x10A03 }, { 0x10A05, 0x10A06 }.  The information about the low 10 bits of the Unicode value is in the second half of the pair.  From the first half

Re: Question of the necessity of rebaseall

2009-05-13 Thread Andy Koppe
Remember, the semantics of fork is that BOTH processes (the parent and child) must see the SAME memory, and that includes all shared libraries being mapped at the SAME location.  But since Windows doesn't provide a native fork, the child must remap everything that the parent had, and hope

Re: [Fwd: [1.7] wcwidth failing configure tests]

2009-05-12 Thread Andy Koppe
And here's another question.  The utf8*.h files claim they have been generated from the unicode.txt file of the Unicode 3.2 standard.  Do we have the script which generated the utf8*.h files?  Can we regenerate the files to match the current Unicode 5.1 standard? There's Markus Kuhn's wcwidth

Re: Windows Share Folder Problem

2009-05-10 Thread Andy Koppe
I am going to present the seminar on Cygwin in my organization.In that seminar I want to show you can access windows shared folder of any PC from Cygwin. To demonstrate that I have tried to mount that windows shared folder in cygwin but it didn't work. When I have searched in google for it. I

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

2009-05-07 Thread Andy Koppe
By the way, I don't like that setup maximizes the window when on the package selection step. I haven't seen it, but it certainly sounds wrong for a wizard-style window to change its size when you press the Next button. An option somewhere to disable it would be nice. :) No, it wouldn't. The

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

2009-05-07 Thread Andy Koppe
2009/5/7 Georg Nikodym: On 7-May-09, at 10:56 AM, Kyeto wrote: I have disabled DEP and now Cygwin run. But i have just the pompt with :    bash-3.2$ : _ None commands are available When i do a ls = command not found. It's the same for a lot (touch, chmod ...) But, pwd, cd work

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

2009-05-06 Thread Andy Koppe
There is now a Cygwin related newsgroup alt.comp.cygwin on mainstream usenet for anarchists, lunatics, and terrorists. This group is available on usenet for access using a conventional newsreader. If this group is not listed on your usenet server, and you require access to this group, you

Re: emacs in its own window

2009-05-05 Thread Andy Koppe
Gus K: I installed the X server and i get an xterm window I type emacs but emacs doesnt start You've started the terminal version of emacs, which just stays quiet if you put it into the background with ''. Just omit the ''. (Or, as Ken said, install the X version of emacs and invoke it as

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

2009-05-05 Thread Andy Koppe
I have installed both versions of cygwin 1.5 and 1.7. Both seem to work fine with Xserver from 1.5 or 1.7 (i.e. cygwin 1.5 works fine with Xwin from 1.5 and 1.7, cygwin 1.7 works fine with Xwin from 1.5 and 1.7). Any recommendation on which one to use? The 1.7 one, to help testing it. ;)

Re: Installing beta (1.7) version parallel to current one

2009-05-04 Thread Andy Koppe
2009/5/4 Dave Korn:  Yeh.  Given the problem in making the data structures restartable, I think out best bet in the short term might be to a) give people an explicit choice of upgrade or parallel (default to upgrade) at an earlier screen, and subsequently gray-out the back button.  We could

Re: GPL-3

2009-05-03 Thread Andy Koppe
I just installed Cygwin 1.7, and didn't install any extra packages. Here's what I see: r...@varuna ~ $ gunzip -c /etc/setup/base-files.lst.gz | grep GPL-3 usr/share/doc/common-licenses/GPL-3.0 usr/share/doc/common-licenses/LGPL-3.0 I'd looked on 1.5 only, where those files aren't present.

Re: DOS programs under screen

2009-05-01 Thread Andy Koppe
2009/4/21 Barry Kelly: Windows implements console mode as a client-server protocol between the executable (ntvdm.exe for DOS apps) and winsrv.dll (hosted in csrss.exe), but the protocol isn't easily hookable. I guess one would have to hijack the console APIs, perhaps by stepping into the

Re: DOS programs under screen

2009-05-01 Thread Andy Koppe
2009/5/1 Barry Kelly: ReadConsoleOutput() on the hidden console only gives you the cooked output in terms of character cell contents and attributes, whereas the raw output as it came from the console app would need to be sent to the pty to be displayed by the likes of screen. As far as I can

Re: Moving Cygwin

2009-04-30 Thread Andy Koppe
This means either installing Cygwin in the root directory of the drive that you'll commonly be working in with both Windows and Cygwin tools Speaking of which, it would be nice if setup.exe warned about doing this only once when you first decide to install in the root directory. Currently it

[RFU] mintty-0.3.10-1

2009-04-29 Thread Andy Koppe
http://mintty.googlecode.com/svn/pkgs/cygwin/0.3.10-1/mintty-0.3.10-1-src.tar.bz2 http://mintty.googlecode.com/svn/pkgs/cygwin/0.3.10-1/mintty-0.3.10-1.tar.bz2 http://mintty.googlecode.com/svn/pkgs/cygwin/0.3.10-1/setup.hint This fixes a couple of bugs introduced in 0.3.9. See

Re: [RFU] mintty-0.3.10-1

2009-04-29 Thread Andy Koppe
http://mintty.googlecode.com/svn/pkgs/cygwin/0.3.10-1/mintty-0.3.10-1-src.tar.bz2 http://mintty.googlecode.com/svn/pkgs/cygwin/0.3.10-1/mintty-0.3.10-1.tar.bz2 http://mintty.googlecode.com/svn/pkgs/cygwin/0.3.10-1/setup.hint This fixes a couple of bugs introduced in 0.3.9. See

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

2009-04-29 Thread Andy Koppe
2009/4/29 Phil Betts: Charles Wilson wrote: * Add -uas (--unixAltSpace) option to bypass Win32 handling   of Alt-Space key combination, and allow client (e.g.   Emacs) to handle it instead. Thanks for this Chuck. I can't see what in my previous post got you so worked up The words

[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

<    7   8   9   10   11   12   13   14   >