Package: mc
Version: 3:4.8.28-1
Severity: important
X-Debbugs-Cc: phil2...@gmail.com

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
    pressing ctrl+o to get a subshell while using the kali linux zsh addons on 
a slow pc.
    on login it lasts 2-3 seconds until the prompt appeares.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?
    MC window dissapeared but no shell prompt did come up,
    on pressing any key mc window came back in front. No subshell possible

    Patched subshell.c to get a little bit more time to settle the shell prompt

    --- mc-4.8.28.orig/src/subshell/common.c
    +++ mc-4.8.28/src/subshell/common.c
    @@ -749,7 +749,7 @@ feed_subshell (int how, gboolean fail_on
         should_read_new_subshell_prompt = FALSE;
     
         /* we wait up to 1 second if fail_on_error, forever otherwise */
    -    wtime.tv_sec = 1;
    +    wtime.tv_sec = 10;
         wtime.tv_usec = 0;
         wptr = fail_on_error ? &wtime : NULL;

   * What was the outcome of this action?
    After the patch the subshell works as expected

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 6.0.0-6-686-pae (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages mc depends on:
ii  libc6         2.36-7
ii  libext2fs2    1.46.6~rc1-1+b1
ii  libglib2.0-0  2.74.4-1
ii  libgpm2       1.20.7-10+b1
ii  libslang2     2.3.3-2
ii  libssh2-1     1.10.0-3+b1
ii  mc-data       3:4.8.28-1

Versions of packages mc recommends:
ii  mailcap         3.70+nmu1
ii  perl            5.36.0-6
ii  sensible-utils  0.0.17
ii  unzip           6.0-27

Versions of packages mc suggests:
pn  arj                        <none>
ii  bzip2                      1.0.8-5+b1
pn  catdvi | texlive-binaries  <none>
pn  dbview                     <none>
pn  djvulibre-bin              <none>
pn  epub-utils                 <none>
ii  file                       1:5.41-4
pn  genisoimage                <none>
pn  gv                         <none>
pn  imagemagick                <none>
ii  libaspell-dev              0.60.8-4+b1
ii  lynx                       2.9.0dev.11-1
pn  odt2txt                    <none>
ii  poppler-utils              22.08.0-2.1
pn  python                     <none>
pn  python-boto                <none>
pn  python-tz                  <none>
pn  unar                       <none>
pn  wimtools                   <none>
pn  xpdf | pdf-viewer          <none>
pn  zip                        <none>

-- no debconf information

Reply via email to