public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user]  Re: screen, mc, htop
Date: Sun, 13 Sep 2009 12:44:15 +0100	[thread overview]
Message-ID: <200909131244.28698.michaelkintzios@gmail.com> (raw)
In-Reply-To: <h8e1oi$vsh$1@ger.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 2762 bytes --]

On Friday 11 September 2009, Nikos Chantziaras wrote:
> On 09/11/2009 08:08 PM, Paul Hartman wrote:
> > On Fri, Sep 11, 2009 at 11:58 AM, Nikos Chantziaras<realnc@arcor.de>  
wrote:
> >> On 09/11/2009 07:04 PM, Willie Wong wrote:
> >>> On Fri, Sep 11, 2009 at 10:38:50AM -0500, Paul Hartman wrote:
> >>>> On Fri, Feb 13, 2009 at 2:35 PM, András, Csányi - Sayusi Ando
> >>>>
> >>>> <sayusi.ando@sayusi.hu>   wrote:
> >>>>> I use screen lot of and I like it veery much. Few weeks ago - when I
> >>>>> reinstall gentoo, started this weird thing.
> >>>>> If I start mc in the screen nothings happen. I can see the cursos is
> >>>>> stop before the last line and waiting...
> >>>>> Generally first time the mc is start and I can work with. But, random
> >>>>> long time later the mc is start doing this stupid behavior what I
> >>>>> wrote upper. This thing is independent what I did. Last time is
> >>>>> started after I use vim to edit an file. Yesterday started after I
> >>>>> write in mc's command line 'df -h' and hit Enter.
> >>>>
> >>>> This is a very old post, but I want to say I am experiencing the same
> >>>> problems with screen and mc (even after I initially replied saying I
> >>>> didn't have it :). Did you ever find a solution?
> >>>
> >>> I dunno if my problem is the same as yours, but it may not be just mc.
> >>> screen has been crapping out on me lately, and also randomly, like
> >>> described above, when I use some of the shell scripts that I wrote. It
> >>> only happens with interactive scripts that display a menu using
> >>> 'dev-util/dialog'. Most of the time it works, sometimes it doesn't:
> >>> after the previous dialog clears the screen, screen just sits there
> >>> blinking and not loading the next one.
> >>>
> >>> I'd be interested in a solution too, if there is one.
> >>
> >> If you start screen, then do "export TERM=xterm", does that fix the
> >> issues?
> >
> > So far that seems to fix it for me! But it's a very random and
> > non-reproducible error so only time will tell. mc froze on startup for
> > me just now (with TERM=screen) 5 times in a row; set TERM=xterm and mc
> > started without problem 5 times in a row. So that's a good sign, I
> > think.
> >
> > Thanks!
>
> I use that trick to get mouse support in mc under screen.  Just thought
> it might solve even more issues.

I remember fixing a problem which may be related to this, by cp /etc/screenrc 
~/.screenrc and then editing ~/.screenrc to add lines like:

  termcap  rxvt hs@:cs=\E[%i%d;%dr:im=\E[4h:ei=\E[4l
  terminfo rxvt hs@:cs=\E[%i%p1%d;%p2%dr:im=\E[4h:ei=\E[4l

under 'xterm tweaks'; this is because echo $TERM shows that my terminal is 
rxvt - yours may be different.
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

      reply	other threads:[~2009-09-13 11:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-13 19:35 [gentoo-user] screen, mc, htop András, Csányi - Sayusi Ando
2009-02-13 21:47 ` Paul Hartman
2009-09-11 15:38 ` Paul Hartman
2009-09-11 16:04   ` Willie Wong
2009-09-11 16:58     ` [gentoo-user] " Nikos Chantziaras
2009-09-11 17:08       ` Paul Hartman
2009-09-11 17:35         ` Nikos Chantziaras
2009-09-13 11:44           ` Mick [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200909131244.28698.michaelkintzios@gmail.com \
    --to=michaelkintzios@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox