bug-xboard
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-XBoard] [bug #27650] Line wrap in ICS mode


From: Arun Persaud
Subject: Re: [Bug-XBoard] [bug #27650] Line wrap in ICS mode
Date: Sat, 10 Oct 2009 20:31:26 -0700
User-agent: Thunderbird 2.0.0.23 (X11/20090817)

Hi

> I can't believe that various xterms don't have a way to control how text
> is wrapped.  But I've been looking and found nothing relevant.  How
> irritating.

mine has a "set-autowrap(on/off/toggle)" function according to the man
page at least. Never used it though, so I can't say what it does :)

> What about having an argument that controls if xboard/winboard does any
> rejoining?

I think that would be nice.

> Can you think of any way that xboard might be notified when the xterm
> window changes size?

My xterm has a $COLUMNS and $LINES variable and after a "eval $(resize)"
they have the correct value... so I guess xboard could monitor these.

Another option that might be better is to use "stty size" which prints
columns and lines.

On

http://www.ohse.de/uwe/software/resize.c.html

they use ioctl to get the information. See get_term_size on that page.

>  It would be nice to have the width variable
> altered accordingly whenever the user changes the xterm size.  I just
> made that modification for winboard, and it's very nice, particularly
> when joining is disabled.  I'd be happy to implement both of these, but
> I'm not sure how I can get notified when the xterm changes size.

yep that would be cool... Another thing that would make xterm a lot
better is if xboard would use gnu-readline. I tried it out once

(http://nubati.net/cgi-bin/gitweb.cgi?p=xboard-old.git;a=shortlog;h=refs/heads/gnu-readline-support)

seemed to work ok, but the login prompt for FICS, etc wasn't correctly
handled.

ARUN




reply via email to

[Prev in Thread] Current Thread [Next in Thread]