Hi!
> > > > @@ -451,20 +476,34 @@ static int save_image(struct swap_map_ha
> > > > error = swap_write_page(handle);
> > > > if (error)
> > > > break;
> > > > +
> > > > if (!(nr_pages % m)) {
> > > > printf("\b\b\b\b%3d%%", nr_pages / m);
> > > > splash.progress(20 + (nr_pages / m) *
> > > > 0.75);
> > > > + if (abort_possible) {
> > > > + ret = read(0, &c, 1);
> > > > + if (ret > 0 && c == 3) {
> > > > + printf(" aborted!\n");
> > > > + return -EINTR;
> > > > + }
> > >
> > > So you can easily switch to escape here, right?
> >
> > Sure, no problem.
> >
> > > Otherwise it looks okay.
> >
> > Thanks.
>
> Another go.
>
> Added #defines for the abort key code and name to swsusp.h in case somebody
> wants to change them without hacking the code.
Heh, ok, why not.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures)
http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Suspend-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/suspend-devel