There has been quite a bit of discussion recently of waiving appellate review as part of a pretrial agreement.
Here is a timely article from the ABA about this important topic (thanks to Sentencing Law & Policy for the link).
Ellis & Bussert, Stemming the Tide of Postconviction Waivers, 25 (1) Crim. Justice, Spring 2010, ABA.