mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 01:26:58 +00:00
rename
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10657 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
28
support-d/.bashrc
Normal file
28
support-d/.bashrc
Normal file
@@ -0,0 +1,28 @@
|
||||
#
|
||||
# /etc/profile: system-wide defaults for bash(1) login shells
|
||||
#
|
||||
|
||||
if [ "`id -u`" = "0" ]; then
|
||||
export PATH="/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/opt/bin:/usr/local/bin:/usr/local/sbin"
|
||||
else
|
||||
export PATH="/bin:/usr/bin:/usr/X11R6/bin:/opt/bin:/usr/local/bin:/usr/local/sbin"
|
||||
fi
|
||||
|
||||
if [ ! -f ~/.inputrc ]; then
|
||||
export INPUTRC="/etc/inputrc"
|
||||
fi
|
||||
|
||||
export LESSCHARSET="latin1"
|
||||
export LESS="-R"
|
||||
export CHARSET="ISO-8859-1"
|
||||
export PS1='\n\[\033[01;31m\]\u@\h\[\033[01;36m\] [\d \@] \[\033[01;33m\] \w\n\[\033[00m\]<\#>:'
|
||||
export PS2="\[\033[1m\]> \[\033[0m\]"
|
||||
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig
|
||||
alias icvs='cvs -d :ext:anthm@cvs.sourceforge.net:/cvsroot/iaxclient'
|
||||
export CVS_RSH=ssh
|
||||
export VISUAL=emacs
|
||||
|
||||
|
||||
umask 022
|
||||
|
||||
# End of file
|
192
support-d/.emacs
Normal file
192
support-d/.emacs
Normal file
@@ -0,0 +1,192 @@
|
||||
|
||||
;(autoload 'perl-mode "cperl-mode" "alternate mode for editing Perl programs" t)
|
||||
|
||||
;;; You can either fine-tune the bells and whistles of this mode or
|
||||
;;; bulk enable them by putting
|
||||
|
||||
;(setq cperl-hairy t)
|
||||
(global-unset-key "\C-h")
|
||||
(global-set-key "\C-h" 'delete-backward-char)
|
||||
(load "/usr/share/emacs/site-lisp/rng-auto.el")
|
||||
|
||||
(require 'cc-mode)
|
||||
(defun my-build-tab-stop-list (width)
|
||||
(let ((num-tab-stops (/ 80 width))
|
||||
(counter 1)
|
||||
(ls nil))
|
||||
(while (<= counter num-tab-stops)
|
||||
(setq ls (cons (* width counter) ls))
|
||||
(setq counter (1+ counter)))
|
||||
(set (make-local-variable 'tab-stop-list) (nreverse ls))))
|
||||
(defun my-c-mode-common-hook ()
|
||||
(setq tab-width 4) ;; change this to taste, this is what K&R uses :)
|
||||
(my-build-tab-stop-list tab-width)
|
||||
(setq c-basic-offset tab-width)
|
||||
(setq indent-tabs-mode t)) ;; force only spaces for indentation
|
||||
(add-hook 'c-mode-common-hook 'my-c-mode-common-hook)
|
||||
|
||||
|
||||
|
||||
;; replace C-s with C-\ in a much more general way so that C-\ can be typed
|
||||
;; for every instance of C-s. It is at such a low level that emacs even thinks
|
||||
;; that you typed a C-s. replace C-s with C-\ , globally
|
||||
;; this disables any command which uses C-\ I believe there are two
|
||||
;; Note That position \034(octal) which is C-\ is switched with \023(octal)
|
||||
;; which is C-s
|
||||
|
||||
(setq keyboard-translate-table "\000\001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\023\035\036\037 !\042#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\134]^_`abcdefghijklmnopqrstuvwxyz{|}~\177")
|
||||
|
||||
|
||||
;; change ctrl-q so it can be used as flow control
|
||||
;; remap C-q tp ESC `
|
||||
|
||||
;; (global-unset-key "\C-q")
|
||||
;; (global-set-key "\e`" 'quoted-insert)
|
||||
|
||||
|
||||
;; don't make backup files
|
||||
;; (setq make-backup-files nil)
|
||||
(setq require-final-newline t)
|
||||
|
||||
|
||||
;; change input mod to CBREAK mode for C-s C-q
|
||||
;; emacs will never see C-s, C-q
|
||||
;; (set-input-mode nil t)
|
||||
|
||||
;; change help command from C-h to ESC ?
|
||||
;; so we can use C-h for backspace
|
||||
(global-unset-key "\C-h")
|
||||
(global-set-key "\C-h" 'delete-backward-char)
|
||||
|
||||
(global-set-key "\e?" 'help-command)
|
||||
(global-set-key "\C-x\C-x" 'mail-send)
|
||||
;; set backspace to delete a char same as DEL
|
||||
|
||||
;; (global-unset-key "\d")
|
||||
;; (global-set-key "\d" 'delete-char)
|
||||
(global-set-key "\C-cg" 'goto-line)
|
||||
;; set up the ispell spelling checker interface
|
||||
(global-unset-key "\C-o")
|
||||
(global-set-key "\C-o" 'undo)
|
||||
(global-set-key "\M-\]" 'copy-region-as-kill)
|
||||
(global-set-key "\C-\\" 'mark-word)
|
||||
(global-unset-key "\C-f" )
|
||||
(global-set-key "\C-f" 'forward-word)
|
||||
(global-unset-key "\C-b" )
|
||||
(global-set-key "\C-b" 'backward-word)
|
||||
(global-unset-key "\M-f" )
|
||||
(global-set-key "\M-f" 'find-file)
|
||||
(global-set-key "\M-o" 'find-file-other-window)
|
||||
(global-set-key "\M-\\" 'mark-word)
|
||||
(global-set-key "\M-[" 'mark-whole-buffer)
|
||||
(global-unset-key "\M-]")
|
||||
(global-set-key "\M-]" 'indent-region)
|
||||
(global-set-key "\C-x\C-m" 'save-buffer)
|
||||
(global-set-key "\C-c\C-m" 'delete-other-windows)
|
||||
(global-set-key "\C-c\'" 'split-window-vertically)
|
||||
(global-set-key "\C-c\;" 'split-window-horizontally)
|
||||
(global-set-key "\C-x\z" 'yank)
|
||||
|
||||
|
||||
|
||||
(autoload 'ispell-word "ispell"
|
||||
"Check the spelling of word in buffer." t)
|
||||
(autoload 'ispell-complete-word "ispell" "Complete word at or before point" t)
|
||||
(autoload 'ispell-region "ispell"
|
||||
"Check spelling of every word in the region" t)
|
||||
(autoload 'ispell-buffer "ispell"
|
||||
"Check spelling of every word in the buffer" t)
|
||||
|
||||
(global-set-key "\e$" 'ispell-word)
|
||||
(global-unset-key "\C-t")
|
||||
(global-set-key "\C-t" 'forward-word)
|
||||
;; (global-unset-key "\C-&")
|
||||
;; (global-set-key "\C-&" 'backward-word)
|
||||
(global-set-key "\C-cs" 'ispell-region)
|
||||
|
||||
(global-set-key "\C-c," 'backward-paragraph)
|
||||
(global-set-key "\C-c." 'forward-paragraph)
|
||||
(global-set-key "\C-c\C-c" 'compile)
|
||||
(global-set-key "\C-c\/" 'compile)
|
||||
(global-set-key "\C-c\]" 'replace-string)
|
||||
(global-set-key "\C-ce" 'exchange-dot-and-mark)
|
||||
(global-set-key "\C-cs" 'shrink-window)
|
||||
|
||||
;; THE FOLLOWING ARE CUSTOMIZATIONS YOU CAN ADD IF YOU WANT THEM
|
||||
;; YOU WILL HAVE TO EDIT THIS FILE TO DO SO
|
||||
|
||||
;; AUTO FILL
|
||||
;; If you want emacs to automatically wrap when you reach the
|
||||
;; end of a line (i.e. you don't have to type in the RETURN at the
|
||||
;; end of each line, you just keep typing) remove the semicolons
|
||||
;; from the two line after this paragraph (the ones with setq).
|
||||
;; Set the default major mode to text mode and turn on auto fill
|
||||
|
||||
|
||||
;;(setq default-major-mode 'text-mode)
|
||||
(setq text-mode-hook 'turn-on-auto-fill)
|
||||
;; (setq load-path ("/usr/local/lib/emacs/lisp/" "/usr/local/test/lib/emacs/site-lisp" "/home/anthm/.lisp"))
|
||||
(setq term-file-prefix (concat (car load-path) "/term/"))
|
||||
(setq term-setup-hook '(lambda nil
|
||||
(if (fboundp 'enable-arrow-keys) (enable-arrow-keys))))
|
||||
|
||||
; (autoload 'html-mode "/home/anthm/.lisp/html-mode" "HTML major mode." t)
|
||||
;(or (assoc "\\.html$" auto-mode-alist)
|
||||
; (setq auto-mode-alist (cons '("\\.html$" . html-mode)
|
||||
; auto-mode-alist)))
|
||||
|
||||
|
||||
|
||||
(setq auto-mode-alist (cons '("\\.html$" . html-helper-mode) auto-mode-alist))
|
||||
(setq auto-mode-alist (cons '("\\.cgi$" . cperl-mode) auto-mode-alist))
|
||||
(setq auto-mode-alist (cons '("\\.p[ml]$" . cperl-mode) auto-mode-alist))
|
||||
|
||||
(setq auto-mode-alist (cons '("\\.xml$" . nxml-mode) auto-mode-alist))
|
||||
|
||||
(setq html-helper-do-write-file-hooks t)
|
||||
(setq html-helper-build-new-buffer t)
|
||||
|
||||
|
||||
(add-hook 'cperl-mode-hook 'n-cperl-mode-hook t)
|
||||
(defun n-cperl-mode-hook ()
|
||||
; (setq cperl-indent-level 4)
|
||||
; (setq cperl-continued-statement-offset 0)
|
||||
; (setq cperl-extra-newline-before-brace t)
|
||||
(set-face-background 'cperl-array-face "black")
|
||||
(set-face-background 'cperl-hash-face "black")
|
||||
)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
(cond ((fboundp 'global-font-lock-mode)
|
||||
;; Customize face attributes
|
||||
(setq font-lock-face-attributes
|
||||
;; Symbol-for-Face Foreground Background Bold Italic Underline
|
||||
'((font-lock-comment-face "DarkGreen")
|
||||
(font-lock-preprocessor-face "gray")
|
||||
(font-lock-string-face "Sienna")
|
||||
(font-lock-keyword-face "purple")
|
||||
(font-lock-function-name-face "limegreen")
|
||||
(font-lock-variable-name-face "Yellow")
|
||||
(font-lock-type-face "Yellow")
|
||||
))
|
||||
;; Load the font-lock package.
|
||||
(require 'font-lock)
|
||||
;; Maximum colors
|
||||
(setq font-lock-maximum-decoration t)
|
||||
;; Turn on font-lock in all modes that support it
|
||||
(global-font-lock-mode t)))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
(set-background-color "black")
|
||||
(set-foreground-color "white")
|
||||
(set-cursor-color "white")
|
||||
|
2
support-d/.screenrc
Normal file
2
support-d/.screenrc
Normal file
@@ -0,0 +1,2 @@
|
||||
escape ^\b
|
||||
defscrollback 500000
|
1
support-d/freeswitch.pub
Normal file
1
support-d/freeswitch.pub
Normal file
@@ -0,0 +1 @@
|
||||
ssh-dss AAAAB3NzaC1kc3MAAAEBALai7vFlKP9jcy8tb/UTvCvVUN5rCiPTux8vjaWY3uZAbGvfeKtbRLeSI1LGkujh/WRJTZdgRYyHaB0SqnR0Ifesw+bD0n4vhH64inESSVaCmgKaAblBiDloVxZNIa6KMzmCXoXLogSHD6FD/r1/LBvRV3Fsk7YwATltMzwug2tZxeKQBaRbsSYtwKR/7KdIlN9R3ieXaesEjvYgxcp/6UN8VOqqgxi6uHnBSYFhpOOXqFAm1Q92eC3NBtxD6KBjWzJmI4WgLTrVLXfUkVmWqkLtKLovpj4oMtM1pGk8rmb1N+vkB57utqpPqrQdgqMUMvPCufb7shHfwoA755yw/1MAAAAVAOCIbu71sK9dCY6sBPZEvDzIpvkjAAABAQCcGCIjWd+0U5LwYIRZjpicsWgetIvd0vTJ6/6mZwfEpB64IV3yqMOlzA/oOTjCHErs2insz0l6FqAVSp2BbQMD13ZULTuhb8G0Rlh2kwXJvFx+JVsJ+j1SMOJPaLp6ZN1xTQXJ3j+fmvLAzd3cPE/XHWOuvvCCmKV2sIA+nti6gR8WcqTyWrbWuooVBMRwTkajS7qZfwVZxtIvVvAh3FF9DtDfrECLMJ0dOg5W0aTtwqRIsL2f1QMI0pXQqrr+v6rQ+ml7L6fvcJQ1zXqk+zCqKBexG98q3p3MQfNEwusQuQ7WtK31crCPryTMjCo0rHbvo3akJEEraeSQLl1PBNP5AAABAA29RnQ6Yt/DaTq8F057IzI6dX2JSbUaAr26qXV05F6Tsm18PsBaTSaur/FSlGf5DovXwMGvWCg1aZpdOd6fAsrcFXomNH/lHaEqr55qn5zKEsImUD7+gmZl32syLPZLa+qTwARqAqk6WAK3j+6Q/QxsAJpLjmKwvvUMWFLbDWjYEWdUSvaBWACBop0qd6Xy1VVu28EYZeZAAiGKg93P1K3a0Ji0gUS+C+zZ/JwMtRQZXQXgiAOooawechf/SDuSnszrANQlk/2T+uQrN87HJrvLlx+p9TIGfu9NrcAPDsdAbKPZOwEaz+WniccMqGNha0wcSYXLSa1EHCyB3Y80FDM= FreeSWITCH Public SSH Key
|
18
support-d/install-cc-mode.sh
Normal file
18
support-d/install-cc-mode.sh
Normal file
@@ -0,0 +1,18 @@
|
||||
version=5.31.3
|
||||
wget http://easynews.dl.sourceforge.net/sourceforge/cc-mode/cc-mode-${version}.tar.gz
|
||||
tar -zxvf cc-mode-${version}.tar.gz
|
||||
cd cc-mode-${version}
|
||||
emacs -batch -no-site-file -q -f batch-byte-compile cc-*.el
|
||||
|
||||
if [ -d /usr/share/emacs ] ; then
|
||||
target=/usr/share/emacs/site-lisp
|
||||
else
|
||||
target=/usr/local/share/emacs/site-lisp
|
||||
fi
|
||||
|
||||
cp *.elc $target
|
||||
wget http://www.freeswitch.org/eg/nxml-mode-20041004.tar.gz
|
||||
tar -zxvf nxml-mode-20041004.tar.gz
|
||||
cd nxml-mode-20041004
|
||||
cp *.el* $target
|
||||
|
1
support-d/shinzon.pub
Normal file
1
support-d/shinzon.pub
Normal file
@@ -0,0 +1 @@
|
||||
ssh-dss AAAAB3NzaC1kc3MAAACBAN5bSW/qC1n6pq2GXZ5JS6b6M6batv8rE/E8JcYlB3z/Ut2bfriQrgGT+RfO+nxJjbSgLohZp6fxppRnLC0fCheBZHq0XZqbpaDqKfppxYjUTqOk5NwfjsjhTvcRH7kCsKrPUDaWFuermLeM5LxM9xfc17WiHuAxjLuP8ztAaCsFAAAAFQC93iyYvzsNdBNOTnznO9mWN1XUAwAAAIEAqwqcScVI8VJOrTlTVi2tG8XAPc0mjhWrZ4Y7laRcPjeLuRpbeOQvGqsPtq4K1EAM6cleZkE5S6mCTf5rnTmev/VX11rk/GMJma7GdcKXW08Cz+dPhyNy7pmFi5uYKo9jG2smk6LVksCcpNeeCHKESePSQ0NE3drJoki+/8E7g3IAAACABW2tP88srlxpHjcmqd2HSjpFWcpzm49DWFdIqlWek3oBZsW5ImoCH2SfdZ7LEWXIvJRutOWwKahXjyOw08UkSzRPq3/lmU4fVZHgbo72TQNmXUOEOR0de7McrlJX3nOl2bu9TK4/b1inCWPnTYWyyrUjesuISKBiYflL4oryeKo= anthm@shinzon
|
Reference in New Issue
Block a user