[yast-devel] Improved UI::RunInTerminal - registration in text-mode possible
Hola brave yast hackers! In order to get ready for re-introducing thread support into yast2-ncurses (post 10.3) I've improved UI::RunInTerminal builtin. As you may know, this builtin is ncurses-specific and it is very useful for calling external programs from text-mode interface. For example, running yast modules from the text-mode control centre menu in the same terminal is a common usecase. Another example is product-creator (Lado?), where you can enter gpg interactive mode via UI::RunInTerminal to generate keys to sign your product. Until recently, due to a bug (well, rather not implemented feature ;-) ) not all applications could be run via UI::RunInTerminal (as it was e.g. the case of w3m), as yast duly redirected their stdout and stderr into the y2log. After adding some file descriptor magic into y2-ncurses code, it now works. And - this is probably the most important - *Customer centre registration can now be carried out in the text-mode as well* To test the new improved yast2-ncurses, grab the packages from here: /work/built/mbuild/bragg-kmachalkova-504/ (only amd64 and i386). Note: they require new yast2-core B. -- \\\\\ Katarina Machalkova \\\\\\\__o YaST developer __\\\\\\\'/_ & hedgehog painter
* Katarina Machalkova <kmachalkova@suse.cz> [2007-08-23 15:50]:
In order to get ready for re-introducing thread support into yast2-ncurses (post 10.3) I've improved UI::RunInTerminal builtin.
would it be possible to implement something like Ctrl-Alt-Shift-X which opens an Xterm in text mode. Of course not a new "window", just replacing the current window with a shell. While it's no problem to switch to another console with Alt-Fx in VGA mode, this is not possible when installing on a serial console. Sometimes, especially with old SLES releases, it's also possible that the network card doesn't work during installation, so using VNC or SSH is not always an option (of course there's the possibility that you add drivers before installation, but it's not that simple). It would be cool to get a shell also in that cases to debug something. Thanks, Bernhard -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
On Fri, Aug 24, 2007 at 10:53:14AM +0200, Bernhard Walle wrote:
* Katarina Machalkova <kmachalkova@suse.cz> [2007-08-23 15:50]:
In order to get ready for re-introducing thread support into yast2-ncurses (post 10.3) I've improved UI::RunInTerminal builtin.
would it be possible to implement something like Ctrl-Alt-Shift-X
Just a note about the key combination, yast2-ncurses uses Ctrl-D Shift-Letter for the debugging functions: NCDialog::processInput in http://svn.opensuse.org/svn/yast/trunk/ncurses/src/NCDialog.cc -- Martin Vidner, YaST developer http://en.opensuse.org/User:Mvidner Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
would it be possible to implement something like Ctrl-Alt-Shift-X which opens an Xterm in text mode. Of course not a new "window", just replacing the current window with a shell. While it's no problem to switch to another console with Alt-Fx in VGA mode, this is not possible when installing on a serial console.
Yeah, should not be that much coding :) Just open a FaTE request for me. But I'm definitely not going to backport this feature to SLES9 ;-) B. -- \\\\\ Katarina Machalkova \\\\\\\__o YaST developer __\\\\\\\'/_ & hedgehog painter
participants (3)
-
Bernhard Walle
-
Katarina Machalkova
-
Martin Vidner