Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Mar 2004 17:02:46 -0600 (CST)
From:      "Paul Seniura" <pdseniura@techie.com>
To:        "Matthew Seaman" <m.seaman@infracaninophile.co.uk>
Cc:        Paul Seniura <pdseniura@techie.com>
Subject:   re: I have some questions about telnet/telnetd/libtelnet/tn3270 and why FreeBSD is different than other BSDs in this regard
Message-ID:  <20040315230246.EE05F5C29@techpc04.okladot.state.ok.us>
In-Reply-To: <20040314115748.GA9984@happy-idiot-talk.infracaninophile.co.uk>
References:  <20040309224348.9C55B5C2B@techpc04.okladot.state.ok.us> <20040309232317.GA24012@alex.lan> <20040312033416.769CE1171DC@scifi.homeip.net> <20040314045204.GB978@alex.lan> <20040314050137.GC978@alex.lan> <20040314115748.GA9984@happy-idiot-talk.infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

Hello,

> On Sun, Mar 14, 2004 at 06:01:37AM +0100, Alex de Kruijff wrote:
> > On Sun, Mar 14, 2004 at 05:52:04AM +0100, Alex de Kruijff wrote:
> > > On Thu, Mar 11, 2004 at 09:34:16PM -0600, Paul Seniura wrote:
>
> > > > I hope this is not too technical:
> > > > All BSDs (except for this 'Free' one) presently have tn3270.c
> > > > together with telnet.c for reasons that become apparent when
> > > > studying how it works and how it is compiled etc.  As they are
> > > > presently written, all of telnet[d].c and tn3270.c must use the
> > > > same macros and other source files from the same 'level' subdir.
> > > > That means if something changes for the sake of 'telnet', it had
> > > > better work with 'tn3270' also.
> >
> > Yes, this is too technical. I would have to study the file, which i'm
> > not going to. If you say that it couldn't posibly be a port, like perl5
> > can, then i will take your word for this.

> This shouldn't be an impassable obstacle to making a tn3270 port --
> there is precedent in the ports tree for having the port require
> various parts of the system sources to be present in order to build.
> See, for instance, the net/ng_netflow or the devel/linuxthreads ports.

I see how those check for certain files.

But tn3270's Makefile recursively copies a lot under
/src/contrib/telnet/ to its work dir.  I haven't seen many
ports do that sort of thing. ;)  If there are routines that
belong in library functions & such, shared or not, then it
could entail modifying the telnet stack itself -- DTRT to
follow standards y'know.

> Having a good, well maintained port available will go a long way
> towards persuading most committers that the tn3270 application should
> be restored to the base system.  Not all the way, but it will make a
> difference.

I'm likely to 'borrow' tn3270 sources from another BSD since they
don't seem to be having our problems.  And for that to follow, we'd
need to put it back where it belongs (under /src/contrib for us,
while other BSDs haven't moved it from /src/usr.bin). 
I'd only be doing that on this PC locally, of course
(I don't have nor want 'committer' status for lots of reasons ;) .
Once it all works, I'll open a PR and have others look at the patches.

Oh this will take quite a while.  This PC may take all week or longer
just to get caught up on all the commits from last Friday onward. ;)

>         Matthew

  --  thx, Paul Seniura.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040315230246.EE05F5C29>