delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/03/21/16:23:28

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <36F42D96.7944024F@bigfoot.com>
Date: Sat, 20 Mar 1999 23:21:58 +0000
From: Alain CULOS <ZAlain DOT Culos AT bigfoot DOT com>
Organization: http://homepage.tinet.ie/~joannaalain/
X-Mailer: Mozilla 4.5 [en] (Win95; I)
X-Accept-Language: en,fr,pl
MIME-Version: 1.0
To: cygwin <cygwin AT sourceware DOT cygnus DOT com>
Subject: Re: "Accented" characters
References: <199902230820 DOT JAA25667 AT bond DOT nexus DOT se> <36D29BB8 DOT 5F803A81 AT crocodial DOT de> <36D2F1AA DOT D671A186 AT crocodial DOT de> <36ED4DAA DOT 48F2D957 AT bigfoot DOT com> <36F10595 DOT 90FBE501 AT crocodial DOT de>

Benjamin Riefenstahl wrote:

> Hi Alain,
>
> > Benjamin Riefenstahl wrote:
> > > Firstly, in b18 bash needs the complete filename for CHCP, so it's
> > > actually "chcp.com 1252".
>
> Alain CULOS wrote:
> > When I read that I was delighted I would be able to have proper accents in my
> > Bash/Dos window.
> > Pity is I don't seem to have chcp.com at all at all (yes I did a comprehensive
> > search on my disk).
> > Any idea what could replace chcp on a Windows 95 B platform ?
> > The rest will probably work fine once I have that chcp thingy replaced.
>
> As some other Win95 user found out, it looks like this is rather
> difficult on Win95.

> CHCP is an internal command of command.com on Win95. So for that part
> "$COMSPEC /c chcp 1252" is the solution.

OK, so I used this but windows 95 only wants a three digit code for
chcp.
I tried 851 at random and it told me the page was not prepared for
windows.
Anyway, in my DOS box accents are perfect, it's only BASH that
displays them badly.

> But the main problem is, it seems that support for code page 1252 in the
> console window doesn't come with the regular Win95 installation. I don't
> know where to get the necessary files and how exactly to install and
> activate them. You could try to find these files and instructions at
> http://www.microsoft.com, but I'm not sure that this will work at all.

I'll try that some time.
I checked my autoexec.bat and it shows something like :

mode con codepage prepare=((850) C:\WINDOWS\COMMAND\ega.cpi)
mode con codepage select=850

So I went about reading ega.cpi (I would assume this is code page
information) and found a nice binary file, that's where I stopped so
far.

> Another solution might be to use some other command window like the rxvt
> that I have seen discussed here. It's at
> http://www.io.com/~bub/rxvt.html according to the last resource pointer
> post.

I'll also have a look at that some time.
Thanks for the pointers.

Regards,
Al.

--
ANTI SPAM / ANTI ARROSAGE COMMERCIAL :
Pour me répondre, veuillez enlever le Z de mon adresse.
To answer me, please take out the Z from my address.



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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