[imp] Patch to open messages in separate window

harindra patel harindra_patel@yahoo.co.in
Mon, 18 Feb 2002 13:49:01 +0000 (GMT)


Hi,

We first downloaded imp.diff and tried to run it but
it does nothing and hangs 
[root@ns2 horde]# patch imp.diff

then we tried the following 
[root@ns2 horde]# patch < imp.diff

This worked ok and brought me back to the hash prompt.
But i m not able to open message by clicking on it in
new window. It is still opening in the same window. 

Then i downloaded another patch Imp_203.1-cvs.diff
and tried the same with the following results.

[root@ns2 horde]# patch < Imp_203.1-cvs.diff
(Stripping trailing CRs from patch.)
can't find file to patch at input line 6
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|Index: imp/compose.php
|==================================================================
|RCS file: /repository/imp/compose.php,v
|retrieving revision 2.369.2.11
|diff -r2.369.2.11 compose.php
--------------------------
File to patch: Imp_203.1-cvs.diff
patching file Imp_203.1-cvs.diff
Hunk #1 FAILED at 637.
Hunk #2 FAILED at 778.
Hunk #3 FAILED at 850.
3 out of 3 hunks FAILED -- saving rejects to file
Imp_203.1-cvs.dif
(Stripping trailing CRs from patch.)
can't find file to patch at input line 27
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|Index: imp/mailbox.php
|==================================================================
|RCS file: /repository/imp/mailbox.php,v
|retrieving revision 2.296.2.13
|diff -r2.296.2.13 mailbox.php
--------------------------
File to patch:

When we specify the file it creates some rejection
file with the above errors and asks again for the file
to patch.

But when i tried 
[root@ns2 horde]# patch -po < Imp_203.1-cvs.diff
it shows me that 1 out of three hunk failed.

kindly suggest what to do.

regards,

Hardik



 --- Derek Becker <dbecker@cpicorp.com> wrote: >
-----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Sorry, I was out this weekend. Were you able to get
> it to work? Comments,
> suggestions?
> 
> Derek
> 
> On Fri, 28 Dec 2001, SLam wrote:
> 
> > I ran 'patch imp.diff' in the /horde directory and
> nothing happened. It would 
> > just stay there. 
> > 
> > [root@m80 horde]# patch imp.diff
> > 
> > 
> > Quoting Derek Becker <dbecker@cpicorp.com>:
> > 
> >  Well, I made the diff with "diff -r -C2" so I
> think you can just run
> >  "patch imp.diff" in the horde directory (or
> whichever directory is imp/'s
> >  parent). I checked out the latest rev in CVS to
> make the patch against,
> >  but I think it should work against RC4. It didn't
> look like much had been
> >  changed in the relevant files before I made my
> changes. It would probably
> >  be a good idea to specify the "-b" (backup) flag
> when you patch in order
> >  to keep from nuking working files.
> >  
> >  Derek
> >  
> >  On Fri, 28 Dec 2001, SLam wrote:
> >  
> >  > hi, how would you apply the patch? and is it
> compatible? i'm using the
> >  latest 
> >  > Horde and Imp (RC4). Thanks.
> >  > 
> >  > Quoting Derek Becker <dbecker@cpicorp.com>:
> >  > 
> >  >  Hi,
> >  >  	Here's a patch to open messages in a separate
> window. There is a
> >  >  user preference to turn it on under 'Display'
> prefs. The default is to
> >  >  use Imp's current default of opening messages
> in the same window. The
> >  >  patch is at:
> >  >  
> >  >  http://userfs.cec.wustl.edu/~dwb2/imp.diff
> >  >  
> >  >  This the first time I have not used CVS
> directly, so if I haven't done
> >  the
> >  >  diff correctly, please let me know.
> >  >  
> >  >  Thanks,
> >  >  
> >  >  Derek
> >  >  
> >  >  -- 
> >  > 
>
========================================================================
> >  >  Derek Chen-Becker
> >  >  Senior Network Engineer
> >  >  CPI Corp, Inc.
> >  >  1706 Washington Ave
> >  >  St. Louis, MO 63103
> >  >  314-231-1575
> >  >  dbecker@cpicorp.com
> >  >  PGP Key available from public key servers
> >  >  Fingerprint: 1C34 D81E D8A0 641D 6C8C  E952
> 3B15 693F 9184 BC58
> >  > 
>
========================================================================
> >  >  
> >  >  
> >  >  -- 
> >  >  IMP mailing list: http://horde.org/imp/
> >  >  Archive:
> http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> >  >  Frequently Asked Questions:
> http://horde.org/faq/
> >  >  To unsubscribe, mail:
> imp-unsubscribe@lists.horde.org
> >  >  
> >  > 
> >  > 
> >  > 
> >  > 
> >  
> >  -- 
> > 
>
========================================================================
> >  Derek Chen-Becker
> >  Senior Network Engineer
> >  CPI Corp, Inc.
> >  1706 Washington Ave
> >  St. Louis, MO 63103
> >  314-231-1575
> >  dbecker@cpicorp.com
> >  PGP Key available from public key servers
> >  Fingerprint: 1C34 D81E D8A0 641D 6C8C  E952 3B15
> 693F 9184 BC58
> > 
>
========================================================================
> >  
> >  
> >  -- 
> >  IMP mailing list: http://horde.org/imp/
> >  Archive:
> http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> >  Frequently Asked Questions: http://horde.org/faq/
> >  To unsubscribe, mail:
> imp-unsubscribe@lists.horde.org
> >  
> > 
> > 
> > 
> > 
> 
> - -- 
>
========================================================================
> Derek Chen-Becker
> Senior Network Engineer
> CPI Corp, Inc.
> 1706 Washington Ave
> St. Louis, MO 63103
> 314-231-1575
> dbecker@cpicorp.com
> PGP Key available from public key servers
> Fingerprint: 1C34 D81E D8A0 641D 6C8C  E952 3B15
> 693F 9184 BC58
>
========================================================================
> 
> -----BEGIN PGP SIGNATURE-----
> Version: PGPfreeware 5.0i for non-commercial use
> Comment: Made with pgp4pine 1.76
> Charset: noconv
> 
>
iQA/AwUBPDCdIDsVaT+RhLxYEQJ7NgCg6zUFEsDTychJV0aaaObiIgle/KYAoKBK
> 4YRUkYWGC0CMub1KQ0deTnd9
> =EzAB
> -----END PGP SIGNATURE-----
> 
> 
> 
> -- 
> IMP mailing list: http://horde.org/imp/
> Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail:
> imp-unsubscribe@lists.horde.org
>  

________________________________________________________________________
Looking for a job?  Visit Yahoo! India Careers
      Visit http://in.careers.yahoo.com