Pseudoterminal problem

Glo shikascs at clutx.clarkson.edu
Thu Mar 28 08:25:14 AEST 1991


Hi,

There is a problem with the pseudoterminals not closing properly.. Is there
any way to change the state of the terminal from W (waiting for another
process to a normal state? This is the results from pstat -t..

1 Console
   # RAW CAN OUT     MODE     ADDR DEL COL     STATE  PGRP DISC
   0   0   0   0 54050cd8        0   0   0  O C      4893 ntty
64 As lines
   # RAW CAN OUT     MODE     ADDR DEL COL     STATE  PGRP DISC
   0   0   0   0        0        0   0   0              0
   1   0   0   0        0        0   0   0              0
   2   0   0   0 40000cd2        0   0   0              0
   3   0   0   0       18        0   0   0 W            0
   4   0   0   0       18        0   0   0 W            0
   5   0   0   0       18        0   0   0 W            0
   6   0   0   0       18        0   0   0 W            0
   7   0   0   0 544500f0        0   0   0  O C     25782
   8   0   0   0 544500f0        0   0   0  O C     27484
   9   0   0   0        0        0   0   0              0
  10   0   0   0       18        0   0  10 W            0
  11   0   0   0       18        0   0   0 W            0
  12   0   0   0       18        0   0   0 W            0
  13   0   0   0        0        0   0   0              0
  14   0   0   0        0        0   0   0              0
  15   0   0   0        0        0   0   0              0
  16  72   0 338 40000cd2        0   1  61  O CBA S     0 ntty
  17   0   0   0       18        0   0   0 W            0
  18   0   0   0       18        0   0   0 W            0
  19   0   0   0 544500d8        0   0  17  O C     26423 ntty
  20   0   0   0       18        0   0   0 W            0
  21   0   0   0       18        0   0   0 W            0
  22   0   0   0       18        0   0   0 W            0
  23   0   0   0       18        0   0   0 W            0
  24   0   0   0       18        0   0   0 W            0
  25   0   0   0        0        0   0   0              0
  26   0   0   0       18        0   0   0 W            0
  27   0   0   0        0        0   0   0              0
  28   0   0   0 544500d8        0   0  10  O C     24512 ntty
  29   0   0   0        0        0   0   0              0
  30   0   0   0 544500f0        0   0   0  O C     28328
  31   0   0   0        0        0   0   0              0
  32   0   0   0        0        0   0   0              0
  33   0   0   0        0        0   0   0              0
  34   0   0   0        0        0   0   0              0
  35   0   0   0        0        0   0   0              0
  36   0   0   0        0        0   0   0              0
  37   0   0   0        0        0   0   0              0
  38   0   0   0        0        0   0   0              0
  39   0   0   0        0        0   0   0              0
  40   0   0   0        0        0   0   0              0
  41   0   0   0        0        0   0   0              0
  42   0   0   0        0        0   0   0              0
  43   0   0   0        0        0   0   0              0
  44   0   0   0        0        0   0   0              0
  45   0   0   0        0        0   0   0              0
  46   0   0   0        0        0   0   0              0
  47   0   0   0        0        0   0   0              0
  48   0   0   0        0        0   0   0              0
  49   0   0   0        0        0   0   0              0
  50   0   0   0        0        0   0   0              0
  51   0   0   0        0        0   0   0              0
  52   0   0   0        0        0   0   0              0
  53   0   0   0        0        0   0   0              0
  54   0   0   0        0        0   0   0              0
  55   0   0   0        0        0   0   0              0
  56   0   0   0        0        0   0   0              0
  57   0   0   0        0        0   0   0              0
  58   0   0   0        0        0   0   0              0
  59   0   0   0        0        0   0   0              0
  60   0   0   0        0        0   0   0              0
  61   0   0   0        0        0   0   0              0
  62   0   0   0        0        0   0   0              0
  63   0   0   0        0        0   0   0              0
64 pty lines
   # RAW CAN OUT     MODE     ADDR DEL COL     STATE  PGRP DISC
   0   0   0   0 544500d8        0   0   0 W            0
   1   0   0   0 544500d8        0   0   0 W            0
   2   0   0   0 544500d8        0   0   0 W            0
   3   0   0   0 544500d8        0   0   0 W            0
   4   0   0   0 540500d8        0   0   0  O       14620 ntty
   5   0   0   0 544500d8        0   0   6 W            0
   6   0   0   0 544500d8        0   0   0 W            0
   7   0   0   0 544500d8        0   0  10 W            0
   8   0   0   0 544500d8        0   0   0  O         961 ntty
   9   0   0   0 544500d8        0   0   0 W            0
  10   0   0   0 544500d8        0   0   0 W            0
  11   0   0   0 540500c2        0   0  14  O C      5907 ntty
  12   0   0   0      cd8        0   0   0  O C      6208 ntty
  13   0   0   0 544500d8        0   0   0 W            0
  14   0   0   0 544500d8        0   0   0  O C      8250 ntty
  15   0   0   0 540500d8        0   0  11  O C     18539 ntty
  16   0   0   0 140500d8        0   0   6              0
  17   0   0   0 544500d8        0   0   0  O C     29312 ntty
  18   0   0   0 544500d8        0   0   0  O       10951 ntty
  19   0   0   0 544500d8        0   0   0 W            0
  20   0   0   0 544500d8        0   0   0  O C      6121 ntty
  21   0   0   0 544500d2        0   0  74  O C      6093 ntty
  22   0   0   0 54450cd8        0   0   0 W            0
  23   0   0   0 540500c2        0   0  20  O C      6145 ntty
  24   0   0   0 544500d8        0   0   0 W            0
  25   0   0   0 540500d8        0   0   2  O C     28697 ntty
  26   0   0   0 544500d8        0   0   0  O C      6211 ntty
  27   0   0   0 544500d8        0   0   5 W            0
  28   0   0   0 544500d8        0   0   6 W            0
  29   0   0   0 54450cd8        0   0   0 W            0
  30   0   0   0 544500d8        0   0  11 W            0
  31   0   0   0 544500d8        0   0   0 W            0
  32   0   0   0 544500d8        0   0   6 W            0
  33   0   0   0 540500d8        0   0   0  O C      6212 ntty
  34   0   0   0 544500d8        0   0   0 W            0
  35   0   0   0 544500d8        0   0  10  O C      4896 ntty
  36   0   0   0 544500d8        0   0   0 W            0
  37   0   0   0 544500d8        0   0   0 W            0
  38   0   0   0 544500d8        0   0   0              0
  39   0   0   0 544500d8        0   0   0 W            0
  40   0   0   0 544500d8        0   0   0              0
  41   0   0   0 544500d8        0   0   0              0
  42   0   0   0 544500d8        0   0   2  O C      4432 ntty
  43   0   0   0 544500d2        0   0  11              0
  44   0   0   0 544500d8        0   0   0  O       15154 ntty
  45   0   0   0 544500d8        0   0   0 W            0
  46   0   0   0 544500d8        0   0   0              0
  47   0   0   0 544500d8        0   0   0 W            0
  48   0   0   0 54450cd8        0   0   0              0
  49   0   0   0 544500d8        0   0   0              0
  50   0   0   0 544500d8        0   0   0  O       20127 ntty
  51   0   0   0 544500d2        0   0  98  O C      5976 ntty
  52   0   0   0 540500d8        0   0   6 W            0
  53   0   0   0 544500d8        0   0   0              0
  54   0   0   0 544500d8        0   0   0              0
  55   0   0   0 544500d8        0   0  10  O C     24209 ntty
  56   0   0   0 544500d8        0   0   0  O        1706 ntty
  57   0   0   0 540500d8        0   0   0  O       21915 ntty
  58   0   0   0 540500d8        0   0   6 W            0
  59   0   0   0 544500d8        0   0   0  O       18771 ntty
  60   0   0   0 54450cd8        0   0   6              0
  61   0   0   0 544500d8        0   0   0              0
  62   0   0   0 544500d8        0   0   4              0
  63   0   0   0 54050cd8        0   0   0              0

Thanks in advance,

-Chris

Addr: shikascs at clutx.clarkson.edu



More information about the Comp.unix.wizards mailing list