2016-11-25 17:18:40 +01:00
|
|
|
#!/cmd/rc
|
|
|
|
|
|
|
|
rfork e
|
|
|
|
ifs='
|
|
|
|
'
|
|
|
|
|
|
|
|
for(i in `{ls /dev/wsys}) {
|
2017-01-04 23:34:44 +01:00
|
|
|
echo window -r `{sys/call -o pread 0 buf 59 -1 < $i/window >[2] /dev/null |
|
2016-11-25 17:18:40 +01:00
|
|
|
sed 's/............//; s/^ *//; s/ */ /g'} `{cat $i/label}
|
|
|
|
}
|