~ubuntu-branches/ubuntu/maverick/policycoreutils/maverick

« back to all changes in this revision

Viewing changes to {arch}/policycoreutils/policycoreutils--debian/policycoreutils--debian--1.0/srivasta@debian.org--2003-primary/patch-log/patch-10

  • Committer: Bazaar Package Importer
  • Author(s): Manoj Srivastava
  • Date: 2005-03-17 19:54:20 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 hoary)
  • Revision ID: james.westby@ubuntu.com-20050317195420-ue1cxmipm7mm9ie7
Tags: 1.22+0-2
* New upstream release
* Bug fix: "policycoreutils: package description typo(s) and the like",
  thanks to Florian Zumbiehl                         (Closes: #300054).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Revision: policycoreutils--debian--1.0--patch-10
 
2
Archive: srivasta@debian.org--2003-primary
 
3
Creator: Manoj Srivastava <srivasta@debian.org>
 
4
Date: Fri Jan 21 10:15:51 CST 2005
 
5
Standard-date: 2005-01-21 16:15:51 GMT
 
6
Modified-files: run_init/open_init_pty.c
 
7
New-patches: srivasta@debian.org--2003-primary/policycoreutils--debian--1.0--patch-10
 
8
Summary: Do not set terminal to raw mode --  still do output procxessing.
 
9
Keywords: 
 
10
 
 
11
I had been mostly testing open_init_pty with full screen curses based
 
12
applications like aptitude and dselect, and not things like restarting
 
13
sshd. Looking at sshd restarts, I noticed ladder artifacts
 
14
 
 
15
This is because I was putting the users terminal into raw mode, and that
 
16
also turns off output processing.  So, in the following patch I introduce
 
17
a function called tty_semi_raw, which is just like raw mode, except we
 
18
retain output processing. This is still fine for things like aptitude and
 
19
dselect, and makes the non-curses applications look OK.