User Tools

Site Tools


tips:solaris:crle

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
tips:solaris:crle [2010/01/07 16:25]
mattieu created
tips:solaris:crle [2010/01/10 23:33] (current)
mattieu
Line 1: Line 1:
-====Get a screen terminfo entry on Solaris ====+====== Add new library paths with crle(1) ====== 
 +Useful when you want to use new shared libraries with your programs.\\ 
 +For example, if you want to add OpenCSW library path: 
 +<code bash>$ sudo crle -u -l /opt/csw/lib</code>
  
-Solaris doesn't have a 'screenterminfo entry by default, so you might notice that if you set TERM to 'screen' things don't work right. +The ''l'' option specify new search directory to the runtime linker whereas the ''u'' option appends it to the existing ones
- +~~NOTOC~~
-Screen itself comes with termcap entry. If you install using the sunfreeware package, the termcap file will be:\\ +
-''/usr/local/doc/screen/terminfo/screencap'' +
- +
-We need to convert this to a terminfo file and compile it. All tools used below come standard with Solaris.\\ +
-''# captoinfo screencap > screen.ti\\ +
-"screencap", line 2, col 24, terminal 'screen': unknown capability 'G0'\\ +
-"screencap", line 18, col 58, terminal 'screen': unknown capability 'AX'\\ +
-# tic screen.ti\\ +
-# ls -d /usr/share/lib/terminfo/s/screen*\\ +
-/usr/share/lib/terminfo/s/screen     /usr/share/lib/terminfo/s/screen-w'' +
- +
-//Note: Make sure you're running ''/usr/bin/tic'', not ''/usr/local/bin/tic'' (comes with some sunfreeware package). The ''/usr/local/bin/tic'' will write it's terminfo file to ''/usr/local/share/terminfo'' which isn't used by any shell I've tried, not by default anywaySomething to keep in mind.// +
- +
-Now you've got a screen terminfo entry. Setting your TERM to 'screen' should work now, which is the default inside new screen sessions.+
tips/solaris/crle.1262877944.txt.gz · Last modified: 2010/01/07 16:25 by mattieu