Laurie Evans spared Warwickshire's blushes as he anchored his side to 221-8 in their LV=County Championship match with Yorkshire at Headingley.
The visitors were struggling on 50-4 in reply to the Yorkshire's 302 but Evans erased any prospect of the follow-on with a gritty innings of 88 to help them to within 81 of their opponents.
Yorkshire began the second day on 294-9 and they moved swiftly to a third batting bonus point in the opening over from Boyd Rankin when Steve Patterson took a single to cover and Ateeq Javid's wild throw at the stumps resulted in four overthrows.
Last man Jack Brooks raised the 300 with a single of Chris Woakes' first ball but he aimed to hook the fourth and gloved a catch to wicketkeeper Tim Ambrose who secured his fourth victim of the innings.
There were three wickets apiece for Woakes and Keith Barker who had been ordered out of the attack on the previous evening for running on to the pitch in his follow through.
Yorkshire were without Azeem Rafiq during the morning, the off-spinner going to hospital for a precautionary X-ray on his left wrist after being struck while batting. He returned to the action in the afternoon with his wrist strapped but only bowled one over.
Ryan Sidebottom soon split Warwickshire's opening pair by trapping Ian Westwood lbw playing across his stumps and a second wicket went down at 36, Liam Plunkett (4-55) joining the attack to have Will Porterfield splendidly caught by Andy Hodd diving high to his left.
Evans now joined Varun Chopra but the opener was the first of two batsmen to fall to Patterson with the score on 50. He was lbw for 23 while in the paceman's next over Ambrose cut hard and Adam Lyth clung on to a spectacular fast catch above his head at second slip.
Warwickshire limped in to lunch at 55-4 and Woakes played some crisp strokes after the interval until he drove Plunkett tamely to Adil Rashid at cover to bring in Rikki Clarke.
Evans continued his steady progress, completing his half-century off 101 balls with his seventh boundary at which stage Yorkshire called on Rashid's leg-spin for the first time and he broke a 55-run stand for the sixth wicket just before tea by getting Clarke lbw for 24 with a quicker ball.
It was Plunkett, however, who went on to deny Evans a well-merited century, the right-hander attempting to pull a lifting ball but only succeeding in top-edging it to gully where Lyth ran round from the slips to grasp the chance, Evans having received 188 deliveries and hit 10 fours.
Javed and Barker tried hard to narrow the deficit but at 196 Javid was tempted to pull at another short ball from Plunkett and gloved a rising catch to Hodd.
Plunkett was celebrating in style after receiving his Yorkshire cap, along with Brooks, before the game began.