Re: [qubes-users] 80x24 geometry used by qvm-console-dispvm
On Wed, 6 Mar 2024 14:48:54 -0800 Andrew David Wong wrote: > I rejected it, because although it contains a "Why did you implement > XYZ this way...?" question, the rest of the message implies a "How do > I...?" request for help or support. Well, it was rather "I am trying to modify existing functionality". Anyway, thanks for clarifying. It's a blurry line I guess. :) -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/20240307080813.5cec4b2f%40localhost.
Re: [qubes-users] 80x24 geometry used by qvm-console-dispvm
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Thu, Mar 07, 2024 at 01:52:58AM +0100, Marek Marczykowski-Górecki wrote: > On Wed, Mar 06, 2024 at 06:16:03PM -0500, Demi Marie Obenour wrote: > > On Wed, Mar 06, 2024 at 10:49:11PM +0100, Marek Marczykowski-Górecki wrote: > > > On Wed, Mar 06, 2024 at 06:13:50PM +0100, Ulrich Windl wrote: > > > > Haven't done it for ages, but can't you configure the size using X > > > > resources? > > > > Like this: > > > > Now to set the size of the console itself, you would add this to the > > > > ~/.Xresources file:xterm*geometry: 127x37 > > > > > > It isn't the problem of changing xterm window size. It's a problem of > > > telling the target VM what the size is. You can probably do that > > > manually by calling `stty cols W rows H` inside (after you resize the > > > window), but I don't know how to make automatic. If anybody has some > > > idea, patches welcome. > > > > For PV consoles, I wonder if there should be a side-channel in the > > protocol. > > Maybe? I don't think there is one. BTW I think the same issue applies to > a real serial console too. SSH has such side-channel. And AFAIR telnet > does it in-band via some special bytes. There isn’t one _right now_, hence me proposing that one should be added. I assume that it would be sufficiently simple that if we need to do any conversions in dom0, those conversions could be done securely. - -- Sincerely, Demi Marie Obenour (she/her/hers) Invisible Things Lab -BEGIN PGP SIGNATURE- iQIzBAEBCgAdFiEEdodNnxM2uiJZBxxxsoi1X/+cIsEFAmXpFCwACgkQsoi1X/+c IsHDuxAAn9xSU4nS2iIdbQbOWGyD6QCJUkgriuLdf5MXYXAvzVvJ039jSYlf8/yZ AgRhHNhX5jBhXXV439sAL9Vv+uq6u8KGc1BMfYCzjBrS3HnwNqin8mex+ueF8LT9 l2nUYHr5XrCwclMYgJcD/hSmnx1J1dtKnih58Xz93Wc+GCmBo3tuomUIpFSPXORw O0THhHyWGzmGzNH8w82EdISz9nkiSOcXXuoINRSO+piP2leXzDpnIURq3YlajGa8 7JdflPUkgKP5jSOCS7jNLonN/IuiMYyLRmsh5LNKTUQv97mMXNz4zvFjmaDGc5xm 0MGkYrg2Nsu4FdiEZMzdaucO1U4xKekBFzhWTSy6d8lytvlPDRH4p9UOvQWLJfFl Wy21AoTHzaDBbob+voboBLaAiLbxEfPaAGVA3lzeLSCivexz2LKuXaKiuMJk0icZ Xru/xJ2CerlZ+aldsutVhn9AI84aN4mjpPfy1Ngo7ijTWtxGxHBwYV1bGF5lrbCJ ZUI20I3Q9TFWgiMDxRwRZXyg+vSXIJRVW2kSHlGJP4IWRTuBeIlOM9BoNVuXSLFH 0GnQBAZQoiq+1MvCvZFx2R46h9Ne0ByWaPas7cTQ8t8kNwdPZz255wfzcu1JOBMA t4KJ9MVA2xPxaYM6Y+gOTbhPWXhCzaEAIlZxvw228Yazbxm67BU= =ErqT -END PGP SIGNATURE- -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/ZekUK_wgASUIjqHo%40itl-email.
Re: [qubes-users] 80x24 geometry used by qvm-console-dispvm
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Wed, Mar 06, 2024 at 06:16:03PM -0500, Demi Marie Obenour wrote: > On Wed, Mar 06, 2024 at 10:49:11PM +0100, Marek Marczykowski-Górecki wrote: > > On Wed, Mar 06, 2024 at 06:13:50PM +0100, Ulrich Windl wrote: > > > Haven't done it for ages, but can't you configure the size using X > > > resources? > > > Like this: > > > Now to set the size of the console itself, you would add this to the > > > ~/.Xresources file:xterm*geometry: 127x37 > > > > It isn't the problem of changing xterm window size. It's a problem of > > telling the target VM what the size is. You can probably do that > > manually by calling `stty cols W rows H` inside (after you resize the > > window), but I don't know how to make automatic. If anybody has some > > idea, patches welcome. > > For PV consoles, I wonder if there should be a side-channel in the > protocol. Maybe? I don't think there is one. BTW I think the same issue applies to a real serial console too. SSH has such side-channel. And AFAIR telnet does it in-band via some special bytes. - -- Best Regards, Marek Marczykowski-Górecki Invisible Things Lab -BEGIN PGP SIGNATURE- iQEzBAEBCAAdFiEEhrpukzGPukRmQqkK24/THMrX1ywFAmXpD+oACgkQ24/THMrX 1yxnhAf/bzFwsUtwDb0Ylu+aSE96wkboLAbWFqPFUAr3fagrTek4N6uACLw4MRdo j6wPGg5G5dvJZlSa6K3UDbjJamQzPazHzk+SN0ROX+AkixlF0eiEMcl3Tg14PZCr 9Xx+lE+MMtCvaWjKO4xWxKY8K4jAMU8foQlQsFftWKgCBBneQGoqjQDYyuALhfCO bU+Nem9hBDg7WCDpLeEc1emtYSLWkBDvTyz3HhmyopfbVxBE5EM6WQSNUSGaeRap ejK/xtfjxspxO3IfT6GWllIoAKdMr3u4xNJEQkqOm/AWIXSOJ/wvJ/boioqKbtQA LxvXhjhvSMYkfO4qtFn7uty6DE4prA== =nyiP -END PGP SIGNATURE- -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/ZekP6uoxgl_WEz3N%40mail-itl.
Re: [qubes-users] 80x24 geometry used by qvm-console-dispvm
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Wed, Mar 06, 2024 at 10:49:11PM +0100, Marek Marczykowski-Górecki wrote: > On Wed, Mar 06, 2024 at 06:13:50PM +0100, Ulrich Windl wrote: > > Haven't done it for ages, but can't you configure the size using X > > resources? > > Like this: > > Now to set the size of the console itself, you would add this to the > > ~/.Xresources file:xterm*geometry: 127x37 > > It isn't the problem of changing xterm window size. It's a problem of > telling the target VM what the size is. You can probably do that > manually by calling `stty cols W rows H` inside (after you resize the > window), but I don't know how to make automatic. If anybody has some > idea, patches welcome. For PV consoles, I wonder if there should be a side-channel in the protocol. - -- Sincerely, Demi Marie Obenour (she/her/hers) Invisible Things Lab -BEGIN PGP SIGNATURE- iQIzBAEBCgAdFiEEdodNnxM2uiJZBxxxsoi1X/+cIsEFAmXo+TMACgkQsoi1X/+c IsHNShAAn9edCHCMdfv5wO9UzhBcf3uAwK5TdlW0bD3Zy9rDZcmkk8wN8NIHsc0V CQxvoGUYrSYHR4i3y+49rMG3MUUvSIqVMinjNyMskapWZeLqr7KIU+EhA03Vr6lG kS0xkamCNvOP5copx7G9A655c5cpxGOxitGxyC4iP6RhBhiUSWqxmo9m6sPPFwV4 qa/a28KEIC6e8d0FxEDGk6y7QqyA/oXCrLg5BgY9odPOj4W4Y1ABqldpREoITeQZ e3H5rnRJnKd7qcHjz3iz9r0PxG6InFOZPf7+7MfF83zvlTSHYCGVtkiHbBtxjBI1 Q/O0UjWXDpsOV/RSiuTGXld4OG56Q+ZG/RUROS+PuGpQVIfV4Ex4sl/qj2ttDvxp +sUTdiWB76E6PYtxVEZRkYwSTN+Y0F9xw/aUoejNNZk+DGJgOj9p62WrLRTLQU/e 9hAv+8Wd9ew04wJkxNlAMFm/plKpVAb88DJFHSsNGDcC6+RTKFkioqAtli71Yd63 mEReuX+VbBo6kWHEPCDYYjwgf6dmorEvbAKqJUNOvUX2jI3kCavYkgPlH9dgAF7Q tMZ/kupyfy4F/KGzAO76275ZzeyiMhePuKLnXEey31PTs246Z1HRHtUJMABnJulO JJxNPLE1IEuUpCqmO8AZo4yT6PzcY7L9r63QN0D3G6XNMZH0yh0= =HeWx -END PGP SIGNATURE- -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/Zej5M30rCvKJBnfZ%40itl-email.
Re: [qubes-users] 80x24 geometry used by qvm-console-dispvm
On 3/6/24 10:37 AM, qubist wrote: > On Wed, 6 Mar 2024 18:14:53 +0100 Marek Marczykowski-Górecki wrote: > >> The way that console works does not support sending information about >> window size (changes). > > Do I understand correctly there is no way to change it and it is > impossible, hence not planned? > > >> You must subscribe to qubes-devel mailing list to post there. > > I am subscribed. I was subscribed at the time of posting it, yet it was > explicitly rejected: > > On Tue, 05 Mar 2024 14:26:01 -0800 Google Groups wrote: > >> Google Groups (https://groups.google.com/d/overview) >> >> Unfortunately, your recent post to the qubes-devel >> (https://groups.google.com/d/forum/qubes-devel) group >> was rejected by a group owner or manager. >> >> Message from the group owner or manager: >> Your message to the qubes-devel group has been rejected. For more >> information, please see: >> >> https://www.qubes-os.org/support/ >> >> You may wish to send your message to the qubes-users mailing list >> instead: >> >> https://www.qubes-os.org/support/#qubes-users >> >> Possible reasons your post was rejected include: >>* Your post was more relevant to a different group or conversation. >>* Your post did not conform to the posting guidelines of this >> group. >>* Your post needs more information. >> >> Google Groups allows you to create and participate in online forums >> and email-based groups with a rich community experience. You can also >> use your Group to share documents, pictures, calendars, invitations, >> and other resources. >> >> >> Visit Google Groups Help Center at >> https://support.google.com/groups/answer/46601?hl=en. > I rejected it, because although it contains a "Why did you implement XYZ this way...?" question, the rest of the message implies a "How do I...?" request for help or support. -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/2a9c8788-b988-4da4-8fef-de839c947c1a%40qubes-os.org.
Re: [qubes-users] 80x24 geometry used by qvm-console-dispvm
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Wed, Mar 06, 2024 at 06:13:50PM +0100, Ulrich Windl wrote: > Haven't done it for ages, but can't you configure the size using X resources? > Like this: > Now to set the size of the console itself, you would add this to the > ~/.Xresources file:xterm*geometry: 127x37 It isn't the problem of changing xterm window size. It's a problem of telling the target VM what the size is. You can probably do that manually by calling `stty cols W rows H` inside (after you resize the window), but I don't know how to make automatic. If anybody has some idea, patches welcome. - -- Best Regards, Marek Marczykowski-Górecki Invisible Things Lab -BEGIN PGP SIGNATURE- iQEzBAEBCAAdFiEEhrpukzGPukRmQqkK24/THMrX1ywFAmXo5NcACgkQ24/THMrX 1yys0Qf6AmYB8Z7OIahL8zabnZ+RZkGc+YmJNcAnxeayFDBBkbOXjuNqKUSvCJ8w 1sKGOiV03tZzztfxMLqZvf03xjLz8l9807t15fFtjXD/pfJDts35nFcGYsLw9zZz j4KjDbJNZNgxgxS1URKh3X3KNR1lCSEhGjI0z3ZWjTHC0MYebOSOfjoe3vSg1Gj9 xTQy4i+yxZkFJ4kuo1vCIyah/K1oY8UetjwCtvmfYbLf7QbXrqqLgb9YZXAWOjox faSTtl4HNLNf3DBgAJrgKQFygqfb7B825yFwCOTWdBrRnXg7L3OidIDu52lbrZMQ YRaShECp/WzRrHmQQcds2exx9hDcMw== =3kg0 -END PGP SIGNATURE- -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/Zejk154ohmR-bei6%40mail-itl.
Re: [qubes-users] 80x24 geometry used by qvm-console-dispvm
On Wed, 6 Mar 2024 18:14:53 +0100 Marek Marczykowski-Górecki wrote: > The way that console works does not support sending information about > window size (changes). Do I understand correctly there is no way to change it and it is impossible, hence not planned? > You must subscribe to qubes-devel mailing list to post there. I am subscribed. I was subscribed at the time of posting it, yet it was explicitly rejected: On Tue, 05 Mar 2024 14:26:01 -0800 Google Groups wrote: > Google Groups (https://groups.google.com/d/overview) > > Unfortunately, your recent post to the qubes-devel > (https://groups.google.com/d/forum/qubes-devel) group > was rejected by a group owner or manager. > > Message from the group owner or manager: > Your message to the qubes-devel group has been rejected. For more > information, please see: > > https://www.qubes-os.org/support/ > > You may wish to send your message to the qubes-users mailing list > instead: > > https://www.qubes-os.org/support/#qubes-users > > Possible reasons your post was rejected include: >* Your post was more relevant to a different group or conversation. >* Your post did not conform to the posting guidelines of this > group. >* Your post needs more information. > > Google Groups allows you to create and participate in online forums > and email-based groups with a rich community experience. You can also > use your Group to share documents, pictures, calendars, invitations, > and other resources. > > > Visit Google Groups Help Center at > https://support.google.com/groups/answer/46601?hl=en. -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/20240306183705.48152996%40localhost.
Re: [qubes-users] 80x24 geometry used by qvm-console-dispvm
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Wed, Mar 06, 2024 at 03:42:23PM -, qubist wrote: > Hello, > > What is the reason for the '80x24' geometry of xterm used by > qvm-console-dispvm through the management_dispvm? > > I tried to remove the option in the policy file in order to utilize the > full available workspace, as well as to change it to a bigger window, > but in both cases it just stops working. That's the standard terminal size that various tools assume in lack of other information. Technically you can use bigger window, but tools like vim or top will still assume it's 80x24. The way that console works does not support sending information about window size (changes). > P.S. I posted that initially in qubes-devel because it fits completely > the "Why did you implement XYZ this way and not the other way?" example > in https://qubes-os.org/support/ but it was rejected. Quite confusing. You must subscribe to qubes-devel mailing list to post there. - -- Best Regards, Marek Marczykowski-Górecki Invisible Things Lab -BEGIN PGP SIGNATURE- iQEzBAEBCAAdFiEEhrpukzGPukRmQqkK24/THMrX1ywFAmXopI0ACgkQ24/THMrX 1yy46gf9FCrYbcTkY9BYGOVSY9JUSU2d7XAdflrQeL+uQIVljhXTLBA9iN3P3euW lO+1AVNIpEgt+hwwAfd3A75EHt/zbXw6xjdxDZxo/aXqvjFl3OHffT39hViNCr20 HtFNH9DsonCvc08TmGxbPQsIGpQFhdEI8hr26AQ//MnJrfCNUjUIUpcCmmbirAII bZZTHMdIWaa5yD5lWiCtaCdo0tmzxJzHRswGHyJBCQy8wynH3QMwMEXfAdm6bWk/ eInWbarRBRwJX9fuR+xJfyMlJar0YQhFqkNf5LRgReNnC+y9nZjizdWoqxb94mSg C5H5VEzS3BZj0eEVRHK2erIDeodtCQ== =RdnV -END PGP SIGNATURE- -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/ZeikjeH0dPBxAvjj%40mail-itl.