[Top][All Lists]

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

Re: Window resizing and F10 not working

From: Trebor Sreyb
Subject: Re: Window resizing and F10 not working
Date: Fri, 12 Aug 2005 09:00:02 -0700 (PDT)

--- Michael Schroeder
<address@hidden> wrote:

> I don't see how this can help. It's not the 'screen'
> termcap/info entry that are missing the resize
> but your terminal emulator's entries. Try 'echo
> $TERM' before you start screen.
> (And your terminfo entry is wrong, it should
> probably read WS=\E[8;%p1%d;%p2%dt'. If the codes
> are always the same we wouldn't need two different
> commands...)

My TERM _prior_ to starting screen is:

% echo $TERM 

After I start screen, my TERM is:

% echo $TERM 

I think I was using Ctrl-A,W incorrectly. The manpage
for screen says Ctrl-A,W will toggle between 80 and
132 columns, which is not exactly what I want.

Instead, I found that the screen command 'fit' will do
exactly what I'm asking. So this particular issue is
now resolved.

Now on to my other problem : the F10 function key is
somehow not treated like the other function keys.

If I start vim (version 6.2), go into insert mode,
then press the F2 through F12 function keys one by
one, I get the string '<Fn>' entered into the document
for each function key, like this:


However, if I start screen, then run vim from inside
the screen session, and repeat the same keystrokes,
all the keys EXCEPT F10 get treated just as before. 

With F10, something different is sent - I'm not
exactly what is sent, although an escape character
must be part of it since it breaks me out of insert
mode. For example, I get this via vim in screen:


(after re-entering insert mode after F10 took me out
of insert mode)

The *only* difference is that screen was used in the
later example. Hence, screen is handling F10 a bit

 Andover, MA

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

reply via email to

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