This patch allows octave to use less from the GnuWin32 project. The single-quote to double-quote replacement shouldn't affect other systems. But I'm not sure about the -X command flag. Under less from GnuWin32, using -X results in only the last line of the current screen being visible, while the rest of the screen is empty.