1998Q1/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev] Clients -->
<!--X-From-R13: X Q Znjerapr <pynjNhaqre.rate.ftv.pbz> -->
<!--X-Date: Thu, 19 Mar 1998 00:08:52 +0000 -->
<!--X-Message-Id: 199803190008.QAA30593#under,engr.sgi.com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: Pine.3.89.9802232136.A1000&#45;0100000#directcheck,aries.net -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: [MUD-Dev] Clients</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:claw#under,engr.sgi.com">
</head>
<body background="/backgrounds/paperback.gif" bgcolor="#ffffff"
      text="#000000" link="#0000FF" alink="#FF0000" vlink="#006000">

  <font size="+4" color="#804040">
    <strong><em>MUD-Dev<br>mailing list archive</em></strong>
  </font>
      
<br>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
<br clear=all><hr>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->

Date:&nbsp;
[&nbsp;<a href="msg00755.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00757.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00621.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00549.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00756">Author</A>
&nbsp;|&nbsp;<A HREF="#00756">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00756">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev] Clients</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: <A HREF="mailto:mud-dev#null,net">mud-dev#null,net</A></LI>
<LI><em>Subject</em>: Re: [MUD-Dev] Clients </LI>
<LI><em>From</em>: J C Lawrence &lt;<A HREF="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</A>&gt;</LI>
<LI><em>Date</em>: Wed, 18 Mar 1998 16:08:40 -0800</LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
On Mon, 23 Feb 1998 20:50:51 PST8PDT 
Katrina McClelan&lt;kitkat#directcheck,aries.net&gt; wrote:

&gt; On Sun, 22 Feb 1998 coder#ibm,net wrote:

&gt;&gt;&gt;Particularly if you use ncurses and expect (partually dangerous)
&gt;&gt;&gt;the the receiving client supports colors in some way or another
&gt;&gt;&gt;(doesn't have to be vt100 with ncurses).
&gt;&gt; 
&gt;&gt; Nope, the core problem with implementing curses support in the MUD
&gt;&gt; server is terminal definition.  In the classical case this was not
&gt;&gt; a problem as the terminal type was defined by the application's
&gt;&gt; environment ($TERM, terminfo, termcap and company).  These
&gt;&gt; resources and that definition ability are not available for a
&gt;&gt; client connecting directly to a port on a server.
&gt;
&gt; They are as much as it is connecting to port 23 is on a UNIX box.

Correct.  My wording was sloppy.  Given well written telnet clients,
that data is available.  I'll leave the survey as to the popularity
and number of well written telnet clients to the reader.

Note: I've found a great number of telnet clients don't even do VT-100 
properly, even if they claim to.  

&gt; The telnet protocol is supposed to be able to pass term type
&gt; (TELOPT_TTYPE == 24).  I agree that some telnet programs are quite
&gt; stupid about this.  However it's not too hard to find a client that
&gt; works sanely in this regard.

&lt;nod&gt;

I can't comment on the difficulty for the windows crowd, but it seems
to ber prevasive.  I also note that until fairly recently HP-UX'es
telnet would predictably lie in response to the query.  I haven't
checked Irix 6.5 (running here), Linux, or Solaris yet, but I'd hope
for something a bit smarter.

&gt;&gt; Additionally it is often quite difficult (and few know how) to set
&gt;&gt; the desired terminal type in quite a many telnet clients.
&gt;&gt; 

&gt; Aye, I suppose you'll always have people that don't have a clue.
&gt; These same people will be the ones that have trouble downloading a
&gt; client too *shrug*

&gt;&gt; The next problem is simultaneously supporting multiple terminal
&gt;&gt; types from a single executing binary.  Many curses implementations
&gt;&gt; handle that extremely poorly, almost forcing you to require all
&gt;&gt; clients to use a single terminal definition.
&gt;&gt; 

&gt; Freely availible, ncurses does a fairly good job of doing this.  It
&gt; is distributed with a terminfo database, can read from this database
&gt; in a user defined directory (if you lack root access to just install
&gt; it), and takes arguments to newterm to define which term type to
&gt; use:

&gt;      SCREEN *newterm(char *type, FILE *outfd, FILE *infd);

&gt;      .....The routine newterm() should be called once for each
&gt; terminal.  It returns a variable of type SCREEN * which should be
&gt; saved as a reference to that terminal.  The arguments are the type
&gt; of the terminal to be used in place of $TERM, a file pointer for
&gt; output to the terminal, and another file pointer for input from the
&gt; termi- nal (if type is NULL, $TERM will be used).  The program must
&gt; also call endwin() for each terminal being used before exit- ing
&gt; from curses.  If newterm() is called more than once for the same
&gt; terminal, the first terminal referred to must be the last one for
&gt; which endwin() is called.

&gt;&gt; That given, curses works very nicely.

&gt; Yeah, the only real problem is a client telnet that does not support
&gt; negotiation of term type (which it is SUPPOSED to).

You miss the key restriction.  Yes, you can call newterm() and company
to do the reconfiguration.  The problem (and I don't know if ncurses
solves this) is that many of the curses libraries (aecurses, BSD
curses, xcurses, dcurses, etc) I've worked with historically used
global data for the screen structures.  Thus the library was limited
to supporting only one screen definition at any one instant.

-- 
J C Lawrence                               Internet: claw#null,net
(Contractor)                               Internet: coder#ibm,net
---------(*)                     Internet: claw#under,engr.sgi.com
...Honourary Member of Clan McFud -- Teamer's Avenging Monolith...

</PRE>

<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00571" HREF="msg00571.html">Re: [MUD-Dev] Clients</A></STRONG>
<UL><LI><EM>From:</EM> Katrina McClelan &lt;kitkat#directcheck,aries.net&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00755.html">Re: [MUD-Dev]  SfD: Clientside Caching</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00757.html">SIMULATING FUTURE HISTORIES: THE NAU SOLAR SYSTEM SIMULATION &amp; MARS SETTLEMENT</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00621.html">Re: [MUD-Dev] Clients</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00549.html">Re: [MUD-Dev] Clients</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00756"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00756"><STRONG>Thread</STRONG></A></LI>
</UL>
</LI>
</UL>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
<ul><li>Thread context:
<BLOCKQUOTE><UL>
<LI><STRONG>VEIL (was: Re: [MUD-Dev] Clients)</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<ul compact>
<ul compact>
<ul compact>
<LI><strong><A NAME="00675" HREF="msg00675.html">VEIL (was: Re: [MUD-Dev] Clients)</A></strong>, 
Brandon Gillespie <a href="mailto:brandon#roguetrader,com">brandon#roguetrader,com</a>, Tue 03 Mar 1998, 12:26 GMT
</LI>
</ul>
<LI><strong><A NAME="00556" HREF="msg00556.html">Re: [MUD-Dev] Clients</A></strong>, 
coder <a href="mailto:coder#ibm,net">coder#ibm,net</a>, Mon 23 Feb 1998, 00:59 GMT
<UL>
<LI><strong><A NAME="00571" HREF="msg00571.html">Re: [MUD-Dev] Clients</A></strong>, 
Katrina McClelan <a href="mailto:kitkat#directcheck,aries.net">kitkat#directcheck,aries.net</a>, Tue 24 Feb 1998, 04:44 GMT
<UL>
<LI><strong><A NAME="00621" HREF="msg00621.html">Re: [MUD-Dev] Clients</A></strong>, 
Travis Casey <a href="mailto:efindel#polaris,net">efindel#polaris,net</a>, Fri 27 Feb 1998, 12:22 GMT
</LI>
<LI><strong><A NAME="00756" HREF="msg00756.html">Re: [MUD-Dev] Clients</A></strong>, 
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Thu 19 Mar 1998, 00:08 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
</ul>
</ul>
<LI><strong><A NAME="00549" HREF="msg00549.html">Re: [MUD-Dev] Clients</A></strong>, 
Greg Munt <a href="mailto:greg#uni-corn,demon.co.uk">greg#uni-corn,demon.co.uk</a>, Sat 21 Feb 1998, 11:47 GMT
<UL>
<LI><strong><A NAME="00550" HREF="msg00550.html">Re: [MUD-Dev] Clients</A></strong>, 
Matt Chatterley <a href="mailto:matt#mpc,dyn.ml.org">matt#mpc,dyn.ml.org</a>, Sat 21 Feb 1998, 13:30 GMT
</LI>
<LI><strong><A NAME="00552" HREF="msg00552.html">Re: [MUD-Dev] Clients</A></strong>, 
Stephen Zepp <a href="mailto:zoran#enid,com">zoran#enid,com</a>, Sat 21 Feb 1998, 18:38 GMT
</LI>
</UL>
</LI>
</ul>
</ul>
</LI>
<LI><strong><A NAME="00199" HREF="msg00199.html">Re: MUD Development Digest</A></strong>, 
Dr. Cat <a href="mailto:cat#bga,com">cat#bga,com</a>, Sun 11 Jan 1998, 21:18 GMT
</LI>
</UL></BLOCKQUOTE>

</ul>
<hr>
<center>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
</center>
<hr>
</body>
</html>