• Putty windows title under linux

    From Chris Townley@21:1/5 to All on Mon Jul 24 01:44:05 2023
    I have been using PuTTY for over 20 years, but now have a small problem

    I an running OpenVMS in KVM, on Ubuntu, and can currently only access
    the machine console using the virsh console from a local bash session.

    The linux version of PuTTY does not allow access to the change settings
    like the Windows version, so it just shows the KVM hostname. I would
    like to change his using a scripts, but am unsure of the escape
    sequences needed to change the window

    I cannot find anything i the docs, or FAQ

    Does anyone have any idea what I need to send?

    Thanks

    --
    Chris

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Simon Tatham@21:1/5 to Chris Townley on Wed Jul 26 07:31:21 2023
    Chris Townley <news@cct-net.co.uk> writes:

    The linux version of PuTTY does not allow access to the change
    settings like the Windows version,

    It should - you can Ctrl + right-click the window and get a PuTTY
    context menu including 'Change Settings'.

    I would like to change his using a scripts, but am unsure of the
    escape sequences needed to change the window

    Try sending ESC [ 2 ; your-title-here ESC \

    --
    import hashlib; print((lambda p,q,g,y,r,s,m: (lambda w:(pow(g,int(hashlib.sha1( m.encode('ascii')).hexdigest(),16)*w%q,p)*pow(y,r*w%q,p)%p)%q)(pow(s,q-2,q))==r and s%q!=0 and m)(12342649995480866419, 2278082317364501, 1670428356600652640, 5398151833726432125, 645223105888478, 1916678356240619, "<anakin@pobox.com>"))

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Townley@21:1/5 to Simon Tatham on Wed Jul 26 16:32:37 2023
    On 26/07/2023 07:31, Simon Tatham wrote:
    Chris Townley <news@cct-net.co.uk> writes:

    The linux version of PuTTY does not allow access to the change
    settings like the Windows version,

    It should - you can Ctrl + right-click the window and get a PuTTY
    context menu including 'Change Settings'.

    Never knew that! Much more convenient
    Is there any documentation specific to the *nix version of PuTTY?


    I would like to change his using a scripts, but am unsure of the
    escape sequences needed to change the window

    Try sending ESC [ 2 ; your-title-here ESC \


    That seems to do the trick - many thanks

    --
    Chris

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)