www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1999/06/07/20:01:13

Message-Id: <199906080001.UAA03523@delorie.com>
Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
From: "Parker, Ron" <rdparker AT butlermfg DOT org>
To: Chris Faylor <cgf AT cygnus DOT com>, cygwin-developers AT sourceware DOT cygnus DOT com
Subject: RE: Text version of Windows error messages in small_printf consid
ered harmful
Date: Mon, 7 Jun 1999 18:59:10 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2232.9)

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_000_01BEB141.E5CC35BE
Content-Type: text/plain;
	charset="iso-8859-1"

I am hoping to kill this thread.

I don't like the extended error messages for the same reasons others have
given.  

Also forcing the output to English as recommended by Mumit won't work.  On
localized versions of Windows, English text is not guaranteed to be present.

However, I also agree that I hate looking up error codes. So, I've attached
the source for a small program that looks many of them up for you.

-----Original Message-----
From: Chris Faylor [mailto:cgf AT cygnus DOT com]
Sent: Thursday, June 03, 1999 10:55 AM
To: cygwin-developers AT sourceware DOT cygnus DOT com
Subject: Text version of Windows error messages in small_printf
considered harmful


Now that I've had the chance to use the extended error messages that
Mumit recently added to smallprint.c, I have to say that I'm not thrilled.
The error messages extend the length of the line so that things wrap
in a way that makes it hard to read.  Worse, I've received a couple of
strace logs from non-US users and the error messages are incomprehensible
to me.  Another problem is that it is not easy to figure out exactly
which error *code* is being displayed even when the error is in English.

Because of this, I have conditionalized this code in recent snapshots.
It's off by default.  I'm thinking that an alternative is to add the
possibility to create text messages as an STRACE option.  I have always
wanted to write an strace program rather than using the kludgey environment
variable method.  If we did this, we could do something like
'strace --text file.exe' to produce error message logs with text error
messages.

-- 
cgf AT cygnus DOT com
http://www.cygnus.com/

------_=_NextPart_000_01BEB141.E5CC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AzwcGAAcAEQA5ABUAAQBDAQITgAMADgAAAM8HBgAHABEAOQAV
AAEAQwECEIABAAsAAABjeWdlcnJvci5jAP4DAhGABgC4DQAAAQAJAAAD3AYAAAAAIQYAAAAABQAA
AAkCAAAAAAUAAAABAv///wClAAAAQQvGAIgAIAAgAAAAAAAgACAAAAAAACgAAAAgAAAAQAAAAAEA
AQAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPwAAAD8A
AAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAA
AD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAB/AAAA/wAAAf8AAAP/AAAH
/wAAD/8hBgAAQQtGAGYAIAAgAAAAAAAgACAAAAAAACgAAAAgAAAAIAAAAAEAGAAAAAAAAAwAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACEhITG
xsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbG
xsbGxsbGxsbGxsbGxsYAAAAAAAAAAAAAAAAAAAAAAAAAAACEhIT/////////////////////////
///////////////////////////////////////////////////////////////////GxsYAAAAA
AAAAAAAAAAAAAAAAAAAAAACEhIT/////////////////////////////////////////////////
///////////////////////////////////////////GxsYAAAAAAAAAAAAAAAAAAAAAAAAAAACE
hIT/////////////////////////////////////////////////////////////////////////
///////////////////GxsYAAAAAAAAAAAAAAAAAAAAAAAAAAACEhIT/////////////////////
///////////////////////////////////////////////////////////////////////GxsYA
AAAAAAAAAAAAAAAAAAAAAAAAAACEhIT/////////////////////////////////////////////
///////////////////////////////////////////////GxsYAAAAAAAAAAAAAAAAAAAAAAAAA
AACEhIT///////////////////////////////+EAACEAACEAACEAACEAACEAACEAAD/////////
///////////////////////GxsYAAAAAAAAAAAAAAAAAAAAAAAAAAACEhIT/////////////////
//////////+EhISEAACEAACEAACEAACEAACEAACEAACEhIT////////////////////////////G
xsYAAAAAAAAAAAAAAAAAAAAAAAAAAACEhIT///////////////////////+EAACEAACEAACEhIT/
//////////+EhISEAACEAACEAAD////////////////////////GxsYAAAAAAAAAAAAAAAAAAAAA
AAAAAACEhIT///////////////////////+EAACEAACEAAD///////////////////+EAACEAACE
AAD////////////////////////GxsYAAAAAAAAAAAAAAAAAAAAAAAAAAACEhIT/////////////
//////////+EAACEAACEAAD/////////////////////////////////////////////////////
///GxsYAAAAAAAAAAAAAAAAAAAAAAAAAAACEhIT///////////////////////+EAACEAACEAAD/
///////////////////////////////////////////////////////GxsYAAAAAAAAAAAAAAAAA
AAAAAAAAAACEhIT///////////////////////+EAACEAACEAAD/////////////////////////
///////////////////////////////GxsYAAAAAAAAAAAAAAAAAAAAAAAAAAACEhIT/////////
//////////////+EAACEAACEAAD/////////////////////////////////////////////////
///////GxsYAAAAAAAAAAAAAAAAAAAAAAAAAAACEhIT///////////////////////+EAACEAACE
AAD////////////////////////////////////////////////////////GxsYAAAAAAAAAAAAA
AAAAAAAAAAAAAACEhIT///////////////////////+EAACEAACEAAD/////////////////////
///////////////////////////////////GxsYAAAAAAAAAAAAAAAAAAAAAAAAAAACEhIT/////
//////////////////+EAACEAACEAAD/////////////////////////////////////////////
///////////GxsYAAAAAAAAAAAAAAAAAAAAAAAAAAACEhIT///////////////////////+EAACE
AACEAAD///////////////////+EAACEAACEAAD////////////////////////GxsYAAAAAAAAA
AAAAAAAAAAAAAAAAAACEhIT///////////////////////+EAACEAACEAACEhIT///////////+E
hISEAACEAACEAAD////////////////////////GxsYAAAAAAAAAAAAAAAAAAAAAAAAAAACEhIT/
//////////////////////////+EhISEAACEAACEAACEAACEAACEAACEAACEhIT/////////////
///////////////GxsYAAAAAAAAAAAAAAAAAAAAAAAAAAACEhIT/////////////////////////
//////+EAACEAACEAACEAACEAACEAACEAAD////////////////////////////////GxsYAAAAA
AAAAAAAAAAAAAAAAAAAAAACEhIT/////////////////////////////////////////////////
///////////////////////////////////////////GxsYAAAAAAAAAAAAAAAAAAAAAAAAAAACE
hIT/////////////////////////////////////////////////////////////////////////
///////////////////GxsYAAAAAAAAAAAAAAAAAAAAAAAAAAACEhIT/////////////////////
///////////////////////////////////////////////////////////////////////GxsYA
AAAAAAAAAAAAAAAAAAAAAAAAAACEhIT/////////////////////////////////////////////
//////////////////////////+EhIQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AACEhIT/////////////////////////////////////////////////////////////////////
//+EhIT////////GxsaEhIQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACEhIT/////////////////
//////////////////////////////////////////////////////+EhIT////GxsaEhIQAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAACEhIT/////////////////////////////////////////
//////////////////////////////+EhITGxsaEhIQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAACEhIT/////////////////////////////////////////////////////////////////
//////+EhISEhIQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACEhIT/////////////
//////////////////////////////////////////////////////////+EhIQAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACEhISEhISEhISEhISEhISEhISEhISEhISEhISEhISE
hISEhISEhISEhISEhISEhISEhISEhISEhISEhIQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAADAAAAAADmoQIPgAYA2QEAACNpbmNsdWRlIDx3aW5kb3dzLmg+DQoNCmludCBtYWlu
KGludCBhcmdjLCBjaGFyKiBhcmd2W10pDQp7DQoJY2hhciAqbHBNc2dCdWY7DQoJDQoJaWYgKGFy
Z2MgIT0gMikNCgl7DQoJCXB1dHMoIlVzYWdlOiBjeWdlcnJvciBtZXNzYWdlX251bWJlciIpOw0K
CQlyZXR1cm4gMTsNCgl9DQoNCglGb3JtYXRNZXNzYWdlKEZPUk1BVF9NRVNTQUdFX0FMTE9DQVRF
X0JVRkZFUiANCgkJfCBGT1JNQVRfTUVTU0FHRV9GUk9NX1NZU1RFTSANCgkJfCBGT1JNQVRfTUVT
U0FHRV9JR05PUkVfSU5TRVJUUywgICAgDQoJCU5VTEwsDQoJCWF0b2koYXJndlsxXSksDQoJCU1B
S0VMQU5HSUQoTEFOR19ORVVUUkFMLCBTVUJMQU5HX0RFRkFVTFQpLA0KCQkoTFBUU1RSKSAmbHBN
c2dCdWYsICAgIA0KCQkwLCAgICANCgkJTlVMTCApOw0KDQoJcHV0cyhscE1zZ0J1Zik7DQoNCglM
b2NhbEZyZWUoIGxwTXNnQnVmICk7DQoNCglyZXR1cm4gMDsNCn0NCg0KJn4CBZAGANwAAAARAAAA
AwAhDgAAAAADAAs3/////wMAIA7qDwAAAwD3DwAAAAADAAU3AQAAAEAABzDQP6UZObG+AUAACDDQ
P6UZObG+AR4AATABAAAACwAAAGN5Z2Vycm9yLmMAAAIBAjcBAAAAAAAAAB4AAzcBAAAAAwAAAC5j
AAAeAAc3AQAAAAsAAABjeWdlcnJvci5jAAADAPp/AAAAAEAA+38AQN2jV0WzDEAA/H8AQN2jV0Wz
DAMA/X8AAAAACwD+fwAAAAACAfkPAQAAABAAAADbIDtXIB3TEYbrCAAJ3DYVXC0=

------_=_NextPart_000_01BEB141.E5CC35BE--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 3 2019