#1145 emerge bombs out without a TERM environment set

1.090
closed
Jamie Cameron
5
2003-05-24
2003-05-23
Bill Schaub
No

Under gentoo linux running recent emerge
emerge bombs out due to teh TERM envrionment not
being set. this can easily be fixed by setting TERM
to dumb inside of emerge-lib.pl

# emerge-lib.pl
# Functions for gentoo package management

chop($system_arch = `uname -m`);
$pkg_dir = "/var/db/pkg";
$portage_bin = "/usr/lib/portage/bin";

$ENV{TERM}="dumb"; # Emerge will barf if there is no
TERM environment.

I'm not sure that this is the best place to put it but
it does work as a workaround. This could be considered
a bug
in emerge rather than the software module depending on how
you look at it.

Discussion

  • Jamie Cameron
    Jamie Cameron
    2003-05-24

    Logged In: YES
    user_id=129364

    Thanks, I will include this fix in the next release, as it
    seems reasonable.

     
  • Jamie Cameron
    Jamie Cameron
    2003-05-24

    • status: open --> closed