← Back to team overview

touch-packages team mailing list archive

[Bug 1480181] [NEW] "stty" is not sane

 

Public bug reported:

The command line utility "stty" from the package "coreutils" forgets to
turn on local echo in cooked mode. That mode doesn't make much sense for
most of *NIX land without the local echo and especially the Bourne Again
SHell is not able to reset a terminal device to a sane configuration to
ensure regular operation.

Instead of providing good defaults for the cooked mode "stty" introduces
an otherwise unknown "sane mode" which is hard to track in the sources
and probably shouldn't even exist. I don't want to call it crippled but
a lot of software "under the wings" of the FSF ...

As a reminder: modern terminals are virtual and have a lot of flags to
change behavior. But there are two main modes: one teletypewriter mode
with integrated line editing and buffered input/output suited for
command line shells based on cooked or canonical mode and then a raw
mode where an application like VIM or Lynx takes control of the
terminal. A new sane mode shouldn't really be necessary if not for other
devices like modems/serial lines but the documentation doesn't know
anything about this.

End Of Message

Trivia: The control key can be seen as a bitmask applied to regular
upper case characters and this can even match the input routines. End of
File can be mapped to up to two other keys - that is customization!

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: coreutils 8.23-3ubuntu1
ProcVersionSignature: Ubuntu 3.19.0-15.15-generic 3.19.3
Uname: Linux 3.19.0-15-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.17.2-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Jul 31 11:00:06 2015
InstallationDate: Installed on 2015-06-08 (52 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
SourcePackage: coreutils
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: coreutils (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug vivid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to coreutils in Ubuntu.
https://bugs.launchpad.net/bugs/1480181

Title:
  "stty" is not sane

Status in coreutils package in Ubuntu:
  New

Bug description:
  The command line utility "stty" from the package "coreutils" forgets
  to turn on local echo in cooked mode. That mode doesn't make much
  sense for most of *NIX land without the local echo and especially the
  Bourne Again SHell is not able to reset a terminal device to a sane
  configuration to ensure regular operation.

  Instead of providing good defaults for the cooked mode "stty"
  introduces an otherwise unknown "sane mode" which is hard to track in
  the sources and probably shouldn't even exist. I don't want to call it
  crippled but a lot of software "under the wings" of the FSF ...

  As a reminder: modern terminals are virtual and have a lot of flags to
  change behavior. But there are two main modes: one teletypewriter mode
  with integrated line editing and buffered input/output suited for
  command line shells based on cooked or canonical mode and then a raw
  mode where an application like VIM or Lynx takes control of the
  terminal. A new sane mode shouldn't really be necessary if not for
  other devices like modems/serial lines but the documentation doesn't
  know anything about this.

  End Of Message

  Trivia: The control key can be seen as a bitmask applied to regular
  upper case characters and this can even match the input routines. End
  of File can be mapped to up to two other keys - that is customization!

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: coreutils 8.23-3ubuntu1
  ProcVersionSignature: Ubuntu 3.19.0-15.15-generic 3.19.3
  Uname: Linux 3.19.0-15-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.17.2-0ubuntu1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Fri Jul 31 11:00:06 2015
  InstallationDate: Installed on 2015-06-08 (52 days ago)
  InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
  SourcePackage: coreutils
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/1480181/+subscriptions