[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xenconsole defaults to 80x20


  • To: xen-users@xxxxxxxxxxxxxxxxxxxx
  • From: Andy Smith <andy@xxxxxxxxxxxxxx>
  • Date: Sat, 12 Mar 2022 09:57:52 +0000
  • Delivery-date: Sat, 12 Mar 2022 09:59:00 +0000
  • List-id: Xen user discussion <xen-users.lists.xenproject.org>
  • Openpgp: id=BF15490B; url=http://strugglers.net/~andy/pubkey.asc

Hello,

On Thu, Mar 10, 2022 at 03:05:23PM +0000, Mike wrote:
> When I use xl console to connect to the console of a Xen Guest, the
> console defaults to 80x20.  One can manually adjust the console size
> using resize or TERM=, although it would be nice if this happened
> automatically, like when opening a xterm.
> 
> Has anyone come across a mechanism to make this happen?

No, but I'd be interested to hear if you find out. Or if the Xen
project would take it as a feature request.

The other terminal-related one I always wondered about was if it
could be possible to remap "magic sysrq" (ctrl-o on Xen console).

This is all very well in dom0's console, but in guests I have users
that persist in using nano editor where ctrl-o is save file! So they
hit ctrl-o expecting to save the buffer, but seemingly nothing
happens (Xen is waiting for the magic sysrq command), so they try
ctrl-o again which comes across as magic sysrq command 'o' -
immediate power off!

So in guests, if ctrl-o can't be remapped I'd quite like to disable
it I think.

Other interesting console-related things that I think are already
possible but I lack knowledge in how to do it and would appreciate
some tips from anyone who does:

- Is it possible to log all console content for a guest without
  interfering with the ability to start / use "xl console"?

- Has anyone ever plumbed a guest's console through to a web
  terminal setup like xterm.js?

Cheers,
Andy



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.