Subject: mouse with xterm/screen/mc
To: None <tech-userlevel@NetBSD.org>
From: Pierre-Philipp Braun <ppwb@club-internet.fr>
List: tech-userlevel
Date: 06/07/2004 01:08:48
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi there.

	I would like to get the mouse working with midnight commander on
xterm/screen. Mouse works fine with Pine, Pico and Nano within screen.
But doesn't with mc when launching it from a screen session.

.cshrc
alias mc        'mc -c -x'

.screenrc
escape ^Aa
startup_message off
altscreen on
defscrollback 2000
caption always
caption string "%{= .W}%-Lw%{=b .y}[%50>%n%f*%t]%{-}%+Lw%< %{=b .y}/%{-} %Y/%m/%d %c:%s %D %l"
vbell on
vbell_msg "!"
#activate monitoring manually on specific windows -- ^A :monitor on
activity "%{=b .y}Process in %n$"
# http://www4.informatik.uni-erlangen.de/~jnweiger/screen-faq.html
termcap xterm 'AF=\E[3%dm:AB=\E[4%dm'
terminfo xterm 'AF=\E[3%p1%dm:AB=\E[4%p1%dm'
termcapinfo xterm 'ti@:te@'
termcapinfo xterm 'bc@:bs@'
bindkey -d kb stuff ^H
#hstatus ""
#hardstatus alwayslastline "%w"
#shell tcsh

It seems i may use 'XT' (bool), but i don't know how to use it,
	- either w/ termcap, terminfo or termcapinfo xterm
	- what have to write after '='


Help would be greatly appreciated.
Thanks in advance.

Pierre-Philipp
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iD8DBQFAw6QF/gRjJo8mT84RAv01AKCCcuVmo3dZRCmd5hD5wQl0u7ujxgCeKN3P
61J2A/RxQ9Bca5LkB4/8CbM=
=YRjn
-----END PGP SIGNATURE-----