shell display latin char. like this '\351'

Hannu E K Nevalainen (garbage mail) garbage_collector@telia.com
Sat May 3 21:23:00 GMT 2003


> From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com]On Behalf
> Of sferriol
--8<--
> when i use ls in a cygwin shell , all directories that have latin
> characters are displayed with a '?' instead.
>  > ls
>  > ?????.dir
>
> and when i type funny characters , it displays '\351' or '\352' ,.......
>
> sylvain

 Sylvain, please remove your digital signature - your messages get signalled
as "untrusted" by Outlook.
 I *won't* set you up as trusted whatever you say.

Back on subject:
 The attached files might help you a bit.
They have 'enabled' my eight bit chars.

.Xdefaults - makes rxvt behave in a sane manner (IMO ;-)
.inputrc - enables eight bit clean stuff.
.profile - replaces "/bin/ls" with a shell function that displays 8-bit
chars.

NOTE: These are verbatim copies of my files as they are right now;
You WILL have to remove/change some lines in .profile .

I do expect it to be possible to move the key bindings for Home and End keys
for rxvt from .inputrc into .Xdefaults - but I have not yet figured that
out. They are rxvt/X11/W11 dependent so they do not belong in .profile IMO.

IMHO this one is useful too...
Assuming win98 and at least 1024x768 pixels on screen:

*) Change the "Program to run" item in the cygwin.bat properties
     to read something like this.
    C:\WINDOWS\COMMAND.COM /E:30720 /c C:\Program\cygwin\cygwin.bat
*) Change cygwin.bat properties to make it run in a "Minimized" window.
*) change the last line in CYGWIN.BAT to read
    bash -c 'rxvt -e /usr/bin/bash --login -i'

HTH

/Hannu E K Nevalainen, Mariefred, Sweden

--END OF MESSAGE--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .inputrc
Type: application/octet-stream
Size: 795 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20030503/1b549d56/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .profile
Type: application/octet-stream
Size: 651 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20030503/1b549d56/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .Xdefaults
Type: application/octet-stream
Size: 476 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20030503/1b549d56/attachment-0002.obj>
-------------- next part --------------
--
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/


More information about the Cygwin mailing list