• Diese Seite verwendet Cookies. Indem du diese Website weiterhin nutzt, erklärst du dich mit der Verwendung von Cookies einverstanden. Erfahre mehr

Entf Tatste wirkt im Eterm wie Backspace

sticky bit

Alter Grantler
Themenstarter #1
Ich komm einfach nicht drauf, ich versuch jetzt schon stundenlang hinzubekommen, dass wenn ich im Eterm die Entf Taste drücke er auch nach rechts löscht und nicht nach links, was er leider tut. In der reinen Konsole ohne X geht es einwandfrei, im Xterm auch, im X selber also in den Fenstern auch, nur der Eterm, der hat damit n Problem.

Hab mit xev schon geprüft ob die richten keysyms ankommen und ob diese richtig gemappt werden, tun sie.
Hab mein Eterm Theme File (/usr/local/share/Eterm/themes/Eterm/MAIN) überprüft ob dort andere Keymappings drinne sind, sindse nicht.
Hab mal $TERM im Eterm auf "xterm" gesetzt, weil ich dachte das könnts ja auch noch sein (nutze sonst "xterm-xfree86", wg. colorls) hat auch nichts gebracht.
Hab dann ins Theme File mal Keymappings rein geschrieben, aber entweder nicht den richtigen String gefunden (letztendlich denke ich es würde die Zeile keysym 0xffff "\e[?" tun, dann passiert aber gar nichts mehr wenn ich Entf drücke nur der Piepser bzw. die Visual Bell löst sich aus, genauso wie bei "\E[P", "\e[3~" hab ich auch probiert, aber dann bekomm ich meinen Heimat Pfad ohne Anfangs-Slash ("home/sticky"))...

Meiner Einer weiss jetzt nimmer weiter wo man da noch gucken könnte, wahrscheinlich liegt die Lösung zwar vor meiner Nase aber ich sehs nicht...

Zur Info:
  • OpenBSD 3.4 i386 (Kernel ist selbst kompiliert, kanns daran liegen? Wohl kaum?)
  • XFree86 4.3.0 (Das stink normale dass man bei der Installation des OS gleich mitinstallieren kann)
  • XFce 3.8.18 (aus den Packages)
  • Eterm 0.8.10 (auch aus den Packages)
  • BASh 2.05b (dito)

/etc/kbdtype
Code:
de.nodead
/etc/inptrc
Code:
set convert-meta off
set input-meta on
set output-meta on
set show-all-if-ambiguous on
set bell-style none
set prefer-visible-bell

"\e[7~": beginning-of-line
"\e[8~": end-of-line
"\e[3~": delete-char
"\e[5~": beginning-of-history
"\e[6~": end-of-history
"\e[2~": quoted-insert
Der Pfad wird auch exportiert!

/etc/X11/XF86Config
Code:
Section "Module"
    Load "dbe"
    SubSection "extmod"
      Option "omit xfree86-dga"
    EndSubSection
    Load "type1"
    Load "speedo"
EndSection

Section "Files"
    RgbPath    "/usr/X11R6/lib/X11/rgb"
    FontPath   "/usr/X11R6/lib/X11/fonts/local/"
    FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
    ModulePath "/usr/X11R6/lib/modules"
EndSection

Section "ServerFlags"
EndSection

Section "InputDevice"
    Identifier "Cherry Mirage"
    Driver     "Keyboard"
    Option     "AutoRepeat" "500 30"
    Option     "Xleds"      "1 2 3"
    Option     "LeftAlt"    "Meta"
    Option     "RightAlt"   "ModeShift"
    Option     "ScrollLock" "Compose
    Option     "XkbRules"   "xfree86"
    Option     "XkbModel"   "pc106"
    Option     "XkbLayout"  "de"
    Option     "XkbVariant" "nodeadkeys"
EndSection

Section "InputDevice"
    Identifier "Microsoft Serial Mouse"
    Driver     "mouse"
    Option     "Protocol"        "Microsoft"
    Option     "Device"          "/dev/tty00"
    Option     "Emulate3Buttons"
    Option     "Emulate3Timeout" "50"
EndSection

Section "Monitor"
    Identifier  "Siemens Nixdorf MCM 1552"
    HorizSync   31-60
    VertRefresh 59-75
EndSection

Section "Device"
    Identifier "ATI Mach64 GT (264GT), aka 3D RAGE"
    Driver     "ati"
    VideoRam   1024
EndSection

Section "Screen"
    Identifier   "MyScreen"
    Device       "ATI Mach64 GT (264GT), aka 3D RAGE"
    Monitor      "Siemens Nixdorf MCM 1552"
    DefaultDepth 16
    Subsection "Display"
        Depth    16
        Modes    "1280x1024" "1024x768" "800x600"
        ViewPort 0 0
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier  "MyServerLayout"
    Screen      "MyScreen"
    InputDevice "Microsoft Serial Mouse" "CorePointer"
    InputDevice "Cherry Mirage"          "CoreKeyboard"
EndSection
[/i]/usr/local/share/Eterm/themes/Eterm/MAIN[/i]
Code:
<Eterm-0.8>
# ^- This must be the first line of any Eterm config file!
# Format is:  <Eterm-VERSION>  where VERSION is replaced by
#                              the version it was written for,
#                              minus the "DR-" if any.
#
# This is a sample Eterm config file.  It should be placed in
# ~/.Eterm/themes/Eterm/MAIN and modified to suit your needs
#
# As always, the authors guarantee absolutely nothing and take
# no responsibility for anything that might happen to you, your
# computer, your dog, your sex life, or anyone or anything else
# directly or indirectly through the use of, or inability to use,
# this program.  Use at your OWN risk.

# A begin to get things started.
begin main

# Define the color properties
  begin color

# Foreground, background, cursor, scrollbar, pointer colors
    foreground white
    background black
    cursor #ffff00
    cursor_text #880000
    menu_text white
    scrollbar #3f1c00
    unfocusedscrollbar #777777
    pointer white

# video attribute can either be "normal" or "reverse"
    video normal

# Redefine the 16 basic colors, if you really feel the need
# First word is "color", next is the number (0-15, BD, or UL),
# then the values for red, green, and blue separated by spaces
# Numbers are base 10 unless preceded by "0x" (base 16) or '0'
# (base 8).  Alternatively, you can use color names or #xxxxxx
# format.

# The colors below are taken from Rasterman's .Xdefaults file.  They are intended to
# display ANSI art properly when combined with a good ANSI-art font (like vga or
# Rasterman's nexus font).
#   color  0 0    0    0
#   color  1 0xaa 0    0
#   color  2 0    0210 0
#   color  3 0xaa 0x55 0x22
#   color  4 0    0    0xaa
#   color  5 0xaa 0    0xaa
#   color  6 0    0xaa 0xaa
#   color  7 0xaa 0xaa 0xaa
#   color  8 0x44 0x44 0x44
#   color  9 0xff 0x44 0x44
#   color 10 0x44 0xff 0x44
#   color 11 0xff 0xff 0x44
#   color 12 0x44 0x44 0xff
#   color 13 0xff 0x44 0xff
#   color 14 0x44 0xff 0xff
#   color 15 #ffffff
#   color bd #ffffff
#   color ul #ffffff

# This ends the color section.  Any text after the word "end" is
# assumed to be a comment and ignored.
  end color

# The X11 attributes section.  Should be fairly self-explanatory,
# but if not, consult the X man page.
  begin attributes

# Geometry == widthxheight+x_offset+y_offset, offsets from top left
#             if +, bottom right if -
#    geometry 132x50+100+100
#    title %appname()
    name %appname()
#    iconname Eterm

# Set the fonts.  These must be monospace fonts.  The values shown are
# the Eterm defaults.  The "bold" font is the font used if color BD has
# not been set and Eterm cannot map the foreground color to one of the
# high-intensity colors (8-15).
    font 0 fixed
    font 1 6x10
    font 2 6x13
    font 3 8x13
    font 4 9x15
#    font bold 7x14
  end attributes

# This section is for pixmap definitions.  The only one used currently
# is "background".  The supplied numbers work just like they do for
# Enlightenment:  first is X (width), second is Y (height).  -1 to
# scale 100%, 0 to tile, any other number specifies W/H in pixels
  begin pixmaps
    background %random(`cat pixmaps.list 2>/dev/null`)
    path "./pix/:~/.Eterm/:~/.Eterm/themes/Eterm/pix:~/.Eterm/pix/:/usr/local/share/Eterm/pix/"

# Support for these is forthcoming
#    scroll_up -1 -1 ~/.Eterm/up_arrow.ppm
#    scroll_down -1 -1 ~/.Eterm/down_arrow.ppm
#    scroll_background 0 0 ~/.Eterm/scroll.ppm
#    scroll_anchor -1 -1 ~/.Eterm/anchor.ppm
  end

# The Kanji support options.  Same goes for these fonts as for the normal
# ones.  The "encoding" attribute can be either "eucj" or "sjis".
#  begin kanji
#    font 0 k14
#    font 1 jiskan16
#    font 2 jiskan18
#    font 3 jiskan24
#    font 4 jiskan26
#    encoding eucj
#  end kanji

# Boolean variables.  The values can be "1", "on", or "true" for TRUE, or "0",
# "off", or "false" for FALSE.
  begin toggles

# If true, Eterm will un-iconify itself when it receives a beep (ASCII 0x07)
    map_alert on

# If true, Eterm will flash rather than sending a beep.
    visual_bell off

# If true, Eterm will prepend '-' to the shell name when calling it.
    login_shell true

# If true, Eterm will display the scroll bar
    scrollbar on

# If true, Eterm will attempt to make an entry in the utmp file to record the
# login information.  Eterm *must* run privileged to do this.
    utmp_logging on

# If true, Eterm will handle the Meta (Alt) + keypress to set the 8th bit.
# If false, Eterm will handle the Meta + keypress as an escape prefix. (default)
#    meta8 false

# If true, Eterm will start iconified.
    iconic false

# If true, Eterm will jump to the bottom of the window when something is echoed
# to the terminal, either by program output or user input.
    home_on_echo 1

# If true, Eterm will jump to the bottom of the window when you refresh the
# screen (^L).
    home_on_refresh 1

# If true, Eterm will put the scrollbar on the right of the window (default is left).
    scrollbar_right true

# If true, the scrollbar will have no trough.
    scrollbar_floating false

# If true, Eterm will run with no window borders.
    borderless false

  end toggles

  begin keyboard

# Use the supplied keysym to reduce/enlarge the font
    smallfont_key LessThan
    bigfont_key GreaterThan

# You can also associate a given keysym (0xff00 - 0xffff) with a string
#    keysym 0xffff "\r\n\e\007\t"

# Greek keyboard mode.  First the word "greek", then its boolean
# state, then its mode (either "iso" or "ibm").
#    greek off iso
  end keyboard

  begin misc

# The command to which to pipe print requests (printscreen)
#    print_pipe "lpr"

# The number of lines in the scrollback buffer.  More lines, more memory needed.
    save_lines 1024

# The characters to use as word delimiters for double-click selection
    cut_chars "\t\\\`\\\"\'&() *,;<=>?@[]{|}"

# Defines the width of the border between the terminal window and the client window.
# (Default is 5).
    border_width 5

# File to read for menubar
    menu Eterm.menu

# Value to use for $TERM
    term_name xterm

# Program to exec (intended for use with themes)
#    exec foo

  end misc

end main
(ohne meine keysym Einträge, so wie sie am Anfang war...)
~/.xinitrc
Code:
#!/bin/sh
#
# xinitrc file for XFce 3 startxfce script

# Some distro needs to allow even localhost to use the display
# Uncomment this if you experience "Can't open display" when running 
# programs from xfce. BEWARE this is considered as a vulnerability !
#
# xhost +$HOSTNAME
#
xsetroot -solid black -cursor_name watch

# Unselect the following line to get a BIG mouse cursor in Xfce :
# xset +fp "/usr/local/share/xfce/cursors"

# Set up additionnal fonts that ship with Xfce (Change id38121117)
xset fp+ "/usr/local/share/xfce/fonts"

# Start-up stuff from ~/Desktop/Autostart directory, if it exists
# (as it seems to be the new standard)
if [ -d "$HOME/Desktop/Autostart" ]; then
  for i in `ls -1 ${HOME}/Desktop/Autostart/ 2>/dev/null`; do
    if [ -x $HOME/Desktop/Autostart/$i ]; then
      $HOME/Desktop/Autostart/$i &
    fi
  done
fi

# Uncomment this if you have xmodmap loading additional keycodes.
# set the XKEYS variable to the correct file

# XKEYS=/etc/X11/xinit/.Xmodmap
# if [ -f $XKEYS ]; then
#   xmodmap $XKEYS
# fi  

# Uncomment this if you run gkrellm. See http://www.gkrellm.net for 
# more info. It will launch gkrellm if it's not already running
# if [ -z $(grep gkrellm ${HOME}/.xfce/xfwm-session) ]; then
# 	exec `which gkrellm` &
# fi

# Launch xscreensaver (if available)
xscreensaver -no-splash &

# Finally, launch XFce window manager
Esetroot -s ~/.backdrop.jpg
exec xfwm
Ausgabe von xmodmap -pk
Code:
There are 4 KeySyms per KeyCode; KeyCodes range from 8 to 255.

    KeyCode	Keysym (Keysym)	...
    Value  	Value   (Name) 	...

      8    	
      9    	0xff1b (Escape)	
     10    	0x0031 (1)	0x0021 (exclam)	
     11    	0x0032 (2)	0x0022 (quotedbl)	
     12    	0x0033 (3)	0x00a7 (section)	
     13    	0x0034 (4)	0x0024 (dollar)	
     14    	0x0035 (5)	0x0025 (percent)	
     15    	0x0036 (6)	0x0026 (ampersand)	
     16    	0x0037 (7)	0x002f (slash)	
     17    	0x0038 (8)	0x0028 (parenleft)	
     18    	0x0039 (9)	0x0029 (parenright)	
     19    	0x0030 (0)	0x003d (equal)	
     20    	0x00df (ssharp)	0x003f (question)	
     21    	0x00b4 (acute)	0x0060 (grave)	
     22    	0xff08 (BackSpace)	0xfed5 (Terminate_Server)	
     23    	0xff09 (Tab)	0xfe20 (ISO_Left_Tab)	
     24    	0x0071 (q)	0x0051 (Q)	
     25    	0x0077 (w)	0x0057 (W)	
     26    	0x0065 (e)	0x0045 (E)	
     27    	0x0072 (r)	0x0052 (R)	
     28    	0x0074 (t)	0x0054 (T)	
     29    	0x007a (z)	0x005a (Z)	
     30    	0x0075 (u)	0x0055 (U)	
     31    	0x0069 (i)	0x0049 (I)	
     32    	0x006f (o)	0x004f (O)	
     33    	0x0070 (p)	0x0050 (P)	
     34    	0x00fc (udiaeresis)	0x00dc (Udiaeresis)	
     35    	0x002b (plus)	0x002a (asterisk)	
     36    	0xff0d (Return)	
     37    	0xffe3 (Control_L)	
     38    	0x0061 (a)	0x0041 (A)	
     39    	0x0073 (s)	0x0053 (S)	
     40    	0x0064 (d)	0x0044 (D)	
     41    	0x0066 (f)	0x0046 (F)	
     42    	0x0067 (g)	0x0047 (G)	
     43    	0x0068 (h)	0x0048 (H)	
     44    	0x006a (j)	0x004a (J)	
     45    	0x006b (k)	0x004b (K)	
     46    	0x006c (l)	0x004c (L)	
     47    	0x00f6 (odiaeresis)	0x00d6 (Odiaeresis)	
     48    	0x00e4 (adiaeresis)	0x00c4 (Adiaeresis)	
     49    	0x005e (asciicircum)	0x00b0 (degree)	
     50    	0xffe1 (Shift_L)	
     51    	0x0023 (numbersign)	0x0027 (apostrophe)	
     52    	0x0079 (y)	0x0059 (Y)	
     53    	0x0078 (x)	0x0058 (X)	
     54    	0x0063 (c)	0x0043 (C)	
     55    	0x0076 (v)	0x0056 (V)	
     56    	0x0062 (b)	0x0042 (B)	
     57    	0x006e (n)	0x004e (N)	
     58    	0x006d (m)	0x004d (M)	
     59    	0x002c (comma)	0x003b (semicolon)	
     60    	0x002e (period)	0x003a (colon)	
     61    	0x002d (minus)	0x005f (underscore)	
     62    	0xffe2 (Shift_R)	
     63    	0xffaa (KP_Multiply)	0x1008fe21 (XF86_ClearGrab)	
     64    	0xffe9 (Alt_L)	0xffe7 (Meta_L)	
     65    	0x0020 (space)	
     66    	0xffe5 (Caps_Lock)	
     67    	0xffbe (F1)	0x1008fe01 (XF86_Switch_VT_1)	
     68    	0xffbf (F2)	0x1008fe02 (XF86_Switch_VT_2)	
     69    	0xffc0 (F3)	0x1008fe03 (XF86_Switch_VT_3)	
     70    	0xffc1 (F4)	0x1008fe04 (XF86_Switch_VT_4)	
     71    	0xffc2 (F5)	0x1008fe05 (XF86_Switch_VT_5)	
     72    	0xffc3 (F6)	0x1008fe06 (XF86_Switch_VT_6)	
     73    	0xffc4 (F7)	0x1008fe07 (XF86_Switch_VT_7)	
     74    	0xffc5 (F8)	0x1008fe08 (XF86_Switch_VT_8)	
     75    	0xffc6 (F9)	0x1008fe09 (XF86_Switch_VT_9)	
     76    	0xffc7 (F10)	0x1008fe0a (XF86_Switch_VT_10)	
     77    	0xff7f (Num_Lock)	0xfef9 (Pointer_EnableKeys)	
     78    	0xff14 (Scroll_Lock)	
     79    	0xff95 (KP_Home)	0xffb7 (KP_7)	
     80    	0xff97 (KP_Up)	0xffb8 (KP_8)	
     81    	0xff9a (KP_Prior)	0xffb9 (KP_9)	
     82    	0xffad (KP_Subtract)	0x1008fe23 (XF86_Prev_VMode)	
     83    	0xff96 (KP_Left)	0xffb4 (KP_4)	
     84    	0xff9d (KP_Begin)	0xffb5 (KP_5)	
     85    	0xff98 (KP_Right)	0xffb6 (KP_6)	
     86    	0xffab (KP_Add)	0x1008fe22 (XF86_Next_VMode)	
     87    	0xff9c (KP_End)	0xffb1 (KP_1)	
     88    	0xff99 (KP_Down)	0xffb2 (KP_2)	
     89    	0xff9b (KP_Next)	0xffb3 (KP_3)	
     90    	0xff9e (KP_Insert)	0xffb0 (KP_0)	
     91    	0xff9f (KP_Delete)	0xffac (KP_Separator)	
     92    	0xff61 (Print)	0xff15 (Sys_Req)	
     93    	
     94    	0x003c (less)	0x003e (greater)	
     95    	0xffc8 (F11)	0x1008fe0b (XF86_Switch_VT_11)	
     96    	0xffc9 (F12)	0x1008fe0c (XF86_Switch_VT_12)	
     97    	0xff50 (Home)	
     98    	0xff52 (Up)	
     99    	0xff55 (Prior)	
    100    	0xff51 (Left)	
    101    	
    102    	0xff53 (Right)	
    103    	0xff57 (End)	
    104    	0xff54 (Down)	
    105    	0xff56 (Next)	
    106    	0xff63 (Insert)	
    107    	0xffff (Delete)	
    108    	0xff8d (KP_Enter)	
    109    	0xffe4 (Control_R)	
    110    	0xff13 (Pause)	0xff6b (Break)	
    111    	0xff61 (Print)	0xff15 (Sys_Req)	
    112    	0xffaf (KP_Divide)	0x1008fe20 (XF86_Ungrab)	
    113    	0xfe03 (ISO_Level3_Shift)	0xff20 (Multi_key)	
    114    	0xff13 (Pause)	0xff6b (Break)	
    115    	0xffeb (Super_L)	
    116    	0xffec (Super_R)	
    117    	0xff67 (Menu)	
    118    	
    119    	
    120    	
    121    	
    122    	
    123    	
    124    	
    125    	
    126    	
    127    	
    128    	
    129    	
    130    	
    131    	
    132    	
    133    	
    134    	
    135    	
    136    	
    137    	
    138    	
    139    	
    140    	
    141    	
    142    	
    143    	
    144    	
    145    	
    146    	
    147    	
    148    	
    149    	
    150    	
    151    	
    152    	
    153    	
    154    	
    155    	
    156    	
    157    	
    158    	
    159    	
    160    	
    161    	
    162    	
    163    	
    164    	
    165    	
    166    	
    167    	
    168    	
    169    	
    170    	
    171    	
    172    	
    173    	
    174    	
    175    	
    176    	
    177    	
    178    	
    179    	
    180    	
    181    	
    182    	
    183    	
    184    	
    185    	
    186    	
    187    	
    188    	
    189    	
    190    	
    191    	
    192    	
    193    	
    194    	
    195    	
    196    	
    197    	
    198    	
    199    	
    200    	
    201    	
    202    	
    203    	
    204    	
    205    	
    206    	
    207    	
    208    	
    209    	
    210    	
    211    	
    212    	
    213    	
    214    	
    215    	
    216    	
    217    	
    218    	
    219    	
    220    	
    221    	
    222    	
    223    	
    224    	
    225    	
    226    	
    227    	
    228    	
    229    	
    230    	
    231    	
    232    	
    233    	
    234    	
    235    	
    236    	
    237    	
    238    	
    239    	
    240    	
    241    	
    242    	
    243    	
    244    	
    245    	
    246    	
    247    	
    248    	
    249    	
    250    	
    251    	
    252    	
    253    	
    254    	
    255
Starten tu ich den Eterm mit Eterm --trans --tint 0x778899 --term-name xterm-xfree86 --title Terminal --scrollbar-width 15 --scrollbar-type motif --watch-desktop --icon /usr/local/share/xfce/icons/Xterm.xpm --icon-name Terminal.

Hoffe jetzt einfach mal, dass wer da draussen n ähnliches Setup fährt und mir evtl. sagen kann wo ich noch gucken kann um das hinzubiegen. Ist zwar kein Weltuntergang ohne die Entf Taste aber nervig trotzdem. Vielen Dank schon mal im Vorraus...
 

CW

Netswimmer
#2
Setze mal den $TERM auf wsvt25.

Und, sozusagen nebenbei, mache auch dein OpenBSD fitter und führe einen Upgrade auf 3.6 durch.

Hat nix mit deinem Problem zu tun, aber wird dich vor zukünfigen Problemen bewahren ;)

Grüße
 
Zuletzt bearbeitet:

sticky bit

Alter Grantler
Themenstarter #3
CW hat gesagt.:
Setze mal den $TERM auf wsvt25.
Leider nicht...
CW hat gesagt.:
Und, sozusagen nebenbei, mache auch dein OpenBSD fitter und führe einen Upgrade auf 3.6 durch.
Hehe, hab gewusst, dass das kommt. Eigentlich wäre die 3.5er schon angestanden, aber das ist ne Zeitfrage, weilich halt doch immer n bisserl dafür brauch bis ich alles wieder so hingebogen hab wies sein soll, gelesen habe was sich geändert hat und welche Vorteile ich da jetzt evtl. rausziehen kann und wie ich meine Konfiguration ändern muss, etc...
Ausserdem brauch ich eh bald neue Hardware (Festplatten v. A. die rauchen nämlich schon halb ab) und bis dahin werd ichs wohl verzögern weil ich sonst u. U. alles doppelt machen kann (ja ich kenne dd, kenn aber auch mein Glück dass doch irgendwas schief geht und ich richtig neu installieren muss ;) )...
 

dettus

Bicycle User
#4
guck dir mal die manpage zu "stty" an.
damit kannst du fuer eine konsole genau festlegen, dass z.b. ^H ein backspace ist und ^U (glaub ich) ein entf.