Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
pine backspace and alternate editor problem.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
cewatts
n00b
n00b


Joined: 08 Jun 2002
Posts: 2

PostPosted: Sat Jun 08, 2002 3:08 pm    Post subject: pine backspace and alternate editor problem. Reply with quote

After installing pine, I noticed a problem with backspacing in pico - backspace would jump over multiple line-breaks, ignoring them - and delete the first character that *wasn't* a line break. You couldn't delete line-breaks with backspace, but control-K still works.

The pine-4.44-multibyte.patch appears to be causing the problem. Removing it corrects this behavior.

I also had trouble with the alternate editor - if I switched to an alternate editor, pine crashed when I exited. At this point I removed all of the patches, and both issues are resolved.

Are some of the other patches necessary? I notice they mostly refer to older versions of pine.

For now, I've disabled most of the other patches, and things seem fine.

Note that I *am* using PPC; I'm curious if this also affects other architectures.

(this patch also enables the PASSFILE option ...)

*** pine-4.44-r4.ebuild Mon Apr 15 14:14:57 2002
--- /tmp/pine-4.44-r4.ebuild.WORKS Sat Jun 8 08:53:56 2002
***************
*** 17,39 ****
src_unpack() {
unpack ${A}

! # RH patches, although I've ignored the "RH" patch itself
! patch -d ${S} -p1 < ${FILESDIR}/pine-4.21-fixhome.patch
! patch -d ${S} -p0 < ${FILESDIR}/imap-4.7c2-flock.patch
! cp ${FILESDIR}/flock.c ${S}/imap/src/osdep/unix
! patch -d ${S} -p1 < ${FILESDIR}/pine-4.21-passwd.patch
! if [ "`use ldap`" ] ; then
! patch -d ${S} -p1 < ${FILESDIR}/pine-4.30-ldap.patch
! mkdir ${S}/ldap
! ln -s /usr/lib ${S}/ldap/libraries
! ln -s /usr/include ${S}/ldap/include
! fi
! patch -d ${S} -p0 < ${FILESDIR}/pine-4.40-boguswarning.patch
! patch -d ${S} -p1 < ${FILESDIR}/pine-4.31-segfix.patch
! patch -d ${S} -p0 < ${FILESDIR}/pine-4.40-lockfile-perm.patch
! patch -d ${S} -p1 < ${FILESDIR}/imap-2000-time.patch
! patch -d ${S} -p1 < ${FILESDIR}/pine-4.33-whitespace.patch
! patch -d ${S} -p1 < ${FILESDIR}/pine-4.44-multibyte.patch

cd ${S}/pine
cp makefile.lnx makefile.orig
--- 17,39 ----
src_unpack() {
unpack ${A}

! # # RH patches, although I've ignored the "RH" patch itself
! # patch -d ${S} -p1 < ${FILESDIR}/pine-4.21-fixhome.patch
! # patch -d ${S} -p0 < ${FILESDIR}/imap-4.7c2-flock.patch
! # cp ${FILESDIR}/flock.c ${S}/imap/src/osdep/unix
! # patch -d ${S} -p1 < ${FILESDIR}/pine-4.21-passwd.patch
! # if [ "`use ldap`" ] ; then
! # patch -d ${S} -p1 < ${FILESDIR}/pine-4.30-ldap.patch
! # mkdir ${S}/ldap
! # ln -s /usr/lib ${S}/ldap/libraries
! # ln -s /usr/include ${S}/ldap/include
! # fi
! # patch -d ${S} -p0 < ${FILESDIR}/pine-4.40-boguswarning.patch
! # patch -d ${S} -p1 < ${FILESDIR}/pine-4.31-segfix.patch
! # patch -d ${S} -p0 < ${FILESDIR}/pine-4.40-lockfile-perm.patch
! # patch -d ${S} -p1 < ${FILESDIR}/imap-2000-time.patch
! # patch -d ${S} -p1 < ${FILESDIR}/pine-4.33-whitespace.patch
! # patch -d ${S} -p1 < ${FILESDIR}/pine-4.44-multibyte.patch

cd ${S}/pine
cp makefile.lnx makefile.orig
***************
*** 42,47 ****
--- 42,52 ----
cd ${S}/pico
cp makefile.lnx makefile.orig
sed -e "s:-g -DDEBUG:${CFLAGS}:" makefile.orig > makefile.lnx
+
+ cd ${S}/pine/osdep
+ cp os-lnx.h os-lnx.h.orig
+ sed '/USE_QUOTAS/{x;s/^/#define PASSFILE ".pine.pwd"/;x;G;}' os-lnx.h.orig > os-lnx.h
+
}

src_compile() {
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum