Loading ...
Sorry, an error occurred while loading the content.

Re: MC not start

Expand Messages
  • micheal_314
    ... I had the same problem on one slug but not on another (both version 6.8 firmware). Didn t get to the root cause but I just installed nano and use that for
    Message 1 of 8 , Oct 1, 2006
    • 0 Attachment
      --- In nslu2-general@yahoogroups.com, "aixrus" <anatol@...> wrote:
      >
      > Hi!
      > i install Midnight Commander:
      > ipkg install mc
      >
      > but he is not start:
      >
      > bash-3.1# mc
      > Screen size 0x0 is not supported.
      > Check the TERM environment variable.
      >
      > Plz help!!!
      >

      I had the same problem on one slug but not on another
      (both version 6.8 firmware).
      Didn't get to the root cause but I just installed nano and use that
      for editing files (although the mc navigation strengths are missed).
    • Alexandros Bagos
      Hi, You should do as the wiki page suggests: 2- Edit or create /etc/profile to set up your terminal settings. It does not exist by default (for me /etc/profile
      Message 2 of 8 , Oct 2, 2006
      • 0 Attachment
        Hi,
        You should do as the wiki page suggests:

        2- Edit or create /etc/profile to set up your terminal settings. It does not exist by default (for me /etc/profile points to /opt/etc/profile which was installed together with bash).
        Add these lines to the file:
        export TERMINFO=/opt/share/terminfo
        export TERM=xterm-pcolor

        To try other terminal configurations, explore the /opt/share/terminfo directory. I use xterm-color





        ---------------------------------
        �������������� Yahoo!
        ���������� �� ���������� ���� ���� (spam); �� Yahoo! Mail �������� ��� �������� ������ ��������� ���� ��� ����������� ���������
        http://login.yahoo.com/config/mail?.intl=gr

        [Non-text portions of this message have been removed]
      • rolandkbs
        Have you set the TERM variable? Try # export TERM=ansi Roland
        Message 3 of 8 , Oct 3, 2006
        • 0 Attachment
          Have you set the TERM variable?
          Try
          # export TERM=ansi

          Roland

          --- In nslu2-general@yahoogroups.com, "aixrus" <anatol@...> wrote:
          >
          > Hi!
          > i install Midnight Commander:
          > ipkg install mc
          >
          > but he is not start:
          >
          > bash-3.1# mc
          > Screen size 0x0 is not supported.
          > Check the TERM environment variable.
          >
          > Plz help!!!
          >
        • aixrus
          ... by default: #echo $TERM xterm # export TERM=ansi # mc Unknown terminal: ansi Check the TERM environment variable. Also make sure that the terminal is
          Message 4 of 8 , Oct 3, 2006
          • 0 Attachment
            --- In nslu2-general@yahoogroups.com, "rolandkbs" <roland.krebs@...>
            wrote:
            >
            > Have you set the TERM variable?
            > Try
            > # export TERM=ansi
            >

            by default:
            #echo $TERM
            xterm


            # export TERM=ansi
            # mc
            Unknown terminal: ansi
            Check the TERM environment variable.
            Also make sure that the terminal is defined in the terminfo database.
            Alternatively, set the TERMCAP environment variable to the desired
            termcap entry.
          • Carlos
            Same problem here. I ve set the TERM var but get the same error: # export TERM=ansi # mc Warning: file /opt/lib/mc/extfs/extfs.ini not found Warning: file
            Message 5 of 8 , Oct 4, 2006
            • 0 Attachment
              Same problem here.
              I've set the TERM var but get the same error:

              # export TERM=ansi
              # mc
              Warning: file /opt/lib/mc/extfs/extfs.ini not found
              Warning: file /opt/lib/mc/extfs/sfs.ini not found
              Unknown terminal: ansi
              Check the TERM environment variable.
              Also make sure that the terminal is defined in the terminfo database.
              Alternatively, set the TERMCAP environment variable to the desired
              termcap entry.



              --- In nslu2-general@yahoogroups.com, "rolandkbs" <roland.krebs@...>
              wrote:
              >
              > Have you set the TERM variable?
              > Try
              > # export TERM=ansi
              >
              > Roland
              >
              > --- In nslu2-general@yahoogroups.com, "aixrus" <anatol@> wrote:
              > >
              > > Hi!
              > > i install Midnight Commander:
              > > ipkg install mc
              > >
              > > but he is not start:
              > >
              > > bash-3.1# mc
              > > Screen size 0x0 is not supported.
              > > Check the TERM environment variable.
              > >
              > > Plz help!!!
              > >
              >
            • aixrus
              big thanks!!! it work! :)
              Message 6 of 8 , Oct 5, 2006
              • 0 Attachment
                big thanks!!! it work! :)
              • Carlos
                Solved, it s always good to read the docs :D http://www.nslu2-linux.org/wiki/Unslung/Mc
                Message 7 of 8 , Oct 5, 2006
                • 0 Attachment
                  Solved,
                  it's always good to read the docs :D

                  http://www.nslu2-linux.org/wiki/Unslung/Mc



                  --- In nslu2-general@yahoogroups.com, "Carlos" <neophox@...> wrote:
                  >
                  > Same problem here.
                  > I've set the TERM var but get the same error:
                  >
                  > # export TERM=ansi
                  > # mc
                  > Warning: file /opt/lib/mc/extfs/extfs.ini not found
                  > Warning: file /opt/lib/mc/extfs/sfs.ini not found
                  > Unknown terminal: ansi
                  > Check the TERM environment variable.
                  > Also make sure that the terminal is defined in the terminfo database.
                  > Alternatively, set the TERMCAP environment variable to the desired
                  > termcap entry.
                  >
                  >
                  >
                  > --- In nslu2-general@yahoogroups.com, "rolandkbs" <roland.krebs@>
                  > wrote:
                  > >
                  > > Have you set the TERM variable?
                  > > Try
                  > > # export TERM=ansi
                  > >
                  > > Roland
                  > >
                  > > --- In nslu2-general@yahoogroups.com, "aixrus" <anatol@> wrote:
                  > > >
                  > > > Hi!
                  > > > i install Midnight Commander:
                  > > > ipkg install mc
                  > > >
                  > > > but he is not start:
                  > > >
                  > > > bash-3.1# mc
                  > > > Screen size 0x0 is not supported.
                  > > > Check the TERM environment variable.
                  > > >
                  > > > Plz help!!!
                  > > >
                  > >
                  >
                Your message has been successfully submitted and would be delivered to recipients shortly.