LIBGCC startup code: you cannot hide GetProcAddress@8 and GetModuleHandleA@4

2016-02-21 Thread Carlo Bramini
Let's assume to have this simple C source code: void * __stdcall GetProcAddress( int hModule, char * function ) { return 0; } void * __stdcall GetModuleHandleA( char * Module ) { return 0; } int main() { return 0; } if you try to compile it, you will get: /usr/lib/w32api/libker

XWin won't run xterm on start

2016-02-21 Thread Jaakov Jaakov
Dear all: How to make xterm start automatically on XWin start? When I run XWin from a Windows shortcut, the X Server starts, but not an xterm. The same happens when I run startxwin from a cygwin terminal. (After the X server starts, choosing xterm from the graphical menu does bring up an xt

Re: XWin won't run xterm on start

2016-02-21 Thread Marco Atzeri
On 21/02/2016 15:38, Jaakov Jaakov wrote: Dear all: How to make xterm start automatically on XWin start? When I run XWin from a Windows shortcut, the X Server starts, but not an xterm. The same happens when I run startxwin from a cygwin terminal. (After the X server starts, choosing xterm from t

Re: XWin won't run xterm on start

2016-02-21 Thread Jaakov Jaakov
Dear Marco: So, are you saying that not starting xterm is by design? http://x.cygwin.com/docs/man1/startxwin.1.html The manpage above is a bit outdated; creating a .startxwinrc with xrdb -load $HOME/.Xresources xbiff -geometry -430+5 & oclock -geometry 75x75-0-0 & xload -geometry -80-0 & xt

Re: XWin won't run xterm on start

2016-02-21 Thread Marco Atzeri
On 21/02/2016 19:24, Jaakov Jaakov wrote: Dear Marco: So, are you saying that not starting xterm is by design? yes http://x.cygwin.com/docs/man1/startxwin.1.html The manpage above is a bit outdated; creating a .startxwinrc with xrdb -load $HOME/.Xresources xbiff -geometry -430+5 & oclock

RE: Re: XWin won't run xterm on start

2016-02-21 Thread Jaakov Jaakov
> Dear Marco: > > So, are you saying that not starting xterm is by design? yes Well, then, apparently, the design changed several months ago. >> http://x.cygwin.com/docs/man1/startxwin.1.html > > The manpage above is a bit outdated; creating a .startxwinrc with > > xrdb -load $HOME/.Xresou

startxwinrc

2016-02-21 Thread Ken Brown
I'm puzzled by the following lines in /etc/X11/xinit/startxwinrc: -- # The user may have their own clients they want to run. If they don't, # fall back to system defaults. if [ -f $HOME/.startxwinrc ] ; then exec $CK_XINIT_S

Re: XWin won't run xterm on start

2016-02-21 Thread Eliot Moss
Why not do: xterm ... & /etc/X11/xinit/startxwinrc ? Regards -- Eliot Moss -- 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: Re: XWin won't run xterm on start

2016-02-21 Thread Jaakov Jaakov
Why not do: xterm ... & /etc/X11/xinit/startxwinrc ? Where do you suggest to do it? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#u

Re: XWin won't run xterm on start

2016-02-21 Thread Eliot Moss
On 2/21/2016 4:28 PM, Jaakov Jaakov wrote: Why not do: xterm ... & /etc/X11/xinit/startxwinrc Do this in your personal .startxwinrc file ... EM -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.

Re: XWin won't run xterm on start

2016-02-21 Thread Ken Brown
On 2/21/2016 6:21 PM, Eliot Moss wrote: On 2/21/2016 4:28 PM, Jaakov Jaakov wrote: Why not do: xterm ... & /etc/X11/xinit/startxwinrc Do this in your personal .startxwinrc file ... Won't this lead to an infinite recursion? (See https://www.cygwin.com/ml/cygwin/2016-02/msg00325.html

Re: XWin won't run xterm on start

2016-02-21 Thread Eliot Moss
On 2/21/2016 8:59 PM, Ken Brown wrote: On 2/21/2016 6:21 PM, Eliot Moss wrote: On 2/21/2016 4:28 PM, Jaakov Jaakov wrote: Why not do: xterm ... & /etc/X11/xinit/startxwinrc Do this in your personal .startxwinrc file ... Won't this lead to an infinite recursion? (See https://www.cy

[ANNOUNCEMENT] vim 7.4.1385-1

2016-02-21 Thread Yaakov Selkowitz
The following packages have been uploaded to the Cygwin distribution: * vim-7.4.1385-1 * vim-common-7.4.1385-1 * vim-minimal-7.4.1385-1 * gvim-7.4.1385-1 * xxd-7.4.1385-1 Vim (Vi IMproved) is an almost compatible version of the UNIX editor vi. Almost every possible command can be performed using