[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Binary diff and X color resolution



> 
> Hey gang, two unrelated questions squished to one, in the best of the
> Zadka tradition.
> 
> a. how does one create a diff and patch of a binary data file? GNU diff
> only supports text.
> 


Never did such a thing but one way could be to

    cmp -l bin1 bin2 > patch.bin

and let ed handle the actual patching. I guess you will have to run some 
script on patch.bin before the actual patch in order to be able to let ed do 
the work.

Hope this help.

Do let us know how you actually solved this.


> b. I have a few oldie apps that insist my Xserver should run in 8-bit
> pseudo color mode, which ofcourse I don't (24 bits ofcourse). is there a
> wrapper or some way to fool it? Xnest maybe?
> 
> -- 
> (@-    GNU/Linux -
> //\       Best thing since the invention of the cat
> v_/_
> 
> 
> =================================================================
> To unsubscribe, send mail to linux-il-request@linux.org.il with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail linux-il-request@linux.org.il
> 

-- 

	Shaul Karl <shaulka@bezeqint.net>



=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il