成人免费xxxxx在线视频软件_久久精品久久久_亚洲国产精品久久久_天天色天天色_亚洲人成一区_欧美一级欧美三级在线观看

Ubuntu cvs可以用最新版版上下代碼了

系統 Linux
可以用最新的 Ubuntu cvs版的,這樣需要從 Ubuntu cvs上下代碼了,此時需要做一些準備工作代碼:sudo apt-get install ssh Ubuntu cvs texinfo然后到 Ubuntu cvs服務器上下載最新的代碼,先進入自己家目錄代碼。

在向大家詳細介紹Ubuntu cvs之前,首先讓大家了解下Ubuntu cvs,然后全面介紹Ubuntu cvs,希望對大家有用。

1.下載源代碼

可以用***的 Ubuntu cvs版的,這樣需要從 Ubuntu cvs上下代碼了,此時需要做一些準備工作代碼:sudo apt-get install ssh Ubuntu cvs texinfo然后到 Ubuntu cvs服務器上下載***的代碼,先進入自己家目錄代碼:export Ubuntu cvs_RSH="ssh"Ubuntu cvs -z3 -d:pserver:anonymous@Ubuntu cvs.sv.gnu.org:/Ubuntu cvsroot/emacs co -r emacs-unicode-2 emacs
 
2.編譯先配置一些編譯環境代碼:

  1. sudo apt-gt install build-essential  
  2. sudo apt-get build-dep emacs21  
  3. sudo apt-get install xserver-xorg-dev  
  4. sudo apt-get install xorg-dev  
  5. sudo apt-get install libncurses5 libncurses5-dev 

用下面的方法編譯代碼:

./configure –prefix=/usr –with-x-toolkit=gtk

如果這一步報錯,很可能是因為沒有安裝 gtk2的開發包,那就安裝吧。( sudo apt-get install libgtk2.0-dev)
同時根據報錯的提示來安裝其他的dev包。

  1. make bootstrap  
  2. make info  
  3. sudo make install 

3.初步配置

首先是中文字體,ubuntu下默認的 emacs 的字體太讓人不爽了,我們可以在 .Xresources中設定。將下面的代碼放到你的 ~/.Xresources中,沒有這個文件的話就新建一個。
代碼:

  1. EEmacs.FontBackend: xft  
  2. Xft.dpi: 98  
  3. Xft.hinting: None 

寫好后用 xrdb -load ~/.Xresources 然后重啟動Emacs。

  1. 我的.emacs文件:  
  2. (custom-set-variables  
  3.   ;; custom-set-variables was added by Custom.  
  4.   ;; If you edit it by hand, you could mess it up, so be careful.  
  5.   ;; Your init file should contain only one such instance.  
  6.   ;; If there is more than one, they won't work right.  
  7.  '(auto-compression-mode nil)  
  8.  '(auto-image-file-mode t)  
  9.  '(auto-save-default nil)  
  10.  '(compile-command "make")  
  11.  '(default-major-mode (quote text-mode))  
  12.  '(display-time-mode t)  
  13.  '(ido-mode (quote buffer) nil (ido))  
  14.  '(imenu-sort-function (quote imenu--sort-by-name))  
  15.  '(inhibit-startup-screen t)  
  16.  '(make-backup-files nil)  
  17.  '(scroll-bar-mode nil)  
  18.  '(scroll-conservatively 10000)  
  19.  '(setq calendar-location-name)  
  20.  '(show-paren-mode t)  
  21.  '(tab-width 4)  
  22.  '(text-mode-hook (quote (text-mode-hook-identify)))  
  23.  '(visible-bell t)  
  24.  '(x-select-enable-clipboard t))  
  25.  
  26. (custom-set-faces  
  27.   ;; custom-set-faces was added by Custom.  
  28.   ;; If you edit it by hand, you could mess it up, so be careful.  
  29.   ;; Your init file should contain only one such instance.  
  30.   ;; If there is more than one, they won't work right.  
  31.  )  
  32. ;; fonts  
  33. (set-default-font "Courier:pixelsize=14")  
  34. (set-fontset-font "fontset-default" 'unicode '("simsun" . "unicode-bmp"))  
  35.  
  36. ;; keybind  
  37. (global-set-key (kbd "C-c SPC") 'set-mark-command)  
  38.  
  39. ;; color-screen (useful for ls)  
  40. (setq ansi-color-for-comint-mode t)  
  41. ;; Theme  
  42. (require 'color-theme)  
  43. (cond ((eq window-system 'x) (color-theme-deep-blue)))  
  44.  
  45. ;; MATLAB  
  46. (add-to-list 'load-path "/usr/local/matlab/java/extern/EmacsLink/lisp")  
  47. (autoload 'matlab-eei-connect "matlab-eei"   
  48.   "Connects Emacs to MATLAB's external editor interface.")  
  49. (autoload 'matlab-mode "matlab" "Enter Matlab mode." t)  
  50. (setq auto-mode-alist (cons '("\\.m\\'" . matlab-mode) auto-mode-alist))  
  51. (autoload 'matlab-shell "matlab" "Interactive Matlab mode." t)  
  52. (setq matlab-indent-function t)        ; if you want function bodies indented  
  53. (setq matlab-verify-on-save-flag nil)    ; turn off auto-verify on save  
  54. (defun my-matlab-mode-hook ()  
  55.   (setq fill-column 76)  
  56.   (imenu-add-to-menubar "Find"))    ; where auto-fill should wrap  
  57. (add-hook 'matlab-mode-hook 'my-matlab-mode-hook)  
  58. ;; CC mode  
  59. (defun my-ccmode-common-hook ()  
  60.   (define-key c-mode-base-map "\C-m" 'c-context-line-break)  
  61.   (c-toggle-auto-state)  
  62.   (c-toggle-auto-hungry-state 1)  
  63.   (which-function-mode))  
  64. (add-hook 'c-initialization-hook 'my-ccmode-common-hook)  
  65. (setq c-basic-offset 2)  
  66. (setq c-default-style '(  
  67.   (c-mode . "k&r")  
  68.   (c++-mode . "stroustrup")  
  69.   (java-mode . "java")  
  70.   (awk-mode . "awk")  
  71.   (python-mode . "python")  
  72.   (other . "linux")))  
  73. ;; xcscope  
  74. (require 'xcscope)  
  75. ; auctex  
  76. ;(load "auctex.el" nil t t)  
  77. ;(load "preview-latex.el" nil t t)  
  78. ; w3m  
  79. (require 'w3m-load)  
  80. ; sdcv  
  81. (require 'sdcv-mode)  
  82. (global-set-key (kbd "C-c d") 'sdcv-search)  
  83.  

以上介紹Ubuntu cvs系統。

【編輯推薦】

  1. Ubuntu安裝環境各種奇奇怪怪的事情
  2. Ubuntu apache安裝著名的開源http服務端
  3. Ubuntu IBM將強化Web 2.0功能
  4. Ubuntu mysql可以把data防止到內存盤中
  5. Ubuntu FOSS開發者具有特權優勢
責任編輯:佚名 來源: csdn
相關推薦

2013-08-26 17:17:37

Ubuntu 12.0

2009-12-31 11:09:36

Ubuntu wine

2022-05-26 10:28:59

Ubuntu桌面

2023-11-19 19:01:53

UbuntuCalibre

2012-04-11 10:28:19

LinuxUbuntu 12.0

2021-01-07 16:37:44

微信小程序漏洞

2010-06-08 10:15:45

opensuse 11

2025-04-14 02:25:00

2011-01-10 10:29:27

Ubuntu 10.1Gnome-Shell

2012-05-25 10:00:46

Ubuntu 12.0Linux

2020-02-25 20:50:38

UbuntuLinuxGit

2011-06-07 15:19:19

PuppetUbuntu

2020-08-14 13:50:13

UbuntuHandbrakeLinux

2023-07-19 15:57:25

blendOSLinux

2012-05-09 08:55:41

Windows 8 R微軟

2010-05-21 15:46:41

Google Code

2009-09-10 09:06:06

思科CCNP認證教材思科CCNP認證

2009-04-03 08:43:57

2009-04-06 08:22:57

點贊
收藏

51CTO技術棧公眾號

主站蜘蛛池模板: 日韩精品在线网站 | 天天色影视综合 | 午夜国产 | 国产精品久久久久久久久久 | 日韩av在线免费 | 在线中文字幕av | 色网站在线 | 亚洲福利在线观看 | av在线一区二区三区 | 香蕉超碰| 亚洲精品www | 91久久久久 | 欧美一区二区三区国产精品 | 国产美女黄色片 | 狠狠色狠狠色综合系列 | 精品一区二区三区四区五区 | 91精品久久 | 热99视频 | 国产成都精品91一区二区三 | 欧美国产中文字幕 | 中文字幕一区二区三区四区五区 | 激情网站在线观看 | 欧美爱爱视频 | 久热免费 | 国产成人福利在线观看 | 日本污视频 | 黄色日本片 | 在线观看中文字幕视频 | 国产成人精品999在线观看 | 天天综合久久 | 亚洲精品一区二区三区中文字幕 | 99国产精品视频免费观看一公开 | 免费成人高清在线视频 | 麻豆天堂 | 成人免费影院 | 欧美区在线 | 91 视频网站 | 国产资源在线视频 | av免费网站在线观看 | 亚洲色片网站 | 一级片av|