1

В графическом терминале konsole в kde запускаю screen а в нём mc. При этом в редакторе mcedit не работает сочетание клавиш ctrl+home и ctrl+end При нажатии ctrl+home в открытом файле пишет 1;5H при нажатии ctrl+end пишет 1;5F Если запустить mc в буквенно цифровой консоли то всё работает. Если в такой консоли запустить screen а в нём mc то тогда не работает при нажатии ctrl+home ничего не пишет, а просто перемещается курсор в начало строки, при ctrl+end в конец строки, ctrl+home и ctrl+end работает как home и end. Наверное причина в screen-е. Если кто знает подскажите решение.

И ещё одна проблема если работать в фреймбуфере в fbterm то не работает копирование и вставка из файла в файл по shift+insert и ctrl+insert. При этом в mc insert работает.

2 (30.06.2012 12:47:08 отредактировано yars)

Покажите

 Консоль: user
[user@linuxforum.tech ~]$ locale

 Консоль: user
[user@linuxforum.tech ~]$ cat /etc/rc.d/rc.keymap

 Консоль: user
[user@linuxforum.tech ~]$ cat /etc/X11/xorg.conf

 Консоль: user
[user@linuxforum.tech ~]$ cat /etc/X11/xorg.conf.d/*keyboard*.conf

А так же смотрите настройки konsole в части комбинаций клавиш.

Истинный hotplug - это обычная электрическая розетка: воткнул - работает, и никаких драйверов.
Arch Linux/Xfce/Xiaomi Mi Notebook Pro 15.6 | Slackware64-current/Xfce/Lenovo G580

3

yars спасибо за помощь.

locale

LANG=ru_RU.UTF-8
LC_CTYPE="ru_RU.UTF-8"
LC_NUMERIC="ru_RU.UTF-8"
LC_TIME="ru_RU.UTF-8"
LC_COLLATE="ru_RU.UTF-8"
LC_MONETARY="ru_RU.UTF-8"
LC_MESSAGES="ru_RU.UTF-8"
LC_PAPER="ru_RU.UTF-8"
LC_NAME="ru_RU.UTF-8"
LC_ADDRESS="ru_RU.UTF-8"
LC_TELEPHONE="ru_RU.UTF-8"
LC_MEASUREMENT="ru_RU.UTF-8"
LC_IDENTIFICATION="ru_RU.UTF-8"
LC_ALL=

/etc/X11/xorg.conf

# Xorg configuration created by livna-config-display

Section "Files"
<------>ModulePath   "/usr/lib/xorg/modules"
EndSection

Section "ServerFlags"
<------>Option<>    "AIGLX" "on"
EndSection

Section "Monitor"
#####  # 1680x1050 @ 75.00 Hz (GTF) hsync: 82.20 kHz; pclk: 188.07 MHz
  # 1680x1050 @ 60.00 Hz (GTF) hsync: 65.22 kHz; pclk: 147.14 MHz
<------>Identifier   "Monitor0"
<------>VendorName   "Unknown"
<------>ModelName    "Samsung SyncMaster"
<------>HorizSync    30.0 - 81.0
<------>VertRefresh  56.0 - 75.0
<------>ModeLine     "1680x1050_60.00" 147.14 1680 1784 1968 2256 1050 1051 1054 1087 -hsync +vsync
#####<->ModeLine     "1680x1050_75.00" 188.07 1680 1800 1984 2288 1050 1051 1054 1096 -hsync +vsync
EndSection

Section "Device"
<------>Identifier  "Videocard0"
<------>Driver      "radeon"
EndSection

Section "Screen"
<------>Identifier "Default Screen"
<------>Monitor    "Monitor0"
<------>SubSection "Display"
<------><------>Depth     32
<------><------>Modes    "1680x1050_60.00" "1440x900" "1024x768" "1152x864" "1280x1024" "640x480" "800x600"
<------>EndSubSection
EndSection

Section "Extensions"
<------>Option<>    "Composite" "Enable"
EndSection

файла /etc/rc.d/rc.keymap  нету.

файла /etc/X11/xorg.conf.d/*keyboard*.conf нет, у меня старые иксы
X.Org X Server 1.6.1.901 (1.6.2 RC 1)
Release Date: 2009-5-8
X Protocol Version 11, Revision 0

echo $TERM выдало linux
В konsole комбинации клавиш ctrl+home и ctrl+end не задействованы.

Может дело в настройках screen ведь в текстовой консоли без screen работает, а с ним нет.

вот конфиг screen

#
# This is an example for the global screenrc file.
# You may want to install this file as /usr/local/etc/screenrc.
# Check config.h for the exact location.
#
# Flaws of termcap and standard settings are done here.
#

#startup_message off

#defflow on # will force screen to process ^S/^Q

deflogin on
#autodetach off

vbell on
vbell_msg "   Wuff  ----  Wuff!!  "

# all termcap entries are now duplicated as terminfo entries.
# only difference should be the slightly modified syntax, and check for
# terminfo entries, that are already corected in the database.
#.
# G0 <->we have a SEMI-GRAPHICS-CHARACTER-MODE
# WS<-->this sequence resizes our window.
# cs    this sequence changes the scrollregion
# hs@<->we have no hardware statusline. screen will only believe that
#       there is a hardware status line if hs,ts,fs,ds are all set.
# ts    to statusline
# fs    from statusline
# ds    delete statusline
# al    add one line
# AL    add multiple lines
# dl    delete one line
# DL    delete multiple lines
# ic    insert one char (space)
# IC    insert multiple chars
# nx    terminal uses xon/xoff

termcap  facit|vt100|xterm LP:G0
terminfo facit|vt100|xterm LP:G0

#the vt100 description does not mention "dl". *sigh*
termcap  vt100 dl=5\E[M
terminfo vt100 dl=5\E[M

#facit's "al" / "dl"  are buggy if the current / last line
#contain attributes...
termcap  facit al=\E[L\E[K:AL@:dl@:DL@:cs=\E[%i%d;%dr:ic@
terminfo facit al=\E[L\E[K:AL@:dl@:DL@:cs=\E[%i%p1%d;%p2%dr:ic@

#make sun termcap/info better
termcap  sun 'up=^K:AL=\E[%dL:DL=\E[%dM:UP=\E[%dA:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:IC=\E[%d@:WS=1000\E[8;%d;%dt'
terminfo sun 'up=^K:AL=\E[%p1%dL:DL=\E[%p1%dM:UP=\E[%p1%dA:DO=\E[%p1%dB:LE=\E[%p1%dD:RI=\E[%p1%dC:IC=\E[%p1%d@:WS=\E[8;%p1%d;%p2%dt$<1000>'

#xterm understands both im/ic and doesn't have a status line.
#Note: Do not specify im and ic in the real termcap/info file as
#some programs (e.g. vi) will (no,no, may (jw)) not work anymore.
termcap  xterm|fptwist hs@:cs=\E[%i%d;%dr:im=\E[4h:ei=\E[4l
terminfo xterm|fptwist hs@:cs=\E[%i%p1%d;%p2%dr:im=\E[4h:ei=\E[4l

# Long time I had this in my private screenrc file. But many people
# seem to want it (jw):
# we do not want the width to change to 80 characters on startup:
# on suns, /etc/termcap has :is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l:
termcap xterm 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l'
terminfo xterm 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l'

#
# Do not use xterms alternate window buffer..
# This one would not add lines to the scrollback buffer.
#termcap xterm|xterms|xs ti=\E7\E[?47l
#terminfo xterm|xterms|xs ti=\E7\E[?47l

#make hp700 termcap/info better
termcap  hp700 'Z0=\E[?3h:Z1=\E[?3l:hs:ts=\E[62"p\E[0$~\E[2$~\E[1$}:fs=\E[0}\E[61"p:ds=\E[62"p\E[1$~\E[61"p:ic@'
terminfo hp700 'Z0=\E[?3h:Z1=\E[?3l:hs:ts=\E[62"p\E[0$~\E[2$~\E[1$}:fs=\E[0}\E[61"p:ds=\E[62"p\E[1$~\E[61"p:ic@'

#wyse-75-42 must have defflow control (xo = "terminal uses xon/xoff")
#(nowadays: nx = padding doesn't work, have to use xon/off)
#essential to have it here, as this is a slow terminal.
termcap wy75-42 nx:xo:Z0=\E[?3h\E[31h:Z1=\E[?3l\E[31h
terminfo wy75-42 nx:xo:Z0=\E[?3h\E[31h:Z1=\E[?3l\E[31h

#remove some stupid / dangerous key bindings
bind ^k
#bind L
bind ^\
#make them better
bind \\ quit
bind K kill
bind I login on
bind O login off
bind } history

#
# Example of a user's .screenrc file
#

# This is how one can set a reattach password:
# password ODSJQf.4IJN7E    # "1234"

# no annoying audible bell, please
vbell on

# detach on hangup
autodetach on

# don't display the copyright page
startup_message off

# emulate .logout message
pow_detach_msg "Screen session of $LOGNAME $:cr:$:nl:ended."

# advertise hardstatus support to $TERMCAP
# termcapinfo  * '' 'hs:ts=\E_:fs=\E\\:ds=\E_\E\\'

# make the shell in every window a login shell
#shell -$SHELL

# autoaka testing
# shellaka '> |tcsh'
# shellaka '$ |sh'

# set every new windows hardstatus line to somenthing descriptive
# defhstatus "screen: ^En (^Et)"

defscrollback 3000

# don't kill window after the process died
# zombie "^["

# enable support for the "alternate screen" capability in all windows
# altscreen on

################
#
# xterm tweaks
#

#xterm understands both im/ic and doesn't have a status line.
#Note: Do not specify im and ic in the real termcap/info file as
#some programs (e.g. vi) will not work anymore.
termcap  xterm hs@:cs=\E[%i%d;%dr:im=\E[4h:ei=\E[4l
terminfo xterm hs@:cs=\E[%i%p1%d;%p2%dr:im=\E[4h:ei=\E[4l

#80/132 column switching must be enabled for ^AW to work
#change init sequence to not switch width
termcapinfo  xterm Z0=\E[?3h:Z1=\E[?3l:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l

# Make the output buffer large for (fast) xterms.
#termcapinfo xterm* OL=10000
termcapinfo xterm* OL=100

# tell screen that xterm can switch to dark background and has function
# keys.
termcapinfo xterm 'VR=\E[?5h:VN=\E[?5l'
#termcapinfo xterm 'k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~'
termcapinfo xterm 'kh=\EOH:kI=\E[2~:kD=\E[3~:kH=\EOF:kP=\E[5~:kN=\E[6~'

# special xterm hardstatus: use the window title.
termcapinfo xterm 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007'

#terminfo xterm 'vb=\E[?5h$<200/>\E[?5l'
termcapinfo xterm 'vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l'

# emulate part of the 'K' charset
termcapinfo   xterm 'XC=K%,%\E(B,[\304,\\\\\326,]\334,{\344,|\366,}\374,~\337'

# xterm-52 tweaks:
# - uses background color for delete operations
termcapinfo xterm* be

################
#
# wyse terminals
#

#wyse-75-42 must have flow control (xo = "terminal uses xon/xoff")
#essential to have it here, as this is a slow terminal.
termcapinfo wy75-42 xo:hs@

# New termcap sequences for cursor application mode.
termcapinfo wy* CS=\E[?1h:CE=\E[?1l:vi=\E[?25l:ve=\E[?25h:VR=\E[?5h:VN=\E[?5l:cb=\E[1K:CD=\E[1J

################
#
# other terminals
#

# make hp700 termcap/info better
termcapinfo  hp700 'Z0=\E[?3h:Z1=\E[?3l:hs:ts=\E[62"p\E[0$~\E[2$~\E[1$}:fs=\E[0}\E[61"p:ds=\E[62"p\E[1$~\E[61"p:ic@'

# Extend the vt100 desciption by some sequences.
termcap  vt100* ms:AL=\E[%dL:DL=\E[%dM:UP=\E[%dA:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC
terminfo vt100* ms:AL=\E[%p1%dL:DL=\E[%p1%dM:UP=\E[%p1%dA:DO=\E[%p1%dB:LE=\E[%p1%dD:RI=\E[%p1%dC
termcapinfo linux C8
# old rxvt versions also need this
# termcapinfo rxvt C8


################
#
# keybindings
#

#remove some stupid / dangerous key bindings
bind k
bind ^k
bind .
bind ^\
bind \\
bind ^h
bind h
#make them better
bind 'K' kill
bind 'I' login on
bind 'O' login off
bind '}' history
bind ^\ quit

# Yet another hack:
# Prepend/append register [/] to the paste if ^a^] is pressed.
# This lets me have autoindent mode in vi.
#register [ "\033:se noai\015a"
#register ] "\033:se ai\015a"
#bind ^] paste [.]

################
#
# default windows
#

# screen -t local 0
# screen -t mail 1 mutt
# screen -t 40 2 rlogin server

#shelltitle '$ |bash'

layout autosave on

#caption always "%H"

#caption always "%?%F%{-b bc}%:%{-b bb}%?%C|%D|%M %d|%H%?%F%{+u wb}%? %L=%-Lw%45>%{+b by}%n%f* %t%{-}%+Lw%-0<" # С цветом.
#caption always "%?%F%{-b}%:%{-b}%?%C|%D|%M %d|%H%?%F%{+u}%? %L=%-Lw%45>%{+b}%n%f* %t%{-}%+Lw%-0<" # Без цвета.

term fbterm

screen -a 1
screen -t mc 2 mc
screen -t mc 3 mc
screen -t vim 4
screen -t vim 5
screen -t hexedit 6
screen -t hexedit 7
screen 0


# caption always "%3n %t%? @%u%?%? [%h]%?%=%c"
## alternative caption, gives window list, LOGNAME and current date:
# caption always "%{wk}%?%-Lw%?%{bw}%n*%f %t%?(%u)%?%{wk}%?%+Lw %=%{mk}@%H %{yk}%D %{ck}%M%{wk} %{ck}%d %{gk}%c"
# hardstatus alwaysignore
# hardstatus alwayslastline "%Lw"

# Red Hat's normal status line
hardstatus string "[screen %n%?: %t%?] %h"

# bind = resize =
# bind + resize +1
# bind - resize -1
# bind _ resize max
#
# defnonblock 1
# blankerprg rain -d 100
# idle 30 blanker

4

Хм. У меня локаль та же (UTF-8), загрузчик Lilo передает ядру параметр:

 Консоль: user
[user@linuxforum.tech ~]$ grep utf /etc/lilo.conf
append=" vt.default_utf8=1"
, при этом, если выполнить в любом эмуляторе терминала, без использования screen, команду
 Консоль: user
[user@linuxforum.tech ~]$ cat

то при нажатии ctrl+Home выводится ^[OH, а при нажатии ctrl+End - ^[OF.
Попробуйте запустить screen с параметром -U, который включает поддержку UTF-8.

Истинный hotplug - это обычная электрическая розетка: воткнул - работает, и никаких драйверов.
Arch Linux/Xfce/Xiaomi Mi Notebook Pro 15.6 | Slackware64-current/Xfce/Lenovo G580

5

Запуск screen с параметром -U не помогает, всё остаются как было.

Попробовал варианты и вот что происходит (везде набираю команду cat) :

В текстовой консоли (вообще без иксов и без screen):
Ctrl+Home  выдаёт ^[[1~
Ctrl+End     выдаёт ^[[4~
В mcedit Ctrl+Home и Ctrl+End работают как надо, перемещают в самое начало файла и соответственно в самый конец файла (это единственный вариант когда работает так как надо).

В текстовой консоли (без иксов) с запущенным screen (хоть screen хоть screen -U одинаково)
Ctrl+Home выдаёт ^[[1~
Ctrl+End    выдаёт ^[[4~
Ctrl+Home перемещает в начало строки,  Ctrl+End в конец строки.

В графическом режиме в эмуляторе konsole без screen
Ctrl+Home выдаёт ^[[1;5H
Ctrl+End    выдаёт ^[[1;5F
Ctrl+Home вставляет там где был курсор 1;5H,  Ctrl+End вставляет 1;5F.
(тут вообще какая то чепухня при запуске mc происходит расстройка всех функциональных клавищ, при нажатии F2 файл не сохраняется, а просто в текст вставляется "/")

В графическом режиме в эмуляторе konsole с запущенным screen (хоть screen хоть screen -U одинаково)
Ctrl+Home выдаёт ^[[1;5H
Ctrl+End    выдаёт ^[[1;5F
Ctrl+Home вставляет там где был курсор 1;5H,  Ctrl+End вставляет 1;5F.

В графическом режиме в эмуляторе LXTerminal без screen
Ctrl+Home выдаёт ^[OH
Ctrl+End    выдаёт ^[OF
Ctrl+Home вставляет там где был курсор H,  Ctrl+End вставляет F.

В графическом режиме в эмуляторе LXTerminal с запущенным screen (хоть screen хоть screen -U одинаково)
Ctrl+Home выдаёт ^[OH
Ctrl+End    выдаёт ^[OF
Ctrl+Home вставляет там где был курсор H,  Ctrl+End вставляет F.

Вот такая получается чепухня.

6

А у вас есть /etc/inputrc или ~/.inputrc и подключаетс ли один из них в ~/.bashrc,
если у вас bash?

# inputrc file

# 8-bit clean
set convert-meta off

# Show all if ambigious.
set show-all-if-ambiguous on

# file/ file@ in bash
set visible-stats on

# vi hack
#"^?": delete-char

# Keyboard configuration
"ESC[2~": yank                  # Insert
"ESC[3~":delete-char            # Suppr

"ESC[1~": beginning-of-line     # Home
"ESC[4~": end-of-line           # End

# rxvt hack
"ESC[7~": beginning-of-line     # Home
"ESC[8~": end-of-line           # End

"ESC[5~": previous-history      # Previous
"ESC[6~": next-history          # Next

И есть ли у вас ~/.Xresources, в котором также устанавливается реакция
на нажатия клавиш?

+ открыть спойлер

!font for Xterm
!XTerm*Font: -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-* bad!
!XTerm*Font: -misc-fixed-medium-r-normal--15-140-75-75-c-90-iso10646-*
!XTerm*Font: -cronyx-fixed-medium-r-normal--15-140-75-75-c-90-iso10646-*
!XTerm*Font: -adobe-courier-medium-r-normal--15-140-75-75-m-90-iso10646-* no russian
!XTerm*Font: -cronyx-courier-medium-r-normal--12-120-75-75-m-80-iso10646-* not good
!XTerm*Font: -cronyx-courier-medium-r-normal--14-100-100-100-m-90-iso10646-*
!XTerm*Font: -rfx-courier-medium-r-normal--14-140-75-75-m-90-iso10646-1
! 1024x768
!XTerm*Font: -cronyx-fixed-medium-r-normal--15-0-100-100-c-0-iso10646-1
! 1280x1024, 48
!XTerm*Font: -rfx-fixed-medium-r-normal--20-140-100-100-c-100-iso10646-1
XTerm*Font: -cronyx-courier-medium-r-normal--20-140-100-100-m-120-iso10646-1
!XTerm*Font: -b&h-lucidatypewriter-medium-r-normal-sans-14-100-100-100-m-80-iso10646-* bad
!XTerm*Font: -efont-fixed-medium-r-normal--12-120-75-75-c-120-iso10646-* not work
!XTerm*Font: -monotype-courier new-semilight-r-normal--14-0-0-0-m-0-iso10646-* bad
!XTerm*Font: -screen-fixed-medium-r-normal--14-0-75-75-c-0-iso10646-* bad


!XTerm*Font: -rfx-fixed-medium-r-normal--16-120-100-100-c-80-iso10646-* bad
!XTerm*Font: -rfx-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-* bad
!XTerm*Font: -rfx-fixed-medium-r-normal--16-150-75-75-c-80-iso10646-* not good

!XTerm*Font2: -cronyx-fixed-medium-r-normal--10-*-*-*-*-*-iso10646-*
!XTerm*Font3: -cronyx-fixed-medium-r-normal--13-*-*-*-*-*-is010646-*
!XTerm*Font4: -cronyx-fixed-medium-r-normal--15-*-*-*-*-*-iso10646-*
!XTerm*Font5: -cronyx-fixed-medium-r-normal--20-*-*-*-*-*-iso10646-*
!XTerm*Font6: -cronyx-fixed-medium-r-normal--24-*-*-*-*-*-iso10646-*

!XTerm*Font2: -rfx-fixed-medium-r-normal--10-*-*-*-*-*-iso10646-*
!XTerm*Font3: -rfx-fixed-medium-r-normal--13-*-*-*-*-*-is010646-*
!XTerm*Font4: -rfx-fixed-medium-r-normal--15-*-*-*-*-*-iso10646-*
!XTerm*Font5: -rfx-fixed-medium-r-normal--20-*-*-*-*-*-iso10646-*
!XTerm*Font6: -rfx-fixed-medium-r-normal--24-*-*-*-*-*-iso10646-*

XTerm*Font2: -cronyx-courier-medium-r-normal--10-*-*-*-*-*-iso10646-*
XTerm*Font3: -cronyx-coutier-medium-r-normal--12-*-*-*-*-*-is010646-*
XTerm*Font4: -cronyx-courier-medium-r-normal--14-*-*-*-*-*-iso10646-*
XTerm*Font5: -cronyx-courier-medium-r-normal--20-*-*-*-*-*-iso10646-*
XTerm*Font6: -cronyx-courier-medium-r-normal--20-*-*-*-*-*-iso10646-*


rxvt*font: -cronyx-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-*
! ---- language-env end DO NOT MODIFY THIS LINE!
! vim: set syntax=xdefaults foldmethod=marker:

! Tk*font: -*-times-bold-r-*--12-*-*-*-*-*-koi8-*

!UXTerm*Font: -misc-fixed-medium-r-normal--15-140-75-75-c-90-iso10646-*
!UXTerm*Font: -cronyx-fixed-medium-r-normal--15-140-75-75-c-90-iso10646-*
!UXTerm*Font: -adobe-courier-medium-r-normal--15-140-75-75-m-90-iso10646-* no russian
!UXTerm*Font: -cronyx-courier-medium-r-normal--12-120-75-75-m-80-iso10646-* not good
!UXTerm*Font: -rfx-courier-medium-r-normal--14-140-75-75-m-90-iso10646-*
!UXTerm*Font: -cronyx-fixed-medium-r-normal--15-0-100-100-c-0-iso10646-1
!UXTerm*Font: -b&h-lucidatypewriter-medium-r-normal-sans-14-100-100-100-m-80-iso10646-* bad
!UXTerm*Font: -efont-fixed-medium-r-normal--12-120-75-75-c-120-iso10646-* not work
!UXTerm*Font: -monotype-courier new-semilight-r-normal--14-0-0-0-m-0-iso10646-* bad
!UXTerm*Font: -screen-fixed-medium-r-normal--14-0-75-75-c-0-iso10646-1 bad

!UXTerm*Font: -rfx-fixed-medium-r-normal--16-120-100-100-c-80-iso10646-* bad
!UXTerm*Font: -rfx-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-* bad
!XTerm*Font: -rfx-fixed-medium-r-normal--16-150-75-75-c-80-iso10646-* not good
!UXTerm*Font2: -cronyx-fixed-medium-r-normal--10-*-*-*-*-*-iso10646-*
!UXTerm*Font3: -cronyx-fixed-medium-r-normal--13-*-*-*-*-*-is010646-*
!UXTerm*Font4: -cronyx-fixed-medium-r-normal--15-*-*-*-*-*-iso10646-*
!UXTerm*Font5: -cronyx-fixed-medium-r-normal--20-*-*-*-*-*-iso10646-*
!UXTerm*Font6: -cronyx-fixed-medium-r-normal--24-*-*-*-*-*-iso10646-*

UXTerm*Font: -cronyx-courier-medium-r-normal--20-140-100-100-m-120-iso10646-1
UXTerm*Font2: -cronyx-courier-medium-r-normal--10-*-*-*-*-*-iso10646-*
UXTerm*Font3: -cronyx-coutier-medium-r-normal--12-*-*-*-*-*-is010646-*
UXTerm*Font4: -cronyx-courier-medium-r-normal--14-*-*-*-*-*-iso10646-*
UXTerm*Font5: -cronyx-courier-medium-r-normal--20-*-*-*-*-*-iso10646-*
UXTerm*Font6: -cronyx-courier-medium-r-normal--20-*-*-*-*-*-iso10646-*


Xconsole*font: -*-fixed-medium-r-semicondensed-*-12-*-*-*-*-*-iso10646-*

.sex.form.text_window.background: grey

.xclipboard*text*font: -*-*-medium-r-normal--14-*-*-*-*-*-iso10646-*

MovaTK-*font: -*-*-medium-r-normal--10-*-*-*-*-*-iso10646-*

.gv.control.viewFrame.viewClip.viewControl.page.background: #e0e0d6

.xv*background: gray
.xv*foreground: black

! XN*oad*interface: ppp0
XN*oad*upd: 1
XN*oad*Paned*Label.background: dark blue
XN*oad*Paned*Label.foreground: yellow
XN*oad*Paned*StripChart.background: dark green
XN*oad*Paned*StripChart.foreground: lawn green
XN*oad.geometry: 232x120


! {{{ XTerm (and friends)

! {{{ blue XTerm (colors only)

!Default
!BlueTerm*font: -misc-fixed-medium-r-semicondensed-*-13-120-*-*-*-*-iso10646-*
BlueTerm*font: -adobe-courier-medium-r-normal--17-120-100-100-m-100-iso10646-1
!Unreadable
BlueTerm*font1: -misc-fixed-medium-r-*-*-13-*-*-*-*-*-iso10646-*
!Tiny
BlueTerm*font2: -misc-fixed-medium-r-semicondensed-*-10-*-*-*-*-*-iso10646-*
!Small
BlueTerm*font3: -misc-fixed-medium-r-*-*-13-*-*-*-*-*-iso10646-*
!Medium
BlueTerm*font4: -misc-fixed-medium-r-normal-*-14-*-*-*-*-*-iso10646-*
!Large
BlueTerm*font5: -misc-fixed-bold-r-*-*-15-*-*-*-m-*-iso10646-*
!Huge
BlueTerm*font6: -misc-fixed-bold-r-*-*-20-*-*-*-*-*-iso10646-*

! Scrollbar tuning
BlueTerm*VT100.Scrollbar.thumb:     royal blue
BlueTerm*VT100.Scrollbar.width:         9
BlueTerm*VT100.Scrollbar.background:    steel blue
BlueTerm*VT100.Scrollbar.foreground:    black

!BlueTerm*mainMenu*backgroundPixmap: gradient:vertical?dimension=350&start=SkyBlue1&end=blue4
BlueTerm*SimpleMenu*background: dark slate blue
BlueTerm*SimpleMenu*foreground: deep sky blue

BlueTerm*VT100.background: midnight blue
BlueTerm*VT100.foreground: cornflower blue
! Uncomment this to use color for the bold attribute
BlueTerm*VT100*colorBDMode:  on
BlueTerm*VT100*colorBD: deep sky blue
BlueTerm*VT100*cursorColor: blue
! fonts
BlueTerm*VT100*boldMode: false
BlueTerm*VT100*boldFont: fixed

BlueTerm*VT100*color0: black
BlueTerm*VT100*color1: red3
BlueTerm*VT100*color2: sea green
BlueTerm*VT100*color3: goldenrod
BlueTerm*VT100*color4: royal blue
BlueTerm*VT100*color5: magenta3
BlueTerm*VT100*color6: #007474
BlueTerm*VT100*color7: lightgray
BlueTerm*VT100*color8: gray50
BlueTerm*VT100*color9: red
BlueTerm*VT100*color10: green
BlueTerm*VT100*color11: yellow
BlueTerm*VT100*color12: blue
BlueTerm*VT100*color13: magenta
BlueTerm*VT100*color14: cyan
BlueTerm*VT100*color15: white


! }}}

! {{{ Common properties, for all of XTerms (of XTerm and (unicode) UXTerm)
xterm*termName: xterm-color

xterm*backarrowKeyIsErase: false


*VT100*highlightSelection:  true
! Uncomment this to use color for underline attribute
*VT100*colorULMode:  on
!XTerm.VT100*underLine:  off
*VT100*colorUL:  blue

! Uncomment this to display the scrollbar
*VT100*scrollBar:  true

! Scrollbar tuning
*VT100.Scrollbar.thumb:     gray
*VT100.Scrollbar.width:         12
*VT100.Scrollbar.background:    dark grey
*VT100.Scrollbar.foreground:    black
*VT100.Scrollbar.borderWidth:   0
*VT100.Scrollbar.displayList:

! {{{ XCOMM: This resource specifies whether or not to ignore the
! 'alternate screen' of applications such as vi.  When it is on, these
! applications will restore the contents of the screen when they are exited
! to what they were beforethey were started.  When it is off, the contents
! of vi will remain on the screen after the program is quit. }}}
*VT100*titeInhibit:  true

! Uncomment this to turn off color mode in your xterms
!XTerm.VT100*colorMode:  off
*VT100*dynamicColors:  on

! Number of lines of scrollback to save
*VT100*saveLines:    250

*VT100*reverseWrap:    true

*VT100*visualBell:        true
*VT100*scrollTtyOutput:    False
*VT100*scrollKey:        True
*VT100*Scrollbar.JumpCursor:    True

! Suppr support.
*VT100.Translations: #override \
    <Key>Sys_Req: secure()\n

!     <Key>Delete: string("\033[3~")\n\
!    <Key>Home: string("\033[1~")\n\
!    <Key>End: string("\033[4~")\n\
!    <Key>BackSpace: string(0x7F)\n\
!

*VT100.background: white
*VT100.foreground: blue
! Uncomment this to use color for the bold attribute
*VT100*colorBDMode:  on
*VT100*colorBD: darkblue
*VT100*cursorColor: dark green
! fonts
*VT100*boldMode: false
*VT100*boldFont: fixed

*VT100*color0: black
*VT100*color1: red3
*VT100*color2: darkgreen
*VT100*color3: gold4
*VT100*color4: darkblue
*VT100*color5: magenta3
*VT100*color6: #007474
*VT100*color7: lightgray
*VT100*color8: gray50
*VT100*color9: red
*VT100*color10: green
*VT100*color11: yellow
*VT100*color12: blue
*VT100*color13: magenta
*VT100*color14: cyan
*VT100*color15: white

!XTerm*mainMenu*backgroundPixmap:     gradient:vertical?dimension=350&start=gray90&end=gray60
!XTerm*mainMenu*foreground:           gray15
!XTerm.VT100.backgroundPixmap: keyboard.xpm

! all of XTerms }}}

! {{{ Properties specific for 8-bit XTerm only

XTerm*eightBitControl: false

!Default
!XTerm*font: -misc-fixed-medium-r-normal-*-13-*-*-*-*-*-iso10646-*
!XTerm*font: -adobe-courier-medium-r-normal--17-120-100-100-m-100-iso10646-1
!Unreadable
!XTerm*font1: -misc-fixed-medium-r-*-*-10-*-*-*-*-*-iso10646-*
!Tiny
!XTerm*font2: -misc-fixed-medium-r-semicondensed-*-10-*-*-*-*-*-iso10646-*
!Small
!XTerm*font3: -misc-fixed-medium-r-*-*-13-*-*-*-*-*-iso10646-*
!Medium
!XTerm*font4: -misc-fixed-medium-r-normal-*-14-*-*-*-*-*-iso10646-*
!Large
!XTerm*font5: -misc-fixed-bold-r-*-*-15*-*-*-m-*-iso10646-*
!Huge
!XTerm*font6: -misc-*-bold-r-*-*-20-*-*-*-c-*-iso10646-*

! 8-bit XTerm }}}

! {{{ Properties for unicode UXTerm only

!Default
!UXTerm*font: -misc-fixed-medium-r-normal-*-13-*0-*-*-*-*-iso10646-1
!UXTerm*font: -adobe-courier-medium-r-normal--17-120-100-100-m-100-iso10646-1
!Unreadable
!UXTerm*font1: -misc-fixed-medium-r-*-*-10-*-*-*-*-*-iso10646-1
!Tiny
!UXTerm*font2: -misc-fixed-medium-r-semicondensed-*-10-100-*-*-*-*-iso10646-1
!Small
!UXTerm*font3: -misc-fixed-medium-r-normal-*-13-*-*-*-*-*-iso10646-1
!Medium
!UXTerm*font4: -misc-fixed-medium-r-normal-*-14-*-*-*-*-*-iso10646-1
!Large
!UXTerm*font5: -misc-fixed-bold-r-normal-*-15-*-*-*-*-*-iso10646-1
!Huge
!UXTerm*font6: -misc-fixed-bold-r-*-*-20-*-*-*-*-*-iso10646-1

UXTerm*VT100.Scrollbar.background:    grey
UXTerm*VT100.Scrollbar.foreground:    dark blue

! UXTerm }}}


! {{{ Rxvt

Rxvt*geometry: 80x28

Rxvt*colorBD: darkblue
Rxvt*colorUL: blue
!Rxvt*colorRV: black
Rxvt*cursorColor: darkgreen
Rxvt*cursorColor2: white
Rxvt*scrollColor: grey
Rxvt*throughColor: grey

Rxvt*font: -*-fixed-medium-r-normal-*-14-*-*-*-*-*-iso10646-*
Rxvt*boldFont: -*-fixed-bold-r-normal-*-14-*-*-*-*-*-iso10646-*
Rxvt*font1: -*-fixed-medium-r-*-*-10-*-*-*-*-*-iso10646-*
Rxvt*font2: -*-fixed-medium-r-semicondensed-*-10-*-*-*-*-*-iso10646-*
Rxvt*font3: -*-fixed-medium-r-normal-*-13*-*-*-*-*-iso10646-*
Rxvt*font4: -*-fixed-bold-r-*-*-14-*-*-*-m-*-iso10646-*
Rxvt*font5: -*-fixed-bold-r-*-*-15-*-*-*-*-*-iso10646-*
Rxvt*background: grey75
Rxvt*foreground: black
Rxvt*saveLines: 250
Rxvt*termName: rxvt
!xvt*scrollBar_floating: true
!xvt*selectstyle: oldword
!xvt*scrollstyle: next
!Rxvt*meta8: false

Rxvt*color0: black
Rxvt*color1: red3
Rxvt*color2: darkgreen
Rxvt*color3: gold4
Rxvt*color4: darkblue
Rxvt*color5: magenta3
Rxvt*color6: #007474
Rxvt*color7: lightgray
Rxvt*color8: gray50
Rxvt*color9: red
Rxvt*color10: green
Rxvt*color11: yellow
Rxvt*color12: blue
Rxvt*color13: magenta
Rxvt*color14: cyan
Rxvt*color15: white

! Rxvt }}}


! XTerm and friends }}}

! {{{ Vim
Vim.background: darkblue
Vim.foreground: lightyellow
Vim*font:       -*-fixed-medium-r-normal-*-14-*-*-*-*-*-iso10646-*
Vim.geometry:    85x28
Vim*VIM*background: grey
Vim*VIM*foreground: black
! }}}

! {{{ emacs, xemacs

emacs.Background: grey85
emacs.Foreground: black
emacs.pointerColor: darkblue
emacs.cursorColor: red
emacs.bitmapIcon: on
emacs.Font: -*-fixed-medium-*-*-*-16-*-*-*-*-*-iso10646-*
emacs.menu.attributeFont: -*-times-bold-r-*-*-12-*-*-*-*-*-iso10646-*
emacs.menu.attributeBackground: grey
emacs.menu.attributeForeground: black
emacs.geometry: 80x30
! }}}


! XFree86 standard clients

! {{{ XEdit, Xmessage, XLess, Bitmap, Pixmap

! {{{ translations & delete key
! override, augment, replace
Xedit*editWindow.translations: #override \
    ~Shift ~Meta <Key>Delete: delete-next-character()\n\
    <Ctrl>X,<Key>Tab:indent()\n\
    <Ctrl>X,:<Key>0:delete-window(current)\n\
    <Ctrl>X,:<Key>1:delete-window(other)\n\
    <Ctrl>X,:<Key>2:split-window(vertical)\n\
    <Ctrl>X,:<Key>3:split-window(horizontal)\n\
    <Ctrl>X,!l @Num_Lock<Key>b:switch-source()\n\
    <Ctrl>X,!l <Key>b:switch-source()\n\
    <Ctrl>X,!@Num_Lock<Key>b:switch-source()\n\
    <Ctrl>X,!<Key>b:switch-source()\n\
    <Ctrl>X,!l @Num_Lock<Key>d:dir-window()\n\
    <Ctrl>X,!l <Key>d:dir-window()\n\
    <Ctrl>X,!@Num_Lock<Key>d:dir-window()\n\
    <Ctrl>X,!<Key>d:dir-window()\n\
    <Ctrl>X,!l @Num_Lock<Key>k:kill-file()\n\
    <Ctrl>X,!l <Key>k:kill-file()\n\
    <Ctrl>X,!@Num_Lock<Key>k:kill-file()\n\
    <Ctrl>X,!<Key>k:kill-file()\n\
    <Ctrl>X,!l @Num_Lock<Key>o:other-window()\n\
    <Ctrl>X,!l <Key>o:other-window()\n\
    <Ctrl>X,!@Num_Lock<Key>o:other-window()\n\
    <Ctrl>X,!<Key>o:other-window()\n\
    <Ctrl>X,!l @Num_Lock<Key>u:undo()\n\
    <Ctrl>X,!l <Key>u:undo()\n\
    <Ctrl>X,!@Num_Lock<Key>u:undo()\n\
    <Ctrl>X,!<Key>u:undo()\n\
    <Key>Tab:    insert-char()\n\
    !l @Num_Lock<Key>b:insert-char()\n\
    !l <Key>b:    insert-char()\n\
    !@Num_Lock<Key>b:insert-char()\n\
    !<Key>b:    insert-char()\n\
    !l @Num_Lock<Key>d:insert-char()\n\
    !l <Key>d:    insert-char()\n\
    !@Num_Lock<Key>d:insert-char()\n\
    !<Key>d:    insert-char()\n\
    !l <Key>k:    insert-char()\n\
    !l @Num_Lock<Key>k:insert-char()\n\
    !@Num_Lock<Key>k:insert-char()\n\
    !<Key>k:    insert-char()\n\
    !l @Num_Lock<Key>o:insert-char()\n\
    !l <Key>o:    insert-char()\n\
    !@Num_Lock<Key>o:insert-char()\n\
    !<Key>o:    insert-char()\n\
    !l @Num_Lock<Key>u:insert-char()\n\
    !l <Key>u:    insert-char()\n\
    !@Num_Lock<Key>u:insert-char()\n\
    !<Key>u:    insert-char()\n\
    ~s <Key>Insert:    toggle-overwrite()\n\
    c l @Num_Lock<Btn1Down>:xedit-focus() popup-menu(fileMenu)\n\
    c @Num_Lock<Btn1Down>:xedit-focus() popup-menu(fileMenu)\n\
    c l<Btn1Down>:    xedit-focus() popup-menu(fileMenu)\n\
    c<Btn1Down>:    xedit-focus() popup-menu(fileMenu)\n\
    c l @Num_Lock<Btn2Down>:xedit-focus() popup-menu(editMenu)\n\
    c @Num_Lock<Btn2Down>:xedit-focus() popup-menu(editMenu)\n\
    c l<Btn2Down>:    xedit-focus() popup-menu(editMenu)\n\
    c<Btn2Down>:    xedit-focus() popup-menu(editMenu)\n\
    c l @Num_Lock<Btn3Down>:xedit-focus() popup-menu(optionsMenu)\n\
    c @Num_Lock<Btn3Down>:xedit-focus() popup-menu(optionsMenu)\n\
    c l<Btn3Down>:xedit-focus() popup-menu(optionsMenu)\n\
    c<Btn3Down>:    xedit-focus() popup-menu(optionsMenu)\n\
    <Btn1Down>:    xedit-focus() select-start()
! }}}

Xedit*hpane*font: -*-fixed-medium-r-normal-*-14-*-*-*-*-*-iso10646-*
Xedit*filename*font: -*-fixed-medium-r-normal-*-14-*-*-*-*-*-iso10646-*
Xedit*messageWindow*font: -*-fixed-medium-r-normal-*-14-*-*-*-*-*-iso10646-*

Xedit*cursorColor: red
Xedit*tip*background: yellow
Xedit*tip*foreground: black

Xedit*editWindow.background: grey
Xedit*editWindow.?.background: darkgrey
Xedit*editWindow*foreground: black
Xedit*form*background: darkgrey

Xedit*viewport*background: darkgrey
Xedit*viewport*foreground: black
Xedit*dirlabel*background: lightgrey
Xedit*dirlabel*foreground: black

Xedit*buttons*background: darkgrey
Xedit*buttons*foreground: black
Xedit*bc_label*background: light slate gray
Xedit*bc_label*foreground: black
Xedit*messageWindow*background: grey
Xedit*messageWindow*foreground: blue
Xedit*formWindow*background: light slate grey
Xedit*formWindow*foreground: black

Xedit*enableBackups: true
Xedit*backupNamePrefix: /home/test/.trash
Xedit*backupNameSuffix: ~
Xedit*positionFormat: L%l C%c
Xedit*ispell.dictionaries: russian american english
Xedit*ispell.dictionary: russian
Xedit*ispell.terseMode: true
Xedit*ispellCommand: ispell -B -m

xedit*editModes.C.properties:\
keyword?font=-*-fixed-bold-r-normal-*-14-*-*-*-*-*-iso10646-*&foreground=saddlebrown,\
preprocessor?font=-*-fixed-bold-r-normal-*-14-*-*-*-*-*-iso10646-*&foreground=firebrick,\
comment?font=-*-courier-medium-o-*-*-14-*-*-*-*-*-iso10646-*&foreground=darkslategrey,\
string?font=-*-lucidatypewriter-medium-r-normal-*-12-*-*-*-m-*-iso10646-*&foreground=darkgreen,\
constant?font=-*-courier-medium-r-normal-*-14-*-*-*-m-*-iso10646-*&foreground=firebrick,\
octal?font=-*-courier-medium-r-normal-*-14-*-*-*-m-*-iso10646-*&foreground=firebrick,\
hexa?font=-*-courier-medium-r-normal-*-14-*-*-*-m-*-iso10646-*&foreground=firebrick,\
integer?font=-*-courier-medium-r-normal-*-14-*-*-*-m-*-iso10646-*&foreground=firebrick,\
float?font=-*-courier-medium-r-normal-*-14-*-*-*-m-*-iso10646-*&foreground=firebrick,\
punctuation?font=-*-fixed-medium-r-normal-*-15-*-*-*-c-*-iso10646-*&foreground=darkblue,\
error?foreground=red&background=black&font=-*-lucida-bold-*-*-*-16-*-*-*-*-*-iso10646-*,\
default?font=-*-fixed-medium-r-normal-*-14-*-*-*-*-*-iso10646-*


! Xmessage

Xmessage*Form.background: darkgreen
Xmessage*Form.foreground: red
Xmessage*Form*Text.background: grey
Xmessage*Form*Text.foreground: black
Xmessage*Form*Command*background: blue
Xmessage*Form*Command*foreground: yellow

XLess*standardFont: -*-fixed-medium-r-normal-*-14-*-*-*-*-*-iso10646-*
XLess*textFont:      -*-fixed-medium-r-normal-*-12-*-*-*-*-*-iso10646-*
XLess*labelFont:  -*-helvetica-medium-r-normal-*-12-*-*-*-*-*-iso10646-*
XLess*buttonFont: -*-helvetica-medium-r-normal-*-10-*-*-*-*-*-iso10646-*
XLess*defaultSearchType: RegularExpression

!XLess*sizeToFit: 0
!XLess*Geometry: 100x200

!XLess*font: -*-fixed-medium-r-normal-*-13-*-*-*-*-*-koi8-*
!XLess*Text*background: lightgrey
!XLess.geometry: 600x480
! .frame.text.textSink.

*Pixmap.background: gray
*Bitmap.background: lightgrey

! }}}

! {{{ xcolorsel
Xcolorsel*Form.Text*background: lightgrey
Xcolorsel*RgbText*background: black
Xcolorsel*RgbText*foreground: white smoke
Xcolorsel*RgbText.tileWidth: 10
Xcolorsel*RgbText.displayCaret: 1
Xcolorsel*RgbText.sink.font: -*-fixed-medium-r-normal-*-16-*-*-*-*-*-*-*
! }}}

! {{{ Clocks

.xclock.clock.background: black
.xclock.clock.foreground: yellow
.xclock.clock.hands: yellow
.xclock.clock.update: 1

! }}}
! {{{ Calculators
.xcalc.ti.bevel.background: black
.xcalc.ti.bevel.screen.background: black
.xcalc.ti.bevel.screen.?.background: black
.xcalc.ti.bevel.screen.?.foreground: green
.xcalc.ti.background: darkgreen
!.xcalc.ti.?.foreground: red
!.xcalc.ti.?.background: darkred
.xcalc.ti.?.background: darkblue
.xcalc.ti.?.foreground: white
.xcalc.ti.bevel.screen.LCD.font: -adobe-helvetica-bold-r-*-*-*-140-*-*-*-*-*-*
.xcalc.ti.bevel.screen.?.font: -*-fixed-medium-r-*-*-*-130-*-*-*-*-*-*
!.xcalc.height: 240
!.xcalc.width: 220

! }}}
! {{{ load-meters
.xload.paned.load.update: 1
.xload.paned.load.background: black
.xload.paned.load.foreground: green
.xload.paned.label.foreground: red
.xload.paned.label.background: darkblue
.xload.paned.load.minScale: 3
.xload.paned.load.highlight: red
! }}}
! {{{ XMan
Xman*manualBrowser.geometry: 530x530
Xman*help.geometry: 500x500
Xman.manualBrowser*manualPage.background: gainsboro
Xman.manualBrowser*directory.background: lightblue
Xman*manualFontNormal: -misc-fixed-medium-r-normal-*-14-*-*-*-*-*-iso10646-*
Xman*manualFontBold: -misc-fixed-bold-r-normal-*-14-*-*-*-*-*-iso10646-*
Xman*manualFontItalic: -*-times-medium-i-normal-*-14-*-*-*-*-*-iso10646-*
Xman*directoryFontNormal: -rfx-helvetica-medium-r-normal-*-14-*-*-*-*-*-iso10646-*
!Xman*horizPane*showGrip: true
! }}}

! {{{ XFM

xfm.shellCommand: /bin/bash
xfm.BourneShells: /bin/bash
xfm.defaultViewer: xmessage -file
xfm.defaultEditor: xedit

Xfm*boldFont:    -*-helvetica-bold-r-*-*-12-*-*-*-*-*-iso10646-*
Xfm*iconFont:    -*-helvetica-medium-r-*-*-12-*-*-*-*-*-iso10646-*
! -adobe-helvetica-medium-r-*-*-10-*-*-*-*-*-iso10646-*
Xfm*buttonFont:    -*-fixed-bold-r-normal-*-12-*-*-*-*-*-iso10646-*
Xfm*menuFont:    -*-fixed-medium-r-normal-*-12-*-*-*-*-*-iso10646-*
Xfm*labelFont:    -*-fixed-bold-r-normal-*-12-*-*-*-*-*-iso10646-*
Xfm*statusFont:    -*-fixed-bold-r-normal-*-12-*-*-*-*-*-iso10646-*

Xfm*fmLog*AsciiSink.font: -*-fixed-medium-r-*-*-12-*-*-*-*-*-iso10646-*
! This must be a fixed width font
Xfm*cellFont:    -*-fixed-medium-r-normal-*-12-*-*-*-*-*-iso10646-*

xfm*fmLog*background: grey85

Xfm.Geometry:            240x345+560+156
Xfm.initGeometry:        515x345+5+130
! Geometry for subsequent file windows
Xfm.file window.Geometry:    515x345
! The dimensions of the Log window on startup
Xfm*fmLog.width:515
Xfm*fmLog.height:200

Xfm.background: grey75
Xfm*IconFileList: grey75
Xfm*Scrollbar.width: 18
Xfm*Scrollbar.background: darkgrey

Xfm*bitmapPath: /usr/X11R6/lib/X11/xfm/bitmaps:/usr/include/X11/bitmaps
Xfm*pixmapPath: /usr/X11R6/lib/X11/xfm/icons:/usr/X11R6/lib/X11/xfm/pixmaps:/usr/include/X11/pixmaps:/usr/share/pixmaps

! }}}


! {{{ XPdf, XDVi, GV, Acroread etc...

Xpdf.paperColor: lightgrey
Xpdf*Foreground: black
Xpdf*Background: grey
Xpdf.geometry: 640x560

AcroRead*Geometry: 640x560
AcroRead*bookmarkFontName: -*-fixed-medium-r-normal-*-14-*-*-*-*-*-iso10646-1

! GV
GV*MButton*font: -*-fixed-medium-r-normal-*-14-*-*-*-*-*-iso10646-1
GV*Vlist*font: -*-fixed-medium-r-normal-*-14-*-*-*-*-*-iso10646-1


! XDvi
XDvi.background: light grey
XDvi*geometry: 640x560

XDvi*Scrollbar.background: grey

! quit button
XDvi*button1.background: red
XDvi*button1.foreground: white
!XDvi*button1.cursor: pirate
!XDVi*button1.pointerColor: black
!XDvi*button1.pointerColorBackground: white
! help button
XDvi*button4.background: light slate grey
! size buttons
XDvi*button5.background: tan
XDvi*button6.background: tan
XDvi*button7.background: tan
XDvi*button8.background: tan
! view PS
XDvi*button15.background: turquoise

! common buttons style
XDvi*Command.background: skyblue
XDvi*Command.font: -*-courier-medium-r-normal-*-10-*-*-*-*-*-iso10646-*

XDvi*statusline.background: lightsteelblue


! }}}

! {{{ XFig

! russification
Fig*international: false
Fig.international: true

Fig.inputStyle: Root
Fig*font: -*-fixed-medium-r-normal-*-14-*-*-*-*-*-iso10646-1

Fig*edit_panel*Text_text*international: true
Fig*edit_panel*inputMethod: xim

!Fig*Directory: ~/img/xfig

! }}}


! {{{ Scilab

Scilab.color.vpane.Vtsci.font: -*-fixed-medium-r-normal-*-12-*-*-*-*-*-*-*
Scilab.color.vpane.Vtsci.background: grey85
Scilab.color.vpane*messageWindow*background: lightgrey
Scilab.color*listviewport*background: lightgrey
Xscilab.color*graphicviewport*background: ivory
Xscilab.color.scigForm.scigmForm.scigraphicinfo.background: grey

Xscilab.color*helpForm.aproposText*background: beige
Xscilab.color*helpViewport.List.background: lightgrey
Xscilab.color*helpViewport1.List.background: beige

! }}}


! {{{ TED editor
Ted*background: grey
Ted*fontList: -*-helvetica-medium-r-normal-*-14-*-*-*-*-*-iso10646-*
! Ted.afmDirectory: /usr/local/afm
! Ted.defaultAnsicpg: CP1251

! }}}

! {{{ Grok and Plan
Grok*menubar*fontList: -*-times-medium-r-normal-*-14-*-*-*-*-*-iso10646-*
Grok*fontList: -*-helvetica-medium-r-normal-*-12-*-*-*-*-*-iso10646-*
Grok*helpFont: -*-helvetica-medium-r-normal-*-14-*-*-*-*-*-iso10646-*
Grok*helvFont: -*-helvetica-medium-r-normal-*-12-*-*-*-*-*-iso10646-*
Grok*helvObliqueFont: -*-helvetica-medium-o-normal-*-12-*-*-*-*-*-iso10646-*
Grok*helvSmallFont: -*-helvetica-medium-r-condensed-*-12-*-*-*-*-*-iso10646-*
Grok*helvLargeFont: -*-helvetica-bold-r-*-*-14-*-*-*-*-*-iso10646-*
Grok*courierFont: -*-fixed-medium-r-normal-*-12-*-*-*-m-*-iso10646-*
Grok*labelFont: -*-fixed-bold-r-normal-*-12-*-*-*-*-*-iso10646-*
Grok*background: grey
Grok*XmText.background: lightcyan

Grok*allowShellResize: false
Grok*sgiMode: false
Grok*noIcon: false
Grok*useSchemes: false

! Plan
plan*menubar*fontList: -*-times-medium-r-normal-*-14-*-*-*-*-*-iso10646-*
plan*fontList: -*-helvetica-medium-r-normal-*-12-*-*-*-*-*-iso10646-*
plan*helpFont: -*-fixed-medium-r-normal-*-13-*-*-*-*-*-iso10646-*

plan*calNumberFont: -*-fixed-bold-r-normal-*-18-*-*-*-*-*-iso10646-*
plan*calNumberFontSm: -*-helvetica-bold-r-normal-*-14-*-*-*-*-*-iso10646-*
plan*calNoteFont: -*-helvetica-medium-r-normal-*-10-*-*-*-*-*-iso10646-*

plan*weekTitleFont: -*-helvetica-medium-r-normal-*-18-*-*-*-*-*-iso10646-*
plan*weekDayFont: -*-helvetica-medium-r-normal-*-14-*-*-*-*-*-iso10646-*
plan*weekHourFont: -*-helvetica-medium-r-normal-*-14-*-*-*-*-*-iso10646-*
plan*weekNoteFont: -*-helvetica-medium-r-normal-*-12-*-*-*-*-*-iso10646-*

plan*yearTitleFont: -*-helvetica-medium-r-normal-*-18-*-*-*-*-*-iso10646-*
plan*yearMonthFont: -*-helvetica-bold-r-normal-*-14-*-*-*-*-*-iso10646-*
plan*yearWeekdayFont: -*-helvetica-medium-r-normal-*-14-*-*-*-*-*-iso10646-*
plan*yearNumberFont: -*-helvetica-medium-r-normal-*-14-*-*-*-*-*-iso10646-*

! }}}

! {{{ XPostit+
XPostitPlus*calendarCmd: ncal
! Xpostit.emailCmd: mail %s
XPostitPlus*saveNotes: true
XPostitPlus*scrollBar: false
XPostitPlus*interval: 10
XPostitPlus*Text*font: -*-new century schoolbook-bold-i-normal-*-18-*-*-*-*-*-iso10646-*
! }}}


! {{{ PonyProg
.ponyprog2000*background: white
.ponyprog2000*foreground: black
! }}}

! {{{ DDD
Ddd*XmText.background: light grey
Ddd*XmText.foreground: black
Ddd*XmTextField.background: darkgrey
Ddd*XmTextField.foreground: black
Ddd*XmList.background: lavender
Ddd*XmList.foreground: black
Ddd.command_shell.main_window.paned_work_w.graph_edit_form.graph_edit_porthole.graph_edit.background: darkgrey
!Ddd*fontList: -*-*-medium-r-normal-*-12-*-*-*-*-*-iso10646-*
! .ddd*XmMainWindow*background: grey
! }}}


! {{{ cool* (-mail, -man, -edit...)
coolmail.frameCount: 50
coolmail.mailCommand: xterm -name mutt -e mutt
coolmail.soundFile: /home/sysop/bin/mail.au
coolmail.volume: 90
! }}}

! {{{ Netscape, Mosaic etc...

! Mosaic

mMosaic*fontList: -*-helvetica-medium-r-normal-*-14-*-*-*-*-*-iso10646-*
mMosaic*XmText*fontList: -*-helvetica-medium-r-normal-*-14-*-*-*-*-*-iso10646-*
mMosaic*menubar*fontList: -*-helvetica-medium-r-normal-*-14-*-*-*-*-*-iso10646-*

mMosaic*TitleFont: -*-times-bold-r-normal-*-24-*-*-*-*-*-iso10646-*
mMosaic*Font: -*-times-medium-r-normal-*-18-*-*-*-*-*-iso10646-*
mMosaic*ItalicFont: -*-times-medium-i-normal-*-18-*-*-*-*-*-iso10646-*
mMosaic*BoldFont: -*-times-bold-r-normal-*-18-*-*-*-*-*-iso10646-*
mMosaic*FixedFont: -*-courier-medium-r-normal-*-12-*-*-*-*-*-iso10646-*
mMosaic*Header1Font: -*-times-bold-r-normal-*-24-*-*-*-*-*-iso10646-*
mMosaic*Header2Font: -*-times-bold-r-normal-*-18-*-*-*-*-*-iso10646-*
mMosaic*Header3Font: -*-times-bold-r-normal-*-14-*-*-*-*-*-iso10646-*
mMosaic*Header4Font: -*-times-medium-r-normal-*-14-*-*-*-*-*-iso10646-*
mMosaic*Header5Font: -*-times-bold-r-normal-*-12-*-*-*-*-*-iso10646-*
mMosaic*Header6Font: -*-times-bold-r-normal-*-10-*-*-*-*-*-iso10646-*
mMosaic*AddressFont: -*-times-medium-i-normal-*-14-*-*-*-*-*-iso10646-*
mMosaic*PlainFont: -*-courier-medium-r-normal-*-12-*-*-*-*-*-iso10646-*
mMosaic*ListingFont: -*-helvetica-medium-r-normal-*-14-*-*-*-*-*-iso10646-*
mMosaic*SupSubFont: -*-times-medium-r-normal-*-10-*-*-*-*-*-iso10646-*
mMosaic*MeterFont: -*-courier-bold-r-normal-*-12-*-*-*-*-*-iso10646-*
mMosaic*ToolbarFont: -*-times-bold-r-normal-*-12-*-*-*-*-*-iso10646-*


!!! Netscape

Netscape*attachmentProps*XmLabelGadget.fontList: -*-helvetica-medium-r-normal-*-*-120-*-*-*-*-iso10646-*

Netscape*fontList: -*-helvetica-medium-r-normal-*-*-120-*-*-*-*-iso10646-*
Netscape*XmTextField.fontList: -adobe-courier-medium-r-*-*-*-120-*-*-*-*-iso10646-*
Netscape*XmText.fontList: -adobe-courier-medium-r-*-*-*-120-*-*-*-*-iso10646-*
Netscape*XmList*fontList: -adobe-courier-medium-r-*-*-*-120-*-*-*-*-iso10646-*

Netscape*menuBar*historyTruncated.fontList: -adobe-helvetica-medium-o-*-*-*-120-*-*-*-*-iso10646-*
Netscape*popup*fontList: -adobe-helvetica-medium-r-*-*-*-120-*-*-*-*-iso10646-*

Netscape*docinfoButton.fontList: -*-helvetica-medium-r-*-*-*-120-*-*-*-*-iso10646-*
Netscape*mailto*urlLabel.fontList: -*-helvetica-medium-r-*-*-*-140-*-*-*-*-iso10646-*
Netscape*licenseDialog*text.fontList: -adobe-courier-medium-r-*-*-*-120-*-*-*-*-iso10646-*

Netscape*XmLGrid*fontList:\
-*-helvetica-medium-r-*-*-*-100-*-*-*-*-iso10646-*,\
-*-helvetica-bold-r-*-*-*-100-*-*-*-*-iso10646-*=BOLD,\
-*-helvetica-medium-o-*-*-*-100-*-*-*-*-iso10646-*=ITALIC

Netscape*banner*folderDropdown*XmLabel.fontList: -adobe-courier-bold-r-*-*-*-100-*-*-*-*-iso10646-*
Netscape*banner*folderDropdown*fontList:\
-adobe-courier-medium-r-*-*-*-100-*-*-*-*-iso10646-*,\
-adobe-courier-bold-r-*-*-*-100-*-*-*-*-iso10646-*=BOLD

Netscape*banner*title.fontList: -*-helvetica-bold-r-*-*-*-100-*-*-*-*-iso10646-*
Netscape*banner*subtitle.fontList: -*-helvetica-medium-r-*-*-*-100-*-*-*-*-iso10646-*
Netscape*banner*info.fontList: -*-helvetica-medium-r-*-*-*-100-*-*-*-*-iso10646-*

Netscape*arrowlabel.fontList: -*-helvetica-medium-r-*-*-*-120-*-*-*-*-iso10646-*
Netscape*attachItemLabel*fontList: -*-helvetica-medium-r-*-*-*-120-*-*-*-*-iso10646-*
Netscape*defaultCharset: iso10646-1

Netscape*tipLabel.fontList: -*-helvetica-medium-r-*-*-*-120-*-*-*-*-iso10646-*

Netscape*prefs*fontList: -*-helvetica-medium-r-normal-*-*-120-*-*-*-*-iso10646-*
Netscape*prefs*pageTitle.fontList:\
-*-helvetica-medium-r-normal-*-*-120-*-*-*-*-iso10646-*=NORMAL,\
-*-helvetica-bold-r-*-*-*-140-*-*-*-*-iso10646-*=BOLD,\
-*-helvetica-medium-o-normal-*-*-120-*-*-*-*-iso10646-*=ITALIC

Netscape*prefs*categoryList*fontList: -*-helvetica-medium-r-normal-*-*-120-*-*-*-*-iso10646-*
Netscape*prefsLang*fontList: -*-helvetica-medium-r-normal-*-*-120-*-*-*-*-iso10646-*
Netscape*prefsApplEdit*fontList: -*-helvetica-medium-r-normal-*-*-120-*-*-*-*-iso10646-*
Netscape*prefsProxiesView*fontList: -*-helvetica-medium-r-normal-*-*-120-*-*-*-*-iso10646-*
Netscape*prefsLdapProp*fontList: -*-helvetica-medium-r-normal-*-*-120-*-*-*-*-iso10646-*
Netscape*subscribeFolder*fontList: -*-helvetica-medium-r-normal-*-*-120-*-*-*-*-iso10646-*
Netscape*serverDialog*fontList: -*-helvetica-medium-r-normal-*-*-120-*-*-*-*-iso10646-*
Netscape*toolBar*fontList: -*-helvetica-medium-r-normal-*-*-120-*-*-*-*-iso10646-*
Netscape*dashBoard*statusBar.fontList: -*-helvetica-medium-r-normal-*-*-120-*-*-*-*-iso10646-*
Netscape*dashBoard*progressBar.fontList: -*-helvetica-medium-r-normal-*-*-120-*-*-*-*-iso10646-*
Netscape*dockedTaskBar*fontList: -*-helvetica-medium-r-normal-*-*-120-*-*-*-*-iso10646-*
Netscape*floatingTaskBar*fontList: -*-helvetica-medium-r-normal-*-*-120-*-*-*-*-iso10646-*
Netscape*NewsDownload*fontList: -*-helvetica-medium-r-normal-*-*-120-*-*-*-*-iso10646-*
Netscape*splashShell*fontList: -*-helvetica-medium-r-normal-*-*-120-*-*-*-*-iso10646-*

Netscape*spellDialog*text_label.fontList: -*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso10646-*
Netscape*spellDialog*list_label.fontList: -*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso10646-*
Netscape*spellDialog*right_rc*fontList: -*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso10646-*
Netscape*spellDialog*combo_frame*fontList: -*-helvetica-medium-r-*-*-*-120-*-*-*-*-iso10646-*

Netscape*AddressOutlinerPopup*fontList:\
-*-helvetica-medium-r-*-*-*-100-*-*-*-*-iso10646-*,\
-*-helvetica-bold-r-*-*-*-100-*-*-*-*-iso10646-*=BOLD,\
-*-helvetica-medium-o-*-*-*-100-*-*-*-*-iso10646-*=ITALIC

Netscape*localeCharset*C: iso10646-1

! }}}


! {{{ Xps*
Xps*Font: -*-fixed-bold-r-normal-*-14-*-*-*-*-*-iso10646-*
Xps*Background: slate grey
Xps*Foreground: white
Xps*Text*Background: dark slate grey
Xps*selectBackground: dark blue
Xps*selectForeground: yellow
Xps*highlightBackground: green
Xps*Relief: solid
Xps*borderWidth: 3
Xps*activeBackground: green
Xps*activeForeground: yellow
Xps*Scrollbar*Background: dark green
Xps*Scrollbar*troughColor: light slate grey
Xps*Scrollbar.relief: solid
Xps*Scrollbar.highlightThickness: 1
Xps*Scrollbar.borderWidth: 3
Xps*Cursor: boat
Xps*Scrollbar.cursor: pirate
! }}}


!#ifdef COLOR
!*customization: -color
!#endif
!*background.color: white
!*foreground.color: blue

!!!! System wide defaults

! turn off colors
*customization: -color
! Fix delete key
*Text.translations: #override ~Shift ~Meta <Key>Delete: delete-next-character()
*Background: white
*Foreground: blue

!xfont: -cronyx-times-medium-r-normal---0-140-0-0-p-0-iso10646-1
!XFont: -cronyx-times-medium-r-normal---0-140-0-0-p-0-iso10646-1
xfont: -monotype-times new roman-medium-r-normal---0-140-0-0-p-0-iso10646-1
XFont: -monotype-times new roman-medium-r-normal---0-140-0-0-p-0-iso10646-1


! *Font: -*-*-*-*-*-*-*-*-*-*-*-*-iso10646-*

! Motif borders
*shadowThickness: 2


*Box.background: grey
*Box.foreground: black
*Paned.background: grey
*Paned*Label.background: grey
*Paned*Viewport.backround: grey
*Porthole*background: grey
*Panner.foreground: darkgrey
*Panner.background: lightgrey
*Command.foreground: black
*Command.background: lightgrey
*Toggle.foreground: black
*Toggle.background: lightgrey
*MenuButton.background: lightgrey
*MenuButton.foreground: black
*SimpleMenu.background: lightgrey
*Command.font: -*-helvetica-bold-r-*-*-12-*-*-*-*-*-iso10646-*
*Text.background: lightgrey
!*AsciiSink.background: lightgrey
!*AsciiSrc.background: red
*ScrollByLine.background: beige
*Text.foreground: black
*Text.font: -*-fixed-medium-r-normal-*-13-*-*-*-*-*-iso10646-*
*Dialog.background: grey
*Label.background: grey
*Form.background: grey
*UCSLabel.background: lightgrey

*Form*font: -*-helvetica-bold-r-*-*-12-*-*-*-*-*-iso10646-*
*Viewport.background: lightgrey
*Viewport.Core.background: darkgrey
*Composite.background: grey

*Scrollbar.backround: grey
*Scrollbar.foreground: black
*Scrollbar.thickness: 12


!*fluofot*BlankColor: red

*vt100.translations: #override \
     <Key>Home: string(0x1b) string("[7~") \n\
     <Key>End: string(0x1b) string("[8~") \n\
     <Key>Insert: string(0x1b) string("[2~") \n\
     <Key>Delete: string(0x1b) string("[3~") \n\
     <Key>Page_Up: string(0x1b) string("[5~") \n\
     <Key>Page_Down: string(0x1b) string("[6~") \n\
     <Key>Left: string(0x1b) string("OD") \n\
     <Key>Right: string(0x1b) string("OC") \n\
     <Key>Up: string(0x1b) string("OA") \n\
     <Key>Down: string(0x1b) string("OB") \n\
     ~s<Key>F1: string(0x1b) string("[11~") \n\
     ~s<Key>F2: string(0x1b) string("[12~") \n\
     ~s<Key>F3: string(0x1b) string("[13~") \n\
     ~s<Key>F4: string(0x1b) string("[14~") \n\
     ~s<Key>F5: string(0x1b) string("[15~") \n\
     ~s<Key>F6: string(0x1b) string("[17~") \n\
     ~s<Key>F7: string(0x1b) string("[18~") \n\
     ~s<Key>F8: string(0x1b) string("[19~") \n\
     ~s<Key>F9: string(0x1b) string("[20~") \n\
     ~s<Key>F10: string(0x1b) string("[21~") \n\
     <Key>F11: string(0x1b) string("[23~") \n\
     <Key>F12: string(0x1b) string("[24~") \n\
     <Key>F13: string(0x1b) string("[25~") \n\
     <Key>F14: string(0x1b) string("[26~") \n\
     <Key>F15: string(0x1b) string("[28~") \n\
     <Key>F16: string(0x1b) string("[29~") \n\
     <Key>F17: string(0x1b) string("[31~") \n\
     <Key>F18: string(0x1b) string("[32~") \n\
     <Key>F19: string(0x1b) string("[33~") \n\
     <Key>F20: string(0x1b) string("[34~") \n\
     s<Key>F1: string(0x1b) string("[23~") \n\
     s<Key>F2: string(0x1b) string("[24~") \n\
     s<Key>F3: string(0x1b) string("[25~") \n\
     s<Key>F4: string(0x1b) string("[26~") \n\
     s<Key>F5: string(0x1b) string("[28~") \n\
     s<Key>F6: string(0x1b) string("[29~") \n\
     s<Key>F7: string(0x1b) string("[31~") \n\
     s<Key>F8: string(0x1b) string("[32~") \n\
     s<Key>F9: string(0x1b) string("[33~") \n\
     s<Key>F10: string(0x1b) string("[34~") \n\
     a<Key>Return: string(0x1b) string(0x0d) \n\
     a<Key>Tab: string(0x1b) string(0x09) \n\
     a<Key>space: string(0x1b) string(" ") \n\
     a<Key>a: string(0x1b) string("a") \n\
     a<Key>b: string(0x1b) string("b") \n\
     a<Key>c: string(0x1b) string("c") \n\
     a<Key>d: string(0x1b) string("d") \n\
     a<Key>e: string(0x1b) string("e") \n\
     a<Key>f: string(0x1b) string("f") \n\
     a<Key>g: string(0x1b) string("g") \n\
     a<Key>h: string(0x1b) string("h") \n\
     a<Key>i: string(0x1b) string("i") \n\
     a<Key>j: string(0x1b) string("j") \n\
     a<Key>k: string(0x1b) string("k") \n\
     a<Key>l: string(0x1b) string("l") \n\
     a<Key>m: string(0x1b) string("m") \n\
     a<Key>n: string(0x1b) string("n") \n\
     a<Key>o: string(0x1b) string("o") \n\
     a<Key>p: string(0x1b) string("p") \n\
     a<Key>q: string(0x1b) string("q") \n\
     a<Key>r: string(0x1b) string("r") \n\
     a<Key>s: string(0x1b) string("s") \n\
     a<Key>t: string(0x1b) string("t") \n\
     a<Key>u: string(0x1b) string("u") \n\
     a<Key>v: string(0x1b) string("v") \n\
     a<Key>w: string(0x1b) string("w") \n\
     a<Key>x: string(0x1b) string("x") \n\
     a<Key>y: string(0x1b) string("y") \n\
     a<Key>z: string(0x1b) string("z")


xterm_color*background: White
xterm_color*foreground: Blue
xterm_color*cursorColor: Orchid
xterm_color*cursorBlink: true
xterm_color*reverseVideo: false
xterm_color*scrollBar: true
xterm_color*saveLines: 5000
xterm_color*reverseWrap: true
!xterm_color*font: -*-courier-medium-r-normal-*-*-120-*-*-m-0-iso10646-1
!xterm_color*font: -misc-fixed-medium-r-normal-*-13-120-*-*-m-0-iso10646-1
!xterm_color*font: -adobe-courier-medium-r-normal--17-120-100-100-m-100-iso10646-1
xterm_color.geometry: 80x25+20+20
xterm_color*fullCursor: true
xterm_color*scrollTtyOutput: off
xterm_color*scrollKey: on
xterm_color*titleBar: true

xterm_color*VT102.Translations: #override <Key>BackSpace: string(0x7F) \n\
<Key>Insert:    string("\033[2~") \n\
<Key>Delete:        string("\033[3~") \n\
<Key>Home:          string("\033[1~") \n\
<Key>End:           string("\033[4~") \n\
<Key>Prior:     string("\033[5~") \n\
<Key>Next:      string("\033[6~") \n\
Ctrl<Key>Prior:     string("\033[5~") \n\
Ctrl<Key>Next:      string("\033[6~") \n\
<KeyPress>Prior : scroll-back(1,page) \n\
<KeyPress>Next : scroll-forw(1,page)
xterm_color*VT100.Translations: #override <Key>BackSpace: string(0x7F) \n\
<Key>Insert:    string("\033[2~") \n\
<Key>Delete:        string("\033[3~") \n\
<Key>Home:          string("\033[1~") \n\
<Key>End:           string("\033[4~") \n\
<Key>Prior:     string("\033[5~") \n\
<Key>Next:      string("\033[6~") \n\
Ctrl<Key>Prior:     string("\033[5~") \n\
Ctrl<Key>Next:      string("\033[6~") \n\
<KeyPress>Prior : scroll-back(1,page) \n\
<KeyPress>Next : scroll-forw(1,page)
xterm_color*xterm.Translations: #override <Key>BackSpace: string(0x7F) \n\
<Key>Insert:    string("\033[2~") \n\
<Key>Delete:        string("\033[3~") \n\
<Key>Home:          string("\033[1~") \n\
<Key>End:           string("\033[4~") \n\
<Key>Prior:     string("\033[5~") \n\
<Key>Next:      string("\033[6~") \n\
Ctrl<Key>Prior:     string("\033[5~") \n\
Ctrl<Key>Next:      string("\033[6~") \n\
<KeyPress>Prior : scroll-back(1,page) \n\
<KeyPress>Next : scroll-forw(1,page)


nxterm*VT100.Translations: #override <Key>BackSpace: string(0x7F) \n\
<Key>Insert:    string("\033[2~") \n\
<Key>Delete:        string("\033[3~") \n\
<Key>Home:          string("\033[1~") \n\
<Key>End:           string("\033[4~") \n\
Ctrl<Key>Prior:     string("\033[5~") \n\
Ctrl<Key>Next:      string("\033[6~") \n\
<KeyPress>Prior : scroll-back(1,page) \n\
<KeyPress>Next : scroll-forw(1,page)

Пётр.

Пётр.

7 (01.07.2012 19:19:09 отредактировано yars)

v4567 пишет:

В текстовой консоли (вообще без иксов и без screen):
Ctrl+Home  выдаёт ^[[1~
Ctrl+End     выдаёт ^[[4~

У меня в эмуляторе термнала выдается это при запущенном screen. Возможно, проблема не в screen, потому что у меня в этом случае все работает корректно, а в конфигурации клавиатуры в иксах.
На старой системе у меня в /etc/X11/xorg.conf была такая запись:

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option         "XkbModel" "pc104"
    Option         "XkbLayout" "us,ru(winkeys)"
    Option         "XkbOptions" "grp:ctrl_shift_toggle,grp_led:scroll"
EndSection

На новой за это отвечает файл /etc/X11/xorg.conf.d/90-keyboard-layout.conf, содержание примерно такое же.
UPD: переменная окружения TERM у меня установлена в xterm.

Истинный hotplug - это обычная электрическая розетка: воткнул - работает, и никаких драйверов.
Arch Linux/Xfce/Xiaomi Mi Notebook Pro 15.6 | Slackware64-current/Xfce/Lenovo G580

8

Файл /etc/inputrc есть. Файла ~/.inputrc нету.
Ни в /etc/bashrc ни в ~/.bashrc этот файл не подключается.

Вот содержание /etc/inputrc

# do not bell on tab-completion
#set bell-style none

set meta-flag on
set input-meta on
set convert-meta off
set output-meta on

# Completed names which are symbolic links to
# directories have a slash appended.
set mark-symlinked-directories on

$if mode=emacs

# for linux console and RH/Debian xterm
"\e[1~": beginning-of-line
"\e[4~": end-of-line
"\e[5~": beginning-of-history
"\e[6~": end-of-history
"\e[3~": delete-char
"\e[2~": quoted-insert
"\e[5C": forward-word
"\e[5D": backward-word
"\e[1;5C": forward-word
"\e[1;5D": backward-word

# for rxvt
"\e[8~": end-of-line
"\eOc": forward-word
"\eOd": backward-word

# for non RH/Debian xterm, can't hurt for RH/DEbian xterm
"\eOH": beginning-of-line
"\eOF": end-of-line

# for freebsd console
"\e[H": beginning-of-line
"\e[F": end-of-line
$endif

Вот содержание файла /etc/X11/Xresources

! This is the global resources file that is loaded when
! all users log in, as well as for the login screen

! Fix the Xft dpi to 96; this prevents tiny fonts
! or HUGE fonts depending on the screen size.
Xft.dpi: 96

! hintstyle: medium means that (for Postscript fonts) we
! position the stems for maximum constrast and consistency
! but do not force the stems to integral widths. hintnone,
! hintslight, and hintfull are the other possibilities.
Xft.hintstyle: hintmedium
Xft.hinting: true

Вот содержание файла /etc/X11/xdm/Xresources

! $Xorg: Xresources,v 1.3 2000/08/17 19:54:17 cpqbld Exp $
!
!
!
!
! $XFree86: xc/programs/xdm/config/Xres.cpp,v 1.6 2003/01/04 03:11:31 dawes Exp $
!

Xcursor.theme: whiteglass



xlogin*login.translations: #override \
<------>Ctrl<Key>R: abort-display()\n\
<------><Key>F1: set-session-argument(failsafe) finish-field()\n\
<------><Key>Delete: delete-character()\n\
<------><Key>Left: move-backward-character()\n\
<------><Key>Right: move-forward-character()\n\
<------><Key>Home: move-to-begining()\n\
<------><Key>End: move-to-end()\n\
<------>Ctrl<Key>KP_Enter: set-session-argument(failsafe) finish-field()\n\
<------><Key>KP_Enter: set-session-argument() finish-field()\n\
<------>Ctrl<Key>Return: set-session-argument(failsafe) finish-field()\n\
<------><Key>Return: set-session-argument() finish-field()

xlogin*greeting: Welcome to CLIENTHOST
xlogin*namePrompt: \040\040\040\040\040\040\040Login:
xlogin*fail: Login incorrect

#if WIDTH > 800
xlogin*greetFont: -adobe-helvetica-bold-o-normal--24-240-75-75-p-138-iso8859-1
xlogin*font: -adobe-helvetica-medium-r-normal--18-180-75-75-p-98-iso8859-1
xlogin*promptFont: -adobe-helvetica-bold-r-normal--18-180-75-75-p-103-iso8859-1
xlogin*failFont: -adobe-helvetica-bold-r-normal--18-180-75-75-p-103-iso8859-1
xlogin*greetFace:<----->Serif-24:bold:italic
xlogin*face: <-><------>Helvetica-18
xlogin*promptFace: <--->Helvetica-18:bold
xlogin*failFace: <----->Helvetica-18:bold
#endif

#ifdef COLOR
xlogin*borderWidth: 1
xlogin*frameWidth: 5
xlogin*innerFramesWidth: 2
xlogin*shdColor: grey30
xlogin*hiColor: grey90
xlogin*background: grey
!xlogin*foreground: darkgreen
xlogin*greetColor: Blue3
xlogin*failColor: red
*Foreground: black
*Background: #fffff0
#else
xlogin*borderWidth: 3
xlogin*frameWidth: 0
xlogin*innerFramesWidth: 1
xlogin*shdColor: black
xlogin*hiColor: black
#endif

#if PLANES >= 8
xlogin*logoFileName: /usr/share/xdm/pixmaps/xorg.xpm
#else
xlogin*logoFileName: /usr/share/xdm/pixmaps/xorg-bw.xpm
#endif
xlogin*useShape: true
xlogin*logoPadding: 10


XConsole.text.geometry:>480x130
XConsole.verbose:<----->true
XConsole*iconic:<------>true
XConsole*font:<><------>fixed

Chooser*geometry:<-----><------>700x500+300+200
Chooser*allowShellResize:<----->false
Chooser*viewport.forceBars:<--->true
Chooser*label.font:<---><------>*-new century schoolbook-bold-i-normal-*-240-*
Chooser*label.label:<--><------>XDMCP Host Menu from CLIENTHOST
Chooser*list.font:<----><------>-*-*-medium-r-normal-*-*-230-*-*-c-*-iso8859-1
Chooser*Command.font:<-><------>*-new century schoolbook-bold-r-normal-*-180-*

9

У меня shell - tcsh и используется другой файл,
а в ~/.bashrc попробуйте вставить следующие строки

# Read first /etc/inputrc if the variable is not defined, and after the /etc/inputrc 
# include the ~/.inputrc
[ -z $INPUTRC ] && export INPUTRC=/etc/inputrc

# Source global definitions
if [ -f /etc/bashrc ]; then
        . /etc/bashrc
fi

if [ -f /etc/inputrc ]; then
        . /etc/inputrc >/dev/null 2>&1
#       . /etc/inputrc
fi

if [ -f ~/.inputrc ]; then
        . ~/.inputrc >/dev/null 2>&1
#       . ~/.inputrc
fi


# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if [ -f /etc/bash_completion ]; then
    . /etc/bash_completion
fi

Достатоно подключить надо один из inputrc, если они одинаковые, а тот, который привёл я,
отличается началом он /etc/inputrc. Я сейчас уже не помню, что более правильно.
/etc/baash_completion тоже долже существовать.

Пётр.

Пётр.

10

Кстати, заметил сегодня такую фишку: если просто залогиниться любым пользователем (в GUI), то теряется содержимое переменной LS_COLORS, зато работает как надо [Ctrl+]{Home,End}. Если сделать "su -", то наоборот. В голой консоли вроде бы все хорошо.

Истинный hotplug - это обычная электрическая розетка: воткнул - работает, и никаких драйверов.
Arch Linux/Xfce/Xiaomi Mi Notebook Pro 15.6 | Slackware64-current/Xfce/Lenovo G580

11

Подключение файлов inputrc и bash_completion не помогло.

12

В текстовой консоли если работает а в скрине нет, то дело получается в скрине. Если найти причину в этом случае.
То в графике ситуация следующая:  текстовая консоль -> иксы -> konsole -> скрин, надо будет уяснить причину в иксах и в konsole.
Но для начала как найти причину в скрине???????