RE: 1.5.7: Problems with german umlauts in bash/rxvt command line

2004-03-01 Thread Morche Matthias
Now that You point it out, I myself also do not understand how this can work, but it 
does!

BTW, Hannu, Your mailto does not really work :-)


 -Original Message-
 From: Hannu E K Nevalainen [mailto:[EMAIL PROTECTED]
 Sent: Saturday, February 28, 2004 3:04 PM
 To: Morche Matthias
 Subject: RE: 1.5.7: Problems with german umlauts in bash/rxvt command
 line
 
 
  From: Morche Matthias
  Subject: RE: 1.5.7: Problems with german umlauts in 
...
  set input-meta off
...
  set meta-flag off
  set output-meta on
...
 --- bind.mm 2004-02-28 12:49:20.0 +0100
 +++ bind.henk   2004-02-28 12:47:04.0 +0100
 @@ -6 +6 @@
 -set enable-keypad off
 +set enable-keypad on
 @@ -10 +10 @@
 -set input-meta off
 +set input-meta on
 @@ -13 +13 @@
 -set mark-symlinked-directories off
 +set mark-symlinked-directories on
 @@ -15 +15 @@
 -set meta-flag off
 +set meta-flag on
 @@ -22 +22 @@
 -set bell-style audible
 +set bell-style visible
 
  I find it strange that you have got characters with 8'th bit 
 set to work...
 My experience is that 'input-meta' and 'meta-flag' has to be set as
 indicated on '+' marked lines above. Read below to see how I 
 have things
 set.
...

--
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: 1.5.7: Problems with german umlauts in bash/rxvt command line

2004-02-29 Thread of
On Sat, Feb 28, 2004 at 09:33:58PM +0100, Mikka wrote:
 Hi Olaf,
 
  I have trouble to show german umlauts in bash command line in rxvt.
  All I get are the following values:
 
  $ \344\366\374
  bash: äöü: command not found
  [...]
 
 I once had similar troubles, I'll paste you my settings.
 First, the relevant lines in my .inputrc ($HOME) read:
 
 set convert-meta off
 set input-meta on
 set meta-flag on
 set output-meta on
 
 
 Furthermore, I've alias'd ls to the following:
 
 alias ls='ls  --color=auto --show-control-chars'
 alias ll='ls -l   --color=auto --show-control-chars'
   etc.
 
 Notice the --show-control-chars here.
 
 
 I usually call rxvt.exe this way:
 
 c:\Cygwin\bin\rxvt.exe -e /bin/bash.exe --login
 
 set termencoding=latin1
 
 Now, umlauts äöüæåø... should be enabled in VIM, too.

Does vim show the euro-sign € right ?
 
Gruss Olaf Föllinger

-- 
Olaf Föllinger
Berater 
S.E.S.A. Software und Systeme AG


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



1.5.7: Problems with german umlauts in bash/rxvt command line

2004-02-27 Thread Olaf Föllinger
Hi,

I have trouble to show german umlauts in bash command line in rxvt. All
I get are the following values:

$ \344\366\374
bash: äöü: command not found

I have set the following in .inputrc


$ less .inputrc
set input-meta on 
set convert-meta off 
set output-meta on 

The shell starts with 

D:\Programme\Cygwin\bin\rxvt.exe --scrollstyle next -fb 'Courier New-17' -fn 'Courier 
New-17' -e /usr/bin/bash -l -i 

Is there a way to show the umlauts rigth ?
 
Gruss Olaf Föllinger

-- 
Olaf Föllinger
Berater 
S.E.S.A. Software und Systeme AG


Cygwin Win95/NT Configuration Diagnostics
Current System Time: Fri Feb 27 09:45:09 2004

Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 4

Path:   d:\programme\cygwin\usr\local\bin
d:\programme\cygwin\bin
d:\programme\cygwin\bin
d:\programme\cygwin\usr\X11R6\bin
c:\WINNT\system32
c:\WINNT
c:\WINNT\System32\Wbem
c:\Programme\MSSQL7\BINN
d:\Programme\Apache Group\ant\bin
c:\Programme\Microsoft SQL Server\80\Tools\Binn\
c:\Nokia\Update_Manager\bin
d:\Programme\Nokia\Tools\Nokia_Developers_Suite_for_J2ME\bin
c:\PROGRA~1\CA\SHARED~1\SCANEN~1
c:\PROGRA~1\CA\ETRUST~1
d:\Programme\SFU\common\
d:\Programme\SFU\Perl\bin\
d:\programme\cygwin\usr\X11R6\bin
d:\programme\cygwin\usr\X11R6\bin
d:\programme\cygwin\usr\X11R6\bin

Output from d:\programme\cygwin\bin\id.exe (nontsec)
UID: 14189(of) GID: 545(Benutzer)
545(Benutzer)

Output from d:\programme\cygwin\bin\id.exe (ntsec)
UID: 14189(of) GID: 545(Benutzer)
544(Administratoren)545(Benutzer)
1004(Debuggerbenutzer)  10545(mkgroup-l-d)

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

CYGWIN = `ntsec ntea tty'
HOME = `d:\Users\of'
LD_LIBRARY_PATH = `d:\programme\cygwin\usr\lib:\usr\X11R6\lib'
MAKE_MODE = `unix'
PWD = `/home/of'
USER = `of'

ALLUSERSPROFILE = `C:\Dokumente und Einstellungen\All Users'
ANT_HOME = `//D/Programme/Apache Group/ant'
APPDATA = `C:\Dokumente und Einstellungen\of\Anwendungsdaten'
AVENGINE = `C:\PROGRA~1\CA\SHARED~1\SCANEN~1'
CLASSPATH = `C:\Programme\Java\j2re1.4.1_01\lib\ext\QTJava.zip'
COLORFGBG = `0;default;15'
COLORTERM = `rxvt-xpm'
COMMONPROGRAMFILES = `C:\Programme\Gemeinsame Dateien'
COMPUTERNAME = `NBOF'
COMSPEC = `C:\WINNT\system32\cmd.exe'
CVS_RSH = `/bin/ssh'
DISPLAY = `:0'
EDITOR = `vi'
HOMEDRIVE = `H:'
HOMEPATH = `\'
HOMESHARE = `\\DCBLN01\home\of'
HOSTNAME = `nbof'
INFOPATH = 
`/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info:/usr/autotool/stable/info:'
INOCULAN = `C:\PROGRA~1\CA\ETRUST~1'
INTERIX_COMPILERDIR = `/dev/fs/e/Programme/Microsoft Visual Studio .NET/Vc7'
INTERIX_ROOT = `/dev/fs/D/Programme/SFU/'
INTERIX_ROOT_WIN = `D:\Programme\SFU\'
JAVA_HOME = `/D/Programme/JavaSoft/j2sdk1.4.2_02'
LC_CTYPE = `de_DE.ISO-8859-1'
LESS = `isrR'
LOGONSERVER = `\\DCBLN01'
MANPATH = 
`/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel/man::/usr/X11R6/man:/usr/ssl/man:/usr/man:/usr/local/man:/usr/man:/usr/local/man:/usr/man:/usr/local/man'
NNTPSERVER = `news'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/usr/bin'
OPENNT_ROOT = `/dev/fs/D/Programme/SFU/'
OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PKG_CONFIG_PATH = `:/usr/X11R6/lib/pkgconfig'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 8 Stepping 3, GenuineIntel'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0803'
PROGRAMFILES = `C:\Programme'
PS1 = `\[\e]0;\l \w\007\n\t \[\e[36m\] [EMAIL PROTECTED] '
QTJAVA = `C:\Programme\Java\j2re1.4.1_01\lib\ext\QTJava.zip'
SFUDIR = `D:\Programme\SFU\'
SFUDIR_INTERIX = `/dev/fs/D/Programme/SFU/'
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINNT'
TEMP = `c:\temp'
TERM = `xterm'
TMP = `c:\temp'
TMPDIR = `d:\programme\cygwin\tmp'
TZ = `MET-1MEET'
USERDNSDOMAIN = `de.sesa.net'
USERDOMAIN = `DE-SESA-NET'
USERNAME = `of'
USERPROFILE = `C:\Dokumente und Einstellungen\of'
WINDIR = `C:\WINNT'
WINDOWID = `168034472'
XAPPLRESDIR = `/usr/X11R6/lib/X11/app-defaults'
XCMSDB = `/usr/X11R6/lib/X11/Xcms.txt'
XKEYSYMDB = `/usr/X11R6/lib/X11/XKeysymDB'
XNLSPATH = `/usr/X11R6/lib/X11/locale'
_ = `/usr/bin/cygcheck'
ftp_proxy = `http://www-cache:8080/'
http_proxy = `http://www-cache:8080/'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/'
  cygdrive flags = 0x002a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `d:\programme\cygwin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/home
  (default) = `d:\Users'
  flags = 0x000a

Re: 1.5.7: Problems with german umlauts in bash/rxvt command line

2004-02-27 Thread Thorsten Kampe
* Olaf Föllinger (2004-02-27 09:49 +0100)
 I have trouble to show german umlauts in bash command line in rxvt.

What about zsh (or another shell) and the standard Cygwin Console?

 I get are the following values:
 
 $ \344\366\374
 bash: äöü: command not found
 
 I have set the following in .inputrc
 
 $ less .inputrc
 set input-meta on 
 set convert-meta off 
 set output-meta on 

This is the canonic way. Make sure that the file is sourced. But I
have no problems here - although typing non-ascii characters in a
shell doesn't make sense. The only use is showing files with ls or d -
which is not a shell thing.

Thorsten


--
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: 1.5.7: Problems with german umlauts in bash/rxvt command line

2004-02-27 Thread Olaf Föllinger
On Fri, Feb 27, 2004 at 12:35:23PM +0100, Thorsten Kampe wrote:
 * Olaf Föllinger (2004-02-27 09:49 +0100)
  I have trouble to show german umlauts in bash command line in rxvt.
 
 What about zsh (or another shell) and the standard Cygwin Console?

$ zsh
\[\e]0;\l \w\007\n\t \[\e[36m\] [EMAIL PROTECTED]
zsh: command not found: \M-d\M-v\M-|

Changes the problem fron shell to rsponse.

  I get are the following values:
  
  $ \344\366\374
  bash: äöü: command not found
  
  I have set the following in .inputrc
  
  $ less .inputrc
  set input-meta on 
  set convert-meta off 
  set output-meta on 
 
 This is the canonic way. Make sure that the file is sourced. 

The file is sourced, without this it wouldn't show the escaped
sequences.

 But I
 have no problems here - although typing non-ascii characters in a
 shell doesn't make sense. The only use is showing files with ls or d -
 which is not a shell thing.

Final goal is to show the € character rigth in vi and mutt. So I
thought the shell is a good start. Is it?
 
Gruss Olaf Föllinger

-- 
Olaf Föllinger
Berater 
S.E.S.A. Software und Systeme AG

Alt-Moabit 91a
D-10559 Berlin
Germany
Tel:   +49 30 390722 -291
Fax:   +49 30 390722 -222
Mobil: +49 173 6227080
http://www.sesa.de
mailto: [EMAIL PROTECTED]

--
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: 1.5.7: Problems with german umlauts in bash/rxvt command line

2004-02-27 Thread Morche Matthias
Just to be sure, type the following command:
bind -v :
$ bind -v
set blink-matching-paren on
set byte-oriented on
set completion-ignore-case off
set convert-meta off
set disable-completion off
set enable-keypad off
set expand-tilde off
set history-preserve-point off
set horizontal-scroll-mode off
set input-meta off
set mark-directories on
set mark-modified-lines off
set mark-symlinked-directories off
set match-hidden-files on
set meta-flag off
set output-meta on
set page-completions on
set prefer-visible-bell on
set print-completions-horizontally off
set show-all-if-ambiguous off
set visible-stats off
set bell-style audible
set comment-begin #
set completion-query-items 100
set editing-mode emacs
set keymap emacs

That's my settings... and it works from whitin console and PuTTY.
By the way, You can set the variables without using .inputrc eg. by
bind 'set meta-flag on'

  matthias

...
   I have trouble to show german umlauts in bash command 
...
   $ less .inputrc
   set input-meta on 
   set convert-meta off 
   set output-meta on 
...

--
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: 1.5.7: Problems with german umlauts in bash/rxvt command line

2004-02-27 Thread Olaf Föllinger
Hi,

this was a very helpful hint. Not only I've learned how to manipulate
the values interactively now I know the reason:

On Fri, Feb 27, 2004 at 02:14:46PM +0100, Morche Matthias wrote:
 Just to be sure, type the following command:
 bind -v :
 $ bind -v
 set blink-matching-paren on
 set byte-oriented on
 set completion-ignore-case off
 set convert-meta off
 set disable-completion off
 set enable-keypad off
 set expand-tilde off
 set history-preserve-point off
 set horizontal-scroll-mode off
 set input-meta off
 set mark-directories on
 set mark-modified-lines off
 set mark-symlinked-directories off
 set match-hidden-files on
 set meta-flag off
 set output-meta on

This was set to 'off' here though it is turned on in the .inputrc. I
don't know why .inputrc doesn't work but this is another issue. I've
turned it on in .bashrc using the syntax documented below and  äöü and
€ are shown fine on the commandline.

 That's my settings... and it works from whitin console and PuTTY.
 By the way, You can set the variables without using .inputrc eg. by
 bind 'set meta-flag on'
 

 
Gruss Olaf Föllinger

-- 
Olaf Föllinger
Berater 
S.E.S.A. Software und Systeme AG


--
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: 1.5.7: Problems with german umlauts in bash/rxvt command line

2004-02-27 Thread Alejandro Lopez-Valencia
On Fri, 27 Feb 2004 12:35:23 +0100, Thorsten Kampe wrote in
[EMAIL PROTECTED]:

 although typing non-ascii characters in a
shell doesn't make sense. The only use is showing files with ls or d -
which is not a shell thing.

Really?

Say, you use cygwin to do text processing (I do, with the help of a
bleeding edge groff), and in a whim you decide to write poetry to your
girlfirend. Being a German speaker, you type, e.g.,
Lieder_für_meine_geliebte.tr. 

Did you or did you not need to type high-bit charecters in your shell?
(Don't say you type them from within your editor, that's cheating).



--
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: 1.5.7: Problems with german umlauts in bash/rxvt command line

2004-02-27 Thread Alejandro Lopez-Valencia
On Fri, 27 Feb 2004 13:39:09 +0100, Olaf Föllinger wrote in
[EMAIL PROTECTED]:



Final goal is to show the ¤ character rigth in vi and mutt. So I
thought the shell is a good start. Is it?

Don't mix the shell, which uses readline for line input, with vim and
mutt. The latter are curses-based applications and can't care less for
whatever you set up for cooking or uncooking input for your shell.



--
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: 1.5.7: Problems with german umlauts in bash/rxvt command line

2004-02-27 Thread Olaf Föllinger
On Fri, Feb 27, 2004 at 08:42:58AM -0500, Alejandro Lopez-Valencia wrote:
 On Fri, 27 Feb 2004 13:39:09 +0100, Olaf Föllinger wrote in
 [EMAIL PROTECTED]:
 
 
 
 Final goal is to show the ? character rigth in vi and mutt. So I
 thought the shell is a good start. Is it?
 
 Don't mix the shell, which uses readline for line input, with vim and
 mutt. The latter are curses-based applications and can't care less for
 whatever you set up for cooking or uncooking input for your shell.

Thanks, now I've understood this. Bash works but vi(m) doesn't.
 
 
Gruss Olaf Föllinger

-- 
Olaf Föllinger
Berater 
S.E.S.A. Software und Systeme AG


--
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: 1.5.7: Problems with german umlauts in bash/rxvt command line

2004-02-27 Thread Morche Matthias
Just to be a little more helpful :)
Have You set some evironmental INPUTRC to use some other file than ~/.inputrc?
Or does bash not find Your homedir?

  matthias


...
 This was set to 'off' here though it is turned on in the .inputrc. I
 don't know why .inputrc doesn't work but this is another issue. I've
 turned it on in .bashrc using the syntax documented below and  äöü and
 EUR are shown fine on the commandline.
...

--
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: 1.5.7: Problems with german umlauts in bash/rxvt command line

2004-02-27 Thread Thorsten Kampe
* Alejandro Lopez-Valencia (2004-02-27 14:42 +0100)
 On Fri, 27 Feb 2004 12:35:23 +0100, Thorsten Kampe wrote in
 [EMAIL PROTECTED]:
 although typing non-ascii characters in a
shell doesn't make sense. The only use is showing files with ls or d -
which is not a shell thing.
 
 Really?
 
 Say, you use cygwin to do text processing (I do, with the help of a
 bleeding edge groff), and in a whim you decide to write poetry to your
 girlfirend. Being a German speaker, you type, e.g.,
 Lieder_für_meine_geliebte.tr. 
 
 Did you or did you not need to type high-bit charecters in your shell?
 (Don't say you type them from within your editor, that's cheating).

I simply wouldn't generate filenames with non-ascii characters in a
shell. Same with spaces. Sooner or later some application will choke
on it and it'll take me hours to search and find the script or
application and fix it or make a workaround.

Lieder_fuer_meine_Geliebte.tr suffices and probably I'd call it
poems_for_my_sweetheart.txt because she comes from Poland and we
communicate in English... :-)

Thorsten


--
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: 1.5.7: Problems with german umlauts in bash/rxvt command line

2004-02-27 Thread Olaf Foellinger
On Fri, Feb 27, 2004 at 04:09:01PM +0100, Morche Matthias wrote:
 Just to be a little more helpful :)
 Have You set some evironmental INPUTRC to use some other file than ~/.inputrc?

No.

 Or does bash not find Your homedir?

It does find my homedir.

Gruss Olaf Föllinger

--
Olaf Föllinger
Senior Consultant IT Solutions
S.E.S.A. Software und Systeme AG




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