Hi Marc,

Thank you for your reply.

On Wed, Jul 24, 2019 at 06:57 PM PDT, Marc Lehmann wrote:
> On Wed, Jul 24, 2019 at 05:41:32PM -0700, Mun <mjeli...@gmail.com> wrote:
> > I would like to change the window geometry via the command line.  Is
> > that possible?  That is, can I put the requisite escape sequence (if one
> > exits) in a script and invoke it via the command line when I want to
> > change the window geometry?
> 
> Yes (but me thinks just trying it out would have been faster? :) Or do you
> wonder if the command sequences listed in the manpage are officially
> supported? In that case, yes, they are, until they are changed...

I _did_ try it out but it didn't work very well for me.  So I thought
I'd ask for help since I probably wasn't understanding he sequence
correctly.

Here's what I tried ...

Base on the documentation, I tried using the following sequence:

   /********************************************************************/
   /* "ESC [ Ps;Pt t"                                                  */
   /*     Window Operations                                            */
   /*                                                                  */
   /*     Ps = 8      ESC [ 8 ; R ; C t Resize to R rows and C columns */
   /********************************************************************/

So, I placed the following into a file:

------------------------------ Delimiter BEGIN --------------------------------
#! /bin/bash

echo "ESC [8;30;100t"
------------------------------- Delimiter END ---------------------------------

where "ESC" was the actual <ESC> character, of course.

When executed, the _window_ geometry did not change, but an "inner"
window changed to the specific size.  Although, I was trying to increase
the number of columns and that didn't work because the actual window
geometry did not change.

Did I choose the correct sequence?  If so, did I use it correctly?

Regards,

-- 
Mun

_______________________________________________
rxvt-unicode mailing list
rxvt-unicode@lists.schmorp.de
http://lists.schmorp.de/mailman/listinfo/rxvt-unicode

Reply via email to