gcc compile problem: error: stray \168 in program

2009-02-22 Thread grip

Hi all
I  am having trouble with gcc and  the simplest of programs in C.
To test my gcc  installation, I tried this program:

Code:


#include 

int main()
 {
printf("Test this") ;
return(0);
 
 }


followed by 

gcc test.c -o test. 

I  get  some strange errors which  goes like:

test.c: In function `main':
test.c:5: error: stray '\168' in program
test.c:5: error: `Test' undeclared (first use in this function)
test.c:5: error: (Each undeclared identifier is reported only once
test.c:5: error: for each function it appears in.)
test.c:5: error: parse error before "this"
test.c:5: error: stray '\168' in program


Had this got something to do  with unrecognised double quotes?
Can someone provide some  guidance on how to resolve this. 

Help much appreciated! 




-- 
View this message in context: 
http://www.nabble.com/gcc-compile-problem%3A-error%3A-stray-%5C168-in-program-tp22145156p22145156.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
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: gcc compile problem: error: stray \168 in program

2009-02-22 Thread Dave Korn
grip wrote:

> gcc test.c -o test. 
> 
> I  get  some strange errors which  goes like:
> 
> test.c: In function `main':
> test.c:5: error: stray '\168' in program
> test.c:5: error: `Test' undeclared (first use in this function)
> test.c:5: error: (Each undeclared identifier is reported only once
> test.c:5: error: for each function it appears in.)
> test.c:5: error: parse error before "this"
> test.c:5: error: stray '\168' in program
> 
> 
> Had this got something to do  with unrecognised double quotes?

  Yes.  "\168" is the "Diaeresis" mark, not any kind of quote at all.

> Can someone provide some  guidance on how to resolve this. 

  Don't use Microsoft Word to write C source files?  The real question is, how
did the file get to be that way in the first place?  Do you have an unusual
keyboard layout/mapping?

cheers,
  DaveK


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



[bug] email 2.5.1-1 hangs attaching a file with complex name

2009-02-22 Thread Alexei Gladkov
When I try to send a message with file attached email hangs with the following 
report.
 
$ email -b -a AA.AA.AA.AA t...@test.com
 15 [sig] email 2484 _cygtls::handle_exceptions: Error while dumping state (
probably corrupted stack)
58818746 [main] email 2484 sig_send: wait for sig_complete event failed, signal
6, rc 258, Win32 error 0

Adding full path to the file name can solve the problem.

$ email -b -a /cygdrive/c/AA.AA.AA.AA t...@test.com

E-Mail Sent


Removing extra dots from the file name keeps me happy too.

$ email -b -a AA.AA t...@test.com

E-Mail Sent


email.exe.stackdump

Stack trace:
Frame Function  Args
0022B778  7C4F1B1B  (, , , )
0022B868  61095AEB  (, 00380023, 0023, 0022CE68)
0022B8C8  61095FCB  (0022B8E0, , 0094, 610253F0)
0022B988  61096182  (09B4, 0006, 0022B9B8, 61096383)
0022B998  610961AC  (0006, 0022CE88, 0022B9C8, 0960)
0022B9B8  61096383  (0960, 0022BA00, , )
Exception: STATUS_ACCESS_VIOLATION at eip=61016583
eax=610C3D58 ebx=61108148 ecx= edx=0044 esi=0006 edi=0001
ebp=0061C8B8 esp=0061C8B0 program=C:\cygwin\bin\email.exe, pid 2484, thread sig
cs=001B ds=0023 es=0023 fs=0038 gs= ss=0023
Stack trace:
Frame Function  Args
0061C8B8  61016583  (61108148, 6111C19B, , )
0061C8D8  610166EC  (0001, , , 0061C960)
0061C918  61017FD5  (03B0, 0061C960, , )
0061CC58  61018638  (0340, 0061CC90, 00A4, 0061CC8C)
0061CD58  61099F57  (61106F00, , , )
0061CD88  61002F32  (0061CE64, 61018970, 1074, )
61003650  61003769  (04A16430, 8900, FFDA90B0, 24468BFF)
 15 [sig] email 2484 _cygtls::handle_exceptions: Error while dumping state 
(probably corrupted stack)
58818746 [main] email 2484 sig_send: wait for sig_complete event failed, signal 
6, rc 258, Win32 error 0


cygcheck.out:


Cygwin Configuration Diagnostics
Current System Time: Sun Feb 22 17:14:35 2009

Windows 2000 Server Ver 5.0 Build 2195 Service Pack 4

Path:   C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
l:\bin
l:\bin.dev
c:\OracleXDK\bin
c:\PF\IBM\MQSeries\Java\lib
c:\WINNT\system32
c:\WINNT
c:\WINNT\System32\Wbem
c:\PF\IBM\MQSeries\bin
c:\PF\IBM\MQSeries\tools\c\samples\bin
c:\PF\Informix\Client\bin
C:\cygwin\bin
c:\pf\gnu\gnupg

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 1003(monitor)  GID: 513(None)
0(root) 513(None)   544(Administrators) 545(Users)
1004(mqm)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 1003(monitor)  GID: 513(None)
0(root) 513(None)   544(Administrators) 545(Users)
1004(mqm)

SysDir: C:\WINNT\system32
WinDir: C:\WINNT

USER = 'monitor'
PWD = '/cygdrive/c'
HOME = '/home/monitor'
MAKE_MODE = 'unix'

HOMEPATH = '\'
MANPATH = '/usr/local/man:/usr/share/man:/usr/man:'
APPDATA = 'C:\Documents and Settings\monitor\Application Data'
HOSTNAME = 'tops1'
TERM = 'cygwin'
PROCESSOR_IDENTIFIER = 'x86 Family 15 Model 2 Stepping 9, GenuineIntel'
WINDIR = 'C:\WINNT'
OLDPWD = '/home/monitor'
USERDOMAIN = 'TOPS1'
OS = 'Windows_NT'
ALLUSERSPROFILE = 'C:\Documents and Settings\All Users'
OS2LIBPATH = 'C:\WINNT\system32\os2\dll;'
TEMP = '/cygdrive/c/Temp'
COMMONPROGRAMFILES = 'C:\Program Files\Common Files'
ORA_NLS10 = 'c:\OracleXDK\nls\data'
LIB = 'C:\PF\IBM\MQSeries\tools\lib'
USERNAME = 'monitor'
PROCESSOR_LEVEL = '15'
SYSTEMDRIVE = 'C:'
JAVA_HOME = 'c:\jsdk'
USERPROFILE = 'C:\Documents and Settings\monitor'
MQCCSID = '1251'
PS1 = '\[\e]0;\w\a\]\n\[\e[32m\...@\h \[\e[33m\]\w\[\e[0m\]\n\$ '
LOGONSERVER = '\\TOPS1'
ORA_XML_MESG = 'c:\OracleXDK\xdk\mesg'
PROCESSOR_ARCHITECTURE = 'x86'
!C: = 'C:\cygwin\bin'
SHLVL = '1'
INFORMIXSERVER = 'test'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
HOMEDRIVE = 'C:'
PROMPT = '$P$G'
COMSPEC = 'C:\WINNT\system32\cmd.exe'
TMP = '/cygdrive/c/Temp'
SYSTEMROOT = 'C:\WINNT'
CVS_RSH = '/bin/ssh'
PROCESSOR_REVISION = '0209'
CLASSPATH = 
'C:\PF\IBM\MQSeries\Java\lib\providerutil.jar;C:\PF\IBM\MQSeries\Java\lib\com.ibm.mqjms.jar;C:\PF\IBM\MQSeries\Java\lib\ldap.jar;C:\PF\IBM\MQSeries\Java\lib\jta.jar;C:\PF\IBM\MQSeries\Java\lib\jndi.jar;C:\PF\IBM\MQSeries\Java\lib\jms.jar;C:\PF\IBM\MQSeries\Java\lib\connector.jar;C:\PF\IBM\MQSeries\Java\lib\fscontext.jar;C:\PF\IBM\MQSeries\Java\lib\com.ibm.mq.jar'
INFOPATH = '/usr/local/info:/usr/share/info:/usr/info:'
PROGRAMFILES = 'C:\Program Files'
MQ_JAVA_INSTALL_PATH = 'C:\PF\IBM\MQSeries\Java'
MQ_JAVA_DATA_PATH = 'C:\PF\IBM\MQSeries'
NUMBER_OF_PROCESSORS = '1'
INCLUDE = 
'C:\PF\IBM\MQSeries\tools\c\include;C:\PF\IBM\MQSeries\tools\cplus\include'
COMPUTERNAME = 'TOPS1'
_ = '/usr/bin/cygcheck'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\

[ANNOUNCEMENT] Updated: multitail-5.2.2-1: View one or multiple files like tail but with multiple windows.

2009-02-22 Thread Dr. Volker Zell
Hi

A new version of 'multitail' has been uploaded to a server near you.


DESCRIPTION:

MultiTail lets you view one or multiple files like the original tail
program. The difference is that it creates multiple windows on your
console (with ncurses). It can also monitor wildcards: if another file
matching the wildcard has a more recent modification date, it will
automatically switch to that file. That way you can, for example,
monitor a complete directory of files. Merging of 2 or even more
logfiles is possible. 
It can also use colors while displaying the logfiles (through regular
expressions), for faster recognition of what is important and what not.
Multitail can also filter lines (again with regular expressions) and
has interactive menus for editing given regular expressions and
deleting and adding windows. One can also have windows with the output
of shell scripts and other software. When viewing the output of 
external software, MultiTail can mimic the functionality of tools like
'watch' and such.


Cygwin NEWS:


 o Update to latest upstream release


multitail NEWS:
===
  
 - fixed problem with editrules
 - fixes for solaris makefiles
 - write script: won't write --bi with value < 1 anymore
 - re-enabled 'suspend' (^z)
 - fixed assertion error happening when doing a search with the '-ts' switch in 
the scrollback window
 - configuration-file parameters with 'y' instead of 'yes' were taken for no
 - added '--follow-all' (see -f for semantics)

 
UPDATE:
===
To update your installation, click on the "Install Cygwin now" link on the
http://cygwin.com/ web page.  This downloads setup.exe to your system.
Save it and run setup, answer the questions and pick up 'multitail' from
the 'Utils' category (it should already be selected).

DOWNLOAD:
=
Note that downloads from sources.redhat.com (aka cygwin.com) aren't
allowed due to bandwidth limitations.  This means that you will need to
find a mirror which has this update, please choose the one nearest to you:
http://cygwin.com/mirrors.html

QUESTIONS:
==
If you want to make a point or ask a question the Cygwin mailing list is
the appropriate place.

--
Dr. Volker Zell
volunteer cygwin multitail maintainer

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO:
=
To unsubscribe to the cygwin-announce mailing list, look at the
"List-Unsubscribe: " tag in the email header of this message.  Send email
to the address specified there.  It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



[ANNOUNCEMENT] Updated: texi2html-1.82 - A highly customizable texinfo to HTML and other formats translator

2009-02-22 Thread Dr. Volker Zell
Hi

A new version of 'texi2html' has been uploaded to a server near you.


DESCRIPTION:

A highly customizable texinfo to HTML and other formats translator.


CYGWIN NEWS:


 o Updated to latest upstream release


texi2html NEWS
==

1.82 (2009-01-05)

* NEW FEATURES
  

* Add new hooks for user functions, for simple @-commands, and at the start and
  end of special regions.

* BUG FIXES
  -

* Tests are now more cross-platform and more tolerant of missing optional
  dependencies.

* Don't use unidecode on unicode characters that are known not to have a good
  transliteration.  This corresponds with characters with an @-command that
  don't have a transliteration, like @exclamdown...

* Misc minor bug fixes.

1.80 (2009-01-01)

* NEW FEATURES
  

* handle @alias, @quote*, @guillem*, @textdegree, @allowcodebreaks,
  @fonttextsize, @hyphenation, @click, @clickstyle, @click, @arrow, 
  @clicksequence, @geq, @leq, @*headingmarks, @*footingmarks, @smallquotation,
  @ogonek.
  Handle @columnfractions and row prototypes in @multitable better.

* @documentlanguage is used to set the language each time it is seen (except
  if the language was set on the command line).

* new option --css-ref, generate reference to a CSS URL.

* new option --transliterate-file-names, produce file names in ASCII 
  transliteration (set in the default case).

* use accesskey and rel attributes, use link element if set in the init file.

* use node id as targets for sections.

* COMPATIBILITY
  -

* the API for the formatting of menus completly changed. $simple_menu_link
  is removed, everything should be done in $menu_link.

* change handling of @detailmenu and menu comments, with (among other changes)
  the menu function reference replaced by the menu_command function reference
  also handling @detailmenu.

* tex4ht.init now may use a different external program for @tex and for
  @math, and therefore the configuration variables were doubled and
  their name changed.

* change in the interface, a new function reference print_element_header
  has been added, that should print the heading navigation of an element.
  Previously it was done in print_section.

* change in the normal_text function reference API, now there is an 
  input variable true if in simple text.

* change in the menu_entry and simple_menu_entry function reference API,
  the name is always assed, and a new argument tells if there was an
  explicit name.

* change in unknown function reference API, now there is a pass argument
  to be able to handle unknown macros in other passes than the last.
  Report from Reinhold Kainhofer.

* in table_item the text is not formatted with the format command, 
  the text_formatted argument is.

* definition index entries are now formatted with $definition_index_entry,
  not with $definition_category anymore.

* $Texi2HTML::THISDOC{copying} is now $Texi2HTML::THISDOC{copying_comment}.

* TOC_LIST_ATTRIBUTE is now called NO_BULLET_LIST_ATTRIBUTE.

* TOC_LIST_STYLE is now called NO_BULLET_LIST_STYLE.

* changes in command line switches to synchronize with makeinfo:
  --number becomes --number-sections
  --separated-footnotes becomes --footnote-style
  --sec-nav becomes --header
  --Verbose becomes --verbose
  --lang becomes --document-language

* everything before @setfilename is not outputted, like makeinfo. The previous
  behaviour can be restored with $IGNORE_BEFORE_SETFILENAME = 0;

* Now there is an argtype possibility for definition specification 
  and the arg meaning changed. The whole definition parsing is now more
  like makeinfo.

* internal_ref and external_ref don't change inforef to xref anymore.

* change in the heading API. THIS_HEADER is not used anymore.
  New function reference, element_heading  to format a node or a section 
  heading, including navigation and label. Accordingly, print_Top and 
  one_section don't print the element header anymore. Also it is
  reported if the element is a new element, is the main element and
  more arguments, and top element heading is always done in heading.

* print_element_header and print_navigation now return their result.

* new argument for print_misc and print_misc_header, the misc page name.

* printindex is called if it appears, even if the index is not defined or
  there are no index entries.

* image API completly changed. The current behaviour is not stable, so
  is not documented.

* new argument (@@-command name) for quotation and quotation_prepend_text.

* image file paths are not completed anymore in the default case. The previous
  behaviour can be restored with $COMPLETE_IMAGE_PATHS set to true.

* there is a new 'style' key in $complex_format_map, to be able to 
  differentiate complex formats inheriting fonts and code_style (like 
  @format, @display).

* $EXTENSION should be undef if one doesn't want an extension to be added.

* THISDOC{'title'} and similar are now for @title 

[ANNOUNCEMENT] Updated: {liblzo2/liblzo2_2/liblzo2-devel}-2.03-1: A data compression library which is suitable for data de-/compression in real-time

2009-02-22 Thread Dr. Volker Zell
Hi

New versions of 'liblzo2/liblzo2_2/liblzo2-devel' have been uploaded to a 
server near you.


Cygwin NEWS:


 * Routine update
 
liblzo2 NEWS:
===
  
 * Updated the ELF assembler sources to mark the stack as non-executable.
 * Fixed a HP-UX 11 build issue with Itanium in ILP32 mode.
 * Updated the configure system.

 
DESCRIPTION:

LZO is a data compression library which is suitable for data de-/compression in 
real-time.
This means it favours speed over compression ratio.

LZO implements a number of algorithms with the following features:

 * Decompression is simple and *very* fast.
 * Requires no memory for decompression.
 * Compression is pretty fast.
 * Requires 64 kB of memory for compression.
 * Allows you to dial up extra compression at a speed cost in the compressor. 
The speed of the decompressor is not reduced.
 * Includes compression levels for generating pre-compressed data which achieve 
a quite competitive compression ratio.
 * There is also a compression level which needs only 8 kB for compression.
 * Algorithm is thread safe.
 * Algorithm is lossless.

LZO supports overlapping compression and in-place decompression.


UPDATE:
===
To update your installation, click on the "Install Cygwin now" link on the
http://cygwin.com/ web page.  This downloads setup.exe to your system.
Save it and run setup, answer the questions and pick up 'liblzo2' from
the 'Libs' category (it should already be selected).

DOWNLOAD:
=
Note that downloads from sources.redhat.com (aka cygwin.com) aren't
allowed due to bandwidth limitations.  This means that you will need to
find a mirror which has this update, please choose the one nearest to you:
http://cygwin.com/mirrors.html

QUESTIONS:
==
If you want to make a point or ask a question the Cygwin mailing list is
the appropriate place.

--
Dr. Volker Zell
volunteer cygwin liblzo2 maintainer

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO:
=
To unsubscribe to the cygwin-announce mailing list, look at the
"List-Unsubscribe: " tag in the email header of this message.  Send email
to the address specified there.  It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



[ANNOUNCEMENT] Updated: {libtasn1/libtasn1_3/libtasn1-devel}-1.8-1: Tiny ASN.1 library

2009-02-22 Thread Dr. Volker Zell
Hi

New versions of 'libtasn1/libtasn1_3/libtasn1-devel' have been uploaded to a 
server near you.

Cygwin NEWS:


 - Update to latest upstream release

 
libtasn1 NEWS:
===
  
Version 1.8 (released 2009-01-16)
- Fix crlf self-test under Mingw+Wine.
- Fix build problems on platforms that lack stdint.h.
  Reported by Dagobert Michelsen  in
  .

Version 1.7 (released 2008-11-17)
- Add libtasn1-config for compatibility.
  Please stop use it as it will disappear in v2.0!
  Use standard AC_CHECK_FUNCS autoconf tests or pkg-config instead.
- Read PKCS#12 blob as binary file, fixes self-tests under Mingw.
- Fix use of __attribute__ ((deprecated)) to work on non-GCC (#106548).

Version 1.6 (released 2008-11-10)
- Fixed namespace violation for MAX_NAME_SIZE and MAX_ERROR_DESCRIPTION_SIZE.
  The new names are ASN1_MAX_NAME_SIZE and ASN1_MAX_ERROR_DESCRIPTION_SIZE.
- Fixed namespace violation for libtasn1_perror and libtasn1_strerror.
  The new names are asn1_perror and asn1_strerror.
- Fix namespace violation for LIBASN1_VERSION.
  The new name is ASN1_VERSION.
- Decoder can now decode BER encoded octet strings.
- doc: Change license on the manual to GFDLv1.3+.
- doc: Sync gdoc script with GnuTLS, changes license on man-pages to GAP.
- doc: Improve gtk-doc manual.
- Assumes system has strdup and string.h.
- Remove libtasn1-config and libtasn1.m4,
  use standard AC_CHECK_FUNCS autoconf tests or pkg-config instead.
- Change detection of when to use a linker version script,
  use --enable-ld-version-script or --disable-ld-version-script to
  override auto-detection logic.
- API and ABI changes since last version:
  asn1_get_length_ber: New function.
  ASN1_VERSION: New symbol, replaces LIBTASN1_VERSION.
  asn1_strerror: New function, replaces libtasn1_strerror.
  asn1_perror: New function, replaces libtasn1_perror.
  libtasn1_strerror: Marked as deprecated.
  libtasn1_perror: Marked as deprecated.
  LIBTASN1_VERSION: Deprecated.

Version 1.5 (released 2008-07-29)
- Update gnulib files.
- Fix memory leaks, from Christian Grothoff .

 
DESCRIPTION:

A library for Abstract Syntax Notation One (ASN.1) and Distinguish
Encoding Rules (DER) manipulation.


UPDATE:
===
To update your installation, click on the "Install Cygwin now" link on the
http://cygwin.com/ web page.  This downloads setup.exe to your system.
Save it and run setup, answer the questions and pick up 'libtasn1' from
the 'Libs' category (it should already be selected).

DOWNLOAD:
=
Note that downloads from sources.redhat.com (aka cygwin.com) aren't
allowed due to bandwidth limitations.  This means that you will need to
find a mirror which has this update, please choose the one nearest to you:
http://cygwin.com/mirrors.html

QUESTIONS:
==
If you want to make a point or ask a question the Cygwin mailing list is
the appropriate place.

--
Dr. Volker Zell
volunteer cygwin libtasn1 maintainer

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO:
=
To unsubscribe to the cygwin-announce mailing list, look at the
"List-Unsubscribe: " tag in the email header of this message.  Send email
to the address specified there.  It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Bug: xemacs-emacs-common depends on xemacs

2009-02-22 Thread Dr. Volker Zell
> Corinna Vinschen writes:

> It's a bug in the setup.hint file of xemacs-emacs-common which already
> had been discussed.  I removed the dependency to xemacs on cygwin.com.

Sorry my fault, noticed (again).

> Corinna

Ciao
  Volker
  

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



[ANNOUNCEMENT] Updated: {autotrace/libautotrace3/libautotrace-devel}-0.31.1-2: A program for converting bitmap to vector graphics

2009-02-22 Thread Dr. Volker Zell
Hi

New versions of 'autotrace/libautotrace3/libautotrace-devel' have been uploaded 
to a server near you.


Cygwin NEWS:


 o Recompiled against latest X11R7.4
 o Fixed setup.hint dependencies


 
DESCRIPTION:

AutoTrace is a program for converting bitmap to vector graphics.
The aim of the AutoTrace project is the development of a freely available 
application
with a functionality similar to CorelTrace or Adobe Streamline.



UPDATE:
===
To update your installation, click on the "Install Cygwin now" link on the
http://cygwin.com/ web page.  This downloads setup.exe to your system.
Save it and run setup, answer the questions and pick up 'autotrace' from
the 'Graphics' category (it should already be selected).

DOWNLOAD:
=
Note that downloads from sources.redhat.com (aka cygwin.com) aren't
allowed due to bandwidth limitations.  This means that you will need to
find a mirror which has this update, please choose the one nearest to you:
http://cygwin.com/mirrors.html

QUESTIONS:
==
If you want to make a point or ask a question the Cygwin mailing list is
the appropriate place.

--
Dr. Volker Zell
volunteer cygwin autotrace maintainer

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO:
=
To unsubscribe to the cygwin-announce mailing list, look at the
"List-Unsubscribe: " tag in the email header of this message.  Send email
to the address specified there.  It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.

--
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: Can't find "show-paren-mode" under XEmacs

2009-02-22 Thread Dr. Volker Zell
> Bill Klein writes:

> I am new to Cygwin and XEmacs, but when I installed XEmacs and tried using
> several features that I found documented, several places say that they 
can't
> find
>   show-paren-mode
> (or that the function is "void").

> I have searched online thinking (in my non-Lisp, non-XEmacs way), that 
there
> may be a
>   show-paren-mode.el (or .elc)
> that I was supposed to manually download, but I can't find one.

> I did try entering the command
>  M-x show-paren-mode

> and that to received an error message.

> Any help on what I am missing or how to fix this?

Did you install the xemacs-sumo package ?

Ciao
  Volker
  

--
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: gcc compile problem: error: stray \168 in program

2009-02-22 Thread tmcd
On Sun, 22 Feb 2009, Dave Korn  wrote:
> grip wrote:
>
> > gcc test.c -o test.
> >
> > I  get  some strange errors which  goes like:
> >
> > test.c: In function `main':
> > test.c:5: error: stray '\168' in program
> > test.c:5: error: `Test' undeclared (first use in this function)
> > test.c:5: error: (Each undeclared identifier is reported only once
> > test.c:5: error: for each function it appears in.)
> > test.c:5: error: parse error before "this"
> > test.c:5: error: stray '\168' in program
> >
> >
> > Had this got something to do  with unrecognised double quotes?
>
> Yes.  "\168" is the "Diaeresis" mark, not any kind of quote at
> all.

Yabbut \nnn should represent an octal escape (right?), but 8 is not an
octal digit.  168 decimal is indeed umlaut (octal 250, hex A8).

> > Can someone provide some  guidance on how to resolve this.
>
>   Don't use Microsoft Word to write C source files?  The real
> question is, how did the file get to be that way in the first place?

In particular, what about the quotation marks?  Are they Microsoft
so-called "smart quotes", octal 223 = decimal 147 = hex 93 for open
curly double quotes and all those plus 1 for closing?  I'd try going
into a non-word processor program, like vi or maybe Notepad, delete
the double-quotes, retype them, and see if the result shows on the
screen as vertical or identical quotation marks.  -- I have to admit
that that doesn't fit the "stray \168" error message, so it's a long
shot, but at least it's quick and harmless to try it.

-- 
Tim McDaniel; Reply-To: t...@panix.com

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



[ANNOUNCEMENT] Updated: gtypist-2.8.3-1

2009-02-22 Thread Yaakov (Cygwin/X)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

The following packages have been updated in the Cygwin net release:

*** gtypist-2.8.3-1

This is an update to the latest upstream version.


Yaakov


DOWNLOAD:
=
Note that downloads from sources.redhat.com (aka cygwin.com) aren't
allowed due to bandwidth limitations.  This means that you will need to
find a mirror which has this update, please choose the one nearest to
you: http://cygwin.com/mirrors.html

QUESTIONS:
==
If you want to make a point or ask a question the Cygwin mailing list is
the appropriate place.

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO:
=
To unsubscribe to the cygwin-announce mailing list, look at the
"List-Unsubscribe: " tag in the email header of this message.  Send
email to the address specified there.  It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREIAAYFAkmhpZoACgkQpiWmPGlmQSMu1ACgnWjoOFigRzOzaBPCfn5MHUM+
xb0AoMCRRyzPwBQFfaP1M0mcAuKbRSHX
=96U1
-END PGP SIGNATURE-

--
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: [ANNOUNCEMENT] [1.7] Updated: cygwin-1.7.0-41

2009-02-22 Thread Fergus

Corinna,
Hasn't reached kernel.org yet, or cygwin.elite-systems.org, or 
sourceware.mirrors.tds.net, or ..., after 48+ hours.
Latest timestamp 1235330442 : current version of cygwin still shown as 
1.7.0-40 ... hope I'm not misunderstanding this [ANNOUNCEMENT], sorry if 
so ...

Fergus




--
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: [ANNOUNCEMENT] [1.7] Updated: cygwin-1.7.0-41

2009-02-22 Thread Dave Korn
Fergus wrote:
> Corinna,
> Hasn't reached kernel.org yet, or cygwin.elite-systems.org, or
> sourceware.mirrors.tds.net, or ..., after 48+ hours.
> Latest timestamp 1235330442 : current version of cygwin still shown as
> 1.7.0-40 ... hope I'm not misunderstanding this [ANNOUNCEMENT], sorry if
> so ...

  It's not been uploaded on sourceware.org yet.  Presumably there was a
last-minute glitch of some kind.

cheers,
  DaveK

--
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: wget, ssh, ssh-agent hang in socket_cleanup

2009-02-22 Thread Paul McFerrin
I've been having the same problem for the past two weeks.  Just didn't 
know where to look.  Thanks for sharing.  Maybe we can get someone on this.


Wget would just HANG intermittently in the Connecting phase.

- Paul

Dobes Vandermeer wrote:

Currently when using cygwin (other software works fine) to communicate over
the network, some network connections will hang.  This affects rsync, ssh,
and wget (so far).

I ran an strace on wget http://www.google.com and it hangs here (ssh hangs
in the same place):

Connecting to www.google.com|74.125.19.103|:80...  1870 2067824 [main] wget
214768 fhandler_console::write: 50 = write_c
onsole (,..50)
 3637 2071461 [main] wget 214768 cygwin_socket: socket (2, 1, 0)
 3889 2075350 [main] wget 214768 fdsock: reset socket inheritance
 2096 2077446 [main] wget 214768 build_fh_pc: fh 0x61169E10
 1749 2079195 [main] wget 214768 fhandler_base::set_flags: flags 0x10002,
supplied_bin 0x0
 1920 2081115 [main] wget 214768 fhandler_base::set_flags: O_TEXT/O_BINARY
set in flags 0x1
 1825 2082940 [main] wget 214768 fhandler_base::set_flags: filemode set to
binary
 1968 2084908 [main] wget 214768 fdsock: fd 3, name '', soc 0x1FC
 1763 2086671 [main] wget 214768 cygwin_socket: 3 = socket (2, 1, 0)
 2374 2089045 [main] wget 214768 sig_send: sendsig 0x13C, pid 214768, signal
-34, its_me 1
 1844 2090889 [main] wget 214768 sig_send: wakeup 0x1F4
 2028 2092917 [main] wget 214768 sig_send: Waiting for pack.wakeup 0x1F4
 1818 2094735 [sig] wget 214768 wait_sig: signalling pack.wakeup 0x1F4
 1961 2096696 [main] wget 214768 sig_send: returning 0x0 from sending signal
-34
 1801 2098497 [main] wget 214768 fhandler_socket::ioctl: socket is now
nonblocking
 2020 2100517 [main] wget 214768 fhandler_socket::ioctl: 0 = ioctl_socket
(8004667E, 27C43C)
 3710 2104227 [main] wget 214768 __set_errno: void __set_winsock_errno(const
char*, int):234 val 119
 2775 2107002 [main] wget 214768 __set_winsock_errno: connect:788 - winsock
error 10036 -> errno 119
 2719 2109721 [main] wget 214768 cygwin_select: 4, 0x0, 0x27C3F0, 0x27C3D0,
0x0
 2212 2111933 [main] wget 214768 dtable::select_write:  fd 3
 1774 2113707 [main] wget 214768 dtable::select_except:  fd 3
 2143 2115850 [main] wget 214768 cygwin_select: to NULL, ms 
 1763 2117613 [main] wget 214768 cygwin_select: sel.always_ready 0
 1953 2119566 [main] wget 214768 start_thread_socket: Handle 0x1FC
 1754 2121320 [main] wget 214768 start_thread_socket: Added to writefds
 1931 2123251 [main] wget 214768 start_thread_socket: Added to exceptfds
 2250 2125501 [main] wget 214768 start_thread_socket: opened new socket
0x208
 1923 2127424 [main] wget 214768 start_thread_socket: exitsock 0x208
 1810 2129234 [main] wget 214768 start_thread_socket: stuff_start 0x27C354
 2635 2131869 [select_socket] wget 214768 cygthread::stub: thread
'select_socket', id 0x3421C, stack_ptr 0x1B2FCDA0
 1790 2133659 [select_socket] wget 214768 thread_socket: stuff_start
0xF5582C
 3188 2136847 [select_socket] wget 214768 thread_socket: Win32 select
returned 1
 2146 2138993 [select_socket] wget 214768 thread_socket: s 0xF527E8, testing
fd 3 ()
 5712 2144705 [main] wget 214768 select_stuff::wait: m 2, ms 4294967295
5 2144710 [select_socket] wget 214768 thread_socket: write_ready
 3987 2148697 [main] wget 214768 select_stuff::wait: woke up.  wait_ret 1. 
verifying

 2044 2150741 [main] wget 214768 select_stuff::wait: gotone 1
 2042 2152783 [main] wget 214768 select_stuff::wait: returning 0
 1853 2154636 [main] wget 214768 select_stuff::cleanup: calling cleanup
routines
 2033 2156669 [main] wget 214768 socket_cleanup: si 0xF52818 si->thread
0x61106F30
 2254 2158923 [main] wget 214768 socket_cleanup: sent a byte to exitsock
0x208, res -1
 2038 2160961 [main] wget 214768 socket_cleanup: reading a byte from
exitsock 0x208

For reasons I can't really guess at, wget works 3/4 times, ssh only 1/3
times.  I can get through by pressing CTRL-C and re-running the command
(sometimes I have to do this several times), except with rsync which seems
to trap the CTRL-C and I have to kill it using the Task Manager before it
will stop and I can try again.  This also affects ssh-add which seems to
hang trying to connect to the ssh-agent on localhost, so it's not related to
connecting to other machines.

This is something that started happening recently, in the last few weeks. 
Windows Update has run a few times and I thought it may have updated my

network driver; however, after I observed this problem I used Windows Update
to install a network card driver update, which didn't fix (or worsen) the
problem.  Also, the fact that this affects connections to localhost, which
theoretically would bypass the network card driver, seems to discredit the
"network card driver" theory and cast suspicion on the entire networking
stack instead.  This only affects cygwin, so far, though ... so maybe it's
something funny cygwin is doing.

I'm running Windows Vista Home Basic 64-bit, the network card is a Realtek
PC

Setup - command line only

2009-02-22 Thread Kevin and Nancy
I was hoping someone would consider a version of setup.exe that only ran 
on the command line, i.e. a non-graphical setup program.  This would be 
especially helpful for remotely updating packages of the Cygwin suite. 
I think it's ironic that the Cygwin suite which specializes on command 
line utilities only has a graphical user interface for setup/updates.


A separate question might be, why can't setup update itself?  Even, 
"click here to download the new setup" would be a setup forward.


Just some ideas.  Hopefully, this isn't the 300th time someone has 
asked, but I did do a Google before sending this.

Kevin

--
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: Setup - command line only

2009-02-22 Thread Larry Hall (Cygwin)

Kevin and Nancy wrote:
I was hoping someone would consider a version of setup.exe that only ran 
on the command line, i.e. a non-graphical setup program.  This would be 
especially helpful for remotely updating packages of the Cygwin suite. I 
think it's ironic that the Cygwin suite which specializes on command 
line utilities only has a graphical user interface for setup/updates.


A separate question might be, why can't setup update itself?  Even, 
"click here to download the new setup" would be a setup forward.


Just some ideas.  Hopefully, this isn't the 300th time someone has 
asked, but I did do a Google before sending this.


No, it's only the 289th time, which probably accounts for why you couldn't
find it with Google. ;-)  These kinds of features are missing from
'setup.exe' because there hasn't been a volunteer contributor for them.
If you're interested in contributing something, see the link below:



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

--
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: Setup - command line only

2009-02-22 Thread Jared Silva
Kevin and Nancy wrote:
> A separate question might be, why can't setup update itself?  Even, "click
> here to download the new setup" would be a setup forward.

That is easy to set up yourself.  Below is my /bin/cygwin_setup:

#! /bin/sh
dir="/"
url="http://www.cygwin.com/setup.exe";

cygwin_setup="${dir}$(basename "${url}")"

cd "${dir}"
wget -N "${url}"
chmod 755 -c "${cygwin_setup}"

cygstart "${cygwin_setup}" --no-shortcuts $...@}

--
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: Setup - command line only

2009-02-22 Thread Ralph Hempel

Larry Hall (Cygwin) wrote:


No, it's only the 289th time, which probably accounts for why you couldn't
find it with Google. ;-)  These kinds of features are missing from
'setup.exe' because there hasn't been a volunteer contributor for them.
If you're interested in contributing something, see the link below:


OK, the update of setup is not supported, but setup DOES in fact
allow fully command line based operation. I know because I moaned
about it, collected and tested patches, and even contributed a minor
fix to the option parsing.

Ralph

--
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: Setup - command line only

2009-02-22 Thread Larry Hall (Cygwin)

Ralph Hempel wrote:

Larry Hall (Cygwin) wrote:

No, it's only the 289th time, which probably accounts for why you 
couldn't

find it with Google. ;-)  These kinds of features are missing from
'setup.exe' because there hasn't been a volunteer contributor for them.
If you're interested in contributing something, see the link below:


OK, the update of setup is not supported, but setup DOES in fact
allow fully command line based operation. I know because I moaned
about it, collected and tested patches, and even contributed a minor
fix to the option parsing.


That's true but I believe the OP was lamenting that there wasn't a
version that didn't still have the GUI even when run from the command
line.  If I'm wrong, then I'm sure you've made the OP's day. :-)

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

--
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: Setup - command line only

2009-02-22 Thread Ralph Hempel

Larry Hall (Cygwin) wrote:

Ralph Hempel wrote:

Larry Hall (Cygwin) wrote:

No, it's only the 289th time, which probably accounts for why you 
couldn't

find it with Google. ;-)  These kinds of features are missing from
'setup.exe' because there hasn't been a volunteer contributor for them.
If you're interested in contributing something, see the link below:


OK, the update of setup is not supported, but setup DOES in fact
allow fully command line based operation. I know because I moaned
about it, collected and tested patches, and even contributed a minor
fix to the option parsing.


That's true but I believe the OP was lamenting that there wasn't a
version that didn't still have the GUI even when run from the command
line.  If I'm wrong, then I'm sure you've made the OP's day. :-)


That's what I like about this list - there's always another way to
interpret a question.

For me, the fact that I can now drive setup using a command line is
good enough. The fact that the GUI is still visible and being driven
by the magic command line incantation is a non-issue for me :-)

Ralph

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



[ANNOUNCEMENT] Updated: {libidn/libidn11/libidn-devel/libidn-doc}-1.9-1: Internationalized domain name library

2009-02-22 Thread Dr. Volker Zell
Hi

New versions of `libidn/libidn11/libidn-devel/libidn-doc' have been uploaded to 
a server near you.


Cygwin NEWS:


 * Update to latest upstream release
 
libidn NEWS:

  
* Version 1.9 (released 2008-07-01)

** idn: fix error message when NFKC fails, and some other translation fixes.
Reported by Benno Schulenberg .

** C# Libidn.dll: Work around bug that cause a failure during C# compilation.
See .

** Remove more non-free text from doc/specifications/rfc3454.txt.
The remaining data tables are not copyrightable.

** Update gnulib files, and include gnulib self-tests.

** Update translations.

** API and ABI is backwards compatible with the previous version.

 
DESCRIPTION:

GNU Libidn is an implementation of the Stringprep, Punycode and IDNA 
specifications 
defined by the IETF Internationalized Domain Names (IDN) working group, used 
for internationalized 
domain names. The C library is available under the GNU Lesser General Public 
License.

The library contains a generic Stringprep implementation that does Unicode 3.2 
NFKC normalization, 
mapping and prohibitation of characters, and bidirectional character handling. 
Profiles for iSCSI, 
Kerberos 5, Nameprep, SASL and XMPP are included. Punycode and ASCII Compatible 
Encoding (ACE) via 
IDNA are supported.


UPDATE:
===
To update your installation, click on the "Install Cygwin now" link on the
http://cygwin.com/ web page.  This downloads setup.exe to your system.
Save it and run setup, answer the questions and pick up 'libidn' from
the 'Libs' category (it should already be selected).

DOWNLOAD:
=
Note that downloads from sources.redhat.com (aka cygwin.com) aren't
allowed due to bandwidth limitations.  This means that you will need to
find a mirror which has this update, please choose the one nearest to you:
http://cygwin.com/mirrors.html

QUESTIONS:
==
If you want to make a point or ask a question the Cygwin mailing list is
the appropriate place.

--
Dr. Volker Zell
volunteer cygwin libidn maintainer

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO:
=
To unsubscribe to the cygwin-announce mailing list, look at the
"List-Unsubscribe: " tag in the email header of this message.  Send email
to the address specified there.  It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.

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