zsh-workers
 help / color / mirror / code / Atom feed
From: Oliver Kiddle <opk@thoth.u-net.com>
To: Andrej Borsenkow <Andrej.Borsenkow@mow.siemens.ru>
Cc: zsh-workers@sunsite.auc.dk
Subject: Re: 4855 does not work in all cases
Date: Thu, 08 Jul 1999 15:39:03 +0100	[thread overview]
Message-ID: <3784B807.736F9648@thoth.u-net.com> (raw)
In-Reply-To: <000701bec941$512d19c0$21c9ca95@mow.siemens.ru>

Andrej Borsenkow wrote:
> 
> > Variable            Cap Name  I. Code  Description
> > eat_newline_glitch  xenl      xn       Ignores new-line character after 80
> >                                        columns
> Unfortunately, it is not defined for dtterm (at least on our system). It seems
> to be defined for xterm and one more terminal type that do have the feature. But
> this is the general problem - how can you be sure that terminfo/termcap reflect
> the truth? Users are free to modify settings on the fly :-(

I'm no terminfo expert so correct me if I'm wrong but I'm assuming that
this xenl can either be set to true or false or can be not defined? If
this is correct then we should be all right as long as we can make a
good assumption in the case of not defined (the xterm behaviour I
suppose). Is xenl correct in the case of aixterm? When you say 'users
are free to modify settings on the fly', does this include xenl or just
things like am which are on the various mouse menus? If users are
modifying xenl, then surely they deserve everything they get so I
wouldn't see that as a problem. If terminfo/termcap entries are
occasionally wrong it might be better to mention how to fix them in the
FAQ than to write a load of nasty hacks to the code.

> if (!am || xenl) puts("\r\n");
> Not sure, that "\r\n" looks much better than " \n", but this works without
> auto-margin as well. Funnily enough, it will work even on my dtterm (that is
> configured for am but with terminfo that does not list this :-)

What doesn't it work for - only incorrect terminfo/termcap?

Thanks

Oliver Kiddle


  reply	other threads:[~1999-07-08 14:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-07-08  9:35 Problem with cursor position after wrapped completion lists Sven Wischnowsky
1999-07-08 10:04 ` Andrej Borsenkow
1999-07-08 10:18   ` Correction :-( " Andrej Borsenkow
1999-07-08 11:26     ` 4855 does not work in all cases Andrej Borsenkow
1999-07-08 12:09       ` Oliver Kiddle
1999-07-08 12:56         ` Andrej Borsenkow
1999-07-08 14:39           ` Oliver Kiddle [this message]
1999-07-08 15:26             ` Andrej Borsenkow
1999-07-09  8:42               ` Oliver Kiddle
1999-07-09  3:44       ` Geoff Wing

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3784B807.736F9648@thoth.u-net.com \
    --to=opk@thoth.u-net.com \
    --cc=Andrej.Borsenkow@mow.siemens.ru \
    --cc=zsh-workers@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).