According to some requests I built rlwrap packages for Linux (RedHat compatible distributions) 64 bit (x86_64) and for Sun Solaris SPARC 64 bit. Packages for Solaris were built on 9 version but also working on version 10 (tested of course). download readline package for Solaris (9, 10) SPARC. (md5 checksum: 523e0169e79e07fab595d778927f7165) download rlwrap package for Solaris (9, 10) SPARC. (md5 checksum: 0ea2a86c4e7817a36a5b1d6a25b61269) download rlwrap package for Redhat EL (3, 4) and Enteprise Linux x86_64 architecture. (md5 checksum: b2c91b2057f76431d92a788d4e79d42d) To install rlwrap on Solaris execute following commands:
pkgadd -d readline-5.2-solaris9-sparc
pkgadd -d rlwrap-0.28-solaris9-sparc
As readline library is located in /usr/local/lib don't forget to add that line to LD_LIBRARY_PATH. Also put following line to your .bash_profile:
alias sqplus='/usr/local/bin/rlwrap sqlplus'
To install rlwrap on Linux (RH EL, EL, WBL) execute following commands:
rpm -ivh rlwrap-0.28.rh4.x86_64.rpm
Also put following line to your .bash_profile:
alias sqplus='rlwrap sqlplus'