Commit Graph

3 Commits

Author SHA1 Message Date
Unknown User d91-jda
a445da10c5 More ANSI/ISO 9899-1990 to the people!
Now actually builds (not including util) with DEC "cc -std1" and Sun
"acc -Xc".  There are still major prototype conflicts, but there isn't
much to do about this.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@192 ec53bebd-3082-4978-b11e-865c3cabbd6b
1995-11-12 20:22:06 +00:00
Unknown User d91-jda
e555b42b4a Added support for autoconf
The following rules apply to the initial banner message printed by telnetd:

if libc contains cgetent and the "default" entry in /etc/gettytab
defines an im - use that.

else if configured with a specific default im (--enable-default-im) use that

else use a sensible default "systemname os-release (hostname) (ttyname)"

The im can now contain these vaiables:

%s - system name (uname -s)
%r - system release (uname -r)
%v - system version (uname -v)
%m - machine (uname -m)
%h - hostname
%t - tty
%d - date

Default for Cray is "Cray UNICOS (%h) (%t)",  (this should probably change)
 for AIX: "%s %v.%r (%h) (%t)"
 and for everything else: "%s %r (%h) (%t)".

These defaults are defined in ext.h

If the system does not have uname(2), %s defaults to "Unix"
 and %r, %v and %m to the-empty-string.

Is this clear enough?


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@59 ec53bebd-3082-4978-b11e-865c3cabbd6b
1995-07-20 00:02:52 +00:00
Unknown User d91-jda
ebd0b9fa73 Initial revision
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@52 ec53bebd-3082-4978-b11e-865c3cabbd6b
1995-07-19 18:57:49 +00:00