[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Two little features (and a bounty?)

From: Micah Cowan
Subject: Re: Two little features (and a bounty?)
Date: Fri, 25 Jul 2008 00:07:45 -0700
User-agent: Thunderbird (X11/20080505)

Hash: SHA1

Okay, so here's what I've found.

I confirmed that nano and alpine get mouse events outside screen (duh).

I confirmed that alpine _works_ with mouse inside screen, no problems. I
have to set DISPLAY to a fake value, but I had to do that to make it
work outside of screen, too.

I confirmed that nano does _not_ work by default inside of screen. It
doesn't send the "send mouse events" sequence (it sends the \E[?1000h
sequence outside of screen). If I tell screen to send mouse events
anyway, nano -m doesn't process them correctly (clicking in the editor
pane brings up the help screen, instead of just moving the cursor). To
get screen to send mouse events, I did:

  $ printf '\033[?1000h'; nano -m

You'll want to do a

  $ printf '\033[?1000l'

Sometime afterwards to disable the mouse events again.

BTW, I confirmed that, on my home system, nano under screen doesn't work
for me either. However, when I was at work, it worked fine. I just ssh'd
in and verified it works fine. The version for the one that worked is
1.3.<something> on RedHat, yours is 2.0.7, and mine is 2.0.6.


  $ TERM=xterm nano -m

works fine for me in screen.

- --
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer,
and GNU Wget Project Maintainer.
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla -


reply via email to

[Prev in Thread] Current Thread [Next in Thread]