okbob / ncurses-st-menu

ncurses (pdcurses) based library for CUA look menu
BSD 2-Clause "Simplified" License
62 stars 9 forks source link

Added PDCurses Compatibility #2 #9

Closed tysenmoore-xse closed 4 years ago

tysenmoore-xse commented 4 years ago

Updated PR for my PDCurses compatibility changes. Some updates:

okbob commented 4 years ago

I please, can you do rebase first. I cannot to merge your branch.

More I don't understand to:

    #ifndef HAVE_LANGINFO_CODESET
    /* Don't use UTF when terminal doesn't use UTF */
    config.encoding = nl_langinfo(CODESET);
    #else
    config.encoding = "";
    #endif

or

#ifndef HAVE_LANGINFO_CODESET
#include 
#endif

It looks like strage - like HAVE_LANGINFO_CODESET has negative value what it should to have.

tysenmoore-xse commented 4 years ago

Nice catch, very sorry. I also did a rebase of my fork. Not sure if there is something else I need to do to fix the conflicts.

GitMensch commented 4 years ago

The current state is not mergeable and would create a strange history, too.

@tysenmoore-xse I suggest to wait for @okbob to do #8, then create a complete copy of your checkout, then delete the fork, then recreate it, checkout, diff your changes in, commit, create a new "clean" PR.

tysenmoore-xse commented 4 years ago

That works for me. I can wait.

okbob commented 4 years ago

I cleaned the projects - so please, refresh pull request

tysenmoore-xse commented 4 years ago

I am in the process of a new merge on a new fork. However, I did notice you still have the configure file checked in and not part of the gitignore/cleanup. Any specific reason? This is a generated file and should not be checked in to avoid confusion/build problems.

okbob commented 4 years ago

st 26. 2. 2020 v 19:58 odesílatel Tysen Moore notifications@github.com napsal:

I am in the process of a new merge on a new fork. However, I did notice you still have the configure file checked in and not part of the gitignore/cleanup. Any specific reason? This is a generated file and should not be checked in to avoid confusion/build problems.

I know it. On almost linux system this file is same - so if I have it in base, then lot of people doesn't need to install and run autogen.

It is very similar with Postgres https://github.com/postgres/postgres

And I am a PostgreSQL's boy :)

Pavel

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/okbob/ncurses-st-menu/pull/9?email_source=notifications&email_token=AAEFO46WRO3PSCRHOX3SIBTRE23VPA5CNFSM4K33LRDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENBOILQ#issuecomment-591586350, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEFO464XMXBYXW7JVX7KZLRE23VPANCNFSM4K33LRDA .