<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD-Dev] Clients -->
<!--X-From-R13: Yngevan [pQyryna <xvgxngNqverpgpurpx.nevrf.arg> -->
<!--X-Date: Tue, 24 Feb 1998 04:44:23 +0000 -->
<!--X-Message-Id: Pine.3.89.9802232136.A1000-0100000#directcheck,aries.net -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 199802230059.AAA190202#out4,ibm.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:kitkat#directcheck,aries.net">
</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>
[ <a href="../">Other Periods</a>
| <a href="../../">Other mailing lists</a>
| <a href="/search.php3">Search</a>
]
<br clear=all><hr>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->
Date:
[ <a href="msg00570.html">Previous</a>
| <a href="msg00572.html">Next</a>
]
Thread:
[ <a href="msg00556.html">Previous</a>
| <a href="msg00621.html">Next</a>
]
Index:
[ <A HREF="author.html#00571">Author</A>
| <A HREF="#00571">Date</A>
| <A HREF="thread.html#00571">Thread</A>
]
<!--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>: Katrina McClelan <<A HREF="mailto:kitkat#directcheck,aries.net">kitkat#directcheck,aries.net</A>></LI>
<LI><em>Date</em>: Mon, 23 Feb 1998 21:58:00 -0700</LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
On Sun, 22 Feb 1998 coder#ibm,net wrote:
> >Particularly if you use ncurses and expect (partually
> >dangerous) the the receiving client supports colors in some way or
> >another (doesn't have to be vt100 with ncurses).
>
> Nope, the core problem with implementing curses support in the MUD server
> is terminal definition. In the classical case this was not a problem as
> the terminal type was defined by the application's environment ($TERM,
> terminfo, termcap and company). These resources and that definition
> ability are not available for a client connecting directly to a port on a
> server.
>
They are as much as it is connecting to port 23 is on a UNIX box. The
telnet protocol is supposed to be able to pass term type (TELOPT_TTYPE ==
24). I agree that some telnet programs are quite stupid about this.
However it's not too hard to find a client that works sanely in this regard.
> How does the server know what terminal type the remote client is
> emulating?
see above. You query it.
> Many telnet clients very poorly or partially implement even
> the VT-* terminal types.
See above.
> Additionally it is often quite difficult (and
> few know how) to set the desired terminal type in quite a many telnet
> clients.
>
Aye, I suppose you'll always have people that don't have a clue. These
same people will be the ones that have trouble downloading a client too
*shrug*
> The next problem is simultaneously supporting multiple terminal types from
> a single executing binary. Many curses implementations handle that
> extremely poorly, almost forcing you to require all clients to use a
> single terminal definition.
>
Freely availible, ncurses does a fairly good job of doing this. It is
distributed with a terminfo database, can read from this database in a
user defined directory (if you lack root access to just install it), and
takes arguments to newterm to define which term type to use:
SCREEN *newterm(char *type, FILE *outfd, FILE *infd);
.....The routine newterm() should
be called once for each terminal. It returns a variable of
type SCREEN * which should be saved as a reference to that
terminal. The arguments are the type of the terminal to be
used in place of $TERM, a file pointer for output to the
terminal, and another file pointer for input from the termi-
nal (if type is NULL, $TERM will be used). The program must
also call endwin() for each terminal being used before exit-
ing from curses. If newterm() is called more than once for
the same terminal, the first terminal referred to must be
the last one for which endwin() is called.
> That given, curses works very nicely.
Yeah, the only real problem is a client telnet that does not support
negotiation of term type (which it is SUPPOSED to).
-Kat
</PRE>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<ul compact><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><A NAME="00756" HREF="msg00756.html">Re: [MUD-Dev] Clients</A></strong>
<ul compact><li><em>From:</em> J C Lawrence <claw#under,engr.sgi.com></li></ul>
<li><strong><A NAME="00621" HREF="msg00621.html">Re: [MUD-Dev] Clients</A></strong>
<ul compact><li><em>From:</em> Travis Casey <efindel#polaris,net></li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00556" HREF="msg00556.html">Re: [MUD-Dev] Clients</A></STRONG>
<UL><LI><EM>From:</EM> coder#ibm,net</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00570.html">Re: [MUD-Dev] Net protocols for MUDing (was: Moore's Law sucks)</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00572.html">Re: [MUD-Dev] The MLI Project</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00556.html">Re: [MUD-Dev] Clients</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00621.html">Re: [MUD-Dev] Clients</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00571"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00571"><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>Re: [MUD-Dev] Clients</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<ul compact>
<LI><strong><A NAME="00521" HREF="msg00521.html">Re: [MUD-Dev] Clients</A></strong>,
Katrina McClelan <a href="mailto:kitkat#directcheck,aries.net">kitkat#directcheck,aries.net</a>, Wed 18 Feb 1998, 05:29 GMT
<UL>
<LI><strong><A NAME="00529" HREF="msg00529.html">Re: [MUD-Dev] Clients</A></strong>,
Nathan F Yospe <a href="mailto:yospe#hawaii,edu">yospe#hawaii,edu</a>, Thu 19 Feb 1998, 01:28 GMT
<UL>
<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>
<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>
</LI>
</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>
</UL>
</LI>
</ul>
</ul>
</LI>
</UL></BLOCKQUOTE>
</ul>
<hr>
<center>
[ <a href="../">Other Periods</a>
| <a href="../../">Other mailing lists</a>
| <a href="/search.php3">Search</a>
]
</center>
<hr>
</body>
</html>