* [gentoo-user] screen, mc, htop @ 2009-02-13 19:35 András, Csányi - Sayusi Ando 2009-02-13 21:47 ` Paul Hartman 2009-09-11 15:38 ` Paul Hartman 0 siblings, 2 replies; 8+ messages in thread From: András, Csányi - Sayusi Ando @ 2009-02-13 19:35 UTC (permalink / raw To: gentoo-user Hi all! I'm here again. So, the problem points is I can't decide what is the real problem. But I can describe the symptomes. 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. If I detached screen I can start an mc. So, mc is working. If I straced the process what is waiting I can see only this in the outline of strace: "read(0," In the screen I can't interrupt the process with Control-c or Control-d. I can kill this process with C-a K but in this case the screen windows will die too. The screen do this with users and root user too. The 'screen -wipe' command isn't solution. About my experiences the reboot is the solution, only... The important informations: app-misc/screen-4.0.3 multiuser nethack pam -debug -selinux app-misc/mc-4.6.2_pre1 7zip gpm ncurses nls -samba slang unicode -X This information is enough or do you need more? But there is an another crazy thing. If I start htop - after the mc and screen started doing the strange behavior - nothing happen. I detouch the screen and touch back the htop is working fine. I hope somebody can tell me what is the problem because I don't know. :( Thank you! András -- - - -- Csanyi Andras -- http://sayusi.hu -- Sayusi Ando -- "Bízzál Istenben és tartsd szárazon a puskaport!".-- Cromwell ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] screen, mc, htop 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 1 sibling, 0 replies; 8+ messages in thread From: Paul Hartman @ 2009-02-13 21:47 UTC (permalink / raw To: gentoo-user On Fri, Feb 13, 2009 at 1:35 PM, András, Csányi - Sayusi Ando <sayusi.ando@sayusi.hu> wrote: > Hi all! > > I'm here again. > > So, the problem points is I can't decide what is the real problem. But > I can describe the symptomes. > > 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. > > If I detached screen I can start an mc. So, mc is working. If I > straced the process what is waiting I can see only this in the outline > of strace: > > "read(0," > > In the screen I can't interrupt the process with Control-c or > Control-d. I can kill this process with C-a K but in this case the > screen windows will die too. > The screen do this with users and root user too. The 'screen -wipe' > command isn't solution. About my experiences the reboot is the > solution, only... > > The important informations: > app-misc/screen-4.0.3 multiuser nethack pam -debug -selinux > app-misc/mc-4.6.2_pre1 7zip gpm ncurses nls -samba slang unicode -X > > This information is enough or do you need more? > > But there is an another crazy thing. > If I start htop - after the mc and screen started doing the strange > behavior - nothing happen. I detouch the screen and touch back the > htop is working fine. > > I hope somebody can tell me what is the problem because I don't know. :( > > Thank you! > > András Very strange. I just tried this combination and it all works for me. Here's my versions (am on ~amd64) app-misc/screen-4.0.3 USE="pam -debug -multiuser -nethack (-selinux)" app-misc/mc-4.6.2_pre1 USE="X gpm nls samba unicode" sys-process/htop-0.8.1-r1 USE="unicode -debug" I do not use "multiuser" or "nethack" USE flags for scren. You do not use "samba". Otherwise everything seems the same. Paul ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] screen, mc, htop 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 1 sibling, 1 reply; 8+ messages in thread From: Paul Hartman @ 2009-09-11 15:38 UTC (permalink / raw To: gentoo-user On Fri, Feb 13, 2009 at 2:35 PM, András, Csányi - Sayusi Ando <sayusi.ando@sayusi.hu> wrote: > Hi all! > > I'm here again. > > So, the problem points is I can't decide what is the real problem. But > I can describe the symptomes. > > 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? ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] screen, mc, htop 2009-09-11 15:38 ` Paul Hartman @ 2009-09-11 16:04 ` Willie Wong 2009-09-11 16:58 ` [gentoo-user] " Nikos Chantziaras 0 siblings, 1 reply; 8+ messages in thread From: Willie Wong @ 2009-09-11 16:04 UTC (permalink / raw To: gentoo-user 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. W -- Willie W. Wong wwong@math.princeton.edu 408 Fine Hall, Department of Mathematics, Princeton University, Princeton Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire et vice versa ~~~ I. Newton ^ permalink raw reply [flat|nested] 8+ messages in thread
* [gentoo-user] Re: screen, mc, htop 2009-09-11 16:04 ` Willie Wong @ 2009-09-11 16:58 ` Nikos Chantziaras 2009-09-11 17:08 ` Paul Hartman 0 siblings, 1 reply; 8+ messages in thread From: Nikos Chantziaras @ 2009-09-11 16:58 UTC (permalink / raw To: gentoo-user 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? ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Re: screen, mc, htop 2009-09-11 16:58 ` [gentoo-user] " Nikos Chantziaras @ 2009-09-11 17:08 ` Paul Hartman 2009-09-11 17:35 ` Nikos Chantziaras 0 siblings, 1 reply; 8+ messages in thread From: Paul Hartman @ 2009-09-11 17:08 UTC (permalink / raw To: gentoo-user 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! ^ permalink raw reply [flat|nested] 8+ messages in thread
* [gentoo-user] Re: screen, mc, htop 2009-09-11 17:08 ` Paul Hartman @ 2009-09-11 17:35 ` Nikos Chantziaras 2009-09-13 11:44 ` Mick 0 siblings, 1 reply; 8+ messages in thread From: Nikos Chantziaras @ 2009-09-11 17:35 UTC (permalink / raw To: gentoo-user 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. ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Re: screen, mc, htop 2009-09-11 17:35 ` Nikos Chantziaras @ 2009-09-13 11:44 ` Mick 0 siblings, 0 replies; 8+ messages in thread From: Mick @ 2009-09-13 11:44 UTC (permalink / raw To: gentoo-user [-- 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 --] ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2009-09-13 11:44 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 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 is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox