Hi, as promised is here the patch. This is a draft so you can look into the new message and say if you aprove it. The code is not optimized, so I may change it a bit.
Kind regards Jose M Calhariz diff --git a/ChangeLog b/ChangeLog index 2300d1a..b013595 100644 --- a/ChangeLog +++ b/ChangeLog @@ -199,3 +199,7 @@ at 3.1.22 (2018-07-24): at 3.1.23 (2018-07-24): Jose M Calhariz Finalised script to release software. + +at 3.1.24~WIP + Jose M Calhariz + Print time of new job before the input of the commands, Closes #863045 diff --git a/at.c b/at.c index 2136e0b..4d88dcb 100644 --- a/at.c +++ b/at.c @@ -479,6 +479,11 @@ writefile(time_t runtimer, char queue) istty = isatty(fileno(stdin)); if (istty) { + runtime = localtime(&runtimer); + + strftime(timestr, TIMESIZE, TIMEFORMAT_POSIX, runtime); + fprintf(stderr, "at %s\n", timestr); + fprintf(stderr, "at> "); fflush(stderr); } -- -- Já que a primeira impressão é a que fica, então use uma impressora Laser.
signature.asc
Description: PGP signature