From: Oleg Broytman Date: Wed, 14 Sep 2016 21:08:59 +0000 (+0300) Subject: .fvwmrc: remove ssh connection sharing terminals X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=91221fc097f8d11e2afd43f1a5f175034a327899;p=dotfiles.git .fvwmrc: remove ssh connection sharing terminals I have learned ControlPersist 600 ssh settings. --- diff --git a/.fvwm/main.m4 b/.fvwm/main.m4 index b93b615..dc42cc3 100644 --- a/.fvwm/main.m4 +++ b/.fvwm/main.m4 @@ -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)