ÎÊÌâÒÑ¿ªÆô
(ÆÕͨÎÊÌâ)
• ¹ØÓÚMOSHELl¡¢decoderµÄа汾 2020-07-15
• ¹ØÓÚ°®Á¢ÐÅMOSHELl°²×°¹ý³ÌÖÐ cygwin°²×°win7/10 64΢ϵͳ°´ÎÊÌâ·¹ýµÎÇëÁôÏ 2019-06-22
• MOSHELlµÄ°²×° 2018-08-11
• °®Á¢ÐÅMOSHELlÖ¸Áîget0933pp£¬get0939lgv·Ö±ðÊDzéʲôµÄ 2017-06-20
• win764λϵͳÓÃMOSHELl½øÈëÍøÔªÖ´ÐÐltallºó³öÏÖjava´íÎó 2017-01-19
• °®Á¢ÐÅLTE MOSHELL¸ü»»µçµ÷ÃüÁ 2016-06-03
• MOSHELlÎÞ·¨Á¬½ÓeNODEBÇóÖú 2015-12-23
• MOSHELLÖ¸Áî 2015-10-17
• ¹ØÓÚ°®Á¢ÐÅMOSHELl°²×°¹ý³ÌÖÐ cygwin°²×°win7/10 64΢ϵͳ°´ÎÊÌâ·¹ýµÎÇëÁôÏ 2019-06-22
• MOSHELlµÄ°²×° 2018-08-11
• °®Á¢ÐÅMOSHELlÖ¸Áîget0933pp£¬get0939lgv·Ö±ðÊDzéʲôµÄ 2017-06-20
• win764λϵͳÓÃMOSHELl½øÈëÍøÔªÖ´ÐÐltallºó³öÏÖjava´íÎó 2017-01-19
• °®Á¢ÐÅLTE MOSHELL¸ü»»µçµ÷ÃüÁ 2016-06-03
• MOSHELlÎÞ·¨Á¬½ÓeNODEBÇóÖú 2015-12-23
• MOSHELLÖ¸Áî 2015-10-17
ÎÊÌâ´ð°¸
( 2 )
´ð£º
1¡¢moshellÔÚwindowsÏ°²×°µÄ·½·¨£º
Installation for Windows (using Cygwin)
Note Go directly to step 13, MoShell Installation, if you have already installed and configured
Cygwin previously.
Prerequisite: Java Run-Time Environment 1.2.2 or higher must be installed on the workstation.
Java 1.3.1_15 or 1.3.1_16 is recommended because it uses the least amount of memory and
supports all features on MoShell.
When running on Windows, Moshell uses a unix emulator known as Cygwin.
2.4.1 Getting and installing cygwin
1. Go to the website http://www.cygwin.com/
2. Click on Install Now
3. Save the setup.exe file, then execute it.
4. Choose Install from internet, click Next
5. Root Directory C:cygwin (It is not recommended to choose a different directory, especially
if it contains spaces)
IMPORTANT: Default Text File Type should be set to UNIX (NOT DOS !!! otherwise ftp
transfers get corrupted). Then click Next.
6. Select Internet Connection: put the proxy settings (generally use IE5 settings works with
ESOE PCs). Click Next.
7. 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)
8. Click Next, install will start
9. In the directory C:Cygwin ,double-click on the file cygwin.bat. This will startup the
Cygwin window and create some files. Now close the Cygwin window.
Open an editor and edit the file cygwin.bat
Delete the line: bash --login -i. At the end of the file add the following (replace
xxxx with your user id):
set USER=xxxx
set HOME=/home/xxxx
set SHELL=/bin/bash
rxvt -sl 65000 -e /bin/bash --login -i
IMPORTANT: Make sure that there are no spaces at the end of the lines otherwise the
windows environment variables don¡¯t get set correctly and your .Xdefaults file will not be
read (meaning that rxvt looks horrible!).
10. Open the file C:Cygwinetcprofile in a text editor and add the following 6 lines at the
end of the file (replace xxx with your user id!):
export USER=xxxx
export HOME=/home/xxxx
export SHELL=/bin/bash
mkdir -p $HOME
cd $HOME
source $HOME/.bashrc
11. Edit the file C:/Cygwin/etc/passwd in a text editor and make sure that there is a row with
your username and home directory. If the home directory (found towards the end of the
line) looks like /cygdrive/h then replace this with /home/youruserid (replace youruserid
with your user id!!). This is needed for ssh to function properly.
12. Start a Cygwin Terminal window by clicking on the icon in start menu or on desktop, then
run the following commands:
Create the following 3 files in your /home/youruserid directory: .bashrc, .inputrc, and
.Xdefaults This can be done with the commands:
touch .bashrc
touch .inputrc
touch .Xdefaults
13. Go to the directory C:Cygwinhomeyouruserid (from windows explorer) and open the
following 3 files in a text editor:
In the .bashrc file, put the following lines:
unset PROMPT_COMMAND
export PS1="[ 33[1m][w]\$[ 33[0m] "
alias ls=¡¯ls -FX¡¯
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/yourid/moshell
The last line appends the moshell directory to your $PATH. This will enable you to call
moshell from any directory.
In the .inputrc file, put the following lines:
set bell-style visible
set convert-meta Off
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
"e[D": backward-char
"e[C": forward-char
"e[A": history-search-backward
"e[B": history-search-forward
"e[7~": beginning-of-line
"e[8~": end-of-line
"e[1~": beginning-of-line
"e[4~": end-of-line
"e[3~": delete-char
"e[2~": menu-complete
"M-[2~": paste-from-clipboard # Insert
"M-q": menu-complete
"C-d": delete-char
"C-l": clear-screen
"C-xdf": dump-functions
"C-xdv": dump-variables
"C-xdm": dump-macros
(Type man bash if you want to get more information about what these lines do)
In the .Xdefaults file, put the following lines:
Rxvt*background: Black
Rxvt*foreground: White
Rxvt*saveLines: 65535
Rxvt*termName: xterm
Rxvt*geometry: 143x64+0+0
Rxvt*loginShell: true
Rxvt*font: "Lucida Console-11"
Rxvt*cutchars: ¡®"¡¯&()*,;<=>? []{|}
These are just examples of terminal properties, you can change them to fit your needs.
Type man rxvt to view all available properties.
14. Open a new cygwin terminal window. The window should be black with white text and
the prompt should like this: [~]$
If not, then go through the last 4 steps again and make sure you haven¡¯t missed out
anything.
15. Moshell installation
Follows these steps if you already have a working Cygwin environment.
• Put the moshellxxx.zip file in c:cygwintmp
• Open the cygwin shell and go the /tmp directory. Run the following:
unzip -o moshellxxx.zip
bash moshell_install
Moshell contains an automated upgrade engine. When prompted to enter the directory
where you want to install moshell, it is recommended to enter the same directory as the
previous revision of moshell. The automated upgrade engine will take care of copying all
your custom files (jar/xml files, site files, etc.) across to the new revision. For your safety
the old revision gets moved to a different location so you can still access it if needed.
When prompted to enter the Java directory, choose either of:
• /cygdrive/c/Progra~1/javasoft/jre/whichEverVersion/bin/java
• /cygdrive/c/WINNT/system32/java
16. Running moshell for the first time
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 <ip-address>
If this is the first time moshell is installed on this PC, then it will download a number of jar
files from the node. No progress indicator will be shown so just be patient as it will take
a few minutes. Progress can be seen by doing ls -l in the commonjars and jarxml
directories.
Known Limitation: CTRL-C may not work all the time. In this case, it is possible to do instead:
CTRL-Z, then kill %1.
More info about Cygwin installation issues can be found at: http://cygwin.com/faq/
faq0.html
Uninstall instructions for cygwin can be found at http://cygwin.com/faq/faq.setup.
html#faq.setup.uninstall-all
2¡¢moshellÔÚVISTAÏ°²×°µÄ·½·¨
Ïê¼ûÒÔÏÂÌû×Ó¡¶moshellÔÚVISTAÏ°²×°µÄ·½·¨¡·
1¡¢moshellÔÚwindowsÏ°²×°µÄ·½·¨£º
Installation for Windows (using Cygwin)
Note Go directly to step 13, MoShell Installation, if you have already installed and configured
Cygwin previously.
Prerequisite: Java Run-Time Environment 1.2.2 or higher must be installed on the workstation.
Java 1.3.1_15 or 1.3.1_16 is recommended because it uses the least amount of memory and
supports all features on MoShell.
When running on Windows, Moshell uses a unix emulator known as Cygwin.
2.4.1 Getting and installing cygwin
1. Go to the website http://www.cygwin.com/
2. Click on Install Now
3. Save the setup.exe file, then execute it.
4. Choose Install from internet, click Next
5. Root Directory C:cygwin (It is not recommended to choose a different directory, especially
if it contains spaces)
IMPORTANT: Default Text File Type should be set to UNIX (NOT DOS !!! otherwise ftp
transfers get corrupted). Then click Next.
6. Select Internet Connection: put the proxy settings (generally use IE5 settings works with
ESOE PCs). Click Next.
7. 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)
8. Click Next, install will start
9. In the directory C:Cygwin ,double-click on the file cygwin.bat. This will startup the
Cygwin window and create some files. Now close the Cygwin window.
Open an editor and edit the file cygwin.bat
Delete the line: bash --login -i. At the end of the file add the following (replace
xxxx with your user id):
set USER=xxxx
set HOME=/home/xxxx
set SHELL=/bin/bash
rxvt -sl 65000 -e /bin/bash --login -i
IMPORTANT: Make sure that there are no spaces at the end of the lines otherwise the
windows environment variables don¡¯t get set correctly and your .Xdefaults file will not be
read (meaning that rxvt looks horrible!).
10. Open the file C:Cygwinetcprofile in a text editor and add the following 6 lines at the
end of the file (replace xxx with your user id!):
export USER=xxxx
export HOME=/home/xxxx
export SHELL=/bin/bash
mkdir -p $HOME
cd $HOME
source $HOME/.bashrc
11. Edit the file C:/Cygwin/etc/passwd in a text editor and make sure that there is a row with
your username and home directory. If the home directory (found towards the end of the
line) looks like /cygdrive/h then replace this with /home/youruserid (replace youruserid
with your user id!!). This is needed for ssh to function properly.
12. Start a Cygwin Terminal window by clicking on the icon in start menu or on desktop, then
run the following commands:
Create the following 3 files in your /home/youruserid directory: .bashrc, .inputrc, and
.Xdefaults This can be done with the commands:
touch .bashrc
touch .inputrc
touch .Xdefaults
13. Go to the directory C:Cygwinhomeyouruserid (from windows explorer) and open the
following 3 files in a text editor:
In the .bashrc file, put the following lines:
unset PROMPT_COMMAND
export PS1="[ 33[1m][w]\$[ 33[0m] "
alias ls=¡¯ls -FX¡¯
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/yourid/moshell
The last line appends the moshell directory to your $PATH. This will enable you to call
moshell from any directory.
In the .inputrc file, put the following lines:
set bell-style visible
set convert-meta Off
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
"e[D": backward-char
"e[C": forward-char
"e[A": history-search-backward
"e[B": history-search-forward
"e[7~": beginning-of-line
"e[8~": end-of-line
"e[1~": beginning-of-line
"e[4~": end-of-line
"e[3~": delete-char
"e[2~": menu-complete
"M-[2~": paste-from-clipboard # Insert
"M-q": menu-complete
"C-d": delete-char
"C-l": clear-screen
"C-xdf": dump-functions
"C-xdv": dump-variables
"C-xdm": dump-macros
(Type man bash if you want to get more information about what these lines do)
In the .Xdefaults file, put the following lines:
Rxvt*background: Black
Rxvt*foreground: White
Rxvt*saveLines: 65535
Rxvt*termName: xterm
Rxvt*geometry: 143x64+0+0
Rxvt*loginShell: true
Rxvt*font: "Lucida Console-11"
Rxvt*cutchars: ¡®"¡¯&()*,;<=>? []{|}
These are just examples of terminal properties, you can change them to fit your needs.
Type man rxvt to view all available properties.
14. Open a new cygwin terminal window. The window should be black with white text and
the prompt should like this: [~]$
If not, then go through the last 4 steps again and make sure you haven¡¯t missed out
anything.
15. Moshell installation
Follows these steps if you already have a working Cygwin environment.
• Put the moshellxxx.zip file in c:cygwintmp
• Open the cygwin shell and go the /tmp directory. Run the following:
unzip -o moshellxxx.zip
bash moshell_install
Moshell contains an automated upgrade engine. When prompted to enter the directory
where you want to install moshell, it is recommended to enter the same directory as the
previous revision of moshell. The automated upgrade engine will take care of copying all
your custom files (jar/xml files, site files, etc.) across to the new revision. For your safety
the old revision gets moved to a different location so you can still access it if needed.
When prompted to enter the Java directory, choose either of:
• /cygdrive/c/Progra~1/javasoft/jre/whichEverVersion/bin/java
• /cygdrive/c/WINNT/system32/java
16. Running moshell for the first time
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 <ip-address>
If this is the first time moshell is installed on this PC, then it will download a number of jar
files from the node. No progress indicator will be shown so just be patient as it will take
a few minutes. Progress can be seen by doing ls -l in the commonjars and jarxml
directories.
Known Limitation: CTRL-C may not work all the time. In this case, it is possible to do instead:
CTRL-Z, then kill %1.
More info about Cygwin installation issues can be found at: http://cygwin.com/faq/
faq0.html
Uninstall instructions for cygwin can be found at http://cygwin.com/faq/faq.setup.
html#faq.setup.uninstall-all
2¡¢moshellÔÚVISTAÏ°²×°µÄ·½·¨
Ïê¼ûÒÔÏÂÌû×Ó¡¶moshellÔÚVISTAÏ°²×°µÄ·½·¨¡·
»Ø´ðÕߣº
wangyuan072
»Ø´ðʱ¼ä£º2009-05-31 09:43
2 4
²¹³ä£º
¶ÔÉÏÊöwindows°²×°µÄÖÐÎĽâÊÍ
WINDOWS XPÏÂCYGWIN+MOSHELL°²×°Ïê½â£º
1¡¢Ê×ÏÈ°²×°JAVA£¬ j2re-1_4_2_11-windows-i586-p.exe¡£
2¡¢°²×°cygwin,½âѹcygwin_setup.zip£¬ÔËÐÐsetup.exe,°²×°Ê±ÐèҪעÒâSelect PackagesÐèÒªÔö¼Ó°²×°ArchiveϵÄunzip£¬EditorsϵÄvim£¬InterpretersϵÄperl£¬NetϵÄinetutils¡¢opensshºÍopenssl£¬ShellsϵÄrxvt¡£
3¡¢cygwinÏà¹ØÉèÖÃ
°²×°Íê³ÉºóË«»÷´ò¿ªC:Cygwincygwin.bat£¬È»ºóLogout¹Ø±Õ³ÌÐò¡£±à¼CygwinĿ¼ÏÂcygwin.batÎļþ£¬É¾³ýbash --login -i.Ôö¼ÓÈçÏÂÄÚÈÝ£º
set USER=userid
set HOME=/home/userid
set SHELL=/bin/bash
rxvt -sl 65000 -e /bin/bash --login -i
×¢£º#useridÊÇ×Ô¼º¶¨ÒåµÄÓû§Ãû³Æ£¬Îļþ±à¼Ê±ÍƼöʹÓÃUedit£¬´ò¿ªÊ±²»Òª×ª»»ÎªDOS¸ñʽ£¬²¢ÇÒ¼ÓÈëµÄÿÐкóÃæ²»ÄÜ´øÓÐÈκΰüÀ¨¿Õ¸ñÔÚÄÚµÄ×Ö·û£¬±£³ÖÎļþÔ¸ñʽ´æ´¢£¡
ÐÞ¸ÄCygwinetcprofileÎļþ£¬ÔÚÎļþ×îºóÔö¼ÓÈçÏÂÄÚÈÝ£º
export USER=userid
export HOME=/home/userid
export SHELL=/bin/bash
mkdir -p $HOME
cd $HOME
source $HOME/.bashrc
×¢£º#useridÊÇ×Ô¼º¶¨ÒåµÄÓû§Ãû³Æ£¬Îļþ±à¼Ê±ÍƼöʹÓÃUedit£¬´ò¿ªÊ±²»Òª×ª»»ÎªDOS¸ñʽ£¬²¢ÇÒ¼ÓÈëµÄÿÐкóÃæ²»ÄÜ´øÓÐÈκΰüÀ¨¿Õ¸ñÔÚÄÚµÄ×Ö·û£¬±£³ÖÎļþÔ¸ñʽ´æ´¢£¡
´ò¿ªCygwinÔÚ/home/useridĿ¼ÄÚ´´½¨3¸öÎļþ .bashrc .inputrc .Xdefaults.ÃüÁîÈçÏÂ:
touch .bashrc
touch .inputrc
touch .Xdefaults
´´½¨ºó±à¼Õâ3¸öÎļþ£¬ÔÚÎļþ½áβºó·Ö±ð¼ÓÉÏÈçÏÂÄÚÈÝ£º
Îļþ".bashrc"¼ÓÈë
unset PROMPT_COMMAND
export PS1="[ 33[1m ][w]\$[ 33[0m ] "
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/userid/moshell
Îļþ".inputrc"¼ÓÈë
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
"e[D": backward-char
"e[C": forward-char
"e[A": history-search-backward
"e[B": history-search-forward
"e[7~": beginning-of-line
"e[8~": end-of-line
"e[1~": beginning-of-line
"e[4~": end-of-line
"e[3~": delete-char
"e[2~": menu-complete
"M-[2~": paste-from-clipboard # Insert
"M-q": menu-complete
"C-d": delete-char
"C-l": clear-screen
"C-xdf": dump-functions
"C-xdv": dump-variables
"C-xdm": dump-macros
Îļþ".Xdefaults"¼ÓÈë
Rxvt*background: Black
Rxvt*foreground: White
Rxvt*saveLines: 65535
Rxvt*termName: xterm
Rxvt*geometry: 144x64+0+0
Rxvt*loginShell: true
Rxvt*font: "Lucida Console-11"
Rxvt*cutchars: `"'&()*,;<=>? []{|}
×¢£º.bashrcÎļþÄÚ#useridÊÇ×Ô¼º¶¨ÒåµÄÓû§Ãû³Æ£¬.XdefaultsÊÇÏÔʾ½çÃ涨ÒåÎļþ£¬Äã¿ÉÒÔ¸ù¾Ý×Ô¼ºµÄ°®ºÃÐ޸ģ¬Õâ3¸öÎļþ±à¼Ê±ÍƼöʹÓÃUedit£¬´ò¿ªÊ±²»Òª×ª»»ÎªDOS¸ñʽ£¬²¢ÇÒ¼ÓÈëµÄÿÐкóÃæ²»ÄÜ´øÓÐÈκΰüÀ¨¿Õ¸ñÔÚÄÚµÄ×Ö·û£¬±£³ÖÎļþÔ¸ñʽ´æ´¢£¡
ÖØдò¿ªCygwinºó»áÏÔʾ[~]$
4¡¢Moshell°²×°
½«moshell7.0y.zip¿½±´ÖÁ/cygwin/home/userid/Ŀ¼²¢½âѹ,Ö´ÐÐmoshell_install
Ìáʾ¡°Please choose the type of installation.¡±Ê±Ñ¡Ôñ 0
Ìáʾ¡°Please enter the following absolute pathes(auto-completion using<TAB>):¡±Ê±ÊäÈë ~
Ìáʾ¡°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
Ìáʾ¡°Please enter path to Java (must be1.2.2 or higher): ¡±Ê±ÊäÈë/cygdrive/c/windows/system32/java
Ìáʾ¡°Please enter path to perl:¡±Ê±ÊäÈë/usr/bin/perl
°²×°Íê³ÉºóÔËÐÐ moshell Õý³£ÏÔʾΪÍÑ»ú״̬£¬ÊäÈëh¿ÉµÃµ½ÃüÁî°ïÖú,ÊäÈëqÍ˳öÈí¼þ£¬°²×°Íê³É¡£
¶ÔÉÏÊöwindows°²×°µÄÖÐÎĽâÊÍ
WINDOWS XPÏÂCYGWIN+MOSHELL°²×°Ïê½â£º
1¡¢Ê×ÏÈ°²×°JAVA£¬ j2re-1_4_2_11-windows-i586-p.exe¡£
2¡¢°²×°cygwin,½âѹcygwin_setup.zip£¬ÔËÐÐsetup.exe,°²×°Ê±ÐèҪעÒâSelect PackagesÐèÒªÔö¼Ó°²×°ArchiveϵÄunzip£¬EditorsϵÄvim£¬InterpretersϵÄperl£¬NetϵÄinetutils¡¢opensshºÍopenssl£¬ShellsϵÄrxvt¡£
3¡¢cygwinÏà¹ØÉèÖÃ
°²×°Íê³ÉºóË«»÷´ò¿ªC:Cygwincygwin.bat£¬È»ºóLogout¹Ø±Õ³ÌÐò¡£±à¼CygwinĿ¼ÏÂcygwin.batÎļþ£¬É¾³ýbash --login -i.Ôö¼ÓÈçÏÂÄÚÈÝ£º
set USER=userid
set HOME=/home/userid
set SHELL=/bin/bash
rxvt -sl 65000 -e /bin/bash --login -i
×¢£º#useridÊÇ×Ô¼º¶¨ÒåµÄÓû§Ãû³Æ£¬Îļþ±à¼Ê±ÍƼöʹÓÃUedit£¬´ò¿ªÊ±²»Òª×ª»»ÎªDOS¸ñʽ£¬²¢ÇÒ¼ÓÈëµÄÿÐкóÃæ²»ÄÜ´øÓÐÈκΰüÀ¨¿Õ¸ñÔÚÄÚµÄ×Ö·û£¬±£³ÖÎļþÔ¸ñʽ´æ´¢£¡
ÐÞ¸ÄCygwinetcprofileÎļþ£¬ÔÚÎļþ×îºóÔö¼ÓÈçÏÂÄÚÈÝ£º
export USER=userid
export HOME=/home/userid
export SHELL=/bin/bash
mkdir -p $HOME
cd $HOME
source $HOME/.bashrc
×¢£º#useridÊÇ×Ô¼º¶¨ÒåµÄÓû§Ãû³Æ£¬Îļþ±à¼Ê±ÍƼöʹÓÃUedit£¬´ò¿ªÊ±²»Òª×ª»»ÎªDOS¸ñʽ£¬²¢ÇÒ¼ÓÈëµÄÿÐкóÃæ²»ÄÜ´øÓÐÈκΰüÀ¨¿Õ¸ñÔÚÄÚµÄ×Ö·û£¬±£³ÖÎļþÔ¸ñʽ´æ´¢£¡
´ò¿ªCygwinÔÚ/home/useridĿ¼ÄÚ´´½¨3¸öÎļþ .bashrc .inputrc .Xdefaults.ÃüÁîÈçÏÂ:
touch .bashrc
touch .inputrc
touch .Xdefaults
´´½¨ºó±à¼Õâ3¸öÎļþ£¬ÔÚÎļþ½áβºó·Ö±ð¼ÓÉÏÈçÏÂÄÚÈÝ£º
Îļþ".bashrc"¼ÓÈë
unset PROMPT_COMMAND
export PS1="[ 33[
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/userid/moshell
Îļþ".inputrc"¼ÓÈë
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
"e[D": backward-char
"e[C": forward-char
"e[A": history-search-backward
"e[B": history-search-forward
"e[7~": beginning-of-line
"e[8~": end-of-line
"e[1~": beginning-of-line
"e[4~": end-of-line
"e[3~": delete-char
"e[2~": menu-complete
"M-[2~": paste-from-clipboard # Insert
"M-q": menu-complete
"C-d": delete-char
"C-l": clear-screen
"C-xdf": dump-functions
"C-xdv": dump-variables
"C-xdm": dump-macros
Îļþ".Xdefaults"¼ÓÈë
Rxvt*background: Black
Rxvt*foreground: White
Rxvt*saveLines: 65535
Rxvt*termName: xterm
Rxvt*geometry: 144x64+0+0
Rxvt*loginShell: true
Rxvt*font: "Lucida Console-11"
Rxvt*cutchars: `"'&()*,;<=>? []{|}
×¢£º.bashrcÎļþÄÚ#useridÊÇ×Ô¼º¶¨ÒåµÄÓû§Ãû³Æ£¬.XdefaultsÊÇÏÔʾ½çÃ涨ÒåÎļþ£¬Äã¿ÉÒÔ¸ù¾Ý×Ô¼ºµÄ°®ºÃÐ޸ģ¬Õâ3¸öÎļþ±à¼Ê±ÍƼöʹÓÃUedit£¬´ò¿ªÊ±²»Òª×ª»»ÎªDOS¸ñʽ£¬²¢ÇÒ¼ÓÈëµÄÿÐкóÃæ²»ÄÜ´øÓÐÈκΰüÀ¨¿Õ¸ñÔÚÄÚµÄ×Ö·û£¬±£³ÖÎļþÔ¸ñʽ´æ´¢£¡
ÖØдò¿ªCygwinºó»áÏÔʾ[~]$
4¡¢Moshell°²×°
½«moshell7.0y.zip¿½±´ÖÁ/cygwin/home/userid/Ŀ¼²¢½âѹ,Ö´ÐÐmoshell_install
Ìáʾ¡°Please choose the type of installation.¡±Ê±Ñ¡Ôñ 0
Ìáʾ¡°Please enter the following absolute pathes(auto-completion using<TAB>):¡±Ê±ÊäÈë ~
Ìáʾ¡°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
Ìáʾ¡°Please enter path to Java (must be
Ìáʾ¡°Please enter path to perl:¡±Ê±ÊäÈë/usr/bin/perl
°²×°Íê³ÉºóÔËÐÐ moshell Õý³£ÏÔʾΪÍÑ»ú״̬£¬ÊäÈëh¿ÉµÃµ½ÃüÁî°ïÖú,ÊäÈëqÍ˳öÈí¼þ£¬°²×°Íê³É¡£
»Ø´ðÕߣº
wangyuan072
»Ø´ðʱ¼ä£º2009-05-31 09:45
10 10
ÈȵãÎÊÌâ
¸ü¶à¾«²Ê
ÁªÏµÎÒÃÇ - ÎÊͨÐÅר¼Ò | Powered by MSCBSC Òƶ¯Í¨ÐÅÍø © 2006 - |