[Top][All Lists]

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

Re: Several queries

From: Manas Thakur
Subject: Re: Several queries
Date: Thu, 05 Oct 2017 22:45:25 +0500

Hi Jostein,

Thanks for the reply.

1. I am using iTerm2 on macOS, with TERM as xterm-256color in my bashrc. I am not able to use mouse-scroll. I added "termcapinfo xterm* ti@:address@hidden to my .screenrc, but it doesn’t work
You can also try to put this in your .screenrc: etenv TERM screen shell -$SHELL shell -bash activity "Activity in %t(%n)" attrcolor b ".I" # allow bold colors - necessary for some reason termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm' # tell screen how to set colors. AB = background, AF=foreground defbce on # use current bg color for erased chars terminfo xterm* ti=:te= term screen

Adding the terminfo entry above term (I use term screen-256color) worked :)

2. Many times when I run a long-output-generating script, suddenly some garbage output gets pasted onto my terminal even after I have CTRL-C’ed the command (either within vim or in the shell prompt itself). A CTRL-L solves the issue, though.
Does your script send some of the screen's paste commands?


3. Coming from tmux, miss the feature where I could zoom onto a tmux-pane and unzoom back after some moments. Is there I way I could expand a splitted region to occupy the whole width/height temporarily and un-expand it back so that the existing splits/regions stay back?
You can use "layout" and "resize" for this. Some good tips here:

Yes. I used Neil's and your suggestions to accomplish the same.

4. When I close a full-region command, say vim or top, even with ‘altscreen on’, the prompt jumps to the bottom of the terminal (though altscreen is serving its purpose of clearing the screen above the prompt). Is thee a way the prompt stays back at the place from which the command started? I remember I did not see this problem on some older version of screen on a friend’s system.
Ref. to the termcap setting above.

This actually did not help. Probably it's a screen bug. Do you face this issue? Which screen version are you on?

5. Is there a subreddit for gnu-screen? I couldn’t find one. I would be glad to create and manage one if you people are interested.
A new GNU screen forum at reddit would be nice. :)

Thanks. Created:


reply via email to

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