Subject: Re: pkg_select defective?
To: Jan Danielsson <jan.danielsson@gmail.com>
From: Gilles Gravier <Gilles@Gravier.org>
List: netbsd-users
Date: 10/03/2006 21:19:55
Jan,

On NetBSD, by default, pkgsrc is in /usr/pkgsrc ... so when you install 
a pkgsrc package on NetBSD, it makes that assumption as well... so if 
you installed pkg_select from pkgsrc, it is most likely built to find 
pkgsrc in /usr/pkgsrc ... you could, just for the sake of things, try to 
see if making a symbolic link from /home/pkgsrc/pkgsrc to /usr/pkgsrc 
helps it.

About the strangely layed out screen, what terminal are you using? An 
emulation? A native (like xterm?)... Chances are, if it's an emulation, 
it's not properly handling the escape sequences it should be handling.

Gilles.

Jan Danielsson wrote:
>    When I run pkg_select, I get interesting results.
>
>    First, it can't find pkgsrc. The manual page says it defaults to
> /home/pkgsrc/pkgsrc (which is where it is). But the program is trying to
> find it in /usr/pkgsrc.
>
>    When I run it with "-b /home/pkgsrc/pkgsrc" it does start, but it
> seems to be printing OOPSx and PSx all over the left part of the screen.
> And the layout of all the menu entries are misplaced (i need to scan
> through them with the cursor to see them properly). Making the program
> core dump is very easy, I just need to browse around a little, and it
> crashes.
>
>    I'm using NetBSD/amd64.
>
>    Known issues?
>
>   

-- 
/*Gilles Gravier*/ *=* *Gilles@Gravier.org* <mailto:Gilles@Gravier.org> 
*=* *http://www.gravier.org/*
ICQ : *77488526* 
<http://www.icq.com/whitepages/about_me.php?Uin=77488526> * || *MSN 
Messenger : Gilles@Gravier.org <http://members.msn.com/Gilles@Gravier.org>*
*Skype : ggravier <callto://ggravier>* || *Y! : ggravier 
<http://profiles.yahoo.com/ggravier> || AOL : gillesgravier 
<aim:goim?screenname=gillesgravier>
PGP Key ID : *0x8DE6D026* 
<http://pgp.mit.edu:11371/pks/lookup?search=0x8DE6D026&op=index>
"Chastity is its own punishment." (/Solomon Short/) [/David Gerrold/]
"De toutes les aberrations sexuelles, la chasteté est la plus 
aberrante." [Anatole France]