Hi all, I just have submitted a new yast2-core package. The change is a new binary called 'tty_wrapper' (installed by default as /usr/lib/YaST2/bin/tty_wrapper). The wrapper is intended for scripts and other tools using yast in command line mode. Currently running a yast module in command line mode requires access to a tty device. When there is no tty device the yast module doesn't print anything to the output. (See bnc#444228) Changing the yast interpreter would be a big architectural change so I have created a small wrapper which opens a new terminal device inside and starts a new subprocess there. The wrapper uses stdin and stdout/stderr for reading/writing. So in fact it converts tty IO to stdio IO. The wrapper is generic and can be used with any command, i.e. it's not limited to yast. Usage: /usr/lib/YaST2/bin/tty_wrapper <command> [<option1> [<option2> [...]]] Example: /usr/lib/YaST2/bin/tty_wrapper /sbin/yast2 sysconfig help > stdout 2> stderr < /dev/null Without the wrapper there would be just empty files. -- Best Regards Ladislav Slezák Yast Developer ------------------------------------------------------------------------ SUSE LINUX, s.r.o. e-mail: lslezak@suse.cz Lihovarská 1060/12 tel: +420 284 028 960 190 00 Prague 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org