I’ve been struggling to install the beast that is Clearcase 7.1.1 on a proof of concept server. In this case the server is a Solaris 10 64bit install running on VMware Fusion 3.
One of the initial mistakes I made was to try and run the installation from a network mount. DON’T. Solaris must block the execution of code on some types of removable drives, which in this case was a VMWare Fusion shared folder.
A second thing that is not clear in the README files: Clearcase 7.1.1 on Solaris x86 does NOT support the GUI installation. Therefore, for me as much as any readers of this blog, I’ll document the steps to kick off a fresh/silent installation.
I use vim a lot of the time, mostly with splits and diffs, so the following key mappings and functions really helped me with managing the split windows. Maybe they will help you too. (Thanks to the Vim tips wiki for these).
If you use vertical splits, this will help move left and right across the split. Put in your ~/.vimrc
" Map multi window keys
" CTRL-H move to left window
nmap <c -h> </c><c -w>h</c><c -w><bar>
" CTRL-L move to right window
nmap <c -l> </c><c -w>l</c><c -w><bar>
When scrolling up and down a window, you can use zz to jump the current line to the middle of the window. If you want this on always ala Scroll locking, then you can use this function. It is a toggle option. use \zz to toggle it. Put in your ~/.vimrc
" Map \zz to lock scroll to middle of window
map <leader>zz :let &scrolloff=999-&scrolloff<cr>
In a window split (of any sort) if you want to maximise to the current window, this will do it for you. When you press CTRL-W then o it will maximise the current view, then when pressed again will return your split arrangement! Put in your ~/.vimrc
" Max/unmax splits
nnoremap <c -W>O :call MaximizeToggle ()<cr>
nnoremap <c -W>o :call MaximizeToggle ()<cr>
nnoremap <c -W></c><c -O> :call MaximizeToggle ()<cr>
exec "source " . s:maximize_session
let s:maximize_hidden_save = &hidden
let s:maximize_session = tempname()
exec "mksession! " . s:maximize_session
I found myself writing down example commands in clearcase (V6), so I thought I would share them. If you have ever needed to find files like you do in UNIX, but want to be clearcase specific, then these commands will give you a quick headstart on using the cleartool find command:
How do I list all files and file versions going into a specific build that is labelled? Assume your label is TR1_PRE_RELEASE