View previous topic :: View next topic |
Author |
Message |
chrispe n00b
Joined: 11 Jul 2002 Posts: 8
|
Posted: Thu Jul 11, 2002 10:51 am Post subject: Which package contains the resize program? |
|
|
Which package contains the resize program? The one that sets LINES & COLUMNS correctly when logging in over a connection that doesn't do it automatically when the terminal size changes (ssh from cygwin in this case).
In general, how do you find a package, given a filename and vice-versa? I'm thinking of what I could do in Mandrake using urpmf & rpm -q.
Chris. |
|
Back to top |
|
|
STiAT Tux's lil' helper
Joined: 06 May 2002 Posts: 117 Location: Vienna, Austria
|
Posted: Thu Jul 11, 2002 11:03 am Post subject: |
|
|
by surfing the portage-tree, or
#find /usr/portage -name <packagename>*
the * is for the version number and .ebuild and like that... sometimes you also find it with only the packagename, you'll find the directory....
STiAT |
|
Back to top |
|
|
chrispe n00b
Joined: 11 Jul 2002 Posts: 8
|
Posted: Thu Jul 11, 2002 11:26 am Post subject: |
|
|
Searching the ebuild scripts didn't reveal what I'm looking for ...
Code: |
# find /usr/portage -name \*.ebuild | xargs fgrep resize
/usr/portage/sys-apps/e2fsprogs/e2fsprogs-1.25-r1.ebuild: docinto resize
/usr/portage/sys-apps/e2fsprogs/e2fsprogs-1.25-r1.ebuild: dodoc resize/ChangeLog
/usr/portage/sys-apps/ext2resize/ext2resize-1.1.17.ebuild:# /space/gentoo/cvsroot/gentoo-x86/sys-apps/ext2resize/ext2resize-1.1.17.ebuild,v 1.1 2002/06/01 12:01:54 blauwers Exp
/usr/portage/sys-apps/ext2resize/ext2resize-1.1.17.ebuild:HOMEPAGE="http://ext2resize.sourceforge.net/"
/usr/portage/sys-apps/parted/parted-1.6.1.ebuild:DESCRIPTION="Create, destroy, resize, check, copy partitions and file systems"
/usr/portage/x11-terms/rxvt/rxvt-2.7.8-r2.ebuild: --enable-smart-resize \
/usr/portage/x11-terms/rxvt/rxvt-2.7.8-r3.ebuild: --enable-smart-resize \
/usr/portage/x11-terms/rxvt/rxvt-2.7.8-r4.ebuild: --enable-smart-resize \
#
|
Chris. |
|
Back to top |
|
|
tomas n00b
Joined: 05 Jul 2002 Posts: 62 Location: Sweden
|
Posted: Thu Jul 11, 2002 11:34 am Post subject: |
|
|
resize is a part of the xfree package |
|
Back to top |
|
|
|