Created
December 30, 2010 15:08
-
-
Save rummelonp/759881 to your computer and use it in GitHub Desktop.
screenをgitからソース拾ってきてmakeした記録と、大丈夫な.screenrc。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encode | |
defutf8 on | |
defkanji utf-8 | |
encoding utf-8 utf-8 | |
defencoding utf-8 | |
# set term | |
term xterm-color | |
# no start up message | |
startup_message off | |
# key | |
escape ^z^z | |
# don't remove windows from the window list as soon as window process exits | |
zombie kr | |
# enable to scroll by mouse or keyboard | |
termcapinfo xterm* ti@:te@ | |
# scroll buffer | |
defscrollback 10000 | |
markkeys h=^B:l=^F:$=^E | |
# shortcut of screen with title option. | |
bind s colon 'screen -t ' | |
# split and focus window | |
bindkey ^x command -c emacs | |
bind -c emacs 1 only | |
bind -c emacs 2 split | |
bind -c emacs 3 split -v | |
bind -c emacs '^' colon 'resize +' | |
bindkey ^t focus | |
# list of all windows is displayed in the blank window for visual window selection. | |
bind w windowlist -b -m | |
bind ^w windowlist -b | |
windowlist title '%{u .c}Num Flags Title%=[0-9] select the number [movement] j,C-n:Down k,C-p:Up (C-)f:PageDown (C-)b:PageUp' | |
windowlist string '%{.c}%3n %f%09=%{dc} %t %=' | |
# hardstatus and caption | |
hardstatus on | |
hardstatus alwayslastline '%{= .c}%H%{-} %L=%-w%45L>%{=u c.}%n %t%{-}%+w %-17<%=%m/%d %02c:%s' | |
caption always '%?%F%{= cw}%:%{= wk}%?%2n%f%07=%t%=' | |
sorendition '+rb .c' | |
# default | |
chdir |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone git://git.savannah.gnu.org/screen.git | |
cd screen/src | |
autoconf | |
autoheader | |
./configure | |
make | |
sudo make install |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git clone git://git.savannah.gnu.org/screen.git | |
Cloning into screen... | |
remote: Counting objects: 3836, done. | |
remote: Compressing objects: 100% (898/898), done. | |
remote: Total 3836 (delta 2938), reused 3812 (delta 2922) | |
Receiving objects: 100% (3836/3836), 2.34 MiB | 440 KiB/s, done. | |
Resolving deltas: 100% (2938/2938), done. | |
$ cd screen/src | |
$ autoconf | |
$ autoheader | |
autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' | |
autoheader: WARNING: and `config.h.top', to define templates for `config.h.in' | |
autoheader: WARNING: is deprecated and discouraged. | |
autoheader: | |
autoheader: WARNING: Using the third argument of `AC_DEFINE' and | |
autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a template without | |
autoheader: WARNING: `acconfig.h': | |
autoheader: | |
autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, | |
autoheader: [Define if a function `main' is needed.]) | |
autoheader: | |
autoheader: WARNING: More sophisticated templates can also be produced, see the | |
autoheader: WARNING: documentation. | |
$ ./configure | |
this is screen version 4.1.0 | |
checking for prefix by checking for screen... /usr/bin/screen | |
checking for gcc... gcc | |
checking for C compiler default output file name... a.out | |
checking whether the C compiler works... yes | |
checking whether we are cross compiling... no | |
checking for suffix of executables... | |
checking for suffix of object files... o | |
checking whether we are using the GNU C compiler... yes | |
checking whether gcc accepts -g... yes | |
checking for gcc option to accept ISO C89... none needed | |
checking how to run the C preprocessor... gcc -E | |
checking for grep that handles long lines and -e... /usr/bin/grep | |
checking for egrep... /usr/bin/grep -E | |
checking whether gcc needs -traditional... no | |
checking for library containing strerror... none required | |
checking for AIX... no | |
checking for ANSI C header files... yes | |
checking for sys/types.h... yes | |
checking for sys/stat.h... yes | |
checking for stdlib.h... yes | |
checking for string.h... yes | |
checking for memory.h... yes | |
checking for strings.h... yes | |
checking for inttypes.h... yes | |
checking for stdint.h... yes | |
checking for unistd.h... yes | |
checking minix/config.h usability... no | |
checking minix/config.h presence... no | |
checking for minix/config.h... no | |
checking whether it is safe to define __EXTENSIONS__... yes | |
checking for gawk... no | |
checking for mawk... no | |
checking for nawk... no | |
checking for awk... awk | |
checking for a BSD-compatible install... /usr/bin/install -c | |
configure: checking for buggy tools... | |
- sh is 'GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin10.0)'. | |
checking if a system-wide socket dir should be used... yes | |
checking for the socket dir... (eff_uid ? "/tmp/uscreens" : "/tmp/screens") | |
configure: checking for MIPS... | |
configure: checking for Ultrix... | |
configure: checking for butterfly... | |
configure: checking for POSIX.1... | |
- you have a POSIX system | |
configure: checking for System V... | |
configure: checking for sequent/ptx... | |
configure: checking SVR4... | |
checking stropts.h usability... no | |
checking stropts.h presence... no | |
checking for stropts.h... no | |
checking for string.h... (cached) yes | |
checking for strings.h... (cached) yes | |
configure: checking for Solaris 2.x... | |
configure: checking BSD job jontrol... | |
- you have jobcontrol | |
configure: checking setresuid... | |
configure: checking setreuid... | |
configure: checking seteuid... | |
configure: checking execvpe... | |
configure: checking select... | |
configure: checking fifos... | |
- your fifos are usable | |
configure: checking for broken fifo implementation... | |
- your implementation is ok | |
configure: checking sockets... | |
- your sockets are usable | |
configure: checking socket implementation... | |
- you are normal | |
- both sockets and fifos usable. let's take sockets. | |
configure: checking select return value... | |
- select is ok | |
configure: checking for tgetent... | |
configure: checking libcurses... | |
- you use the terminfo database | |
configure: checking ospeed... | |
configure: checking for /dev/ptc... | |
configure: checking for SVR4 ptys... | |
checking for getpt... no | |
configure: checking for ptyranges... | |
configure: checking default tty permissions/group... | |
checking for write... /usr/bin/write | |
checking for xterm... /usr/X11/bin/xterm | |
- pty mode: 0620, group: 4 | |
configure: checking getutent... | |
configure: checking getutent with -lgen... | |
configure: checking ut_host... | |
checking utempter.h usability... no | |
checking utempter.h presence... no | |
checking for utempter.h... no | |
configure: checking for libutil(s)... | |
configure: checking getloadavg... | |
rm: conftest.dSYM: is a directory | |
assuming posix signal definition | |
configure: checking for crypt and sec libraries... | |
configure: checking crypt... | |
configure: checking IRIX sun library... | |
configure: checking syslog... | |
configure: checking wait union... | |
configure: checking for termio or termios... | |
configure: checking getspnam... | |
configure: checking getttyent... | |
configure: checking fdwalk... | |
configure: checking whether memcpy/memmove/bcopy handles overlapping arguments... | |
checking for long file names... yes | |
checking for vsprintf... yes | |
checking for dirent.h that defines DIR... yes | |
checking for library containing opendir... none required | |
checking for setenv... checking for nl_langinfo(CODESET)... yes | |
checking for library containing gethostname... none required | |
checking for rename... yes | |
checking for fchmod... yes | |
checking for fchown... yes | |
checking for strerror... yes | |
checking for lstat... yes | |
checking for _exit... yes | |
checking for utimes... yes | |
checking for vsnprintf... yes | |
checking for getcwd... yes | |
checking for setlocale... yes | |
checking for strftime... yes | |
checking for the global screenrc file... configure: creating ./config.status | |
config.status: creating Makefile | |
config.status: creating doc/Makefile | |
config.status: creating config.h | |
config.status: executing default commands | |
Now please check the pathnames in the Makefile and in the user | |
configuration section in config.h. | |
Then type 'make' to make screen. Good luck. | |
$ make | |
CPP="gcc -E -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"'" srcdir=. sh ./osdef.sh | |
AWK=awk CC="gcc -g -O2" srcdir=. sh ./comm.sh | |
AWK=awk srcdir=. sh ./term.sh | |
gcc -c -I. -I. -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \ | |
-g -O2 screen.c | |
In file included from screen.h:150, | |
from screen.c:89: | |
display.h:168: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
In file included from screen.h:151, | |
from screen.c:89: | |
window.h:261: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
gcc -c -I. -I. -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \ | |
-g -O2 ansi.c | |
In file included from screen.h:150, | |
from ansi.c:36: | |
display.h:168: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
In file included from screen.h:151, | |
from ansi.c:36: | |
window.h:261: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
gcc -c -I. -I. -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \ | |
-g -O2 fileio.c | |
In file included from screen.h:150, | |
from fileio.c:39: | |
display.h:168: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
In file included from screen.h:151, | |
from fileio.c:39: | |
window.h:261: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
gcc -c -I. -I. -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \ | |
-g -O2 mark.c | |
In file included from screen.h:150, | |
from mark.c:33: | |
display.h:168: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
In file included from screen.h:151, | |
from mark.c:33: | |
window.h:261: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
gcc -c -I. -I. -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \ | |
-g -O2 misc.c | |
In file included from screen.h:150, | |
from misc.c:34: | |
display.h:168: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
In file included from screen.h:151, | |
from misc.c:34: | |
window.h:261: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
gcc -c -I. -I. -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \ | |
-g -O2 resize.c | |
In file included from screen.h:150, | |
from resize.c:42: | |
display.h:168: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
In file included from screen.h:151, | |
from resize.c:42: | |
window.h:261: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
gcc -c -I. -I. -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \ | |
-g -O2 socket.c | |
In file included from screen.h:150, | |
from socket.c:42: | |
display.h:168: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
In file included from screen.h:151, | |
from socket.c:42: | |
window.h:261: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
gcc -c -I. -I. -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \ | |
-g -O2 search.c | |
In file included from screen.h:150, | |
from search.c:32: | |
display.h:168: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
In file included from screen.h:151, | |
from search.c:32: | |
window.h:261: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
sh ./tty.sh tty.c | |
gcc -c -I. -I. -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \ | |
-g -O2 tty.c | |
In file included from screen.h:150, | |
from tty.c:62: | |
display.h:168: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
In file included from screen.h:151, | |
from tty.c:62: | |
window.h:261: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
gcc -c -I. -I. -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \ | |
-g -O2 term.c | |
gcc -c -I. -I. -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \ | |
-g -O2 window.c | |
In file included from screen.h:150, | |
from window.c:42: | |
display.h:168: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
In file included from screen.h:151, | |
from window.c:42: | |
window.h:261: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
gcc -c -I. -I. -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \ | |
-g -O2 utmp.c | |
In file included from screen.h:150, | |
from utmp.c:34: | |
display.h:168: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
In file included from screen.h:151, | |
from utmp.c:34: | |
window.h:261: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
utmp.c:87: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
utmp.c:88: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
utmp.c:89: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
utmp.c:90: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
utmp.c:92: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
utmp.c: In function ‘RemoveLoginSlot’: | |
utmp.c:314: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
utmp.c:314: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
utmp.c: In function ‘SetUtmp’: | |
utmp.c:410: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
utmp.c: In function ‘RemoveUtmp’: | |
utmp.c:504: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
utmp.c:504: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
utmp.c: At top level: | |
utmp.c:652: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
utmp.c:681: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
utmp.c:691: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
utmp.c: In function ‘getutslot’: | |
utmp.c:695: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
utmp.c: In function ‘pututslot’: | |
utmp.c:704: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
utmp.c: In function ‘makedead’: | |
utmp.c:723: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
utmp.c: In function ‘makeuser’: | |
utmp.c:738: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
gcc -c -I. -I. -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \ | |
-g -O2 loadav.c | |
In file included from screen.h:150, | |
from loadav.c:46: | |
display.h:168: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
In file included from screen.h:151, | |
from loadav.c:46: | |
window.h:261: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
gcc -c -I. -I. -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \ | |
-g -O2 putenv.c | |
gcc -c -I. -I. -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \ | |
-g -O2 help.c | |
In file included from screen.h:150, | |
from help.c:36: | |
display.h:168: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
In file included from screen.h:151, | |
from help.c:36: | |
window.h:261: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
gcc -c -I. -I. -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \ | |
-g -O2 termcap.c | |
In file included from screen.h:150, | |
from termcap.c:31: | |
display.h:168: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
In file included from screen.h:151, | |
from termcap.c:31: | |
window.h:261: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
gcc -c -I. -I. -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \ | |
-g -O2 input.c | |
In file included from screen.h:150, | |
from input.c:31: | |
display.h:168: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
In file included from screen.h:151, | |
from input.c:31: | |
window.h:261: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
gcc -c -I. -I. -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \ | |
-g -O2 attacher.c | |
In file included from screen.h:150, | |
from attacher.c:35: | |
display.h:168: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
In file included from screen.h:151, | |
from attacher.c:35: | |
window.h:261: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
gcc -c -I. -I. -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \ | |
-g -O2 pty.c | |
In file included from screen.h:150, | |
from pty.c:35: | |
display.h:168: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
In file included from screen.h:151, | |
from pty.c:35: | |
window.h:261: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
gcc -c -I. -I. -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \ | |
-g -O2 process.c | |
In file included from screen.h:150, | |
from process.c:52: | |
display.h:168: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
In file included from screen.h:151, | |
from process.c:52: | |
window.h:261: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
gcc -c -I. -I. -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \ | |
-g -O2 display.c | |
In file included from screen.h:150, | |
from display.c:37: | |
display.h:168: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
In file included from screen.h:151, | |
from display.c:37: | |
window.h:261: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
gcc -c -I. -I. -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \ | |
-g -O2 comm.c | |
gcc -c -I. -I. -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \ | |
-g -O2 kmapdef.c | |
gcc -c -I. -I. -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \ | |
-g -O2 acls.c | |
In file included from screen.h:150, | |
from acls.c:49: | |
display.h:168: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
In file included from screen.h:151, | |
from acls.c:49: | |
window.h:261: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
gcc -c -I. -I. -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \ | |
-g -O2 braille.c | |
In file included from screen.h:150, | |
from braille.c:33: | |
display.h:168: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
In file included from screen.h:151, | |
from braille.c:33: | |
window.h:261: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
gcc -c -I. -I. -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \ | |
-g -O2 braille_tsi.c | |
In file included from screen.h:150, | |
from braille_tsi.c:30: | |
display.h:168: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
In file included from screen.h:151, | |
from braille_tsi.c:30: | |
window.h:261: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
gcc -c -I. -I. -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \ | |
-g -O2 logfile.c | |
In file included from screen.h:150, | |
from logfile.c:35: | |
display.h:168: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
In file included from screen.h:151, | |
from logfile.c:35: | |
window.h:261: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
gcc -c -I. -I. -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \ | |
-g -O2 layer.c | |
In file included from screen.h:150, | |
from layer.c:32: | |
display.h:168: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
In file included from screen.h:151, | |
from layer.c:32: | |
window.h:261: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
gcc -c -I. -I. -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \ | |
-g -O2 list_generic.c | |
In file included from screen.h:150, | |
from list_generic.c:24: | |
display.h:168: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
In file included from screen.h:151, | |
from list_generic.c:24: | |
window.h:261: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
gcc -c -I. -I. -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \ | |
-g -O2 list_display.c | |
In file included from screen.h:150, | |
from list_display.c:36: | |
display.h:168: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
In file included from screen.h:151, | |
from list_display.c:36: | |
window.h:261: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
gcc -c -I. -I. -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \ | |
-g -O2 list_window.c | |
In file included from screen.h:150, | |
from list_window.c:31: | |
display.h:168: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
In file included from screen.h:151, | |
from list_window.c:31: | |
window.h:261: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
gcc -c -I. -I. -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \ | |
-g -O2 sched.c | |
In file included from screen.h:150, | |
from sched.c:36: | |
display.h:168: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
In file included from screen.h:151, | |
from sched.c:36: | |
window.h:261: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
gcc -c -I. -I. -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \ | |
-g -O2 teln.c | |
gcc -c -I. -I. -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \ | |
-g -O2 nethack.c | |
In file included from screen.h:150, | |
from nethack.c:30: | |
display.h:168: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
In file included from screen.h:151, | |
from nethack.c:30: | |
window.h:261: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
gcc -c -I. -I. -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \ | |
-g -O2 encoding.c | |
In file included from screen.h:150, | |
from encoding.c:27: | |
display.h:168: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
In file included from screen.h:151, | |
from encoding.c:27: | |
window.h:261: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
gcc -c -I. -I. -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \ | |
-g -O2 canvas.c | |
In file included from screen.h:150, | |
from canvas.c:30: | |
display.h:168: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
In file included from screen.h:151, | |
from canvas.c:30: | |
window.h:261: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
gcc -c -I. -I. -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \ | |
-g -O2 layout.c | |
In file included from screen.h:150, | |
from layout.c:30: | |
display.h:168: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
In file included from screen.h:151, | |
from layout.c:30: | |
window.h:261: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
gcc -c -I. -I. -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \ | |
-g -O2 viewport.c | |
In file included from screen.h:150, | |
from viewport.c:30: | |
display.h:168: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
In file included from screen.h:151, | |
from viewport.c:30: | |
window.h:261: warning: ‘utmp’ is deprecated (declared at /usr/include/utmp.h:96) | |
gcc -o screen screen.o ansi.o fileio.o mark.o misc.o resize.o socket.o search.o tty.o term.o window.o utmp.o loadav.o putenv.o help.o termcap.o input.o attacher.o pty.o process.o display.o comm.o kmapdef.o acls.o braille.o braille_tsi.o logfile.o layer.o list_generic.o list_display.o list_window.o sched.o teln.o nethack.o encoding.o canvas.o layout.o viewport.o -lcurses | |
$ sudo make install | |
Password: | |
./etc/mkinstalldirs /usr/bin /usr/share/screen/utf8encodings | |
cd doc ; make installdirs | |
./../etc/mkinstalldirs /usr/share/man/man1 /usr/share/info | |
if [ -f /usr/bin/screen-4.1.0 ] && [ ! -f /usr/bin/screen-4.1.0.old ]; \ | |
then mv /usr/bin/screen-4.1.0 /usr/bin/screen-4.1.0.old; fi | |
/usr/bin/install -c screen /usr/bin/screen-4.1.0 | |
chown root /usr/bin/screen-4.1.0 && chmod 4755 /usr/bin/screen-4.1.0 | |
if [ -f /usr/bin/screen ] && [ ! -f /usr/bin/screen.old ]; then mv /usr/bin/screen /usr/bin/screen.old; fi | |
rm -f /usr/bin/screen | |
(cd /usr/bin && ln -f -s screen-4.1.0 screen) | |
cp ./utf8encodings/?? /usr/share/screen/utf8encodings | |
cd doc ; make install | |
./../etc/mkinstalldirs /usr/share/man/man1 /usr/share/info | |
/usr/bin/install -c -m 644 ./screen.1 /usr/share/man/man1/screen.1 | |
make screen.info | |
makeinfo ./screen.texinfo -o screen.info | |
if test -f screen.info; then d=.; else d=.; fi; \ | |
if test -f $d/screen.info; then \ | |
for f in $d/screen.info*; do /usr/bin/install -c -m 644 $f /usr/share/info;done; \ | |
if /bin/sh -c 'install-info --version' >/dev/null 2>&1; then \ | |
install-info --info-dir=/usr/share/info $d/screen.info; \ | |
else true; fi; \ | |
fi | |
if [ -d /usr/lib/terminfo ]; then \ | |
PATH="$PATH:/usr/5bin" tic ./terminfo/screeninfo.src; \ | |
chmod 644 /usr/lib/terminfo/s/screen*; \ | |
fi | |
termcap entry (./terminfo/screencap) should be installed manually. | |
You may also want to install ./etc/etcscreenrc in /usr/etc/screenrc | |
$ screen | |
screen screen-4.1.0 screen.old screencapture | |
$ ls -Al `which screen` | |
lrwxr-xr-x 1 root wheel 12 12 31 00:02 /usr/bin/screen -> screen-4.1.0 | |
$ screen -v | |
Screen version 4.01.00devel (GNU066b098) 2-May-06 | |
$ screen.old -v | |
Screen version 4.00.03 (FAU) 23-Oct-06 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment