Coder Social home page Coder Social logo

Comments (22)

gsass1 avatar gsass1 commented on August 29, 2024

What kind of terminal is that?

from ntop.

KorneevVitaly avatar KorneevVitaly commented on August 29, 2024

What kind of terminal is that?

I'm using ConEmu.

Tried open ntop in regular cmd.exe and it has the same behaviour. Also, my system is Windows 8.1.

from ntop.

gsass1 avatar gsass1 commented on August 29, 2024

Well this statement https://github.com/gsass1/NTop/blob/master/ntop.c#L1767 (DISABLE_NEWLINE_AUTO_RETURN) is what should prevent the buffer from scrolling on the last line. IDK why that doesn't work on Windows 8.1 :/

from ntop.

KorneevVitaly avatar KorneevVitaly commented on August 29, 2024

I tieed build it with build.bat and I've got an error with "error C2275: WORD:invalid use of this type"
Screenshot_1

And in minwindef.h(159) it's:
typedef unsigned short WORD;

from ntop.

Krikonildo avatar Krikonildo commented on August 29, 2024

Work as intended with Windows 10.
Same problem with Windows 7.
Maybe a command line option to disable the header ?

from ntop.

Alex313031 avatar Alex313031 commented on August 29, 2024

Can confirm on windows x64 7, server 2011, 8, 8.1. Havent tested in ten but probably works as Krikonildo said. I love all the "tops" for Unix/Linux i.e. top, htop, nvtop, atop. There is no other program like this and I really like it just disappointing me with the jittering up and down it can make it hard to read. Also verified on 32 bit windows 7 in command.com.

from ntop.

Alex313031 avatar Alex313031 commented on August 29, 2024

Update @Krikonildo @KorneevVitaly @gsass1 WORKS as intended IF you set compatibility mode to Windows XP SP3 in the executables properties. This works for 7, and 8.1 but strangely not 8. Of course my 8 is in a VM whereas 7 and 8.1 are real machines but idk if that makes a difference. Compiling works with VS 2017 AND 2015 with platform update on win 7. Same issues and same resolution no matter what is used to compile.

from ntop.

Alex313031 avatar Alex313031 commented on August 29, 2024

I have it in a directory in my path, and if I launch it from cmd (not double clicking ntop), this only resolves it IF you keep the default ~80X24 Prompt size

from ntop.

greatquux avatar greatquux commented on August 29, 2024

from ntop.

Krikonildo avatar Krikonildo commented on August 29, 2024

@Alex313031
Didn't work for me ( Windows 7 x64 ).
Neither compatibility mode or cmd.
Works without DISABLE_NEWLINE_AUTO_RETURN ( Linux / MinGW ).
Even on Vista x86 recompiling with GetTickCount.

from ntop.

Krikonildo avatar Krikonildo commented on August 29, 2024

@greatquux
Works for me too.
But it crashes if I try to select a process with the directional arrows.

from ntop.

gsass1 avatar gsass1 commented on August 29, 2024

Hello

I just pushed another commit that maybe fixes this. I would be grateful if someone could just compile the latest commit and tell me if it works since I don't have a Windows 7 VM atm.

from ntop.

greatquux avatar greatquux commented on August 29, 2024

I compiled the latest version and it seems to work great on my Windows Server 2012 R2 now where it was previously jumping around (unless I pressed '/').

from ntop.

Alex313031 avatar Alex313031 commented on August 29, 2024

@greatquux @Krikonildo The / works better because you can resize, also works on win 8. I had an SSD fail and had to recover alot of files and reinstall win 7 on a new ssd. Don't have alot of stuff set up including VS, so is there a way you could share your latest compiled version so I can try. Also cudos to @gsass1 for bein so quick about everything.

from ntop.

Alex313031 avatar Alex313031 commented on August 29, 2024

@Krikonildo Your'e still using Vista in 2020!! JK I use win xp and win 98 for old stuff, and have VMs of vista. Anyway, VS 2013 and higher requires >Win 7 and 2015 and higher requires > Win 7 with 2013 Platform Update https://www.microsoft.com/en-us/download/details.aspx?id=36805 So how in the world did you compile it on that.

from ntop.

greatquux avatar greatquux commented on August 29, 2024

@Alex313031 I will send you a link to the last compiled version I have, it was while doing some troubleshooting for the issue 34 so it leaves some stuff in the background when you quit and if it cannot find a username it displays it as "default" but otherwise works fine.

from ntop.

Alex313031 avatar Alex313031 commented on August 29, 2024

@greatquux Thnx

from ntop.

Alex313031 avatar Alex313031 commented on August 29, 2024

@greatquux Crashes on launch on Win 7 sp1 ultimate x64

from ntop.

greatquux avatar greatquux commented on August 29, 2024

from ntop.

iqlat avatar iqlat commented on August 29, 2024

Same issue, title flickering on latest build (from scoop/git repo); tested as standalone .exe and in Cmder; on Windows 7 x64 Pro; it stops only when window looses focus => gif_link; the workaround with "/" crashes app.

from ntop.

iqlat avatar iqlat commented on August 29, 2024

upd: nov, 2021 -> this issue seems to be fixed in the latest source code; you can compile it by your own or download the compiled one from google drive.

from ntop.

gsass1 avatar gsass1 commented on August 29, 2024

You can also fetch the latest build on CircleCI, for example: https://app.circleci.com/pipelines/github/gsass1/NTop/5/workflows/62fb589a-2e71-4e21-903d-6d5b9c2d8c17/jobs/5/artifacts

from ntop.

Related Issues (20)

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.