关键词不能为空

当前您在: 主页 > 英语 >

Moshell 安装中文

作者:高考题库网
来源:https://www.bjmy2z.cn/gaokao
2021-02-13 19:18
tags:

-

2021年2月13日发(作者:retrofit)


1


、首先安装


java



MGW R4



j2re-1_4_ 2_




直接安装


j2re-1_4_2_


2


、本地安装


cygwin






解压


cygwin_


,运行




-



Choose



-



Root Directory



(It is not recommended to choose a different directory,


especially if it contains spaces)



-



Select Packages: Add the following packages


,选择最新版本即可:







-under Archive select unzip






-under Interpreters select perl






-under Net select inetutils, openssh, and openssl






-under Shells select rxvt






-optional: under Editors select vim (if you want to be able to edit files with vi)



-



install


3



cygwin


相关设置



安装 完成后双击打开


C:


,接着关闭。




-



In the directory C:Cygwin , edit the file :


Delete the line: bash --login -i. At the end of the file add the following (replace xxxx with


your user id


< p>
xxxx


任意不带空格的名字,与操作系统用户名无关

):


set USER=xxxx


set HOME=/home/xxxx


set SHELL=/bin/bash


rxvt -sl 65000 -e /bin/bash --login -i



注:每行后面不能带有任何包括空格在内的字符,保持文 件为


UNIX


格式!



Open the file C:Cygwinetcprofile in a text editor and add the following 6 lines at the


end of the file (replace xxxx with your user id!):


export USER=xxxx


export HOME=/home/xxxx


export SHELL=/bin/bash


mkdir -p $$HOME


cd $$HOME


source $$HOME/.bashrc



注:每行后面不能带有任何包括 空格在内的字符,保持文件为


UNIX


格式!

< br>


Start a Cygwin Terminal window by clicking on the icon in start menu or on desktop, then


run the following commands:



- Type


pwd



CREATE the following 3 files in your


and .Xdefaults.


This can be done with the commands:


touch .bashrc


touch .inputrc


touch .Xdefaults




- Go to the directory C:Cygwinhomexxxx (from windows explorer) and open the


following 3 files in a text editor:


In the


unset PROMPT_COMMAND


export PS1=


alias ls='ls -hF



show-control-chars



color=tty'


set -o notify


set -o ignoreeof


shopt -s cdspell


shopt -s cdable_vars


shopt -s checkhash


shopt -s checkwinsize


shopt -s sourcepath


shopt -s histappend





export PATH=$$PATH:/home/xxx/moshell



#(where xxxx is your userid)



(appending the moshell directory to your PATH variable will


enable you to call moshell from any directory).


注:每行后面不能带有任何包括空格在内的字符,保持文件为


UNIX


格式!



In the


set bell-style visible


set convert-meta Off


set meta-flag on


set output- meta On


set input-meta On


set completion-ignore-case on


set completion-query-items 150


set mark-directories on


set visible-stats On


set show-all-if- ambiguous On


set expand-tilde On






< /p>















(Type



注:每行后面不能带有 任何包括空格在内的字符,保持文件为


UNIX


格式!




In the


Rxvt*background: Black


Rxvt*foreground: LightGrey


Rxvt*saveLines:



65535


Rxvt*termName:




xterm


Rxvt*geometry:




144x64+0+0


Rxvt*loginShell: true


Rxvt*font:









Rxvt*cutchars:




`



(These are just examples of terminal properties, you can change them to fit your needs.


Type


注:每行后面不能带有任何包括空格在内的字符,保 持文件为


UNIX


格式!



Open a new cygwin terminal window. The window should be black with white text and the


prompt should like this: [~]$$



4



Moshell installation:


Moshell


下载:



Put the file in c:/cygwin/home/xxxx/


Open the cygwin shell and run:


unzip -o


bash moshell_install



窗口提示



Please choose the type of installation.



选择



0



Please enter the following absolute pathes(auto-completion using):



输入



~




Path to Java = /cygdrive/c/windows/system32/java . OK ? [y/n]



选择



y




Path to perl (used by mobatch)=/usr/bin/perl . OK ?[y/n]



选择



y



安装完成后解压

< br>file_


,将



文件里的


iaik_jce_full_



< p>



拷贝到


c:cygwi nhomexxxmoshelljarxml


根目录



vista


系统可能需要


]

< br>将





拷 贝到


c:windowssystem32


目录,


moshell7.0y


已能在


vista


正常运行。




- Running moshell for the first time:


出现


[~]$$




即表明正常运行



测试:运行



moshell




可看到非出错信息





If you have set the PATH variable correctly in your ~/.bashrc file, you should be able to run


moshell from any directory. E.g:














>> moshell


moshell x.x.x.x


lt all


l+

-


-


-


-


-


-


-


-



本文更新与2021-02-13 19:18,由作者提供,不代表本网站立场,转载请注明出处:https://www.bjmy2z.cn/gaokao/652226.html

Moshell 安装中文的相关文章

  • 余华爱情经典语录,余华爱情句子

    余华的经典语录——余华《第七天》40、我不怕死,一点都不怕,只怕再也不能看见你——余华《第七天》4可是我再也没遇到一个像福贵这样令我难忘的人了,对自己的经历如此清楚,

    语文
  • 心情低落的图片压抑,心情低落的图片发朋友圈

    心情压抑的图片(心太累没人理解的说说带图片)1、有时候很想找个人倾诉一下,却又不知从何说起,最终是什么也不说,只想快点睡过去,告诉自己,明天就好了。有时候,突然会觉得

    语文
  • 经典古训100句图片大全,古训名言警句

    古代经典励志名言100句译:好的药物味苦但对治病有利;忠言劝诫的话听起来不顺耳却对人的行为有利。3良言一句三冬暖,恶语伤人六月寒。喷泉的高度不会超过它的源头;一个人的事

    语文
  • 关于青春奋斗的名人名言鲁迅,关于青年奋斗的名言鲁迅

    鲁迅名言名句大全励志1、世上本没有路,走的人多了自然便成了路。下面是我整理的鲁迅先生的名言名句大全,希望对你有所帮助!当生存时,还是将遭践踏,将遭删刈,直至于死亡而

    语文
  • 三国群英单机版手游礼包码,三国群英手机单机版攻略

    三国群英传7五神兽洞有什么用那是多一个武将技能。青龙飞升召唤出东方的守护兽,神兽之一的青龙。玄武怒流召唤出北方的守护兽,神兽之一的玄武。白虎傲啸召唤出西方的守护兽,

    语文
  • 不收费的情感挽回专家电话,情感挽回免费咨询

    免费的情感挽回机构(揭秘情感挽回机构骗局)1、牛牛(化名)向上海市公安局金山分局报案,称自己为了挽回与女友的感情,被一家名为“实花教育咨询”的情感咨询机构诈骗4万余元。

    语文