■ncursesインストール
Announcing ncurses 6.2
https://invisible-island.net/ncurses/announce.html
Index of /pub/gnu/ncurses
https://ftp.gnu.org/pub/gnu/ncurses/?C=M;O=D
■ソースからncursesをインストールする - noknow
https://noknow.info/it/os/install_ncurses_from_source?lang=ja
># ./configure --prefix=/usr/local/ncurses/6_1 --with-shared --with-pkg-config-libdir=/usr/local/ncurses/6_1/lib/pkgconfig --enable-pc-files
configureオプション
--with-shared
共有ライブラリを生成する
--with-pkg-config-libdir
.pcファイルの生成先パス
--enable-pc-files
.pcファイルを生成する
# ncurses
NCURSES_INC=/usr/local/include/ncurses
export CPATH=$NCURSES_INC:$CPATH
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
重要
インストール: ncurses | 端末操作の基本ライブラリー – senooken.jp
https://senooken.jp/post/2018/06/20/
> --with-shared --with-termlib
■実行した./configure
./configure --prefix=/usr/local/stow/ncurses --with-shared --enable-pc-files --with-termlib
■screenとは
GNU screenのattach時に環境変数を自動的に引き継ぐ - 貳佰伍拾陸夜日記
https://tarao.hatenablog.com/entry/20101025/1287971794
■GNU screenインストール
tmux同様 ncurses が必要。オプションは --enable-colors256 ぐらい?
もしかして、libcryptも?
公式
Screen - GNU Project - Free Software Foundation
https://www.gnu.org/software/screen/
Index of /gnu/screen
https://ftp.gnu.org/gnu/screen/?C=M;O=D
$ wget https://ftp.gnu.org/gnu/screen/screen-4.8.0.tar.gz
$ tar xzvf screen-4.8.0.tar.gz
$ cd screen-4.8.0
$ cd screen/src
$ sh autogen.sh
$ ./configure --enable-colors256 --prefix=/usr/local
(Macでビルドする場合は --prefix=/usr/local が必要。/usr/local/stowはNG)
$ make
$ make install
Gnu screen-4.1.0のインストール – senooken.jp
https://senooken.jp/post/2013/04/15/
git.savannah.gnu.org/
http://git.savannah.gnu.org/
必読
開発版GNU Screenでコピペを極める - Keep It Simple, Stupid
http://yskwkzhr.blogspot.com/2011/12/master-copy-and-paste-of-gnu-screen.html
■エラーやその他
Cygwin で GNU Screen を使って画面の縦分割をしてみる
https://server-setting.info/blog/cygwin-gnu-screen-install.html
MSYS2 に gnu screen をインストールする - Qiita
https://qiita.com/jp_yen/items/443f29945a154555745c
■実行した./configure
./configure --enable-colors256 --prefix=/usr/local