Re: Windows Share Folder Problem

2009-05-10 Thread Andy Koppe
you can use backslashes too, but then the filename needs to be quoted: "\\server\share\path_to_file" Good luck with the seminar! Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentati

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

2009-05-12 Thread Andy Koppe
s 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. That's why Markus Kuhn's code includes the mk_wcswidth_cjk() variant. Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: ht

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

2009-05-13 Thread Andy Koppe
s, the upper halves of all ISO-8859-1 characters are NUL in UTF-16. And even without that, the resulting filenames would be completely unusable. Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation:

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

2009-05-13 Thread Andy Koppe
le > C/UA: SPEC:   Application Locale > SPEC: SPEC:   Application Locale What is the "System Locale" in this context? Asking because Windows doesn't have locales as such, although it does have a default "ANSI codepage". Andy -- Unsubscribe info: http://cygwin.com/ml

Re: Installing Cygwin without using setup

2009-05-13 Thread Andy Koppe
27;s own use, e.g. for the mount points (and those are going in 1.7). Nothing that affects anything outside Cygwin. 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-05-13 Thread Andy Koppe
wWindowAsync() isn't great either. > I'm still trying to convince them that a fix is really important, but history > is against me. > I'm going to try to get at least a workaround. Well, good luck anyway! Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscrib

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

2009-05-13 Thread Andy Koppe
anges in wcwidth.c, it might be possible to decide the width of a surrogate pair based on the high surrogate only, and then treat the low surrogate as a combining character with length 0. Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwi

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

2009-05-13 Thread Andy Koppe
> the first half you don't know if the char is perhaps the 0x10A04 value > or one of the other.  So you need both halves to make a decision. You're right. I'd somehow overlooked the end of the combining[] array. Andy -- Unsubscribe info: http://cygwin.com/ml/#u

Re: Question of the necessity of rebaseall

2009-05-13 Thread Andy Koppe
cations", has to go through the same contortions or whether there isn't some hidden fork support somewhere. 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: emacs -nw keypad

2009-05-27 Thread Andy Koppe
ds ^[OF. See here for details: http://invisible-island.net/xterm/ctlseqs/ctlseqs.html#PC-Style%20Function%20Keys 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: emacs -nw keypad

2009-05-27 Thread Andy Koppe
s ^[OP to ^[OS. That's because the vt100 terminal had the keys PF1 to PF4 on the keypad, but it didn't have F keys like PC keyboards do. Hence those mappings in emacs do make sense. Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://

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

2009-05-28 Thread Andy Koppe
to send ^? instead though, which, as you note, is particular useful with emacs as it leaves Ctrl+H available as the help shortcut. Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation:

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, t

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

2009-05-28 Thread Andy Koppe
this doesn't happen automatically I think that would be a good and pragmatic solution to this. 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: 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 function key. > > Makes sense to me.  Andy, is there any reason all cygwin terminals shouldn't > do this (

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 function key. >> >> Makes sense to me.  Andy, is there any reason all cygwin terminals shouldn

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

2009-05-30 Thread Andy Koppe
E[A, + kbs=^?, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, And then there are rxvt and xterm and their termcap and terminfo entries as well ... 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

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

2009-05-30 Thread Andy Koppe
") : CDEL; else if (wch == 0 /* arrow/function keys */ || (input_rec.Event.KeyEvent.dwControlKeyState & ENHANCED_KEY)) Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html

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

2009-05-30 Thread Andy Koppe
said, I've seen the ^_ in the text console on Suse only. Cygwin's xterm at least does distinguish between Backspace and Ctrl+Backspace though: if Backspace is set to send ^H, Ctrl+Backspacce sends ^?, and vice versa. Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubsc

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

2009-05-31 Thread Andy Koppe
27;cp /bin/g++-4.exe /bin/g++.exe'. You'd have to remember to do that after every gcc update though. 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: emacs -nw keypad, tpu-edt.el, and C-h

2009-05-31 Thread Andy Koppe
: Ctrl+A -> 0x41 & 0x1F -> 0x01 (^A) Ctrl+Space -> 0x20 & 0x1F -> 0x00 (^@) Ctrl+Backspace -> 0x7F & 0x1F -> 0x1F (^_) Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: ht

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

2009-05-31 Thread Andy Koppe
e, which clobbers 'kill word' in emacs, so that still needs to either move to Ctrl+Backspace or be removed altogether. 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: what package for man 3 printf?

2009-06-02 Thread Andy Koppe
e man pages for much of the C standard library. Very useful. 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: 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 -- Unsubsc

Re: mintty ^H/^? bug

2009-06-02 Thread Andy Koppe
ine option only, because it's not really something that users should normally have to worry about. 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/

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

2009-06-04 Thread Andy Koppe
. Turns out it's got a rather interesting hack that ignores LeftCtrl key messages if they're followed by a RightAlt message with the same timestamp. That doesn't seem to be entirely reliable though, according to this post earlier today: http://www.cygwin.com/ml/cygwin-xfree/2009-06/msg

Re: mintty ^H/^? bug

2009-06-05 Thread Andy Koppe
ly at that point I might just remove the setting altogether and instead implement the DECBKM control sequence for changing the backspace code, which MinTTY doesn't currently support.) Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.

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

2009-06-06 Thread Andy Koppe
the problem that it gives the impression that the actual CJK ideographs are affected by this, whereas this really concerns things like line drawing characters and non-latin non-CJK letters. That confused me to start with anyway. Puzzled that this hasn't been solved in glibc years ago ...

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

2009-06-06 Thread Andy Koppe
re or less mad schemes to communicate the ambiguous width between terminal and application and so it took a while for us to realise that a locale-based scheme really is the best approach. Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/pr

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

[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 PuTT

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

Re: last update is weird

2009-06-09 Thread Andy Koppe
rected 0.4.0-2 asap, but meanwhile you could run the attached script manually to create the shortcut. (You'll probably need administrator rights to do this.) sh postinstall.sh Andy postinstall.sh Description: Bourne shell script -- Unsubscribe info: http://cygwin.com/ml/#unsubsc

Re: last update is weird

2009-06-09 Thread Andy Koppe
e? Try this to check: echo %SHELL% MinTTY 0.4 looks in that variable for a command to execute, like rxvt and xterm do. To override it, change your shortcut to this: Target : C:\cygwin-1.7\bin\mintty.exe /bin/bash -l Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

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

2009-06-10 Thread Andy Koppe
ell: +++ terminfo.src2009-05-30 07:50:44.893933600 +0100 @@ -5221,7 +5221,7 @@ - kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, + kbs=^?, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, And then there are rxvt and xterm and their termcap and terminfo entries as well ...

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

2009-06-10 Thread Andy Koppe
rtermios default setting will need to change accordingly, > either by changing the definition of CERASE in include/sys/termios.h: > > -#define CERASE CTRL('H') > +#define CERASE CDEL Sorry, just noticed that cgf did in fact make that change. Might be that stty needs reb

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

2009-06-10 Thread Andy Koppe
copy & pasting from a previous post. 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: RXVT Problem

2009-06-10 Thread Andy Koppe
opens and closes > immediately The likely cause for this is that the PATH isn't set at the time rxvt invokes bash, because that's only done by the startup scripts that bash invokes. Add the full path to bash to your shortcut: Target: C:\cygwin\bin\rxvt.exe -e /bin/bash --login Andy --

Re: Using emacs in a terminal window

2009-06-11 Thread Andy Koppe
h other terminals, but there will also be things that don't fit. 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: Using emacs in a terminal window

2009-06-11 Thread Andy Koppe
gt; > rxvt     - \E0w, \E0y, \E0q, \E0s > Eterm  - \E[7~, \E[5~, \E[8~, \E[6~ > > Does this difference in key definitions matter in > Cygwin's terminal-mode Emacs running in rxvt? > > No. It may not matter for emacs, but it probably would e.g. for ncurses programs which rely on term

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

2009-06-15 Thread Andy Koppe
ake up to half a minute, presumably due to waiting for some sort of timeout. 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: Optimize cygwin on recent windows version (Vista and Seven)

2009-06-15 Thread Andy Koppe
== 0) dev += 3; strncpy(ut.ut_id, dev ?: "?", sizeof ut.ut_id); } strncpy(ut.ut_user, (pw ? pw->pw_name : 0) ?: "?", sizeof ut.ut_user); login(&ut); Unfortunately my Windows 7 machine went belly-up, so I can't look into

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

2009-06-18 Thread Andy Koppe
ust the popular Lucida Typewriter. > (Although it occurs to me that in the case of Lucida Typewriter this > might be a bug since the wideness of ambiguous characters is just > simulated in this configuration rather than using wide font characters - > Andy, can you please check this?)

Re: [ANNOUNCEMENT] [1.7] Updated: git-1.6.3.2-1, git{k,-gui,-completion,-svn}-1.6.3.2-1

2009-06-21 Thread Andy Moreton
On Wed 17 Jun 2009, Eric Blake wrote: > A new release of git, 1.6.3.2-1, has been uploaded to the cygwin 1.7 > release area. This replaces 1.6.3.1-1 as current. > > NEWS: > = > This is a new upstream major release. It also changes the location of > library executables from /usr/sbin/git-core

[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 PuTT

Re: Some questions about mintty

2009-06-23 Thread Andy Koppe
're not supported. I think I'll resolve this by doing away with the font dialog and instead add drop down boxes for font, style, and size directly on the text pane of the options. Andy -- 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

setup-1.7.exe command line options

2009-06-23 Thread Andy Koppe
does nothing. Andy -- 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

Re: Some questions about mintty

2009-06-23 Thread Andy Koppe
block > "disappeared." Could you attach your .minttyrc? Have you got any commands in your bash startup files that might be relevant here? And what's you PS1 setting? Andy -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/

Re: setup-1.7.exe command line options

2009-06-23 Thread Andy Koppe
th CYGWIN=tty should work as well. I had actually downloaded the latest setup-1.7.exe, but I must have invoked the wrong one when I tried it. D'oh. The -P option is working nicely, especially when combined with -q for unattended install. Throw 'cygcheck -p' into the mix, and this sho

Re: cygcheck triggers Wow6432Node infinite loop on Windows Server 2008

2009-06-24 Thread Andy Koppe
les (x86)", "Windows on Windows 64", "Wow6432Node", 64-bit DLLs in "System32", and 32-bit DLLs in "SysWOW64". This is all so ugly and confusing that you have to wonder whether they're not deliberately trying to obfuscate stuff. Andy -- Problem rep

Re: Some questions about mintty

2009-06-25 Thread Andy Koppe
7;ll implement the following: compare the cursor colour to the foreground and background colours and set the cursor text colour to the one that's further away. So in this case the foreground colour would be used as the cursor text colour. Andy -- Problem reports: http://cygwin.com/problems

Re: Problem with mintty-0.4.1-1 and orpie

2009-06-25 Thread Andy Koppe
problem. The reason for that seems to be that orpie doesn't activate application keypad mode with that TERM setting, hence it gets the normal keycodes, which it can deal with fine. Andy -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Docum

Re: Problem with mintty-0.4.1-1 and orpie

2009-06-25 Thread Andy Koppe
ry DA command reports terminal type 77 (ASCII 'M') and version 400. The TERM variable remains set to "xterm" though, to avoid termcap/terminfo trouble Andy -- 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

Re: Problem with mintty-0.4.1-1 and orpie

2009-06-25 Thread Andy Koppe
r of times. Ah, you're right; I hadn't tried it with NumLock on. Turns out I'd messed up reading the NumLock state. Fixed in r396 on the 0.4 SVN branch, to be released as 0.4.2 soon. Thanks, Andy -- Problem reports: http://cygwin.com/problems.html FAQ: htt

Re: Problem with mintty-0.4.1-1 and orpie

2009-06-25 Thread Andy Koppe
ing, but - isn't this a place where using > /bin/env would make more sense than dealing with all the extra > processing required to launch a shell?  For instance, > >    mintty env TERM=xterm-256color emacs Ah, I wasn't aware of that command. Very handy. I'll chan

Re: Problem with mintty-0.4.1-1 and orpie

2009-06-25 Thread Andy Koppe
ht be the only one. I wasn't aware of it, but it does look rather good, with a pleasingly high geek factor. And it's written in OCaml, what more could one want? :) Andy -- 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

Re: Problem with mintty-0.4.1-1 and orpie

2009-06-25 Thread Andy Koppe
sr/share/doc/Cygwin/mintty-0.4.1.README.  I assume > that you will add this information to the documentation when > you want users to be able to make use of it. Yep. When I said "it hasn't made it into the terminal yet", I meant to say "manual" rather than "ter

Re: Problem with displaying ASCII table in mintty

2009-06-25 Thread Andy Koppe
n particular CSI and OSC. It's the same if you try it in xterm. You can get most of the printable characters in the C1 range by switching to Windows codepage 1252. (Well, you could anyway if it wasn't for a rather bad bug in mintty-0.4.0 and 0.4.1 that means that ISO-8859-1 is used no matter your codepage setting. That's fixed on the 0.4 SVN branch.) Andy -- 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

Re: popup consoles on Windows 7

2009-06-26 Thread Andy Koppe
w(), SW_HIDE); Still looks bad though, with "subliminal" popups, as demonstrated by mintty on Windows 7. Andy -- 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

Re: popup consoles on Windows 7

2009-06-26 Thread Andy Koppe
ces 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. Did you previously mention that MS fixed bug in this area? Andy -- Problem reports: http

Re: popup consoles on Windows 7

2009-06-26 Thread Andy Koppe
m console startup anymore. This bug has been reported upstream and is marked as being resolved, which hopefully means it will be fixed in the final W7 release." Andy -- 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

Re: popup consoles on Windows 7

2009-06-26 Thread Andy Koppe
ws is fixed in the latest builds. Thanks, I better give that a go. Using AttachConsole would at least get rid of the popups when invoking from an existing Cygwin session. Andy -- 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

Re: popup consoles on Windows 7

2009-06-27 Thread Andy Koppe
onsole allocates one, and any subsequent processes attach to that. Only problem is that the console is automatically freed once all processes using it have finished, so a new one would have to be allocated again when another process comes along that needs one. Still, the number of subliminal c

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

2009-06-27 Thread Andy Koppe
th returned by the wcwidth function is usually 1. This is often a problem in East Asian languages, which historically use character sets in which these characters have a width of 2. Kind of explains why they are called "ambiguous"... . (See http://unicode.org/reports/tr11/ for a full expl

[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 PuTT

Re: .bashrc

2009-06-29 Thread Andy Koppe
case it doesn't source .bashrc. Instead, it sources .bash_profile or .profile, so unless you explicitly source .bashrc from there, it won't be processed. See here for the full story: http://www.gnu.org/software/bash/manual/bashref.html#Bash-Startup-Files Andy -- Problem reports: htt

mkshortcut --allusers --smprograms

2009-06-29 Thread Andy Koppe
guess the scripts could find out where the start menu is and apply the necessary rights themselves, but it would make sense and be much more convenient if mkshortcut did that. Andy -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation:

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

2009-06-30 Thread Andy Koppe
gwin's exec is also pretty slow.  I'm not really sure that posix_spawn > would cause any kind of performance improvement. Ah, right. So is it Windows' CreateProcess() itself that's slow? Or is it some of the additional stuff that exec() needs to deal with? Signals? The hidden

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

2009-07-01 Thread Andy Koppe
de to Cygwin and cause corresponding slowness > for everything. Will text mount points be chucked out completely eventually? Those are pure evil. Andy -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/d

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

2009-07-02 Thread Andy Koppe
2009/7/2 Jonathan : > 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. ;) An

Re: popup consoles on Windows 7

2009-07-02 Thread Andy Koppe
7;d be tempted to say, and point people that do insist on running native console at /bin/run. But then I haven't been at the sharp end of a barrage of compatibility complaints. Actually, couldn't spawn_guts() tell whether it's about to execute a console program, and only allocate a hidden

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: http://cygwin.com/docs

Re: popup consoles on Windows 7

2009-07-03 Thread Andy Koppe
ications themselves are usually marked as console applications, shouldn't you therefore get a console popping up (unless of course the invoking process already has a console)? Or does Windows delay console allocation until the app actually tries to use it? Andy -- Problem reports:

Re: wrapper os something to call cygwin shell at specific address

2009-07-04 Thread Andy Koppe
27;s in the cygwin distro; it's called "chere" and you >> can intall it through setup.exe. > > Ahhh nice. > Should I see an item on the right click context menu of windows > explorer?  Or is there something else to be done first? Yep, you need to run 'chere'

Re: popup consoles on Windows 7

2009-07-05 Thread Andy Koppe
great, btw)? A very minor issue in fhandler_console.cc: one of the comments says "workstation" when it means "window station". > I keep saying that I want to fix this and I recently found some public > domain code which purports to allow using consoles as "pipes&

Re: popup consoles on Windows 7

2009-07-05 Thread Andy Koppe
n the toolbar.  But, as the comments say, > the later SetParent call should ensure that.  Only windows which are > owned by the desktop window show up on the toolbar. That I understand. What I'm surprised about (in a good way) is that the helper doesn't show up in task _manager_

Re: screen and popup console on Windows 7

2009-07-05 Thread Andy Koppe
des for those in .screenrc: bindkey "^[[1;5I" next bindkey "^[[1;6I" prev Andy -- 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

Re: Installed Cygwin 1.7 - no X?

2009-07-07 Thread Andy Koppe
issue: http://article.gmane.org/gmane.os.cygwin.xfree/19682 Andy -- 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

Re: Full 1.7 Install -> "Insufficient disk space to repair security descriptor at index $SII for file 9"

2009-07-08 Thread Andy Koppe
reshold of size when everything is installed at once by > clicking the top "Default->Install" line of the installer window. I'll try > the incremental install workaround and see if it avoids the problem. Please make some use of the return key; this is really difficult to

OT: gmail quoting (was Re: [OT] Re: Virus on sed.exe)

2009-07-10 Thread Andy Koppe
> 2009/7/10 Dave Korn <...>: Sorry for including your email address. (Does anyone know a way to switch that off in the gmail web interface?) Andy -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://c

Re: [OT] Re: Virus on sed.exe

2009-07-10 Thread Andy Koppe
l Cygwin application." Shouldn't let press officers write statements to the press ... :) Andy -- 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

Re: [1.5.25-15] bash won't load .bashrc after i rename it as `sh.exe'.

2009-07-11 Thread Andy Koppe
2009/7/12 chengxianle: > Yes, .bash_profile was loaded when run bash as `bash --login'. > But still, won't load when run as `sh' or `sh --login'. Read Dave Korn's reply again. Andy -- Problem reports: http://cygwin.com/problems.html FAQ:

setup buttons (was: Re: Really dumb setup question)

2009-07-12 Thread Andy Koppe
ot;Up to Date". Finally, I can't see much value in having the "Not Installed" view. If you pick and choose your packages, it's much the same as "Full", and if you install everything, it's empty. Getting rid of it would keep the number of r

[ANNOUNCEMENT] Updated: mintty-0.4.3-1

2009-07-12 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 PuTT

Re: wrong home directory

2009-07-13 Thread Andy Koppe
o open in /home/helvio by default, but I don't know how to do > this! I'd guess that emacs has set a system-wide HOME environment variable. That would take precedence over the setting in Cygwin's /etc/passwd. Check under System Properties->Advanced->Environment Vari

[ANNOUNCEMENT] Updated: mintty-0.4.4-1

2009-07-18 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 PuTT

Patch to make readline parse CSI keycodes properly

2009-07-19 Thread Andy Koppe
\e[B": next-history "\e[A": previous-history "\e[": skip-csi-seq It's working correctly here, including when adding bindings for longer keycodes: no more funny characters when accidentally hitting the wrong key. Please consider the patch for inclusion into the readline

Re: Patch to make readline parse CSI keycodes properly

2009-07-19 Thread Andy Koppe
lay with this, and consider adding it to the cygwin build of > readline.  But this seems like something that you should push upstream to > the bug-bash list (the bash maintainer also manages the upstream readline > library), as it seems like this will have platform-independent be

Incorrect codepage numbers in 1.7 guide

2009-07-19 Thread Andy Koppe
A couple of small mistakes in http://cygwin.com/1.7/cygwin-ug-net/setup-locale.html#setup-locale-charsetlist: ISO-8859-13 and -15 have codepage numbers 28603 and 28605, not 28563 and 28565. Andy -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com

Re: [1.7] mount -m output can contain flag 'noexec', which isn't understood in /etc/fstab

2009-07-22 Thread Andy Koppe
hides its console unless there's output on it already, like rxvt does. That, however, has the unfortunate side effect of the console popping up briefly, so I'm really not keen on that. Perhaps the DLL could allocate a console if one isn't available before printing diagnost

Re: 1.5.25-15: Why my $INITRC "set convert-meta off" seems to fail?

2009-07-27 Thread Andy Koppe
letters do not work: > > $ echo -e "\xC0\xC1\xC2\xC3\xC3\xC4\xC5\xC6\xC7" > AAA?C Looks like the font you're using doesn't have the necessary glyphs, so Windows substitutes the closest it can think of. Here 's what I'm getting both with the default

Re: [1.7] Alternative root directory. Sort of a regression.

2009-07-27 Thread Andy Koppe
ll is in the registry, at HKLM/Software/Cywin/setup/rootdir (with added Wow6432Node on 64-bit Windows). Obviously, hacking around with that is completely unsupported. Andy -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http:

Re: 1.5.25-15: Why my $INITRC "set convert-meta off" seems to fail?

2009-07-27 Thread Andy Koppe
ng bash in cygwin.bat. 3. Use MinTTY and set the codepage you want on the "Text" page of its options dialog. 4. Install Cygwin 1.7 and use the locale mechanism documented at http://cygwin.com/1.7/cygwin-ug-net/setup-locale.html Good luck, Andy -- Problem reports: http://cygwin.co

Re: [1.7] Alternative root directory. Sort of a regression.

2009-07-27 Thread Andy Koppe
2009/7/27 Corinna Vinschen: > that rootdir is only used by setup.exe, not by Cygwin. I see, sorry. So I guess / simply is the parent of the directory cygwin1.dll is in? Makes plenty of sense. Andy -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.

Re: mingw headers and libraries missing

2009-07-27 Thread Andy Koppe
2009/7/27 Georg Troska: > I want to compile some code with -mno-cygwin. > Unfortunately some mingw-libs are missing (sys/select.h, sys/cdefs.h). also > the corresponding libraries > > How can I get them? You can't, because MingW doesn't implement select(). Andy -- Pr

Re: mingw headers and libraries missing

2009-07-27 Thread Andy Koppe
7;t implement select(). ps: Windows itself has a select() in , but that only works on sockets and not on any file as required by POSIX and implemented by Cygwin. Andy -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http:/

bug in mbrtowc?

2009-07-27 Thread Andy Koppe
and third calls to mbrtowc report encoding errors. It does work correctly if the three bytes are passed to mbrtowc() in one go: printf("%i\n", mbrtowc(&wc, "\xe2\x94\x84", 3, 0)); Andy -- 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

Re: bug in mbrtowc?

2009-07-27 Thread Andy Koppe
pages): > "If the n bytes starting at s do not contain a complete multibyte > character,  mbrtowc()  returns  (size_t) -2." Correct. And the first call to mbrtowc() does just that. The problem is that the second call returns -1, which signals an encoding error, even though E2 94 is

Re: bug in mbrtowc?

2009-07-28 Thread Andy Koppe
ll be initialized at program start-up to the initial conversion state." The test also fails when passing &s instead. (I'd accidentally left in the local mb_state.) Andy -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Docume

Re: bug in mbrtowc?

2009-07-28 Thread Andy Koppe
2009/7/28 Corinna Vinschen: > On Jul 27 22:56, Andy Koppe wrote: >> I've encountered what looks like a bug in mbrtowc's handling of UTF-8. >> Here's an example: >> >> #include >> #include >> #include >> #include >> >> i

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