Using terminator with cygwin

Thu Mar 17 14:58:18 GMT 2022


On 17.03.22 12:56, Adam Dinwoodie wrote:
> On Thu, Mar 17, 2022 at 11:54:02AM +0100, zweiund40 wrote:
>> Hi all,
>> I've got a question and I hope u can help there. I guess the question may be
>> a bit silly for some of u, but, u know, I'm not an expert. I want to use
>> terminator with cygwin and was excited when I found it as package listed in
>> the setup.exe, So, I installed it and since there was no terminator.exe to
>> be found I tried "terminator" on the command line, but it didn't work.
>> Error-message is rather confusing:
>> $ terminator
>>    File "/usr/bin/terminator", line 119
>>      except (KeyError,ValueError), ex:
>>                                  ^
>> SyntaxError: invalid syntax
>> What am I doing wrong? I think I didn't understand something very basal.
> It looks like terminator hasn't been updated since Cygwin moved from
> /usr/bin/python being Python2 to Python3, and it doesn't explicitly
> specify the Python version it needs.
> This really needs a fix from the terminator maintainer, Mike DePaulo,
> but while Mike used to be fairly active on these lists, I've not seen
> him post for several years.  Mike: are you there? Are you able to update
> this package?
> In the meantime, you might be able to work around this by manually
> editing /usr/bin/terminator and /usr/bin/remotinator, and changing the
> first line from this:
>      #!/usr/bin/python
> to this:
>      #!/usr/bin/python2
> That said, it's worth noting the version of terminator that's available
> from the Cygwin package repositories is almost six years old, and relies
> on a Python version that has been completely out of support for almost
> two years, so I wouldn't be vastly surprised if this isn't fixable
> without a more significant update from the Cygwin package maintainer.
> Adam

More information about the Cygwin mailing list