Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: Jesper Frank Nemholt <jfn@dassic.com>
Subject: Re: How to disable the stty tabs parameter permanently ?
Date: 2000/02/15	[thread overview]
Message-ID: <38A98258.E4FC3CFB@dassic.com> (raw)
In-Reply-To: 76dq4.6104$lK6.146399@iad-read.news.verio.net

"T.E.Dickey" wrote:
> 
> In comp.unix.osf.osf1 Jesper Frank Nemholt <jfn@dassic.com> wrote:
> ...
> > On other unix flavors I've noticed that tabs either doesn't exist, or is
> > disabled by default, so the problem only occurs with Compaq/Digital Unix
> > (and actually all versions, I even tried 3.2g).
> 
> > How do I turn it off permanently in a way that'll make it impossible for
> > the xmodem program to turn it on ?
> 
> > I looked in termcap definitions for the used vt (vt220), but it seems
> > that I can only control tab0-3 and not tabs from there.
> 
> termcap is only part of the answer: the terminal driver implements soft and
> hard tabs, so the stty command still is needed.
> 
> if the terminal driver doesn't get involved, the corresponding (upstream)
> termcap capability is 'pt' (physical tabs).

I tried pt earlier on, and it didn't have any effect on tabs.

I looked further into the problem today.
The xmodem program actually changes the terminal environment to "raw
mode" because it needs to send binary data over the telnet connection.
In this change, it also manages to somehow reset the stty settings so
any "stty -tabs" settings are lost unless I've done something that'll
disallow any enabling of tabs.

The people porting the xmodem program say that a system("/usr/bin/stty
-tabs") from inside the program doesn't have any effect.

Since tabs is enabled by default in dunix, and this is non-standard on
other unix flavors, I hoped it was possible to change that behavior
somewhere/somehow.

The problem also occurs only in one direction. From the PC to the Alpha
everything works fine, but from the same session, the system initiates
another transfer from the Alpha to the PC, and it is this transfer that
doesn't work because of tabs being converted to spaces.


l8r/Jspr



  reply	other threads:[~2000-02-15  5:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-02-14  5:00 How to disable the stty tabs parameter permanently ? Jesper Frank Nemholt
2000-02-15  5:00 ` T.E.Dickey
2000-02-15  5:00   ` Jesper Frank Nemholt [this message]
     [not found]     ` <38b46542@oit.umass.edu>
2000-02-24  5:00       ` Jesper Frank Nemholt
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox