ちょっとさくらのレンタルサーバーで作業するときにscreenが使えないので入れてみました。
% uname -a FreeBSD xxx.sakura.ne.jp 11.2-RELEASE-p15 FreeBSD 11.2-RELEASE-p15 #0: Fri Aug 19 12:13:37 JST 2022 root@xxxx.sakura.ne.jp:/usr/obj/home/pkg/src/sys/GENERIC amd64
FreeBSD 11.2 amd64です
archiveは4.0.3でよいようなので
% wget http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/amd64/9.1-RELEASE/packages/sysutils/screen-4.0.3_14.tbz --2024-12-05 12:19:41-- http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/amd64/9.1-RELEASE/packages/sysutils/screen-4.0.3_14.tbz Resolving ftp-archive.freebsd.org... 96.47.72.41, 2610:1c1:1:6068::369:1 Connecting to ftp-archive.freebsd.org|96.47.72.41|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 575736 (562K) [application/octet-stream] Saving to: 'screen-4.0.3_14.tbz' screen-4.0.3_14.tbz 100%[=================================================>] 562.24K 361KB/s in 1.6s 2024-12-05 12:19:43 (361 KB/s) - 'screen-4.0.3_14.tbz' saved [575736/575736]
とりあえず解凍
% tar -xjvf ../screen-4.0.3_14.tbz % pwd .../screen % ls +COMMENT +DESC bin man +CONTENTS +MTREE_DIRS info share
bin/screenがあるので
$HOME/bin/screen に置いておく
% ll ~/bin/ total 332 -rwxr-xr-x 1 as4 users 338144 12月 5 12:24 screen
問題なく使用出来ました!
Screen version 4.00.03 (FAU) 23-Oct-06 Copyright (c) 1993-2002 Juergen Weigert, Michael Schroeder Copyright (c) 1987 Oliver Laumann --- [screen is terminating]
.cshrcに $HOME/binが入っているのでログインするとそのまま使えました◎
set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin /usr/X11R6/bin $HOME/bin)
コメント