Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

vim (Vi IMproved) is available under Linux, Cygwin, SGI, and Solaris, so why not use that instead?

Cygwin linux SGI Solaris Vi Vim
0
Posted

vim (Vi IMproved) is available under Linux, Cygwin, SGI, and Solaris, so why not use that instead?

0

How can I make ‘csh’ my default Cygwin login shell? Don’t bother editing /etc/passwd and changing your “login shell” to /bin/tcsh; it doesn’t work 🙂 Instead, use the Windows Notepad (or Textpad, or whatever) to create the following file, called “tcsh.bat”, in C:\cygwin: @echo off c:\cygwin\bin\tcsh -l This will be analogous to the default C:\cygwin\cygwin.bat, which basically does the same thing to launch the bash shell. Why not simply edit cygwin.bat and point it to tcsh instead? You can try that, but it may not be preserved between Cygwin updates/reinstalls/package additions, etc. Then you’ll need working .cshrc and .login files in your home directory. Here are working samples: # .cshrc # # this file gets executed with every subshell # is this an interactive shell? if ( $?prompt ) then # yes, we’re in an interactive shell # prompt set prompt = “%{\033[1;36m%}peter %{\033[1;35m%}[%~] %{\033[1;36m%}%n \%%{\033[1;33m%} ” # history set history = 1000 set savehist = 1000 set EDITOR = vi

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.