Re: uudecode error message

2018-12-30 Thread Klemens Nanni
On Sun, Dec 30, 2018 at 12:19:54PM +0100, Alexander Bluhm wrote: > uudecode: in: out: character value (159) out of range [33-96] OK

Re: uudecode error message

2018-12-30 Thread Alexander Bluhm
On Sat, Dec 29, 2018 at 07:52:42PM -0500, Ted Unangst wrote: > Would "character value (%d) out of range" be clearer? > Also, I think you should add an (unsigned char) cast uudecode: in: out: character value (159) out of range [33-96] better? Index: usr.bin/uudecode/uudecode.c ===

Re: uudecode error message

2018-12-29 Thread Ted Unangst
Alexander Bluhm wrote: > Hi, > > when there is an invalid character in the uuencoded stream, uudecode(1) > prints this error message: > > uudecode: in: out: character out of range: [33-96] > > Problem is that you don't know what is wrong. So I would like to > print the invalid character. As pr

uudecode error message

2018-12-29 Thread Alexander Bluhm
Hi, when there is an invalid character in the uuencoded stream, uudecode(1) prints this error message: uudecode: in: out: character out of range: [33-96] Problem is that you don't know what is wrong. So I would like to print the invalid character. As printing invalid input to the terminal is a