From: Oleg Broytman Date: Sun, 27 Feb 2022 01:43:41 +0000 (+0300) Subject: .fvwmrc: Improve terminal/ssh menus X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=6b92ad8fd64ffe05fb4bb82ca69819dcbc4cabf5;p=dotfiles.git .fvwmrc: Improve terminal/ssh menus Use `-xrm "*Page:"` to start terminals at the designated virtual screens. --- diff --git a/.fvwm/main.m4 b/.fvwm/main.m4 index 107b1ad..8cb59d2 100644 --- a/.fvwm/main.m4 +++ b/.fvwm/main.m4 @@ -747,6 +747,8 @@ AddToMenu TermColors "Term Colors" Title AddToMenu Systems "Systems" Title + "Iskra+Oper+Phdru" Term3Hosts + "" Nop +pushdef(`TERM_KOI8', `Exec LC_CTYPE=ru_RU.KOI8-R exec TERM -xrm "*Page: 1 1 1"')dnl +pushdef(`TERM_RU_UTF8', `Exec LC_CTYPE=ru_RU.UTF-8 exec TERM -name URxvt -xrm "*Page: 1 1 1"')dnl + MENU_TERM_KOI8_SSH_SCREEN(iskra-aviel.phdru.name, iskra) + MENU_TERM_UTF8_BOTLT_SSH(iskra-aviel.phdru.name, iskra) + MENU_TERM_KOI8_BIG_SSH(iskra-aviel.phdru.name, ISKRA) @@ -754,11 +756,15 @@ AddToMenu Systems "Systems" Title + MENU_TERM_KOI8_BOTRT_SSH_SCREEN(oper.med.ru, oper) + MENU_TERM_UTF8_BOTRT_SSH(oper.med.ru, oper) + MENU_TERM_KOI8_BIG_SSH(oper.med.ru, OPER) +popdef(`TERM_KOI8', `TERM_RU_UTF8')dnl + "" Nop +pushdef(`TERM_KOI8', `Exec LC_CTYPE=ru_RU.KOI8-R exec TERM -xrm "*Page: 1 0 1"')dnl +pushdef(`TERM_RU_UTF8', `Exec LC_CTYPE=ru_RU.UTF-8 exec TERM -name URxvt -xrm "*Page: 1 0 1"')dnl + MENU_TERM_KOI8_SSH_SCREEN(phdru.name, phdru) + MENU_TERM_KOI8_SSH_SCREEN(-D 1080 phdru.name, phdru SOCKS5) + MENU_TERM_UTF8_BOTLT_SSH(phdru.name, phdru) + MENU_TERM_KOI8_BIG_SSH(phdru.name, PHDRU) +popdef(`TERM_KOI8', `TERM_RU_UTF8')dnl AddToMenu FvwmCommands "Fvwm Commands" Title + "Restart" Restart