]> git.phdru.name Git - dotfiles.git/commitdiff
.fvwmrc: remove ssh connection sharing terminals
authorOleg Broytman <phd@phdru.name>
Wed, 14 Sep 2016 21:08:59 +0000 (00:08 +0300)
committerOleg Broytman <phd@phdru.name>
Wed, 14 Sep 2016 21:08:59 +0000 (00:08 +0300)
I have learned

ControlPersist 600

ssh settings.

.fvwm/main.m4

index b93b61542eb347d07d3bd654a43e9d4ff9748667..dc42cc3776cbdfe2a5218beb1c46d90c2bd8d50b 100644 (file)
@@ -140,27 +140,6 @@ TERM_KOI8 -geometry TERM_GEOM_BIG -title "$2" -n "$2" -e ssh -4 "$1")
 define(`REMOTE_HOST_KOI8_BIG_MENU',
 "$2 (koi8)" REMOTE_HOST_KOI8_BIG($1, $2))
 
-define(`SSH_CONNECTION_SHARING_TERM',
-$1 -title "git@$3" -n "git@$3" -e ssh -N4 "$2")
-
-define(`SSH_CONNECTION_SHARING_UTF8',
-SSH_CONNECTION_SHARING_TERM(TERM_UTF8, $1, $2))
-
-define(`SSH_CONNECTION_SHARING_UTF8_BOTLT',
-SSH_CONNECTION_SHARING_TERM(TERM_UTF8_BOTLT, $1, $2))
-
-define(`SSH_CONNECTION_SHARING_UTF8_BOTRT',
-SSH_CONNECTION_SHARING_TERM(TERM_UTF8_BOTRT, $1, $2))
-
-define(`SSH_CONNECTION_SHARING_UTF8_MENU',
-"git@$2 (utf8)" SSH_CONNECTION_SHARING_UTF8($1, $2))
-
-define(`SSH_CONNECTION_SHARING_UTF8_BOTLT_MENU',
-"git@$2 (utf8,btlt)" SSH_CONNECTION_SHARING_UTF8_BOTLT($1, $2))
-
-define(`SSH_CONNECTION_SHARING_UTF8_BOTRT_MENU',
-"git@$2 (utf8,btrt)" SSH_CONNECTION_SHARING_UTF8_BOTRT($1, $2))
-
 divert
 
 ##########################################################################
@@ -727,14 +706,7 @@ AddToMenu TermColors    "Term Colors" Title
 +                       "Term: white/deeppink" TERM_KOI8 -fg white -cr white -bg deeppink
 +                       "Term: white/black" TERM_KOI8 -fg white -cr white -bg black
 
-AddToMenu SSH-connection-sharing "SSH connection sharing" Title
-+                       SSH_CONNECTION_SHARING_UTF8_MENU(phd@git.code.sf.net, SF)
-+                       SSH_CONNECTION_SHARING_UTF8_BOTLT_MENU(git@gitlab.com, gitlab)
-+                       SSH_CONNECTION_SHARING_UTF8_BOTRT_MENU(git@github.com, github)
-
 AddToMenu Systems       "Systems" Title
-+                       "SSH connection sharing" Popup SSH-connection-sharing
-+                       ""        Nop
 +                       REMOTE_HOST_KOI8_MENU(phdru.name, phdru)
 +                       REMOTE_HOST_UTF8_MENU(phdru.name, phdru)
 +                       REMOTE_HOST_KOI8_BIG_MENU(phdru.name, PHDRU)