Cygwin Setup:
(For PC's running Cygwin Microsoft OS.)
The following hints will help in setting up a usable environment.
- Create the following .bashrc file in your home directory.
(The directory your Cygwin text-window is in when Cygwin starts up.)
alias d="ls -l" # Easy way to list directories, just type "d".
alias h=hsistory # Shows previous commands by typing "h".
alias t=more # Type file to screen, example: t prog.c
alias pd=pushd # Jump back and forth between directories.
export PATH=.:$PATH # Adds current directory to execution path.
source {c:/proj/}csim/setup # Replace {} with your actual csim-install path.
If you get messages like: could not open X-window, then
after starting the initial Cygwin text-window, type:
startxwin
... in the Cygwin text window. This starts the X-Server, which is required
to run the graphical CSIM programs. It also brings you into a nicer windowing
environment.
In X-Windows you will find many improved capabilities which are still not available under MS-Windows.
For example:
- Ability to select text, copy, and cut&paste in text-windows or command-windows with mouse.
- Ability to select text & paste with single clicks (use left and center mouse buttons),
instead of multiple key/mouse operations.
- Ability to extend text-window to arbitrary size by stretching with mouse.
- Ability to make powerful command aliases that can accept file names to operate on.
- Ability to repeat previous commands by number or command-name. (!!, !<partial-command>, or !<command-number>.
Also !-2 repeates two-back, !-3 repeats third-back, etc..)
- Intelligent file-name completion. (Will stop where file name is ambiguous, instead of selecting random files which is often cumbersome + dangerous.)
- Ability to push directories onto a directory stack, to rapidly jump back&forth
between or around multiple directories (pushd or pd).
- Extensive on-line manual pages.
- More powerful text editors, appropriate for design & development.
- Ability to see and list command histories.
- Ability to make symbolic file/directory links.
- ... And many other work-saving capabilities.
For questions, contact:
E-Mail: admin@csim.com