frossm / rpncalc Goto Github PK
View Code? Open in Web Editor NEWRPNCalc: The Command Line Reverse Polish Notation (RPN) Calculator
Home Page: https://github.com/frossm/rpncalc
License: MIT License
RPNCalc: The Command Line Reverse Polish Notation (RPN) Calculator
Home Page: https://github.com/frossm/rpncalc
License: MIT License
Great project!
Support max min sum and user-defined operation keywords .
I thought as a Java application, maybe the calculator might run on Windows as well. I tried, but got errors. I thought to ask - should it be possible at all to run rpncalc
on windows10+, or is it a non starter?
Thanks,
Roberts
How to deal with arrow keys putting garbage on screen, please? It should be something simple, I just don't know what it is. Maybe I should write a bash script to pass some options?
I currently start it with simple java -jar rpncalc.jar
The reason why keys are useful:
At the moment it is impossible, there is only garbage in response to arrow keys.
I am using 4.5.4 jar file from sourceforge as per instructions
Arch linux (manjaro), bash, gnome shell.
Many thanks
Is it possible for operand keystrokes to include implicit enters like they do on a physical RPN calculator?
The arrow keys can be used to cycle up and down in your input history. However, it seems to not work in a SNAP installation. Instead of cycling, you get the up and down arrow scan codes.
I initial thought this was due to the snap wrapper that was automatically created using /bin/sh
which wouldn't handle them correctly, but after creating my own wrapper with bash, the same behavior was observed.
This will take more investigation and may be something I can't fix. Here is a screen shot showing two up arrows and two down arrow presses.
I was trying to investigate the possible problem when upgrading JLine to 3.22.0, but I face the following problem:
[INFO] -------------------------< org.fross:rpncalc >--------------------------
[INFO] Building rpncalc 4.7.4
[INFO] from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] Downloading from github: https://maven.pkg.github.com/frossm/library/org/fross/library/2022.11.21/library-2022.11.21.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.411 s (Wall Clock)
[INFO] Finished at: 2023-01-24T09:59:31+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project rpncalc: Could not resolve dependencies for project org.fross:rpncalc:jar:4.7.4: Failed to collect dependencies at org.fross:library:jar:2022.11.21: Failed to read artifact descriptor for org.fross:library:jar:2022.11.21: Could not transfer artifact org.fross:library:pom:2022.11.21 from/to github (https://maven.pkg.github.com/frossm/library): status code: 401, reason phrase: Unauthorized (401) -> [Help 1]
Is the repository publicly available ?
If you use ss
to swap stacks to the secondary buffer, the undo stack isn't specific to this buffer. You can undo back to previous buffer1 stacks in buffer 2.
The solution is to have two undo stacks - one for primary and one for secondary.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.