tcsh/xterm key-bind problem

tcsh/xterm key-bind problem

Post by Marcus Gastreic » Mon, 16 Mar 1998 04:00:00



dear world.
editors such as vi and emacs all correctly
display the german umlauts. also, the
tilde and everything else is fine.
and as long as i use the bash shell,
in xterm everything is fine, too.

BUT - when using the tcsh (which
by anamnesis is my favorite...)
_within_ an xterm, i get lost of
the umlauts. what can i do?

i have set my xkdb stuff to de-latin1-nodeadkeys,
and the console fonts, too, are correctly displayed.
my distribution is the suse 5.0.

please post and e-mail in case you can
relieve me from this astonishing problem.
thanks a lot!

                    marcus


 
 
 

tcsh/xterm key-bind problem

Post by Marcus Gastreic » Tue, 17 Mar 1998 04:00:00


i am just posting this so people who are
interested get to know what alain wrote
back to me (thanks, alain!)

    marcus


> dear world.
> editors such as vi and emacs all correctly
> display the german umlauts. also, the
> tilde and everything else is fine.
> and as long as i use the bash shell,
> in xterm everything is fine, too.

> BUT - when using the tcsh (which
> by anamnesis is my favorite...)
> _within_ an xterm, i get lost of
> the umlauts. what can i do?

> i have set my xkdb stuff to de-latin1-nodeadkeys,
> and the console fonts, too, are correctly displayed.
> my distribution is the suse 5.0.

> please post and e-mail in case you can
> relieve me from this astonishing problem.
> thanks a lot!

>                     marcus



 Date: Mon, 16 Mar 1998 15:48:37 +0100 (GMT+0100)
To: ghost
Subject: Re: tcsh/xterm key-bind problem
X-Newsreader: NN version 6.5.1 (NOV)

Hello,

In comp.os.linux.misc you write:

Quote:>dear world.
>editors such as vi and emacs all correctly
>display the german umlauts. also, the
>tilde and everything else is fine.
>and as long as i use the bash shell,
>in xterm everything is fine, too.
>BUT - when using the tcsh (which
>by anamnesis is my favorite...)
>_within_ an xterm, i get lost of
>the umlauts. what can i do?

What do you mean "get lost" ? The tcsh shell uses characters > 127  as
meta characters for functions, equivalent to typing  ESC +  (character
of same code - 128) so you can't use accented  characters  in  command
names  or  file names (not a good idea anyway). But you should be able
to use them from a terminal-mode editor started from tcsh. Can you ?

_Alain_

--

********************************************************************************
Marcus Gastreich                    Tel.: ++49-228-73-5375
Lehrstuhl f.Theor.Chemie Uni Bonn   Fax.: ++49-228-73-9066

53115 Bonn, Germany                 http://www.thch.uni-bonn.de/tc/ghost.html

 
 
 

1. tcsh binding of function keys

I just got the latest (5.19) version of tcsh and I have problems
binding SUN function keys.  In the following example, I want to bind
R7 to beginning-of-line:

% bind function-key-prefix M-[
% bind beginning-of-line X-214z
bad key specification -- unknown name ""

The man page says:

     If given two arguments bind binds the function (first  argu-
     ment)  to  the given key (second argument).  The key may be:
     the direct character or a caret-<letter> combination,  which
     is  converted to control-<letter>; M-<letter> for an escaped
     character; or X-<string> for a function key.  For  the  last
     of these, the function key prefix must be bound to the func-
     tion "extended-key-prefix" and the string specified  to  the
     bind  command  must not include this prefix.

Notice how it says "M-<letter>" and "X-<string>".  I understand this
to mean that the M- prefix can be followed only by a single letter but
that the X- prefix can be followed by a string.  I believe the
documentation is wrong but, anyhow, is there a workaround?

I know about .ttyswrc mapping, but I can't use that on a raw console.

--


Varennes, QC, Canada   J3X 1S1
+1 514 652-8136

2. Boot freezes

3. Why can't I bind delete key (vt100) in tcsh

4. Questions: Quantum vs. Overland DLT w/Networker + SQL Backtrack

5. Binding a Meta key in tcsh

6. Sound Blaster 16 with SCSI-2 card

7. binding function keys in tcsh

8. POP timeouts and general system sluggishness

9. binding a function key in xterm

10. Alt key binding for Xterm in Redhat 9.0

11. How to translate key-bind of X-win between Aix & openwin ?

12. KDE 2.X key binding to Multimedia Keys

13. Problem with ^C in xterm with tcsh