{"id":770,"date":"2011-08-16T08:21:30","date_gmt":"2011-08-16T02:21:30","guid":{"rendered":"http:\/\/notes.norfolks.org\/?p=770"},"modified":"2012-02-10T11:36:53","modified_gmt":"2012-02-10T05:36:53","slug":"%d0%bd%d0%b0%d1%81%d1%82%d1%80%d0%be%d0%b9%d0%ba%d0%b0-%d1%86%d0%b2%d0%b5%d1%82%d0%b0-%d0%b2-putty","status":"publish","type":"post","link":"https:\/\/notes.norfolks.fun\/?p=770","title":{"rendered":"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0446\u0432\u0435\u0442\u0430 \u0432 Putty"},"content":{"rendered":"<p>\u041d\u0430 \u043c\u043d\u043e\u0433\u0438\u0445 \u0444\u0440\u0435\u043d\u0434\u043b\u0438 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0430\u0445 \u044d\u0442\u043e \u0432\u0445\u043e\u0434\u0438\u0442 \u0432 \u0431\u0430\u0437\u043e\u0432\u0443\u044e \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e. \u041d\u0430\u0441\u0442\u0440\u043e\u0438\u043c \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 debian 5.0. \u041a\u0430\u043a \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e, \u0446\u0432\u0435\u0442\u0430\u043c\u0438 \u0432 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0435 \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442\u0441\u044f xterm. \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c:<\/p>\n<pre lang=\"text\">sudo aptitude install xterm<\/pre>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0446\u0432\u0435\u0442\u0430 \u0432 <strong>bash.rc<\/strong><\/p>\n<pre lang=\"text\">nano \/etc\/bash.bashrc<\/pre>\n<pre lang=\"bash\"># \u0412\u043e\u0442 \u044d\u0442\u0438 \u0441\u0442\u0440\u043e\u043a\u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0432 \u043a\u043e\u043d\u0435\u0446 \u0444\u0430\u0439\u043b\u0430\r\n# \u0430\u043a\u0442\u0438\u0432\u0438\u0440\u0443\u0435\u043c \u0446\u0432\u0435\u0442\u0430 \u0432 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0435\r\ncase \"$TERM\" in\r\n    xterm-color) color_prompt=yes;;\r\nesac\r\n# \u0438 \u0443\u043a\u0440\u0430\u0441\u0438\u043c \u0432\u044b\u0432\u043e\u0434\r\nif [ -x \/usr\/bin\/dircolors ]; then\r\n    test -r ~\/.dircolors && eval \"$(dircolors -b ~\/.dircolors)\" || eval \"$(dircolors -b)\"\r\n    alias ls='ls --color=auto'\r\n    alias dir='dir --color=auto'\r\n    alias vdir='vdir --color=auto'\r\n \r\n    alias grep='grep --color=auto'\r\n    alias fgrep='fgrep --color=auto'\r\n    alias egrep='egrep --color=auto'\r\nfi<\/pre>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e \u0441\u0434\u0435\u043b\u0430\u0435\u043c:<\/p>\n<pre lang=\"text\">source \/etc\/bash.bashrc<\/pre>\n<p>\u0412\u0441\u0435, \u043a\u043e\u043d\u0441\u043e\u043b\u044c \u0443 \u043d\u0430\u0441 \u043a\u0440\u0430\u0441\u0438\u0432\u0430\u044f \u0438 \u0440\u0430\u0437\u043d\u043e\u0446\u0432\u0435\u0442\u043d\u0430\u044f.<br \/>\n\u041d\u0430\u0441\u0442\u0440\u043e\u0438\u043c \u043f\u043e\u0434\u0441\u0432\u0435\u0442\u043a\u0443 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441\u0430 \u0432 <strong>nano<\/strong> \u0438 <strong>vim<\/strong>. \u0414\u043b\u044f nano \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0440\u0430\u0441\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0442\u0440\u043e\u043a\u0438 \u0432\u0438\u0434\u0430:<\/p>\n<pre lang=\"text\"># include \"\/usr\/share\/nano\/perl.nanorc\"\r\n# include \"\/usr\/share\/nano\/python.nanorc\"<\/pre>\n<p>\u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u043c \u0444\u0430\u0439\u043b\u0435 <strong>\/etc\/nanorc<\/strong> \u0434\u043b\u044f \u0442\u0440\u0435\u0431\u0443\u0435\u043c\u044b\u0445 \u0412\u0430\u043c \u044f\u0437\u044b\u043a\u043e\u0432.<br \/>\n\u0414\u043b\u044f Vim \u0432 \u043a\u043e\u043d\u0444. \u0444\u0430\u0439\u043b\u0435 <strong>\/etc\/vim\/vimrc<\/strong> \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432\u0441\u0435\u0433\u043e \u043e\u0434\u043d\u0443 \u0441\u0442\u0440\u043e\u0447\u043a\u0443<\/p>\n<pre lang=\"text\">syntax on<\/pre>\n<p>\u043f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e \u043f\u043e\u0434\u0441\u0432\u0435\u0442\u043a\u0430 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441\u0430 \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f, \u0435\u0441\u043b\u0438 vim \u0441\u043e\u0431\u0440\u0430\u043d \u0441 \u043e\u043f\u0446\u0438\u0435\u0439 \u00ab+syntax\u00bb. \u0423\u0437\u043d\u0430\u0442\u044c \u044d\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0432\u043e\u0442 \u0442\u0430\u043a<\/p>\n<pre lang=\"bash\">vim --version |grep syntax<\/pre>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br \/>\n<a href=\"http:\/\/gonsal.es\/priruchaem-putty-part2\/\">\u0418\u0441\u0442\u043e\u0447\u043d\u0438\u043a<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041d\u0430 \u043c\u043d\u043e\u0433\u0438\u0445 \u0444\u0440\u0435\u043d\u0434\u043b\u0438 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0430\u0445 \u044d\u0442\u043e \u0432\u0445\u043e\u0434\u0438\u0442 \u0432 \u0431\u0430\u0437\u043e\u0432\u0443\u044e \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e. \u041d\u0430\u0441\u0442\u0440\u043e\u0438\u043c \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 debian 5.0. \u041a\u0430\u043a \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e, \u0446\u0432\u0435\u0442\u0430\u043c\u0438 \u0432 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0435 \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442\u0441\u044f xterm. \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c: sudo aptitude install xterm \u041f\u043e\u0441\u043b\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0446\u0432\u0435\u0442\u0430 \u0432 bash.rc nano \/etc\/bash.bashrc # \u0412\u043e\u0442 \u044d\u0442\u0438 \u0441\u0442\u0440\u043e\u043a\u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0432 &hellip; <a href=\"https:\/\/notes.norfolks.fun\/?p=770\">\u0427\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043b\u0435\u0435 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,8],"tags":[],"class_list":["post-770","post","type-post","status-publish","format-standard","hentry","category-linux","category-8"],"_links":{"self":[{"href":"https:\/\/notes.norfolks.fun\/index.php?rest_route=\/wp\/v2\/posts\/770","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/notes.norfolks.fun\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/notes.norfolks.fun\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/notes.norfolks.fun\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/notes.norfolks.fun\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=770"}],"version-history":[{"count":6,"href":"https:\/\/notes.norfolks.fun\/index.php?rest_route=\/wp\/v2\/posts\/770\/revisions"}],"predecessor-version":[{"id":1065,"href":"https:\/\/notes.norfolks.fun\/index.php?rest_route=\/wp\/v2\/posts\/770\/revisions\/1065"}],"wp:attachment":[{"href":"https:\/\/notes.norfolks.fun\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=770"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/notes.norfolks.fun\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=770"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/notes.norfolks.fun\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=770"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}