![]() ![]() ![]() X or Wayland and I think that modifying a single line in the source I was also thinking about using xdotool but I'm not sure if you run Know which unwanted side effects can this small change cause, if any. Alternatively, you can put your fork of Putty elsewhere,įor example in ~/bin and prepend ~/bin to your $PATH so that theįork will be picked before system-wide Putty binary. Putty is being updated, for example when running a massive system With this it will be replaced each time you update Putty using yourĭistro's package manager (and sometimes you may not even realize that You replace Putty binary installed with your distro's package manager Introduced has not formally accepted by Putty developers what means This method has its disadvantages of course. Trust me you can get a precompiled binary from here If you don't want to recompile Putty on your own and you You should now be able to paste selected text with rightĬlick. Stared Putty installed system-wide using your distro's package You should see all of your saved sessions and settings just as if you $ make -j$(nproc) -f Makefile.gtk LDFLAGS="-Wl,-no-as-needed,-ldl"īuilding takes only 6 seconds on my machine. Save the patch I pasted above to MBT_PASTE.patch and apply it (if it fails download patch directly from ): git apply MTB_PASTE.patch You have to get Putty source code, apply the patch and re-buildĬlone Putty repository: git clone git:///simon/putty.git & cd putty * fchown(fd.) or chown(path.) depending on parameters. * The guts of setstat and fsetstat, macroised so that they can call * If the OS doesn't support futimes(3) then we have to pretend it static inline int futimes(int fd, const struct timeval tv) +++ -412,16 +412,6 static void uss_fstat(SftpServer *srv, SftpReplyBuilder *reply, +++ -447,7 +447,7 static Mouse_Button translate_button(Mouse_Button button)ĭiff -git a/unix/uxsftpserver.c b/unix/uxsftpserver.c Will make it paste the text: diff -git a/unix/gtkwin.c b/unix/gtkwin.c Theįollowing patch will modify the default behavior of right click and Modify the program's source code to suit your needs and use it. ![]() But, thanks to the nature of open source you can always Should ask Putty developers about that, most probably nobody has even Not possible to use "Compromise (Middle extends, Right pastes)" on ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |