tin modifies terminal settings
clemens fischer <[email protected]> Thu, 01 Apr 2010 20:06:54 +0200
| Newsgroups | gmane.network.tin.user |
|---|---|
| Message-ID | <[email protected]> |
Hi,
experimenting with tin I just found out that it somehow messes up
terminal settings.
'uname -rms' -> Linux 2.6.33.1-spott i686
$ ncursesw5-config --version -> 5.7.20081102
$ ncursesw5-config --abi-version -> 5
$ tin -V
Version: tin 1.9.6 release 20100313 ("Lochruan") Mar 29 2010 22:46:39
Platform:
OS-Name = "linux-gnu"
Compiler:
CC = "gcc"
CFLAGS = "-g -O"
CPP = "gcc -E"
CPPFLAGS = "-D_GNU_SOURCE"
Linker and Libraries:
LD = "gcc"
LDFLAGS = "-g"
LIBS = "-lcurses -lidn -licuuc"
PCRE = "8.02 2010-03-19"
Characteristics:
+DEBUG +NNTP_ABLE -NO_POSTING -BROKEN_LISTGROUP +XHDR_XREF
-HAVE_FASCIST_NEWSADMIN -ENABLE_IPV6 -HAVE_COREFILE
-NO_SHELL_ESCAPE -DISABLE_PRINTING -DONT_HAVE_PIPING +NO_ETIQUETTE
+HAVE_LONG_FILE_NAMES +APPEND_PID -HAVE_MH_MAIL_HANDLING
-HAVE_ISPELL -HAVE_METAMAIL +HAVE_SUM
+HAVE_COLOR -HAVE_PGP -HAVE_PGPK +HAVE_GPG
-MIME_BREAK_LONG_LINES +MIME_STRICT_CHARSET +CHARSET_CONVERSION
+MULTIBYTE_ABLE -NO_LOCALE
+USE_CANLOCK -EVIL_INSIDE -FORGERY -TINC_DNS -ENFORCE_RFC1034
-REQUIRE_BRACKETS_IN_DOMAIN_LITERAL -FOLLOW_USEFOR_DRAFT
The terminal itself is /dev/pts/3, handled by tmux inside rxvt-unicode,
most recent versions.
When I use "rtin", all the color settings affect only where "tin" writes
text, everything else is left at the current default colors. I always
thought this to be tin specific, but I am not so sure anymore, because
after exiting "rtin", the same behaviour persists in "bash" as well!
I didn't notice until now, because tin runs always in its own
tmux/screen managed window which closes after "rtin" exits.
I have tried a number of times to set tin's colors to "DEFAULT" both for
fore- and background, but this doesn't work, so I settled with ANSI
colors, white text on black background. Now these colors are set in
bash as well: text is white on black and where there's no text, I see
rxvt-unicode's default colors (light sand on saddle brown which puts the
least strain on my eyes). This grows into a problem when white-on-black
spots are littered about the screen. BTW, "tin" is the only curses
application behaving this way! I regularly use "elinks", "mutt" and
"vim": no problem there.
Does "tin" do something out of the regular curses way when initializing
and de-initializing curses?
regards, clemens