[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: I meant Xterm



>> In a previous message, John Conover implied:

J> Does Debian come with Xterm?

   If it doesn't, building from source is easy.

     curl https://invisible-island.net/archives/xterm/xterm-401.tgz
     curl https://invisible-island.net/archives/xterm/xterm-401.tgz.asc
     gpg --verify xterm-401.tgz.asc
     tar xzf xterm-401.tgz

     cd xterm-401

     export CC="gcc8"     # what I use, YMMV
     export CXX="g++8"
     export CFLAGS="-O2"
     export LDFLAGS="-L/usr/local/lib"
     export CPPFLAGS="-I/usr/local/include"
     export TI="/usr/local/share/terminfo"

     # --disable-setuid        do not install setuid/setgid
     # --disable-setgid        do not install setuid/setgid
     # --enable-narrowproto    enable narrow prototypes for X libraries
     # --with-own-terminfo=P   set $TERMINFO (default: from environment)

     ./configure                   \
         --disable-setgid          \
         --disable-setuid          \
         --enable-256-color        \
         --enable-narrowproto      \
         --mandir=/usr/local/man   \
         --with-own-terminfo="$TI" \
         --with-x

     make
     make check
     sudo make install

     # xterm comes with a pretty good terminfo.  The version of Ncurses
     # TIC that's worked for me is v5.9 -- if you're happy with the
     # system terminfo, don't bother.

     /usr/local/bin/tic59 -s -o $TI terminfo
     make clean

-- 
Karl Vogel                      I don't speak for anyone but myself

Letterman's "Top 10 Signs You've Eaten Too Much" #9:
Doctor tells you your weight would be perfect for a man 17 feet tall.


Reply to: