[1148] in Moira

home help back first fref pref prev next nref lref last post

Re: Printcap limitation

daemon@ATHENA.MIT.EDU (Dan Winship)
Mon Jan 19 16:15:15 1998

Date: Mon, 19 Jan 1998 16:15:09 -0500
From: Dan Winship <danw@MIT.EDU>
To: matt@MIT.EDU
Cc: bug-moira@MIT.EDU
In-Reply-To: <199801191840.NAA12177@forever.MIT.EDU> (message from Matt Braun
	on Mon, 19 Jan 1998 13:40:32 EST)

> It appears that moira truncates printcap names to 14 characters. Can someone
> confirm that from the schema?

It's true, for large enough values of 14. :) [count again---it's 16]

> What do people thing about making it warn instead of silently
> truncating?

Moira has no concept of warnings: either something succeeds or it
doesn't. And the clients currently have no way of checking the lengths
that the server will accept for different arguments.

I've suggested making the server return an error here before ([1020]
in Moira). I _thought_ someone was against it, but it looks like
everyone agreed. So I guess I'll do that... :)

-- Dan

home help back first fref pref prev next nref lref last post