Subject: Re: pkg_select defective?
To: Gilles Gravier <Gilles@Gravier.org>
From: Jan Danielsson <jan.danielsson@gmail.com>
List: netbsd-users
Date: 10/03/2006 21:45:39
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigFB874EE3D59D5E00D7D251B3
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Gilles Gravier wrote:
> 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 ...
These comment makes no sense to me -- the manual page even tells me
that pkgsrc is located in /home/pkgsrc/pkgsrc. The build system inspects
the system to find out where pkgsrc is located. No other pkgsrc tool I
have run has ever had any problem locating my pkgsrc installation. I
would never even have known that /usr/pkgsrc was a default location
unless you had mentioned it -- and I've been using pkgsrc for years(!).
> 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.
That shouldn't be necessary, as long as the usual auto detection
stuff is working. (?)
> 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.
Here's a brain dead question for you: How do I know what terminal I'm
running? :-)
TERM is set to "screen", I assume that's an answer to your question?
I have no idea if it is "an emulation", but I guess you could answer
that. :-) When I run in a full screen session, I get TERM=3Dvt220. Then
pkg_select seems to work, which is good I guess. However, it's not using
the same flashy colors as it does when I run under screen.
Should I be running vt100?
>> 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 scree=
n.
>> 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?
--=20
Kind Regards,
Jan Danielsson
Te audire non possum. Musa sapientum fixa est in aure.
--------------enigFB874EE3D59D5E00D7D251B3
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
iD8DBQFFIr3m8wBCTJQ8HEIRApEoAJ9EnpeFxuecRRVBHlPd1dq0q0dGFgCfej/y
sj/WhlkQ0Vw3A9T9x/3y5vU=
=oZUJ
-----END PGP SIGNATURE-----
--------------enigFB874EE3D59D5E00D7D251B3--