Code Monkey home page Code Monkey logo

Comments (7)

jftuga avatar jftuga commented on September 14, 2024

Do you see the same problem under Linux? Would it be possible for you to test less version 600 from http://greenwoodsoftware.com/less/download.html

I would be curious to see if this fixes the problem.

from less-windows.

Konstantin-Glukhov avatar Konstantin-Glukhov commented on September 14, 2024

I just compiled version 603 of less with Microsoft VC 17 and gcc on Ubuntu. Microsoft version hangs on attempt to search for Chinese characters, the Linux version works fine.

from less-windows.

jftuga avatar jftuga commented on September 14, 2024

I can not help you with this problem other than to give you another suggestion.

  • Place the smallest file possible that exhibits the problem onto a GH repo.
  • Take screenshot of it working under Linux
  • Take screenshot of it not working under Windows
    • I would also try under both cmd and powershell
  • Add this info to an already opened issues here: gwsw/less#247
    • Try finding the up-to-date older version that works and include that version number
    • Also ask how it can further be debugged

from less-windows.

Konstantin-Glukhov avatar Konstantin-Glukhov commented on September 14, 2024

I updated the issue gwsw/less#247 as you suggested, though I opened the issue two weeks earlier. Hopefully a solution will be found, otherwise less on windows is not useful for half of this planet :)

from less-windows.

Konstantin-Glukhov avatar Konstantin-Glukhov commented on September 14, 2024

Here are the screenshots of less working on Linux:

less Japanese.txt

Linux-1

Enter a search text in Japanese and hit Enter:

Linux-2

Search results are highlighted:

Linux-3

Here are the screenshots of less hanging on Windows (results are the same in both cmd.exe and PowerShell.exe):

Open a file with less:

Windows-Cmd-1

Windows-Cmd-2

Enter a search text in English and hit Enter:

Windows-Cmd-3

Search results are highlighted:

Windows-Cmd-4

Attempt to search a text in Japanese:

Windows-Cmd-5

After hitting "/" and entering the first Japanese character, less becomes unresponsive. After that ESC, Backspace, Ctrl-C or "q" do not work, and less needs to be killed from "Task Manger".

from less-windows.

jftuga avatar jftuga commented on September 14, 2024

less v608 has been released. Can you please try it? If it does not work, you should report the bug to the upstream.

My project simply downloads the less source code from the upstream and then uses an automated GitHub Action to compile the untouched source code to create the less.exe binary and then publish it to the Releases section.

Please consider posting your bug report here:

https://github.com/gwsw/less/issues

from less-windows.

Konstantin-Glukhov avatar Konstantin-Glukhov commented on September 14, 2024

It seems to be working as expected.

from less-windows.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.