On Tuesday 26 September 2006 17:21, Mike Horn wrote:
> Hi,
>
> I'm now able to log into my UML guest system (thanks!), but when I use vi
> within the guest I can't edit properly, it appears that there is some
> character mapping issue.  Basically, I can't enter insert mode and then I
> can't use :q! to close the vi session it just hangs.  I can enter text into
> a file using 'cat > filename', but this isn't very productive.

I'd check the value of $TERM. It is set in /etc/inittab through an option to 
*getty.

You're likely seeing the login prompt in an xterm, so you should have 
TERM=xterm. A login prompt is likely to be configured to have TERM=linux.
IIRC, the needed change is from a line such as:

2:23:respawn:/sbin/getty 38400 tty2
to 
2:23:respawn:/sbin/getty 38400 tty2 xterm

I've just appended "xterm". To reload inittab you need killall -HUP init. 
Please check in man mingetty (use your getty) and man init.

> I'm logging into the UML guest by ssh'ing to the host system (FC5 - 2.6.18)
> and then running the UML kernel instance and logging into the tty0
> 'console'.  Let me know what additional information I can provide to figure
> out what isn't working.
>
> Thanks,
>
> -mike

-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade
http://www.user-mode-linux.org/~blaisorblade
Chiacchiera con i tuoi amici in tempo reale! 
 http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
User-mode-linux-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to