[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tabstop width not reset by reset command, or hardcoded to wrong widt
From: |
Thomas Dickey |
Subject: |
Re: Tabstop width not reset by reset command, or hardcoded to wrong width |
Date: |
Wed, 29 May 2019 05:19:06 -0400 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Tue, May 28, 2019 at 11:41:37AM +0200, Vincent Huisman wrote:
> On 28-05-2019 01:04, Thomas Dickey wrote:
> >By the way, discussing a specific terminal description and a specific
> >terminal (emulator or not) would be more constructive.
>
> I'm trying to, but it feels like you keep missing a part of my messages. I'm
> talking about SecureCRT, which gives me TERM=linux with my connection
> settings, and about konsole with TERM=xterm-256color.
>
> Actual behaviour on a new, fresh, clean terminal:
> $ tabs 2 > accidental_binary_file; echo -e "\ta"
> a
> $ cat accidental_binary_file; echo -e "\ta"
> a
> $ reset; echo -e "\ta"
> a
Here's a test-script which shows the expected behavior.
It shows
+ tab-stops after reset
+ tab-stops after "tabs -4"
+ does a reset
+ shows that the tab-stops are set back to 8.
If SecureCRT doesn't do that, you might want to report it as a bug to
its developer.
I don't see the bug you're talking about with Linux console.
I see that konsole has a bug there, but having seen recent comments
that it doesn't get other stuff right, you might have more trouble
getting it fixed.
If I were to make _any_ change in ncurses to accommodate konsole,
it would be in _its_ terminal descriptions, not for "linux" or
"xterm-256color".
Start with these (extracted from "toe -sa"):
*-*---: konsole KDE console window
*-*---: konsole+pcfkeys konsole subset of xterm+pcfkeys
*-*---: konsole-16color klone of xterm-16color
*-*---: konsole-256color KDE console window with xterm 256-colors
*-*---: konsole-base KDE console window
*-----: konsole-direct konsole with direct-color indexing
*-*---: konsole-linux KDE console window with linux keyboard
*-*---: konsole-solaris KDE console window with Solaris keyboard
*-*---: konsole-vt100 KDE console window with vt100 (sic) keyboard
*-*---: konsole-vt420pc KDE console window with vt420 pc keyboard
*-*---: konsole-xf3x KDE console window with keyboard for XFree86 3.x xterm
*-*---: konsole-xf4x KDE console window with keyboard for XFree86 4.x xterm
*-*---: screen-bce.konsole screen optimized for KDE console window
*-*---: screen.konsole screen in KDE console window
*-----: screen.konsole-256color GNU Screen with konsole using 256 colors
Probably SecureCRT should have a corresponding set, but to date no one's
found it important enough to do this.
--
Thomas E. Dickey <address@hidden>
https://invisible-island.net
ftp://ftp.invisible-island.net
vxt-tab0
Description: Text document
signature.asc
Description: Digital signature
- Tabstop width not reset by reset command, or hardcoded to wrong width, Vincent Huisman, 2019/05/22
- Re: Tabstop width not reset by reset command, or hardcoded to wrong width, Thomas Dickey, 2019/05/22
- Re: Tabstop width not reset by reset command, or hardcoded to wrong width, Thomas Dickey, 2019/05/25
- Re: Tabstop width not reset by reset command, or hardcoded to wrong width, Vincent Huisman, 2019/05/26
- Re: Tabstop width not reset by reset command, or hardcoded to wrong width, Thomas Dickey, 2019/05/26
- Re: Tabstop width not reset by reset command, or hardcoded to wrong width, Vincent Huisman, 2019/05/26
- Re: Tabstop width not reset by reset command, or hardcoded to wrong width, Thomas Dickey, 2019/05/27
- Re: Tabstop width not reset by reset command, or hardcoded to wrong width, Vincent Huisman, 2019/05/28
- Re: Tabstop width not reset by reset command, or hardcoded to wrong width,
Thomas Dickey <=
- Re: Tabstop width not reset by reset command, or hardcoded to wrong width, Vincent Huisman, 2019/05/29