This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: shell display latin char. like this '\351'


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

Attachment: .inputrc
Description: Binary data

Attachment: .profile
Description: Binary data

Attachment: .Xdefaults
Description: Binary data

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]