Code, Strings, and Keys

  • About Thomas Powell
  • Pianist / Accompanist / Music Director Resume
  • Running Gear – Shoes, Treadmill, and Bandages
  • Site Map
Illustration of a bird flying.
  • remotesplit for cscope revisited

    I’ve decided to go with a remote tactic that’s slightly more reliable than my previous tactic: Name the gvim server by the contents of the $DISPLAY variable. I have side-by-side PCs with their own X-servers, so I want to send the file to the gvim server that is outputting the same place as my cscope […]

    June 7, 2005
  • More than Enough.

    After making it through More Than Enough, I finally understand the structure. If you do read this book, don’t cheat yourself by skipping the cumulative review sessions at the end of each chapter. They help reinforce a mindset that is a key to getting your priorities in order.

    June 6, 2005
  • remotesplit for cscope

    On a multiuser environment, I added the ‘ps -fu’ bit to detect a gvim session, slightly more fool-resistant than just checking the result code of the –remote-send call. My remotesplit: ps -fu $LOGNAME | grep -v grep | grep gvim 2>/dev/nullif [ $? -ne 0 ]then   gvim $*else   gvim –remote-send “<ESC>:sp $CSCOPE_ROOT/$2<CR>:0<CR>:$1<CR>:-1<CR>” 2>/dev/nullfi

    May 16, 2005
←Previous Page
1 … 299 300 301 302 303
Next Page→

Code, Strings, and Keys

Proudly powered by WordPress