SlideShare a Scribd company logo
1 of 3
1-Go to the website www.cygwin.com 
2- Click on "Install Now" 
3- Save the setup.exe file, then execute it. 
4- Choose "Install from internet", then click Next. 
5- Root Directory "C:/cygwin" (It is not recommended to choose a different directory, especially if it 
contains spaces). 
If prompted for "Default Text File Type", choose UNIX (not DOS). Then click Next. 
6- Select Internet Connection: put the proxy settings or select "use IE settings". Then click Next. 
7- Choose a Download Site. The site http://sourceware.mirrors.tds.net is recommended. 
8- Select Packages: Add the following packages: 
- under "Archive", select "zip" and "unzip" 
- under "Perl", select "perl" 
- under net, select "inetutils", "openssh", "openssl" 
- under shells, select "rxvt" 
- under "Editors" select "vim" (optional) 
9- Click Next. Install will start. Wait for installation to complete. 
10- Download the file http://utran01.au.ao.ericsson.se/moshell/cygwin_install.txt to C:/Cygwin . 
11- Click on Start --> Run. In the "Run" window, type: cmd , then press "enter". 
A DOS window opens. At the DOS prompt, execute the following commands: 
c: 
cd cygwin 
binperl cygwin_install.txt 
This will create the following files: c:/cygwin/etc/profile, c:/cygwin/cygwin.bat, 
c:/cygwin/home/youruserid/.bashrc, c:/cygwin/home/youruserid/.Xdefaults, 
c:/cygwin/home/youruserid/.inputrc. If those files already exist, they are automatically moved to the 
folder c:/cygwin/tmp/installbackup. 
12- Open a cygwin terminal window by double-clicking on the cygwin icon in the start menu or on the 
file c:/cygwin/cygwin.bat. The window should be black with white text and the prompt should like this: 
[~]$ 
If not, then go through all the steps again and make sure you haven't missed out anything. 
13- Moshell installation: 
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="[033[1m][w]$[033[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

More Related Content

Recently uploaded

Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesKari Kakkonen
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical InfrastructureVarsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructureitnewsafrica
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesManik S Magar
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...itnewsafrica
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integrationmarketing932765
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Mark Goldstein
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationKnoldus Inc.
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Kaya Weers
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 

Recently uploaded (20)

Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical InfrastructureVarsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 

Featured

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Moshell installation steps

  • 1. 1-Go to the website www.cygwin.com 2- Click on "Install Now" 3- Save the setup.exe file, then execute it. 4- Choose "Install from internet", then click Next. 5- Root Directory "C:/cygwin" (It is not recommended to choose a different directory, especially if it contains spaces). If prompted for "Default Text File Type", choose UNIX (not DOS). Then click Next. 6- Select Internet Connection: put the proxy settings or select "use IE settings". Then click Next. 7- Choose a Download Site. The site http://sourceware.mirrors.tds.net is recommended. 8- Select Packages: Add the following packages: - under "Archive", select "zip" and "unzip" - under "Perl", select "perl" - under net, select "inetutils", "openssh", "openssl" - under shells, select "rxvt" - under "Editors" select "vim" (optional) 9- Click Next. Install will start. Wait for installation to complete. 10- Download the file http://utran01.au.ao.ericsson.se/moshell/cygwin_install.txt to C:/Cygwin . 11- Click on Start --> Run. In the "Run" window, type: cmd , then press "enter". A DOS window opens. At the DOS prompt, execute the following commands: c: cd cygwin binperl cygwin_install.txt This will create the following files: c:/cygwin/etc/profile, c:/cygwin/cygwin.bat, c:/cygwin/home/youruserid/.bashrc, c:/cygwin/home/youruserid/.Xdefaults, c:/cygwin/home/youruserid/.inputrc. If those files already exist, they are automatically moved to the folder c:/cygwin/tmp/installbackup. 12- Open a cygwin terminal window by double-clicking on the cygwin icon in the start menu or on the file c:/cygwin/cygwin.bat. The window should be black with white text and the prompt should like this: [~]$ If not, then go through all the steps again and make sure you haven't missed out anything. 13- Moshell installation: 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
  • 2. 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="[033[1m][w]$[033[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:
  • 3. 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