Show available I/O devices.
(self, arg)
| 360 | |
| 361 | # ------------------------[ devices ]--------------------------------- |
| 362 | def do_devices(self, arg): |
| 363 | "Show available I/O devices." |
| 364 | str_send = '/str 128 string def (*) {print (\\n) print} str /IODevice resourceforall' |
| 365 | for dev in self.cmd(str_send).splitlines(): |
| 366 | output().info(dev) |
| 367 | output().raw(self.cmd('(' + dev + ') currentdevparams {exch 128 string ' |
| 368 | + 'cvs print (: ) print ==} forall') + os.linesep) |
| 369 | |
| 370 | # ------------------------[ uptime ]---------------------------------- |
| 371 | def do_uptime(self, arg): |