тЕРПЪЙФПТЙК ALT Linux backports/2.4
рПУМЕДОЕЕ ПВОПЧМЕОЙЕ: 9 ЙАМС 2008 | рБЛЕФПЧ: 497 | рПУЕЭЕОЙК: 1583634
 РПЙУЛ   ТЕЗЙУФТБГЙС   БЧФПТЙЪБГЙС 
 
зТХРРБ :: чЙДЕП
рБЛЕФ: xawtv

 зМБЧОБС   йЪНЕОЕОЙС   уРЕЛ   рБФЮЙ   ъБЗТХЪЙФШ   Bugs and FR 

рБФЮ: xawtv-3.95-vdr-russian.patch


diff -Nru xawtv-3.93-old/x11/Subdir.mk xawtv-3.93-new/x11/Subdir.mk
--- xawtv-3.93-old/x11/Subdir.mk	2005-01-08 00:23:16 +0300
+++ xawtv-3.93-new/x11/Subdir.mk	2005-01-08 00:30:38 +0300
@@ -127,6 +127,8 @@
 XAWTVLANGUAGES := ru ru_RU.UTF-8 ru_RU.CP1251 ru_RU.KOI8-R
 Xawtv-app  := $(patsubst %,x11/Xawtv.%.ad,$(XAWTVLANGUAGES))
 
+XAWVDRLANGUAGES := ru_RU.UTF-8 ru_RU.CP1251 ru_RU.KOI8-R
+Xawvdr-app  := $(patsubst %,x11/Xawtv-vdr.%.ad,$(XAWVDRLANGUAGES))
 
 # local targets
 x11/complete-xaw.o: x11/complete.c
@@ -145,10 +147,11 @@
 ifeq ($(FOUND_MOTIF),yes)
 all:: $(MOTV-app)
 all:: $(Xawtv-app)
+all:: $(Xawvdr-app)
 endif
 
 ifeq ($(FOUND_X11),yes)
-install:: $(patsubst %,install-xawtv-%,$(XAWTVLANGUAGES))
+install:: $(patsubst %,install-xawtv-%,$(XAWTVLANGUAGES)) $(patsubst %,install-xawvdr-%,$(XAWVDRLANGUAGES))
 	$(INSTALL_PROGRAM) -s $(TARGETS-x11) $(bindir)
 	$(INSTALL_DIR) $(resdir)/app-defaults
 	$(INSTALL_DATA) $(srcdir)/x11/Xawtv.ad $(resdir)/app-defaults/Xawtv
@@ -163,6 +166,7 @@
 	rm -f $(TARGETS-x11)
 	rm -f $(MOTV-app) x11/MoTV.ad x11/MoTV.h x11/Xawtv.h x11/mtt.h
 	rm -f $(Xawtv-app)
+	rm -f $(Xawvdr-app)
 
 # special dependences / rules
 x11/xawtv.o: x11/Xawtv.h
@@ -203,6 +207,22 @@
 	$(INSTALL_DIR) $(resdir)/$*/app-defaults
 	$(INSTALL_DATA) x11/Xawtv.$*.ad $(resdir)/$*/app-defaults/Xawtv
 
+x11/Xawtv-vdr.%.ad: x11/Xawtv-vdr-%
+	cat $< > $@
+
+x11/Xawtv-vdr.ru_RU.CP1251.ad: x11/Xawtv-vdr.ru.ad
+	cat $< > $@
+
+x11/Xawtv-vdr.ru_RU.UTF-8.ad: x11/Xawtv-vdr.ru.ad
+	iconv -f cp1251 -t utf-8 < $< > $@
+
+x11/Xawtv-vdr.ru_RU.KOI8-R.ad: x11/Xawtv-vdr.ru.ad
+	iconv -f cp1251 -t koi8-r < $< > $@
+
+install-xawvdr-%:
+	$(INSTALL_DIR) $(resdir)/$*/app-defaults
+	$(INSTALL_DATA) x11/Xawtv-vdr.$*.ad $(resdir)/$*/app-defaults/Xawtv-vdr
+
 install-motv-%:
 	$(INSTALL_DIR) $(resdir)/$*/app-defaults
 	$(INSTALL_DATA) x11/MoTV.$*.ad $(resdir)/$*/app-defaults/MoTV
diff -Nru xawtv-3.93-old/x11/Xawtv-vdr-ru xawtv-3.93-new/x11/Xawtv-vdr-ru
--- xawtv-3.93-old/x11/Xawtv-vdr-ru	1970-01-01 03:00:00 +0300
+++ xawtv-3.93-new/x11/Xawtv-vdr-ru	2005-01-08 00:28:37 +0300
@@ -0,0 +1,596 @@
+
+! ----------------------------------------------------------------------------
+! Strings
+
+Xawtv*international:		true
+Xawtv*font:			7x13bold
+Xawtv*fontSet:			\
+ -*-lucidatypewriter-bold-r-normal-*-14-*-*-*-m-*-iso8859-*, \
+          -*-courier-bold-r-normal-*-14-*-*-*-m-*-iso8859-*, \
+         -gnu-unifont-bold-r-normal--16-*-*-*-c-*-*-*, \
+       -efont-biwidth-bold-r-normal--16-*-*-*-*-*-*-*, \
+                -*-*-bold-r-normal-*-16-*-*-*-m-*-*-*, \
+                -*-*-bold-r-normal-*-16-*-*-*-c-*-*-*, \
+                        -*-*-*-*-*-*-16-*-*-*-*-*-*-*, *
+
+TopLevelShell*international:	true
+TopLevelShell*font:		7x13bold
+TopLevelShell*fontSet:		\
+ -*-lucidatypewriter-bold-r-normal-*-14-*-*-*-m-*-iso8859-*, \
+          -*-courier-bold-r-normal-*-14-*-*-*-m-*-iso8859-*, \
+         -gnu-unifont-bold-r-normal--16-*-*-*-c-*-*-*, \
+       -efont-biwidth-bold-r-normal--16-*-*-*-*-*-*-*, \
+                -*-*-bold-r-normal-*-16-*-*-*-m-*-*-*, \
+                -*-*-bold-r-normal-*-16-*-*-*-c-*-*-*, \
+                        -*-*-*-*-*-*-16-*-*-*-*-*-*-*,*
+
+*popup_help.title:	Добро пожаловать в мир цифровых развлечений!
+xawtv.tv.help: \
+\n\
+Версия для VDR (Необходима полнофункциональная DVB-плата).\n\
+\n\
+XawTV (c) 1997-2001 Герд Кнорр <kraxel@bytesex.org>\n\
+VDR (c) Клаус Шмидингер <Klaus.Schmidinger@cadsoft.de> \n\
+\n\
+Если ничто не помогает, прочтите инструкцию. У xawtv есть отличная\n\
+страница руководства. К исходному коду прилагается несколько файлов\n\
+с документацией и советами по решению возможных проблем. Если вы\n\
+установили двоичный пакет, то эти файлы должны находиться в каталоге\n\
+/usr/share/doc.\n\
+\n\
+Для начала следует знать, что:\n\
+\n\
+Xawtv может подключаться к службе VDR и показывать цифровые каналы,\n\
+получаемые со спутников, по кабелю или из эфира.\n\
+\n\
+Клавиша 'Пробел' вызывает экранное меню VDR. Стрелки позволяют пере-\n\
+мещаться по меню. 'Ввод' означает выбор, а 'Забой' - выход из подменю\n\
+и отказ от выбора. Значения параметров изменяются клавишами стрелок\n\
+влево и вправо. Принимаемые VDR каналы можно переключать стрелками\n\
+вверх и вниз. Клавиши 'F1-F3' соответствуют 'Красной', 'Зелёной',\n\
+'Жёлтой' и 'Синей' кнопкам пульта. Клавиши 'F5-F8' - пользовательским\n\
+программируемым кнопкам VDR 1-4. Клавиши 'F9-F12' можно использовать,\n\
+чтобы начать проигрывание цифровой записи, остановить или перейти впе-\n\
+рёд или назад. Клавиши цифровой клавиатуры '-' и '+' управляют гром-\n\
+костью DVB, а 'Ввод' отключает звук. Цифровые клавиши позволяют ввести\n\
+номер канала и редактировать видеозаписи (см. описание VDR).\n\
+\n\
+Обратите внимание, что назначения клавиш для VDR заменяют обычные горя-\n\
+чие клавиши xawtv. Переключать эфирные каналы можно клавишами 'Page up'\n\
+и 'Page Down', а настройка выполняется клавишами 'Home' и 'End'.\n\
+\n\
+Нажмите 'Ввод' и наслаждайтесь...\n\
+\n
+
+Options*mute.label:		Отключить звук                  A
+Options*fs.label:		На весь экран                   F
+Options*grabppm.label:		Захват кадра (ppm)              G
+Options*grabjpeg.label:		Захват кадра (jpeg)             J
+Options*recavi.label:		Запись видео (avi)              R
+Options*chanwin.label:		Окно каналов                    C
+Options*confwin.label:		Редактор каналов                E
+Options*launchwin.label:	Окно запуска                    L
+Options*zap.label:		Быстрый перебор                 Z
+Options*top.label:		Поверх других окон              T
+
+Options*cap.label:		Захват             >
+Options*norm.label:		Стандарт ТВ        >
+Options*input.label:		Источник видео     >
+Options*freq.label:		Таблица частот     >
+Options*audio.label:		Звук               >
+Options*quit.label:		Выход                           Q
+
+Options*auto.label:		автоопределение
+Options*mono.label:		моно
+Options*stereo.label:		стерео
+Options*lang1.label:		Язык 1
+Options*lang2.label:		Язык 2
+
+Options*bright.l.label:		Яркость
+Options*hue.l.label:		Тон
+Options*contrast.l.label:	Контраст
+Options*color.l.label:		Цвет
+Options*volume.l.label:		Громкость
+
+Config*lchannel.label:		Канал
+Config*lname.label:		Название
+Config*lkey.label:		Горячая клавиша
+Config*add.label:		Добавить
+Config*delete.label:		Удалить
+Config*modify.label:		Обновить
+Config*save.label:		Сохранить
+Config*close.label:		Закрыть
+
+Streamer.title:			Запись передачи
+Streamer*vlabel.label:		имя видеофайла/серии кадров
+Streamer*alabel.label:		имя звукового файла *.wav
+Streamer*streamer.label:	начать/прекратить запись
+Streamer*xanim.label:		воспроизведение (запуск pia)
+
+
+! ----------------------------------------------------------------------------
+! general settings
+Xawtv*beNiceToColormap:			false
+Xawtv*highlightThickness:		0
+
+Xawtv*foreground:			black
+Xawtv*background:			lightgray
+Xawtv*justify:				left
+
+Xawtv*menu.translations:		#override	\n\
+	<Motion>:	Autoscroll() highlight()
+
+TopLevelShell*beNiceToColormap:		false
+TopLevelShell*highlightThickness:	0
+
+TopLevelShell*foreground:		black
+TopLevelShell*background:		lightgray
+TopLevelShell*justify:			left
+
+TopLevelShell*menu.translations:	#override	\n\
+	<Motion>:	highlight()
+
+
+! ----------------------------------------------------------------------------
+! TV Window
+
+xawtv.tv.width:			384
+xawtv.tv.height:		288
+xawtv.tv.background:		green
+xawtv.winGravity:		Static
+xawtv.translations:		#override			\n\
+	<PropertyNotify>:	Remote()			\n\
+	<Message>WM_PROTOCOLS:	CloseMain()
+
+xawtv.tv.background:		black
+xawtv.tv.translations:		#override			\n\
+        <Key>Up:                Command(vdr,HITK,Up)                      \n\
+        <Key>Down:              Command(vdr,HITK,Down)                    \n\
+        <Key>space:             Command(vdr,HITK,Menu)                    \n\
+        <Key>Return:            Command(vdr,HITK,Ok)                      \n\
+        <Key>BackSpace:         Command(vdr,HITK,Back)                    \n\
+        <Key>Left:              Command(vdr,HITK,Left)                    \n\
+        <Key>Right:             Command(vdr,HITK,Right)                   \n\
+        <Key>F1:                Command(vdr,HITK,Red)                     \n\
+        <Key>F2:                Command(vdr,HITK,Green)                   \n\
+        <Key>F3:                Command(vdr,HITK,Yellow)                  \n\
+        <Key>F4:                Command(vdr,HITK,Blue)                    \n\
+	<Key>F5:                Command(vdr,HITK,User1)			  \n\
+        <Key>F6:                Command(vdr,HITK,User2)                   \n\
+        <Key>F7:                Command(vdr,HITK,User3)                   \n\
+        <Key>F8:                Command(vdr,HITK,User4)                   \n\
+	<Key>F9:                Command(vdr,HITK,Play)                    \n\
+	<Key>F10:		Command(vdr,HITK,Stop)                    \n\
+	<Key>F11:		Command(vdr,HITK,FastFwd)                 \n\
+	<Key>F12:		Command(vdr,HITK,FastRew)                 \n\
+        <Key>0:                 Command(vdr,HITK,0)                       \n\
+        <Key>1:                 Command(vdr,HITK,1)                       \n\
+        <Key>2:                 Command(vdr,HITK,2)                       \n\
+        <Key>3:                 Command(vdr,HITK,3)                       \n\
+        <Key>4:                 Command(vdr,HITK,4)                       \n\
+        <Key>5:                 Command(vdr,HITK,5)                       \n\
+        <Key>6:                 Command(vdr,HITK,6)                       \n\
+        <Key>7:                 Command(vdr,HITK,7)                       \n\
+        <Key>8:                 Command(vdr,HITK,8)                       \n\
+        <Key>9:                 Command(vdr,HITK,9)                       \n\
+        <Key>KP_0:              Command(vdr,HITK,0)                       \n\
+        <Key>KP_1:              Command(vdr,HITK,1)                       \n\
+        <Key>KP_2:              Command(vdr,HITK,2)                       \n\
+        <Key>KP_3:              Command(vdr,HITK,3)                       \n\
+        <Key>KP_4:              Command(vdr,HITK,4)                       \n\
+        <Key>KP_5:              Command(vdr,HITK,5)                       \n\
+        <Key>KP_6:              Command(vdr,HITK,6)                       \n\
+        <Key>KP_7:              Command(vdr,HITK,7)                       \n\
+        <Key>KP_8:              Command(vdr,HITK,8)                       \n\
+        <Key>KP_9:              Command(vdr,HITK,9)                       \n\
+        <Key>KP_Add:            Command(vdr,HITK,Volume+)                 \n\
+        <Key>KP_Subtract:       Command(vdr,HITK,Volume-)                 \n\
+        <Key>KP_Enter:          Command(vdr,HITK,Mute)                    \n\
+        Ctrl<Key>P:             Command(vdr,HITK,Power)                   \n\
+	Ctrl<Key>R:             Command(vdr,HITK,Record)		  \n\
+        Ctrl<Key>S:             Command(vdr,HITK,Schedule)		  \n\
+        Ctrl<Key>C:             Command(vdr,HITK,Channels)                \n\
+	Ctrl<Key>T:             Command(vdr,HITK,Timers)		  \n\
+	Ctrl<Key>V:             Command(vdr,HITK,Recordings)		  \n\
+        Ctrl<Key>X:             Command(vdr,HITK,Setup)			  \n\
+	Ctrl<Key>V:             Command(vdr,HITK,Commands)		  \n\
+        Ctrl<Key>N:             Command(vdr,HITK,None)                    \n\
+	\
+	<Key>C:			Popup(channels)			\n\
+	<Key>O:			Popup(options)			\n\
+	<Key>H:			Help()				\n\
+	<Key>E:			Popup(config)			\n\
+	<Key>T:			StayOnTop()			\n\
+	<Key>R:			Popup(streamer)			\n\
+	<Key>L:			Popup(launcher)			\n\
+!!	<Key>space:		Command(setstation,next)	\n\
+	<Btn1Up>:		Channel()			\n\
+	<Btn2Up>:		Command(setstation,next)	\n\
+	<Btn3Up>:		Popup(options)			\n\
+	<Key>Escape:		CloseMain()			\n\
+	\
+	<Key>Q:			CloseMain()			\n\
+!!	<Key>KP_Add:		Command(volume,inc)		\n\
+!!	<Key>KP_Subtract:	Command(volume,dec)		\n\
+!!	<Key>KP_Enter:          Command(volume,mute)		\n\
+	<Key>A:			Command(volume,mute)		\n\
+	<Key>F:			Command(fullscreen)		\n\
+	Ctrl<Key>Z:		Zap(fast)			\n\
+	<Key>Z:			Zap()				\n\
+	Ctrl<Key>G:		Command(snap,ppm,win)		\n\
+	Ctrl<Key>J:		Command(snap,jpeg,win)		\n\
+	<Key>G:			Command(snap,ppm,full)		\n\
+	<Key>J:			Command(snap,jpeg,full)		\n\
+!!	Ctrl<Key>Up:		Scan()				\n\
+!!	<Key>Up:		Command(setchannel,next)	\n\
+!!	<Key>Down:		Command(setchannel,prev)	\n\
+!!	<Key>Right:		Command(setchannel,fine_up)	\n\
+!!	<Key>Left:		Command(setchannel,fine_down)	\n\
+!!	Ctrl<Key>Home:		Scan()				\n\
+	<Key>Home:		Command(setchannel,next)        \n\
+	<Key>End:		Command(setchannel,prev)        \n\
+	<Key>Insert:		Command(setchannel,fine_up)     \n\
+	<Key>Delete:		Command(setchannel,fine_down)   \n\
+	\
+	<Key>question:		Command(setstation,query)	\n\
+	<Key>Page_Up:		Command(setstation,next)	\n\
+	<Key>Page_Down:		Command(setstation,prev)	\n\
+!!	<Key>BackSpace:         Command(setstation,back)        \n\
+	<Btn4Up>:		Command(setstation,next)	\n\
+	<Btn5Up>:		Command(setstation,prev)	\n\
+	<Key>V:			Command(capture,toggle)		\n\
+	<Key>D:			Command(showtime)		\n\
+	\
+	<Key>XF86AudioRaiseVolume: Command(volume,inc)		\n\
+	<Key>XF86AudioLowerVolume: Command(volume,dec)		\n\
+	<Key>XF86AudioMute:	Command(volume,mute)		\n\
+	<Key>XF86AudioNext:	Command(setstation,next)	\n\
+	<Key>XF86AudioPrev:	Command(setstation,prev)	\n\
+	<Key>XF86AudioPlay:	Command(capture,on)		\n\
+	<Key>XF86AudioStop:	Command(capture,off)		\n\
+	\
+!!	<Key>F5:		Command(bright,dec)		\n\
+!!	<Key>F6:		Command(bright,inc)		\n\
+!!	<Key>F7:		Command(hue,dec)		\n\
+!!	<Key>F8:		Command(hue,inc)		\n\
+!!	<Key>F9:		Command(contrast,dec)		\n\
+!!	<Key>F10:		Command(contrast,inc)		\n\
+!!	<Key>F11:		Command(color,dec)		\n\
+!!	<Key>F12:		Command(color,inc)		\n\
+	\
+!!	<Key>KP_0:		Command(keypad,0)		\n\
+!!	<Key>KP_1:		Command(keypad,1)		\n\
+!!	<Key>KP_2:		Command(keypad,2)		\n\
+!!	<Key>KP_3:		Command(keypad,3)		\n\
+!!	<Key>KP_4:		Command(keypad,4)		\n\
+!!	<Key>KP_5:		Command(keypad,5)		\n\
+!!	<Key>KP_6:		Command(keypad,6)		\n\
+!!	<Key>KP_7:		Command(keypad,7)		\n\
+!!	<Key>KP_8:		Command(keypad,8)		\n\
+!!	<Key>KP_9:		Command(keypad,9)
+
+! ----------------------------------------------------------------------------
+! Options window
+
+Options.paned.internalBorderWidth:	0
+Options.paned*Scrollbar.orientation:	horizontal
+Options.paned*Scrollbar.length:		150
+Options.paned*Scrollbar.width:		150
+Options.paned*Scrollbar.minimumThumb:	3
+Options.paned*Scrollbar.displayList:		\
+	fg gray50; lines +0,-1,+0,+0,-1,+0;	\
+	fg white; lines +1,-1,-1,-1,-1,+1;
+
+Options.paned.translations:	#override\n\
+	<Key>Escape:		Popup(options)			\n\
+	\
+	<Key>Q:			CloseMain()			\n\
+	<Key>KP_Add:		Command(volume,inc)		\n\
+	<Key>KP_Subtract:	Command(volume,dec)		\n\
+	<Key>KP_Enter:		Command(volume,mute)		\n\
+	<Key>A:			Command(volume,mute)		\n\
+	<Key>F:			Command(fullscreen)		\n\
+	Ctrl<Key>Z:		Zap(fast)			\n\
+	<Key>Z:			Zap()				\n\
+	Ctrl<Key>G:		Command(snap,ppm,win)		\n\
+	Ctrl<Key>J:		Command(snap,jpeg,win)		\n\
+	<Key>G:			Command(snap,ppm,full)		\n\
+	<Key>J:			Command(snap,jpeg,full)		\n\
+	Ctrl<Key>Up:		Scan()				\n\
+	<Key>Up:		Command(setchannel,next)	\n\
+	<Key>Down:		Command(setchannel,prev)	\n\
+	<Key>Right:		Command(setchannel,fine_up)	\n\
+	<Key>Left:		Command(setchannel,fine_down)	\n\
+	<Key>Page_Up:		Command(setstation,next)	\n\
+	<Key>Page_Down:		Command(setstation,prev)	\n\
+	<Key>BackSpace:		Command(setstation,back)	\n\
+	<Btn4Up>:		Command(setstation,next)	\n\
+	<Btn5Up>:		Command(setstation,prev)	\n\
+	<Key>V:			Command(capture,toggle)		\n\
+	\
+	<Key>XF86AudioRaiseVolume: Command(volume,inc)		\n\
+	<Key>XF86AudioLowerVolume: Command(volume,dec)		\n\
+	<Key>XF86AudioMute:	Command(volume,mute)		\n\
+	<Key>XF86AudioNext:	Command(setstation,next)	\n\
+	<Key>XF86AudioPrev:	Command(setstation,prev)	\n\
+	<Key>XF86AudioPlay:	Command(capture,on)		\n\
+	<Key>XF86AudioStop:	Command(capture,off)
+
+Options*Command.testcolor:	red
+Options*Command.translations:	#override			\n\
+	<EnterWindow>:	set-values(true,displayList,		\
+		"fg white; lines +0,-1,+0,+0,-1,+0; 		\
+		 fg gray50; lines +1,-1,-1,-1,-1,+1; ")		\n\
+	<LeaveWindow>:	set-values(true,displayList,"")
+
+! ----------------------------------------------------------------------------
+! Streamer frontend window
+
+Streamer*Label.width:		360
+Streamer*Label.resize:		false
+Streamer*Label.borderWidth:	0
+Streamer*Text.width:		360
+Streamer*Text*background:	white
+Streamer*Text*Scrollbar.background: lightgray
+Streamer*Text*autoFill:		false
+Streamer*Text*editType:		edit
+!Streamer*Text*type:		string
+Streamer*Text*useStringInPlace:	false
+Streamer*status.foreground:	darkred
+
+Streamer*driver.vertDistance:	10
+Streamer*vlabel.vertDistance:	15
+Streamer*vname.vertDistance:	0
+Streamer*alabel.vertDistance:	15
+Streamer*aname.vertDistance:	0
+Streamer*audio.vertDistance:	5
+Streamer*rate.vertDistance:	0
+Streamer*video.vertDistance:	5
+Streamer*fps.vertDistance:	0
+Streamer*size.vertDistance:	0
+Streamer*status.vertDistance:	5
+Streamer*streamer.vertDistance:	5
+Streamer*xanim.vertDistance:	5
+
+Streamer*vname.translations:	#override			\n\
+	<Key>Tab:		Complete()			\n\
+	<EnterWindow>:		set-values(1,background,lightyellow) \n\
+	<LeaveWindow>:		set-values(1,background,white)
+Streamer*aname.translations:	#override			\n\
+	<Key>Tab:		Complete()			\n\
+	<EnterWindow>:		set-values(1,background,lightyellow) \n\
+	<LeaveWindow>:		set-values(1,background,white)
+
+Streamer*Command.width:		360
+Streamer*Command.resize:	false
+Streamer*Command.justify:	left
+Streamer*Command.borderWidth:	0
+Streamer*Command.translations:	#override			\n\
+	<EnterWindow>:	set-values(true,displayList,		\
+		"fg white; lines +0,-1,+0,+0,-1,+0; 		\
+		 fg gray50; lines +1,-1,-1,-1,-1,+1; ")		\n\
+	<LeaveWindow>:	set-values(true,displayList,"")
+
+Streamer*streamer.borderWidth:	0
+Streamer*streamer.justify:	center
+Streamer*streamer.translations:	#override			\n\
+	<EnterWindow>:		set-values(1,background,white)	\n\
+	<LeaveWindow>:		set-values(1,background,lightgray)
+Streamer*streamer.displayList:			\
+	fg white; lines +0,-1,+0,+0,-1,+0;	\
+	fg gray50; lines +1,-1,-1,-1,-1,+1;
+
+Streamer*xanim.borderWidth:	0
+Streamer*xanim.justify:		center
+Streamer*xanim.translations:	#override			\n\
+	<EnterWindow>:		set-values(1,background,white)	\n\
+	<LeaveWindow>:		set-values(1,background,lightgray)
+Streamer*xanim.displayList:			\
+	fg white; lines +0,-1,+0,+0,-1,+0;	\
+	fg gray50; lines +1,-1,-1,-1,-1,+1;
+
+Streamer.form.translations:	#override\n\
+	<Key>Escape:		Popup(streamer)
+
+! ----------------------------------------------------------------------------
+! Channel window
+
+Channels.viewport.useRight:				true
+Channels.viewport.channelbox.hSpace:			0
+Channels.viewport.channelbox.vSpace:			0
+Channels.viewport.channelbox.background:		black
+Channels.viewport.channelbox.Command.justify:		center
+Channels.viewport.channelbox.Command.foreground:	yellow
+Channels.viewport.channelbox.Command.background:	black
+
+Channels.viewport.translations:	#override\n\
+	<Key>Escape:		Popup(channels)			\n\
+								\
+	<Key>Q:			CloseMain()			\n\
+	<Key>KP_Add:		Command(volume,inc)		\n\
+	<Key>KP_Subtract:	Command(volume,dec)		\n\
+	<Key>KP_Enter:		Command(volume,mute)		\n\
+	<Key>A:			Command(volume,mute)		\n\
+	<Key>F:			Command(fullscreen)		\n\
+	Ctrl<Key>Z:		Zap(fast)			\n\
+	<Key>Z:			Zap()				\n\
+	Ctrl<Key>G:		Command(snap,ppm,win)		\n\
+	Ctrl<Key>J:		Command(snap,jpeg,win)		\n\
+	<Key>G:			Command(snap,ppm,full)		\n\
+	<Key>J:			Command(snap,jpeg,full)		\n\
+	Ctrl<Key>Up:		Scan()				\n\
+	<Key>Up:		Command(setchannel,next)	\n\
+	<Key>Down:		Command(setchannel,prev)	\n\
+	<Key>Right:		Command(setchannel,fine_up)	\n\
+	<Key>Left:		Command(setchannel,fine_down)	\n\
+	<Key>Page_Up:		Command(setstation,next)	\n\
+	<Key>Page_Down:		Command(setstation,prev)	\n\
+	<Key>BackSpace:		Command(setstation,back)	\n\
+	<Btn4Up>:		Command(setstation,next)	\n\
+	<Btn5Up>:		Command(setstation,prev)	\n\
+	<Key>V:			Command(capture,toggle)		\n\
+	\
+	<Key>XF86AudioRaiseVolume: Command(volume,inc)		\n\
+	<Key>XF86AudioLowerVolume: Command(volume,dec)		\n\
+	<Key>XF86AudioMute:	Command(volume,mute)		\n\
+	<Key>XF86AudioNext:	Command(setstation,next)	\n\
+	<Key>XF86AudioPrev:	Command(setstation,prev)	\n\
+	<Key>XF86AudioPlay:	Command(capture,on)		\n\
+	<Key>XF86AudioStop:	Command(capture,off)
+
+! ----------------------------------------------------------------------------
+! onscreen + vtx window
+
+xawtv.onscreen.allowShellResize:	true
+xawtv.onscreen.label.resize:		true
+
+xawtv.onscreen*background:		black
+xawtv.onscreen*borderColor:		black
+xawtv.onscreen*foreground:		lightgreen
+xawtv.onscreen.label.justify:		left
+xawtv.onscreen.label.font:		-*-ledfixed-medium-r-*--39-*-*-*-c-*-*-*
+xawtv.onscreen.label.fontSet:		\
+     -*-ledfixed-medium-r-semicondensed--39-*-*-*-c-*-*-*, \
+ -*-bitstream vera sans-medium-r-normal--39-*-*-*-*-*-*-*, \
+           -*-luxi sans-medium-r-normal--39-*-*-*-*-*-*-*, \
+                          -*-*-r-normal--39-*-*-*-*-*-*-*, \
+                               -*-*-*-*--39-*-*-*-*-*-*-*,*
+
+xawtv.vtx.allowShellResize:		true
+xawtv.vtx.label.resize:			true
+
+xawtv.vtx*background:			black
+xawtv.vtx*borderColor:			black
+xawtv.vtx*foreground:			lightgreen
+xawtv.vtx.label.justify:		center
+
+
+! ----------------------------------------------------------------------------
+! Config window
+
+Config.translations:		#override			\n\
+	<Message>WM_PROTOCOLS:	Popup(config)
+
+Config*Label.width:		120
+Config*Label.resize:		false
+Config*Label.borderWidth:	0
+Config*Command.width:		120
+Config*Command.justify:		center
+Config*Text*width:		120
+!Config*Text*resize:		false
+Config*Text*autoFill:		false
+Config*Text*editType:		edit
+!Config*Text*type:		string
+Config*Text*useStringInPlace:	false
+Config*Text*background:		white
+
+Config*channel.borderWidth:	1
+Config*channel.background:	white
+Config*lname.vertDistance:	15
+Config*lkey.vertDistance:	15
+Config*key.borderWidth:		1
+Config*key.background:		white
+Config*add.vertDistance:	15
+
+Config*viewport.width:		120
+Config*viewport.height:		300
+Config*viewport.allowVert:	true
+Config*viewport.allowHoriz:	false
+Config*viewport.resize:		false
+
+Config*list.defaultColumns:	1
+Config*list.forceColumns:	true
+Config*list.background:		white
+
+Config.form.translations:	#override			\n\
+	<Key>Escape:		Popup(config)
+
+Config*modify.accelerators:	#override			\n\
+	<Key>Return:		set()notify()unset()		\n\
+
+Config*Command.borderWidth:	0
+Config*Command.translations:	#override			\n\
+	<EnterWindow>:		set-values(1,background,white)	\n\
+	<LeaveWindow>:		set-values(1,background,lightgray)
+Config*Command.displayList:			\
+	fg white; lines +0,-1,+0,+0,-1,+0;	\
+	fg gray50; lines +1,-1,-1,-1,-1,+1;
+
+Config*channel.translations:	#override			\n\
+	Ctrl<Key>Up:		Scan()				\n\
+	<Key>Up:		Command(setchannel,next)	\n\
+	<Key>Down:		Command(setchannel,prev)	\n\
+	<Key>Right:		Command(setchannel,fine_up)	\n\
+	<Key>Left:		Command(setchannel,fine_down)	\n\
+	<EnterWindow>:		set-values(1,background,lightyellow) \n\
+	<LeaveWindow>:		set-values(1,background,white)
+Config*name.translations:	#override			\n\
+	<EnterWindow>:		set-values(1,background,lightyellow) \n\
+	<LeaveWindow>:		set-values(1,background,white)
+Config*key.translations:	#override			\n\
+	<EnterWindow>:		set-values(1,background,lightyellow) \n\
+	<LeaveWindow>:		set-values(1,background,white)
+Config*list.translations:	#override			\n\
+	<EnterWindow>:		set-values(1,background,lightyellow) \n\
+	<LeaveWindow>:		set-values(1,background,white)	\n\
+	<Key>Up:		Command(setstation,prev)	\n\
+	<Key>Down:		Command(setstation,next)
+
+
+!--------------------------------------------------------------------------
+! Launcher
+
+Launcher.paned.internalBorderWidth: 0
+Launcher.paned.translations:	#override			\n\
+	<Key>Escape:		Popup(launcher)
+
+Launcher*Command.translations:	#override			\n\
+	<EnterWindow>:	set-values(true,displayList,		\
+		"fg white; lines +0,-1,+0,+0,-1,+0; 		\
+		 fg gray50; lines +1,-1,-1,-1,-1,+1; ")		\n\
+	<LeaveWindow>:	set-values(true,displayList,"")
+
+
+!--------------------------------------------------------------------------
+! help window
+
+Xawtv*popup_help.help.ok.justify:	center
+
+*popup_help.help.ok.borderWidth:	0
+*popup_help.help.ok.width:		100
+*popup_help.help.ok.label:		OK
+*popup_help.help.ok.accelerators:	#override		\n\
+	<Key>Q:			set()notify()unset()		\n\
+	<Key>Return:		set()notify()unset()		\n\
+	<Key>Escape:		set()notify()unset()
+*popup_help.help.ok.translations:	#override		\n\
+	<EnterWindow>:		set-values(1,background,white)	\n\
+	<LeaveWindow>:		set-values(1,background,lightgray)
+*popup_help.help.ok.displayList:		\
+	fg white; lines +0,-1,+0,+0,-1,+0;	\
+	fg gray50; lines +1,-1,-1,-1,-1,+1;
+
+
+! ----------------------------------------------------------------------------
+! File dialog
+
+Xawtv*Dialog.value.background:	white
+Xawtv*Dialog.Command.justify:	center
+Xawtv*Dialog.Command.width:	100
+Xawtv*Dialog.label.justify:	left
+
+*Dialog.ok.label:		OK
+*Dialog.cancel.label:		Отмена
+
+!*Dialog.label.width:		300
+*Dialog.value.width:		300
+*Dialog*resizable:		True
+*Dialog.Command.translations:	#override			\n\
+	<EnterWindow>:		set-values(1,background,white)	\n\
+	<LeaveWindow>:		set-values(1,background,lightgray)
+*Dialog.ok.accelerators:	#override \n\
+	<Key>Return: set()notify()unset()
+*Dialog.cancel.accelerators:	#override \n\
+	<Key>Escape: set()notify()unset()
+*Dialog.value.translations:	#override \n\
+	<Key>Tab: Complete()
 
design & coding: Vladimir Lettiev aka crux © 2004-2005