Hi,

I'm working on 'umdo', i.e. sudo with User-Mode Linux (attached).

I use the rootfstype=hostfs command line option. I notice, though,
that C-c, C-\ and C-z (at least) do not work. I'm puzzled because the
key events _are_ sent to the UML-jailed process, yet the signal is
somehow blocked.

Example: let's run "cat" from a UML'd bash, then press C-c, then C-h,
then C-d (to quit "cat"):

$ linux rootfstype=hostfs rw quiet init=/bin/bash
root@(none):/# cat
^H
root@(none):/# stty intr ^H
root@(none):/# cat
^C
root@(none):/# stty intr ^I
root@(none):/# cat
^C^H

Notice that each time, they key associated with 'intr' is caught
sowewhere.

Idem for C-\ (quit)
Idem for C-z (susp)
C-s (stop), C-q (start), C-d (eof) do work, though.


There's more: running through 'getty' enables C-c and C-\
But C-z is still disabled:

$ linux rw rootfstype=hostfs quiet init=/sbin/getty -inl /bin/bash 38400 tty0
root@(none):/# cat
root@(none):/#  # C-c worked.


How can I enable all key shortcuts in a uml?
Do you know what is the cause of this behavior?

Thanks,

-- 
Sylvain

Attachment: umdo.sh
Description: Bourne shell script

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to