Re: vfork always fail problem

2010-05-13 Thread Václav Haisman
Huang Bambo wrote, On 14.5.2010 6:29:
> [ba...@bambo-notebook 4.4.4]$ cat tvfork.c
> #include 
> #include 
> #include 
> 
> int main(void)
> {
> pid_t pid = vfork();
> if ( pid > 0 )
> {
> printf("I'm chield.\n");
> _exit(0);
> }
> else if ( pid == 0 )
> {
> printf("I'm parent");
> }
> else
> {
> perror("vfork failed.");
> }
> }
> [ba...@bambo-notebook 4.4.4]$ make tvfork
> cc tvfork.c   -o tvfork
> [ba...@bambo-notebook 4.4.4]$ ./tvfork.exe
>   4 [main] tvfork 4136 fork: child -1 - CreateProcessW failed, errno 2
> vfork failed.: No such file or directory
> [ba...@bambo-notebook 4.4.4]$ ./tvfork
>   3 [main] tvfork 2956 fork: child -1 - CreateProcessW failed, errno 2
> vfork failed.: No such file or directory
> 
> I think maybe the wrong parameters were sent while calling CreateProcessW.
> 
> --
> 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
> 

--
VH

--
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: vfork always fail problem

2010-05-13 Thread Huang Bambo
I truly find the problem.
The path to the executable have Chinese character.
My windows's default language is gbk.
If I use utf-8 encoding for the shell, fork fail. If i use gbk, everything
goes fine.
The following is the test .

[ba...@bambo-notebook ARM9]$ pwd
/cygdrive/d/个人研发/ARM9
  ^^ Chinese directory name

[ba...@bambo-notebook ARM9]$ export LANG=en_US.UTF-8
[ba...@bambo-notebook ARM9]$ ./tvfork.exe
  3 [main] tvfork 4900 fork: child -1 - CreateProcessW failed, errno 2
vfork failed.: No such file or directory
[ba...@bambo-notebook ARM9]$ export LANG=en_US.GBK
[ba...@bambo-notebook ARM9]$ ./tvfork.exe
I'm parentI'm chield.


2010/5/14 Huang Bambo :
> Finally I test and get another result.
> I run the test program at
> /home/Bambo/test/t1/
> but /home/Bambo/test is a symbolic link to another directory.
> Maybe it's the problem that the system handle symbolic
>
> 2010/5/14 Huang Bambo :
>> [ba...@bambo-notebook 4.4.4]$ cat tvfork.c
>> #include 
>> #include 
>> #include 
>>
>> int main(void)
>> {
>>pid_t pid = vfork();
>>if ( pid > 0 )
>>{
>>printf("I'm chield.\n");
>>_exit(0);
>>}
>>else if ( pid == 0 )
>>{
>>printf("I'm parent");
>>}
>>else
>>{
>>perror("vfork failed.");
>>}
>> }
>> [ba...@bambo-notebook 4.4.4]$ make tvfork
>> cc tvfork.c   -o tvfork
>> [ba...@bambo-notebook 4.4.4]$ ./tvfork.exe
>>  4 [main] tvfork 4136 fork: child -1 - CreateProcessW failed, errno 2
>> vfork failed.: No such file or directory
>> [ba...@bambo-notebook 4.4.4]$ ./tvfork
>>  3 [main] tvfork 2956 fork: child -1 - CreateProcessW failed, errno 2
>> vfork failed.: No such file or directory
>>
>> I think maybe the wrong parameters were sent while calling CreateProcessW.
>>
>

--
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: vfork always fail problem

2010-05-13 Thread Huang Bambo
Finally I test and get another result.
I run the test program at
/home/Bambo/test/t1/
but /home/Bambo/test is a symbolic link to another directory.
Maybe it's the problem that the system handle symbolic

2010/5/14 Huang Bambo :
> [ba...@bambo-notebook 4.4.4]$ cat tvfork.c
> #include 
> #include 
> #include 
>
> int main(void)
> {
>        pid_t pid = vfork();
>        if ( pid > 0 )
>        {
>                printf("I'm chield.\n");
>                _exit(0);
>        }
>        else if ( pid == 0 )
>        {
>                printf("I'm parent");
>        }
>        else
>        {
>                perror("vfork failed.");
>        }
> }
> [ba...@bambo-notebook 4.4.4]$ make tvfork
> cc     tvfork.c   -o tvfork
> [ba...@bambo-notebook 4.4.4]$ ./tvfork.exe
>      4 [main] tvfork 4136 fork: child -1 - CreateProcessW failed, errno 2
> vfork failed.: No such file or directory
> [ba...@bambo-notebook 4.4.4]$ ./tvfork
>      3 [main] tvfork 2956 fork: child -1 - CreateProcessW failed, errno 2
> vfork failed.: No such file or directory
>
> I think maybe the wrong parameters were sent while calling CreateProcessW.
>

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



vfork always fail problem

2010-05-13 Thread Huang Bambo
[ba...@bambo-notebook 4.4.4]$ cat tvfork.c
#include 
#include 
#include 

int main(void)
{
pid_t pid = vfork();
if ( pid > 0 )
{
printf("I'm chield.\n");
_exit(0);
}
else if ( pid == 0 )
{
printf("I'm parent");
}
else
{
perror("vfork failed.");
}
}
[ba...@bambo-notebook 4.4.4]$ make tvfork
cc tvfork.c   -o tvfork
[ba...@bambo-notebook 4.4.4]$ ./tvfork.exe
  4 [main] tvfork 4136 fork: child -1 - CreateProcessW failed, errno 2
vfork failed.: No such file or directory
[ba...@bambo-notebook 4.4.4]$ ./tvfork
  3 [main] tvfork 2956 fork: child -1 - CreateProcessW failed, errno 2
vfork failed.: No such file or directory

I think maybe the wrong parameters were sent while calling CreateProcessW.

--
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: strftime %b is broken on ja_JP locale

2010-05-13 Thread Kazuhiro Fujieda
>>> On Wed, 12 May 2010 17:31:18 +0200
>>> Corinna Vinschen  said:

> No, that's not broken, even if it seems so.  Cygwin fetches the
> localized strings from the underlying OS, not from a Cygwin-specific
> locale database.  What you see as results above is what *Windows*
> returns for the full and abbreviated month strings.

Windows has a bug in Japanese and Korean locales. In these
locales, strings reterned by GetLocaleInfoW for
LOCALE_SABBREVMONTHNAME* miss suffixes representing a month.

It should return "5\u6708" in Japanese and "5\c6d4" in
Korea. MSDN in Japanese describes so. It, however, returns "5"
in both locales. In Chenese, it returns "\u4e94\6708" with the
suffix.

We can solve this problem with LOCALE_SMONTHNAME* instead of
LOCALE_SABBREVMONTHNAME* in these locales. I attathed the patch.
-- 
Kazuhiro Fujieda
fuji...@acm.org

2010-05-14  Kazuhiro Fujieda  

* nlsfuncs.cc (__set_lc_time_from_win): Use LOCALE_SMONTHNAME1
instead of LOCALE_SABBREVMONTHNAME1 in Japanese and Korean
locales to get abbreviated month names.

Index: nlsfuncs.cc
===
RCS file: /cvs/src/src/winsup/cygwin/nlsfuncs.cc,v
retrieving revision 1.31
diff -u -r1.31 nlsfuncs.cc
--- nlsfuncs.cc 28 Apr 2010 10:00:24 -  1.31
+++ nlsfuncs.cc 14 May 2010 01:45:05 -
@@ -554,7 +554,11 @@
   for (int i = 0; i < 12; ++i)
{
  _time_locale->wmon[i] = getlocaleinfo (time,
-LOCALE_SABBREVMONTHNAME1 + i);
+((lcid == 0x0411 ||
+  lcid == 0x0412)
+  ? LOCALE_SMONTHNAME1
+  : LOCALE_SABBREVMONTHNAME1)
+  + i);
  _time_locale->mon[i] = charfromwchar (time, wmon[i]);
}
   /* month and alt_month */

--
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: [ANNOUNCEMENT] Updated: {emacs,emacs-X11,emacs-el}-23.2-1

2010-05-13 Thread Ken Brown

On 5/13/2010 5:20 PM, Rolf Campbell wrote:

On 2010-05-13 17:13, Rolf Campbell wrote:

On 2010-05-13 16:45, Ken Brown wrote:

On 5/13/2010 4:31 PM, Rolf Campbell wrote:

On 2010-05-10 06:22, Ken Brown wrote:

New releases of the emacs, emacs-X11, and emacs-el packages are now
available, 23.2-1, leaving 23.1-10 as previous.

I've been using the native W32 port of emacs for years. I tried using
the native cygwin build of it and ran into a problem: I can't seem to
bind all key combinations.
- Alt+F3 (or Alt+any F-key) seem to have no effect at all.
- Ctrl+Alt+Shift+5: I bind it using (global-set-key (kbd "C-M-%" ...),
but pressing Ctrl+Alt+Shift+5 results in emacs complaining that "M-[ 1 ;
8 u" is undefined.


Are you using emacs in the Cygwin console? If so, many key combinations
won't work as you expect. This is documented in
/usr/share/doc/Cygwin/emacs.README. You'll have better luck running
emacs in mintty. Or for an interface that is more like the native Win32
build, run emacs under X11.

Ken


Sorry, I should have been more clear, I'm running in mintty.
[reading emacs.README ...]
Oh, I see. Is there any way to bind the resulting key codes? Can I use
"M-[ 1 ; 8 u" as a key to bind?



To answer my own question: Yes, you can use
(global-set-key (kbd "M-[ 1 ; 8 u" ...))
to bind Ctrl+Alt+Shift+5 in mintty.

So, now that I know a better work-around, is this a bug in cygwin,
mintty, or cygwin-emacs?


I don't know the answer.  I tried Ctrl+Alt+Shift+5 in emacs under X11, 
and it seems to work fine, i.e., it is recognized as C-M-%.  I also 
tried it in an xterm window ('emacs -nw'), and it fails there but in a 
different way than in mintty: emacs sees it as C-%.


Maybe Andy (mintty author/maintainer) can explain what's going on.

Ken

--
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.7.5-1: execv fails in .exe compiled

2010-05-13 Thread Stephen Morton
It looks like the stackdumps I sent may be due to secondary crashes.
Here is the strace of a failure with the segfault and crashdump. It is
different than the strace I sent earlier.

   88  224700 [sig] cc386 356 wait_sig: signalling pack.wakeup 0x6B0
 2290  224775 [main] cc386 1312 wait_for_sigthread: wait_sig_inited 0x7EC
  117  224817 [main] cc386 356 sig_send: returning 0x0 from sending signal -34
   67  224842 [main] cc386 1312 wait_for_sigthread: process/signal
handling enabled, state 0x41
   55  224872 [main] cc386 356 wait4: calling proc_subproc, pid 1312, options 0
   68  224910 [main] cc386 1312 fork: 0 = fork()
   91  224963 [main] cc386 356 proc_subproc: args: 4, 2284288
  109  225019 [main] cc386 1312 spawnve: spawnve
(/usr/local/companytools/gcc34/x86/cc1.exe,
/usr/local/companytools/gcc34/x86/cc1.exe, 1002DAA0)
   80  225043 [main] cc386 356 proc_subproc: wval->pid 1312, wval->options 0
   83  225102 [main] cc386 1312 spawn_guts: spawn_guts (3,
/usr/local/companytools/gcc34/x86/cc1.exe)
  106  225149 [main] cc386 356 checkstate: nprocs 1
  106  225208 [main] cc386 1312 perhaps_suffix: prog
'/usr/local/companytools/gcc34/x86/cc1.exe'
   84  225233 [main] cc386 356 stopped_or_terminated: considering pid 1312
   77  225285 [main] cc386 1312 normalize_posix_path: src
/usr/local/companytools/gcc34/x86/cc1.exe
   74  225307 [main] cc386 356 checkstate: no matching terminated children found
  104  225389 [main] cc386 1312 normalize_posix_path:
/usr/local/companytools/gcc34/x86/cc1.exe = normalize_posix_path
(/usr/local/companytools/gcc34/x86/cc1.exe)
  107  225414 [main] cc386 356 checkstate: returning -1
   90  225479 [main] cc386 1312 mount_info::conv_to_win32_path:
conv_to_win32_path (/usr/local/companytools/gcc34/x86/cc1.exe)
   77  225491 [main] cc386 356 proc_subproc: only found non-terminated children
   91  225582 [main] cc386 356 proc_subproc: finished processing
terminated/stopped child
  108  225587 [main] cc386 1312 set_flags: flags: binary (0x2)
--- Process 1312, exception C005 at 6110721F
  237  225819 [main] cc386 356 proc_subproc: returning 1
  335  225922 [main] cc386 1312 exception::handle: In
cygwin_except_handler exc 0xC005 at 0x6110721F sp 0x22A2FC
  116  226038 [main] cc386 1312 exception::handle: In
cygwin_except_handler sig 11 at 0x6110721F
   82  226120 [main] cc386 1312 exception::handle: In
cygwin_except_handler calling 0x0
   78  226198 [main] cc386 1312 perhaps_suffix: buf (null), suffix
found '(null)'
  156  226354 [main] cc386 1312 __set_errno: int spawn_guts(const
char*, const char* const*, const char* const*, int, int, int):369 val
2
  771  227125 [main] cc386 1312 fhandler_console::write: 10029448, 5
   87  227212 [main] cc386 1312 fhandler_console::write: at 99(c) state is 0
--- Process 1312, exception C005 at 611131D8
  181  227393 [main] cc386 1312 exception::handle: In
cygwin_except_handler exc 0xC005 at 0x611131D8 sp 0x22B950
  108  227501 [main] cc386 1312 exception::handle: In
cygwin_except_handler sig 11 at 0x611131D8
   87  227588 [main] cc386 1312 exception::handle: In
cygwin_except_handler calling 0x0
   73  227661 [main] cc386 1312 try_to_debug: debugger_command ''
  604  228265 [main] cc386 1312 open_stackdumpfile: Dumping stack
trace to cc386.exe.stackdump
35179  263444 [main] cc386 1312 _cygtls::inside_kernel: pc 0x611131D8,
h 0x6100, inside_kernel 0
  189  263633 [main] cc386 1312 normalize_posix_path: src /dev/kmsg
  100  263733 [main] cc386 1312 normalize_posix_path: /dev/kmsg =
normalize_posix_path (/dev/kmsg)
   91  263824 [main] cc386 1312 mount_info::conv_to_win32_path:
conv_to_win32_path (/dev/kmsg)
--- Process 1312, exception C005 at 61109620
  217  264041 [main] cc386 1312 exception::handle: In
cygwin_except_handler exc 0xC005 at 0x61109620 sp 0x229830
   88  264129 [main] cc386 1312 exception::handle: In
cygwin_except_handler sig 11 at 0x61109620
   73  264202 [main] cc386 1312 exception::handle: In
cygwin_except_handler calling 0x0
   96  264298 [main] cc386 1312 __set_errno: fhandler_base*
build_fh_name(const char*, unsigned int, suffix_info*):410 val 14
  225  264523 [main] cc386 1312 try_to_debug: debugger_command ''
   97  264620 [main] cc386 1312 _cygtls::signal_exit: about to call do_exit (8B)
   79  264699 [main] cc386 1312 do_exit: do_exit (139), exit_state 2
   85  264784 [main] cc386 1312 void: 0x0 = signal (20, 0x1)
  219  265003 [main] cc386 1312 void: 0x40E880 = signal (1, 0x1)
   89  265092 [main] cc386 1312 void: 0x40E880 = signal (2, 0x1)
   81  265173 [main] cc386 1312 void: 0x0 = signal (3, 0x1)

Stephen


On Thu, May 13, 2010 at 5:45 PM, Stephen Morton
 wrote:
> The problem appears to be cygwin 1.7-specific. (*)
>
> I get a stackdump as follows. I find that I get a stackdump under a
> cygwin shell (DOS terminal) but not under mintty so I'm not 100% sure
> the stackdump is for the correct error.
>
> Exception: STATUS_ACCESS_VIOLATION at eip=611131D8
> eax=0022B9E4 ebx=7FF70008 ecx=0063 edx

Re: 1.7.5-1: execv fails in .exe compiled

2010-05-13 Thread Larry Hall (Cygwin)

On 5/13/2010 5:45 PM, Stephen Morton wrote:

The problem appears to be cygwin 1.7-specific. (*)

I get a stackdump as follows. I find that I get a stackdump under a
cygwin shell (DOS terminal) but not under mintty so I'm not 100% sure
the stackdump is for the correct error.


Do you have a ?

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.

Q: Are you sure?

A: Because it reverses the logical flow of conversation.

Q: Why is top posting annoying in email?


--
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.7.5-1: execv fails in .exe compiled

2010-05-13 Thread Stephen Morton
The problem appears to be cygwin 1.7-specific. (*)

I get a stackdump as follows. I find that I get a stackdump under a
cygwin shell (DOS terminal) but not under mintty so I'm not 100% sure
the stackdump is for the correct error.

Exception: STATUS_ACCESS_VIOLATION at eip=611131D8
eax=0022B9E4 ebx=7FF70008 ecx=0063 edx=0022B9E4 esi=0001 edi=0005
ebp=0022B998 esp=0022B950
program=C:\usr\local\companytools\gcc34\x86\cc386.exe, pid 1312,
thread main
cs=001B ds=0023 es=0023 fs=003B gs= ss=0023
Stack trace:
Frame Function  Args
0022B998  611131D8  (0022D000, 7FF70008, 10029448, 0005)
0022B9F8  610C953E  (8000, 10029448, 0005, 0001)
1002944D  6103413C  (6800, 46611C2F, 68DF0DF0, 00100280)
End of stack trace

I was able to get a further stack trace from gdb from that. Again, it
would only happen on a cygwin shell and not mintty so I'm not sure I
copied the correct error:
(gdb) backtrace
#0  0x7c90120f in ?? ()
#1  0x7c951e68 in ?? ()
#2  0x0005 in ?? ()
#3  0x0004 in ?? ()
#4  0x0001 in ?? ()
#5  0x006dffd0 in ?? ()
#6  0x0246 in ?? ()
#7  0x in ?? ()
#8  0x7c90e920 in ?? ()
#9  0x7c951e88 in ?? ()
#10 0x in ?? ()

Stephen

(*) I know that doesn't mean that it's 1.7's fault. Perhaps the
problem was pre-existing and was only revealed in 1.7. But it works in
1.3 and 1.5 on WinXP and fails in 1.7 in WinXP-32, Vista-32, Win7-67.

--
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: [ANNOUNCEMENT] Updated: {emacs,emacs-X11,emacs-el}-23.2-1

2010-05-13 Thread Rolf Campbell

On 2010-05-13 17:13, Rolf Campbell wrote:

On 2010-05-13 16:45, Ken Brown wrote:

On 5/13/2010 4:31 PM, Rolf Campbell wrote:

On 2010-05-10 06:22, Ken Brown wrote:

New releases of the emacs, emacs-X11, and emacs-el packages are now
available, 23.2-1, leaving 23.1-10 as previous.

I've been using the native W32 port of emacs for years. I tried using
the native cygwin build of it and ran into a problem: I can't seem to
bind all key combinations.
- Alt+F3 (or Alt+any F-key) seem to have no effect at all.
- Ctrl+Alt+Shift+5: I bind it using (global-set-key (kbd "C-M-%" ...),
but pressing Ctrl+Alt+Shift+5 results in emacs complaining that "M-[ 1 ;
8 u" is undefined.


Are you using emacs in the Cygwin console? If so, many key combinations
won't work as you expect. This is documented in
/usr/share/doc/Cygwin/emacs.README. You'll have better luck running
emacs in mintty. Or for an interface that is more like the native Win32
build, run emacs under X11.

Ken


Sorry, I should have been more clear, I'm running in mintty.
[reading emacs.README ...]
Oh, I see. Is there any way to bind the resulting key codes? Can I use
"M-[ 1 ; 8 u" as a key to bind?



To answer my own question: Yes, you can use
(global-set-key (kbd "M-[ 1 ; 8 u" ...))
to bind Ctrl+Alt+Shift+5 in mintty.

So, now that I know a better work-around, is this a bug in cygwin, 
mintty, or cygwin-emacs?



--
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: [ANNOUNCEMENT] Updated: {emacs,emacs-X11,emacs-el}-23.2-1

2010-05-13 Thread Rolf Campbell

On 2010-05-13 16:45, Ken Brown wrote:

On 5/13/2010 4:31 PM, Rolf Campbell wrote:

On 2010-05-10 06:22, Ken Brown wrote:

New releases of the emacs, emacs-X11, and emacs-el packages are now
available, 23.2-1, leaving 23.1-10 as previous.

I've been using the native W32 port of emacs for years. I tried using
the native cygwin build of it and ran into a problem: I can't seem to
bind all key combinations.
- Alt+F3 (or Alt+any F-key) seem to have no effect at all.
- Ctrl+Alt+Shift+5: I bind it using (global-set-key (kbd "C-M-%" ...),
but pressing Ctrl+Alt+Shift+5 results in emacs complaining that "M-[ 1 ;
8 u" is undefined.


Are you using emacs in the Cygwin console? If so, many key combinations
won't work as you expect. This is documented in
/usr/share/doc/Cygwin/emacs.README. You'll have better luck running
emacs in mintty. Or for an interface that is more like the native Win32
build, run emacs under X11.

Ken


Sorry, I should have been more clear, I'm running in mintty.
[reading emacs.README ...]
Oh, I see.  Is there any way to bind the resulting key codes?  Can I use 
"M-[ 1 ; 8 u" as a key to bind?



--
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: [ANNOUNCEMENT] Updated: {emacs,emacs-X11,emacs-el}-23.2-1

2010-05-13 Thread Ken Brown

On 5/13/2010 4:31 PM, Rolf Campbell wrote:

On 2010-05-10 06:22, Ken Brown wrote:

New releases of the emacs, emacs-X11, and emacs-el packages are now
available, 23.2-1, leaving 23.1-10 as previous.

I've been using the native W32 port of emacs for years.  I tried using
the native cygwin build of it and ran into a problem: I can't seem to
bind all key combinations.
- Alt+F3 (or Alt+any F-key) seem to have no effect at all.
- Ctrl+Alt+Shift+5:  I bind it using (global-set-key (kbd "C-M-%" ...),
but pressing Ctrl+Alt+Shift+5 results in emacs complaining that "M-[ 1 ;
8 u" is undefined.


Are you using emacs in the Cygwin console?  If so, many key combinations 
won't work as you expect.  This is documented in 
/usr/share/doc/Cygwin/emacs.README.  You'll have better luck running 
emacs in mintty.  Or for an interface that is more like the native Win32 
build, run emacs under X11.


Ken

--
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: Reading /proc/registry/... returns extra char

2010-05-13 Thread Nellis, Kenneth
> From: Dale Stimson
> Sent: Thursday, May 13, 2010 14:13
> To: cygwin@cygwin.com
> Subject: Reading /proc/registry/... returns extra char
> 
> Reading a file under /proc/registry returns an extra character at the
> end,
> which appears to be the null character.
> 
> This has happened for every registry entry that I have tried.  Here  is
> one in particular:
> 
> $ cat >a.dat
> /proc/registry/HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control/Syst
> emBootDevice
...

Not only that, but if you pipe that output to another process, you
(or should I say "I") get a stack dump:

Cygwin> ls
Cygwin> cat 
/proc/registry/HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control/SystemBootDevice
multi(0)disk(0)rdisk(0)partition(2)Cygwin>
Cygwin> ls
Cygwin> cat 
/proc/registry/HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control/SystemBootDevice
 | head
multi(0)disk(0)rdisk(0)partition(2)Cygwin>
Cygwin> ls
cat.exe.stackdump
Cygwin>

It seems to be reliably repeatable.

--Ken Nells


Re: [ANNOUNCEMENT] Updated: {emacs,emacs-X11,emacs-el}-23.2-1

2010-05-13 Thread Rolf Campbell

On 2010-05-10 06:22, Ken Brown wrote:

New releases of the emacs, emacs-X11, and emacs-el packages are now
available, 23.2-1, leaving 23.1-10 as previous.
I've been using the native W32 port of emacs for years.  I tried using 
the native cygwin build of it and ran into a problem: I can't seem to 
bind all key combinations.

- Alt+F3 (or Alt+any F-key) seem to have no effect at all.
- Ctrl+Alt+Shift+5:  I bind it using (global-set-key (kbd "C-M-%" ...), 
but pressing Ctrl+Alt+Shift+5 results in emacs complaining that "M-[ 1 ; 
8 u" is undefined.



--
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: sshd

2010-05-13 Thread Steven Collins
On Thu, May 13, 2010 at 14:17, Eric Berge <> wrote:
>
>
> Check the service to see if it's configured using "Services"
> under "Administrative Tools" in the control panel.  If it is
> you might want to check the firewall, but it sounds like it
> was working before the update so it shouldn't be that.
>
> Eric

Services is fine. Your comment about the firewall caused me to double
check that. Once I started down that road I quickly found the problem.
In the same time frame that I updated Cygwin versions corporate
switched us from Symantec to McAfee. The new McAfee stuff added a
firewall which I'd not configured to allow ssh. Thanks for the
comments and shining a light in the dark corner I'd neglected.

Steven

--
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: sshd

2010-05-13 Thread Eric Berge


Check the service to see if it's configured using "Services"
under "Administrative Tools" in the control panel.  If it is
you might want to check the firewall, but it sounds like it
was working before the update so it shouldn't be that.

Eric



- Original Message 
> From: Steven Collins 
> To: cygwin@cygwin.com
> Sent: Thu, May 13, 2010 3:12:40 PM
> Subject: Re: sshd
> 
> On Thu, May 13, 2010 at 13:56, Eric Berge <> wrote:
> Anything 
> interesting in /var/log/sshd.log or in the event viewer?
>
> 
> Eric
>

Empty file.

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


  

--
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: sshd

2010-05-13 Thread Steven Collins
On Thu, May 13, 2010 at 14:08, Andrew Dunstan <> wrote:
> What are the Listen_Address and Port settings in the config file?
>
> cheers
>
> andrew
>

Examining /etc/sshd_config:
Port 22
#ListenAddress 0.0.0.0
#ListenAddress ::

So the Listen address appears to be defaulting to whatever sshd is
internally configured to use.

--
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: sshd

2010-05-13 Thread Steven Collins
On Thu, May 13, 2010 at 13:56, Eric Berge <> wrote:
> Anything interesting in /var/log/sshd.log or in the event viewer?
>
> Eric
>

Empty file.

--
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: sshd

2010-05-13 Thread Andrew Dunstan



Steven Collins wrote:

Before 1.7.x came out I had sshd working under cygwin. After upgrading
it stopped working. I investigated and found the hosts.allow file and
made the recommended change there. That got my server working to the
point where I can "ssh localhost" and see the hungry-hungry-hippo. :)
When I try to ssh into the same computer using its real-world IP
number/name it get "ssh: connect to host read.host.name port 22:
Connection refused". Any suggestions on where to go from here?
  


What are the Listen_Address and Port settings in the config file?

cheers

andrew



--
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: sshd

2010-05-13 Thread Eric Berge


> Before 1.7.x came out I had sshd working under cygwin. After upgrading
> it stopped working. I investigated and found the hosts.allow file and
> made the recommended change there. That got my server working to the
> point where I can "ssh localhost" and see the hungry-hungry-hippo. :)
> When I try to ssh into the same computer using its real-world IP
> number/name it get "ssh: connect to host read.host.name port 22:
> Connection refused". Any suggestions on where to go from here?
> 
> Regards,
> Steven

Anything interesting in /var/log/sshd.log or in the event viewer?

Eric



  

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



sshd

2010-05-13 Thread Steven Collins
Before 1.7.x came out I had sshd working under cygwin. After upgrading
it stopped working. I investigated and found the hosts.allow file and
made the recommended change there. That got my server working to the
point where I can "ssh localhost" and see the hungry-hungry-hippo. :)
When I try to ssh into the same computer using its real-world IP
number/name it get "ssh: connect to host read.host.name port 22:
Connection refused". Any suggestions on where to go from here?

Regards,
Steven

--
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: Determining if cygwin is installed on a system

2010-05-13 Thread Christopher Faylor
On Thu, May 13, 2010 at 09:15:52PM +0200, Spiro Trikaliotis wrote:
>Hello,
>
>I have been tasked with generating a script and installing it on all the
>machines on our corporate network. For this, I want to use Cygwin.
>
>One of the requirements is that people should be able to install it as
>easy as possible. I am thinking about installing cygwin with a .BAT
>file.
>
>However, before doing this, I want to determine if there is already a
>cygwin installed. In this case, I want to instruct the user to do it on
>his own (people who already have cygwin installed are more technically
>savvy, and more likely that they would NOT want me to mess with their
>system). On the other systems, I would either use setup.exe with
>command-line parameters, or just copy the needed files (yes, I know the
>latter is not supported.)
>
>Thus, my main concern now is: How can I determine if a version of cygwin
>is installed? I could search for cygwin1.dll on the whole system, but
>this would need some time. I could look into the path only, but then, I
>might miss a cygwin1.dll.
>
>Does anyone have a good idea? I should be able to determine at least
>cygwin 1.5 and 1.7.
>
>Thank you for every hint and suggestion.

Take a look at the source code for Cygwin's cygcheck.cc.  It checks for
existing Cygwin installations by scanning the registry.  The registry
locations did change between Cygwin 1.5.x and 1.7.x but it should still
be relatively straightforward.  You can also look at setup.exe which
also does some checks.

The other alternative is to just bundle cygcheck.exe and use that in
your script.  As long as you're using this only inside your company
and there is no possibility that it will be distributed, you don't
even have to worry about making source code available to your inhouse
users.

cgf

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



Determining if cygwin is installed on a system

2010-05-13 Thread Spiro Trikaliotis
Hello,

I have been tasked with generating a script and installing it on all the
machines on our corporate network. For this, I want to use Cygwin.

One of the requirements is that people should be able to install it as
easy as possible. I am thinking about installing cygwin with a .BAT
file.

However, before doing this, I want to determine if there is already a
cygwin installed. In this case, I want to instruct the user to do it on
his own (people who already have cygwin installed are more technically
savvy, and more likely that they would NOT want me to mess with their
system). On the other systems, I would either use setup.exe with
command-line parameters, or just copy the needed files (yes, I know the
latter is not supported.)

Thus, my main concern now is: How can I determine if a version of cygwin
is installed? I could search for cygwin1.dll on the whole system, but
this would need some time. I could look into the path only, but then, I
might miss a cygwin1.dll.

Does anyone have a good idea? I should be able to determine at least
cygwin 1.5 and 1.7.

Thank you for every hint and suggestion.

Best regards,
Spiro.

-- 
Spiro R. Trikaliotis  http://opencbm.sf.net/
http://www.trikaliotis.net/ http://www.viceteam.org/

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



Reading /proc/registry/... returns extra char

2010-05-13 Thread Dale Stimson
Reading a file under /proc/registry returns an extra character at the end,
which appears to be the null character.

This has happened for every registry entry that I have tried.  Here  is
one in particular:

$ cat >a.dat 
/proc/registry/HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control/SystemBootDevice

$ od -c a.dat
000   m   u   l   t   i   (   0   )   d   i   s   k   (   0   )   r
020   d   i   s   k   (   0   )   p   a   r   t   i   t   i   o   n
040   (   2   )  \0


or even
$ vim 
/proc/registry/HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control/SystemBootDevice

which shows its buffer (with "^@" representing the null character) as:
multi(0)disk(0)rdisk(0)partition(2)^@

This problem was first observed after I recently upgraded to cygwin 1.7.5-1.

The problem still occurs if /bin/cygwin1-20100507.dll is dropped in as 
/bin/cygwin1.dll.

Perhaps this problem was introduced by the recent fix which was noted by:
> From: Corinna Vinschen
> To: cygwin at cygwin dot com
> Date: Wed, 5 May 2010 11:38:49 +0200
> Subject: Re: reading /proc/registry/ causes Segmentation fault.
> ...
> There was a buffer overflow in wide character string allocation which
> broke /proc/registry access.  It has been fixed one day after releasing
> Cygwin 1.7.5.

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



1.7.5 ssh no longer functions after upgrade from 1.5

2010-05-13 Thread Scott D Friedemann
After upgrading, attempts to use SSH give "Server refused our key". 
Trying to enter the user password is rejected, too.  Everything wor


I haven't found any documentation about upgrading SSH so don't know what 
might be wrong.  I ran /bin/copy-user-registry-fstab


What might I have missed?


--
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: Problems with environment variables in Windows 7

2010-05-13 Thread Larry Hall (Cygwin)

.  Reformatted.

On 5/13/2010 12:10 PM, yoni shalom wrote:

On Thu, May 13, 2010 at 6:34 PM, Larry Hall (Cygwin)
  wrote:

   ^
  Don't feed the spammers.


On 5/13/2010 8:36 AM, yoni shalom wrote:


I don't get the user's environment variables while in ssh session.
Example :

//open up cygwin console
y...@yonidesk ~
$ env | grep -i ProgramFiles
COMMONPROGRAMFILES=C:\Program Files\Common Files
PROGRAMFILES=C:\Program Files
y...@yonidesk ~
$ ssh y...@localhost
Last login: Thu May 13 13:45:01 2010 from ::1
y...@yonidesk ~
$ env | grep -i ProgramFiles
[nothing]

Fresh install of latest cygwin, everything else otherwise seems to work.
Any clues ? Thanks.


The email archives is your friend:



I did some googling around for this to no avail. Sorry 'bout that.
 From the conversation you referred me to :  " ... 'ssh' is a secure
shell so it has a minimal environment"

a. Did this change in one of the newer versions ? We have a few
machines here configured the same way and we never got this problem
before.


It was a change from Cygwin 1.5, yes.


b. What's the reason for "downsizing" the environment variable set ?
If I'm already securely authenticated as X why shouldn't I see
everything X would if he had opened a terminal locally ?


It's fine if you were comfortable with more of your environment seeping
through the 'ssh' connection.  But your comfort is not really the issue.
Exposing specifics about your environment opens any connection up to
exploitation.  This is true for 'ssh' in any environment.  Check the
email archives for a discussion of this change if you're interested in
more details.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.

Q: Are you sure?

A: Because it reverses the logical flow of conversation.

Q: Why is top posting annoying in email?


--
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: C-o in GNU MC and mintty/rxvt issue?

2010-05-13 Thread David Sastre
2010/5/13, Oleksandr Gavenko :
> On 2010.05.12 22:26, d.sastre.medina at gmail dot com wrote:
>> On Wed, May 12, 2010 at 05:36:19PM +0300, Oleksandr Gavenko wrote:
>>> On 2010.05.12 16:11, Oleksandr Gavenko wrote:
 Recently I decide switch from Far/Total Commander to GNU MC.
 I use Cygwin 1.7.1.
 MC is look beauty with mintty but I have issue:

 3. Second shell not available.

>>> I partially resolve all problem.
>>> It seems by default Cygwin MC do not use subshell.
>>> I run mc --subshell and all symptom goes out!
>>
>> You could also try another approach: rebuilding from the distributed
>> sources,
>> and modifying mc-4.6.1-2.sh to enable subshell:
>>
> I don't understand why MC was not already built with subshell support
> by default in Cygwin?
> As I see only inconveniences appear without subshell.
>

Well, maybe you can ask for latest released stable version: 4.7.0.5 [1]
to be included in cygwin, mc being a bit old by now...
mc.README file will give you more information.

I have using source compiled 4.7.0.4 for a while now without
noticeable problems.

$ mc -V
GNU Midnight Commander 4.7.0.4
Virtual File System: tarfs, extfs, cpiofs, ftpfs, fish, mcfs
With builtin Editor
Using the ncurses library
With subshell support as default
With support for background operations
With mouse support on xterm
With support for X11 events
With internationalization support
With multiple codepages support
Data types: char 8 int 32 long 32 void * 32 off_t 64 ecs_char 16

Regards.

[1] http://www.midnight-commander.org

--
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: Problems with environment variables in Windows 7

2010-05-13 Thread yoni shalom
I did some googling around for this to no avail. Sorry 'bout that.
From the conversation you referred me to :  " ... 'ssh' is a secure
shell so it has a minimal environment"

a. Did this change in one of the newer versions ? We have a few
machines here configured the same way and we never got this problem
before.
b. What's the reason for "downsizing" the environment variable set ?
If I'm already securely authenticated as X why shouldn't I see
everything X would if he had opened a terminal locally ?

Thanks.

On Thu, May 13, 2010 at 6:34 PM, Larry Hall (Cygwin)
 wrote:
> On 5/13/2010 8:36 AM, yoni shalom wrote:
>>
>> I don't get the user's environment variables while in ssh session.
>> Example :
>>
>> //open up cygwin console
>> y...@yonidesk ~
>> $ env | grep -i ProgramFiles
>> COMMONPROGRAMFILES=C:\Program Files\Common Files
>> PROGRAMFILES=C:\Program Files
>> y...@yonidesk ~
>> $ ssh y...@localhost
>> Last login: Thu May 13 13:45:01 2010 from ::1
>> y...@yonidesk ~
>> $ env | grep -i ProgramFiles
>> [nothing]
>>
>> Fresh install of latest cygwin, everything else otherwise seems to work.
>> Any clues ? Thanks.
>
> The email archives is your friend:
>
> 
>
> --
> Larry Hall                              http://www.rfk.com
> RFK Partners, Inc.                      (508) 893-9779 - RFK Office
> 216 Dalton Rd.                          (508) 893-9889 - FAX
> Holliston, MA 01746
>
> _
>
> A: Yes.
>>
>> Q: Are you sure?
>>>
>>> A: Because it reverses the logical flow of conversation.

 Q: Why is top posting annoying in email?
>
> --
> 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
>
>

--
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: Problems with environment variables in Windows 7

2010-05-13 Thread Larry Hall (Cygwin)

On 5/13/2010 8:36 AM, yoni shalom wrote:

I don't get the user's environment variables while in ssh session.
Example :

//open up cygwin console
y...@yonidesk ~
$ env | grep -i ProgramFiles
COMMONPROGRAMFILES=C:\Program Files\Common Files
PROGRAMFILES=C:\Program Files
y...@yonidesk ~
$ ssh y...@localhost
Last login: Thu May 13 13:45:01 2010 from ::1
y...@yonidesk ~
$ env | grep -i ProgramFiles
[nothing]

Fresh install of latest cygwin, everything else otherwise seems to work.
Any clues ? Thanks.


The email archives is your friend:



--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.

Q: Are you sure?

A: Because it reverses the logical flow of conversation.

Q: Why is top posting annoying in email?


--
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: Cygwin visual brand

2010-05-13 Thread mike marchywka
>
> As I said, only a text editor has been used to build the site.
>

And as I said I hadn't looked, I was just making generic philosophical
comments.

--
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: Cygwin visual brand

2010-05-13 Thread Brent Kerr
Mike, thank you for your comments.

> I haven't looked at this but what is a style changer tool ( would it
> be obvious if I looked? Just change style sheets or something).

Yes, it would be obvious if you looked. It simply has a drop down box
that lets you choose the header color, font type or page width (please
look before making assumptions). I could have provided a list of links
with each slight variation or I could have quickly coded this tool to
let the user play with the combinations - I think this makes it easier
and it only took me a few minutes.

> My point here is not to ask random
> questions about tangential topics but this highlights
> an important area of command line tools for graphical
> desgin needs. Could you build all the artwork and generate all the html
> from command line scripts and give these scripts various parameters
> so that variations could beconsistently generated using general rules?

I don't see why not, but then I also don't see the point of that.
There are very few images used in my sample, and those that are used
are only there for aesthetics - they convey nothing important. Even
the title is text driven, unlike the current site.

> One objective beyond making cool pictures may be to see how well you can 
> automate
> and design without a GUI program.

I'm confused here. Design what exactly? My proposed website was coded
entirely using a text editor. No serious web developer uses GUI
programs.

> This isn't just academic or banter or whining about saving a few bytes
> when everyone knows the speed of light is increasing each day,
> but lets say you wanted to generate web pages for wireless, unusual
> locales,  or other
> devics that have some fixed relation to your main pages and don't want
> to redesign them etc.

No images were used to convey information. The website can be
translated into other languages very easily while retaining the look
and feel. As with all websites I build, presentation is separate from
content. This means we can simply apply a different style sheet to
change the way the site renders (if we chose to), but that wouldn't be
necessary for this Website. It is such a simple site that it can be
viewed on any device you like as it is - feel free to try it out in
lynx via Cygwin. As an example of the site's versatility, you will
enjoy a convenient "skip to content" link that magically doesn't
appear on the site when viewed in a graphical web browser such as
Firefox. I have no doubt improvements could be made to the text-only
version, and I'd be more than happy to make those.

> Using cygwin to design and generate the site would be a good result in itself 
> :)

As I said, only a text editor has been used to build the site.

Cheers,
Brent

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



Problems with environment variables in Windows 7

2010-05-13 Thread yoni shalom
I don't get the user's environment variables while in ssh session.
Example :

//open up cygwin console
y...@yonidesk ~
$ env | grep -i ProgramFiles
COMMONPROGRAMFILES=C:\Program Files\Common Files
PROGRAMFILES=C:\Program Files
y...@yonidesk ~
$ ssh y...@localhost
Last login: Thu May 13 13:45:01 2010 from ::1
y...@yonidesk ~
$ env | grep -i ProgramFiles
[nothing]

Fresh install of latest cygwin, everything else otherwise seems to work.
Any clues ? Thanks.

--
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: Cygwin visual brand

2010-05-13 Thread mike marchywka
On 5/13/10, Brent Kerr wrote:
>> Could Christopher and/or Corinna please weigh in on this?  There seem to
>> be
>> a lot of ideas and energy behind this project, but I don't think the
>> discussion can go much further until we hear from them.
>>
>> Is either of you interested in having a redesign of cygwin.com?  What
>> would
>> be your criteria for an acceptable redesign?
>
> I agree, it's important to hear from the decision makers on all this,
> and not just regarding website design, but also requirements/concerns
> relating to ease of implementation, updating and so on - this all
> affects the proposal.
>
> Meanwhile, I read back through the mailing list and spotted a comment
> by Corinna asking for "a little more green" [1], so I've added a
> style-changer tool (for color and font) to my proposal at
> http://cygwin.codecamel.com. It's not a permanent feature, just a
> dinky tool to compare themes. Feel free to suggest colors/fonts.
>

I haven't looked at this but what is a style changer tool ( would it
be obvious if I looked? Just change style sheets or something). My
point here is not to ask random
questions about tangential topics but this highlights
an important area of command line tools for graphical
desgin needs. Could you build all the artwork and generate all the html
from command
line scripts and give these scripts various parameters so that variations
could beconsistently generated using general rules? One objective
beyond making cool pictures may be to see how well you can automate
and design without a GUI program. I have nothing against pointing
but it is easier to describe typed chars than mouse moves to relate
your wisdom to others.
As far as that goes, if you could reduce an arbitrary image to ASCII
art algorithmically  to produce things beyond hippos, "fingers" and
homer simpsons, that may be an interesting study in image compression,
perception and maybe searching/indexing.

This isn't just academic or banter or whining about saving a few bytes
when everyone knows the speed of light is increasing each day,
but lets say you wanted to generate web pages for wireless, unusual
locales,  or other
devics that have some fixed relation to your main pages and don't want
to redesign them etc.

Using cygwin to design and generate the site would be a good result in itself :)

" No mice were killed in the construction of this site" LOL.






> Cheers,
> Brent
>
> [1] http://article.gmane.org/gmane.os.cygwin/114495
>
> -

--
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: [ANNOUNCEMENT] Updated: gnuplot-4.4.0-1: A command-line driven interactive function plotting utility

2010-05-13 Thread Peter Rosin
Den 2010-05-13 10:08 skrev Yaakov (Cygwin/X):
> On 2010-05-13 01:25, Peter Rosin wrote:
>> Well, linking with libeditline instead of libreadline will not solve this
>> issue as the cygwin dll is also GPL. So, if gnuplot is deemed to not be
>> license compatible, it needs to be removed from the cygwin distribution
>> altogether.
> 
> Cygwin is actually GPL2-with-linking-exception, so software under any
> OSI-approved license is compatible with Cygwin:

Oh, right. Forgot about that. Sorry for FUDing...

Cheers,
Peter

-- 
They are in the crowd with the answer before the question.
> Why do you dislike Jeopardy?

--
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: [ANNOUNCEMENT] Updated: gnuplot-4.4.0-1: A command-line driven interactive function plotting utility

2010-05-13 Thread Yaakov (Cygwin/X)
On 2010-05-13 01:25, Peter Rosin wrote:
> Well, linking with libeditline instead of libreadline will not solve this
> issue as the cygwin dll is also GPL. So, if gnuplot is deemed to not be
> license compatible, it needs to be removed from the cygwin distribution
> altogether.

Cygwin is actually GPL2-with-linking-exception, so software under any
OSI-approved license is compatible with Cygwin:

http://cygwin.com/licensing.html


Yaakov

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



mc --subshell after exit forget kill bash.

2010-05-13 Thread Oleksandr Gavenko

bash# ps
  PIDPPIDPGID WINPID  TTY  UIDSTIME COMMAND
 4056   14056   4056? 1003 09:42:56 /usr/bin/mintty
  5164056 516   19928 1003 09:42:56 /usr/bin/bash
  664 516 6643048 1003 09:43:17 /usr/bin/ps

bash# mc --subshell
bash-3.2$ ps  in MC 
  PIDPPIDPGID WINPID  TTY  UIDSTIME COMMAND
 4056   14056   4056? 1003 09:42:56 /usr/bin/mintty
  5164056 516   19928 1003 09:42:56 /usr/bin/bash
 1368 5161368   19088 1003 09:43:52 /usr/bin/mc
  3601368 3602440 1003 09:43:52 /usr/bin/bash
  284 360 2846280 1003 09:43:54 /usr/bin/ps
 press F10 
bash# ps
  PIDPPIDPGID WINPID  TTY  UIDSTIME COMMAND
 4056   14056   4056? 1003 09:42:56 /usr/bin/mintty
  5164056 516   19928 1003 09:42:56 /usr/bin/bash
I 360   1 3602440 1003 09:43:52 /usr/bin/bash
 1408 5161408   10888 1003 09:44:59 /usr/bin/ps

Bashes marked with 'I' appear so many times  how many times you run and 
exit MC.


I run MC through 'mintty -e mc --subshell'.
After some count (~10-12 ???) of run and exit form MC I got error
(recorded not literary): "no free pty available".

So MC MUST kill subshell after exit.


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