2016-11-25 17:18:40 +01:00
|
|
|
#!/cmd/rc
|
|
|
|
|
|
|
|
rfork e
|
2017-10-22 13:22:37 +02:00
|
|
|
IFS='
|
2016-11-25 17:18:40 +01:00
|
|
|
'
|
|
|
|
|
|
|
|
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}
|
|
|
|
}
|