Hi. I first learned about tmux from OpenBSD. It is really great, thank you!
I am trying to get it working on Solaris 10 Intel and SPARC. I have the same problem both places. I get a warning during the configure about a problem with term.h: checking for a BSD-compatible install... etc/install-sh -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... etc/install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes checking build system type... i386-pc-solaris2.10 checking host system type... i386-pc-solaris2.10 checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... no checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of cc... none checking whether cc understands -c and -o together... yes checking how to run the C preprocessor... cc -E checking for grep that handles long lines and -e... /usr/xpg4/bin/grep checking for egrep... /usr/xpg4/bin/grep -E 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 bitstring.h usability... no checking bitstring.h presence... no checking for bitstring.h... no checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for inttypes.h... (cached) yes checking libutil.h usability... no checking libutil.h presence... no checking for libutil.h... no checking ncurses.h usability... no checking ncurses.h presence... no checking for ncurses.h... no checking ndir.h usability... no checking ndir.h presence... no checking for ndir.h... no checking paths.h usability... no checking paths.h presence... no checking for paths.h... no checking pty.h usability... no checking pty.h presence... no checking for pty.h... no checking for stdint.h... (cached) yes checking sys/dir.h usability... no checking sys/dir.h presence... no checking for sys/dir.h... no checking sys/ndir.h usability... no checking sys/ndir.h presence... no checking for sys/ndir.h... no checking sys/tree.h usability... no checking sys/tree.h presence... no checking for sys/tree.h... no checking term.h usability... no checking term.h presence... yes configure: WARNING: term.h: present but cannot be compiled configure: WARNING: term.h: check for missing prerequisite headers? configure: WARNING: term.h: see the Autoconf documentation configure: WARNING: term.h: section "Present But Cannot Be Compiled" configure: WARNING: term.h: proceeding with the compiler's result checking for term.h... no checking util.h usability... no checking util.h presence... no checking for util.h... no checking for gcc that whines about -I... no checking for glibc... no checking for library containing clock_gettime... -lrt checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBEVENT... yes checking for library containing setupterm... -lcurses checking for b64_ntop... no checking for b64_ntop with -lresolv... yes checking for library containing inet_ntoa... -lnsl checking for library containing socket... -lsocket checking for socket in -lxnet... yes checking for CMSG_DATA... no checking if CMSG_DATA needs _XOPEN_SOURCE_EXTENDED... yes checking for library containing imsg_init... no checking for library containing forkpty... no checking for closefrom... yes checking for daemon... yes checking for setenv... yes checking for strlcpy... yes checking for strlcat... yes checking for asprintf... no checking for fgetln... no checking for strcasestr... no checking for strsep... no checking for strtonum... no checking for strnvis... no checking for getopt... yes checking whether optarg is declared... no checking whether optind is declared... no checking whether optreset is declared... no checking for bzero... yes checking for dirfd... no checking for setproctitle... no checking for sysconf... yes checking for BSD-style unsigned types... no checking whether TAILQ_PREV is declared... yes checking whether TAILQ_REPLACE is declared... no checking for __progname... no checking whether F_CLOSEM is declared... no checking for /proc/$$... yes checking platform... sunos configure: creating ./config.status config.status: creating Makefile config.status: executing depfiles commands tmux builds fine but when I use it the terminal sessions don't work (as in various cursor movement keys like backspace go forward instead of backward) until I manually enter export TERM=xterm in each tmux window. here is the output of infocmp xterm # Reconstructed via infocmp from file: /usr/share/lib/terminfo/x/xterm xterm|vs100|xterm terminal emulator, am, km, mir, msgr, xenl, cols#80, it#8, lines#65, acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, cr=\r, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\b, cud=\E[%p1%dB, cud1=\n, cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K$<3>, enacs=\E(B\E)0, home=\E[H, ht=\t, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\n, ka1=\EOq, ka3=\EOs, kb2=\EOr, kbs=\b, kc1=\EOp, kc3=\EOn, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kent=\EOM, kf0=\E[21~, kf1=\E[11~, kf10=\EOx, kf2=\E[12~, kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H, rs2=@, sc=\E7, sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t^N%e^O%;, sgr0=\E[m, smacs=^N, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, Can anybody help with this please? Also I have a request, I don't know if it is reasonable and in line with tmux's mission or not. In OpenBSD not all the supported architectures have multiple ttys, as you probably know. tmux is a hugh help because otherwise we would be stuck with one console on those architectures. The other problem is lack of a scrollback buffer. Can tmux provide a scrollback buffer or is this really something that the terminal itself has to support? If tmux could support that, it would be fantastic. Thank you. /jl -- ASCII ribbon campaign ( ) Powered by Lemote Fuloong against HTML e-mail X Loongson MIPS and OpenBSD and proprietary / \ http://www.mutt.org attachments Code Blue or Go Home! ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users