Comments (8)
I had such problem. I couldn't and still haven't figured out a way to "unlock" the matrix screen after "cmatrix -l".
It would be nice if a sort of screen lock was implemented.
from cmatrix.
I haven't figured out a way to "unlock" the matrix screen after "cmatrix -l" too.
BUT
You can do it with a simple code modification,Just find out
case 'L':
lock = 1;
break;
in cmatrix.c file.
Then change it to:
case 'L':
lock = (lock == 0)?1:0;
break;
Finally, compile and install, just like installing the unmodified version.
After modification, you can switch the lock by entering "L".
from cmatrix.
When you type
cmatrix --help
it lists all arguments, containing a description for "-L".
-L: Lock mode (can be closed from another terminal)
But like velade I couldn't find anything stoping the lockmode.To close it, start another console, type
ps -a
to get a list of running processes, e.g.PID TTY TIME CMD 16769 pts/7 00:00:01 cmatrix
and stop "cmatrix" using the PID
kill <PID>
e.g.kill 16769
For me killall cmatrix
does the thing as well, you do not need to get the PID
(be aware that it will terminate all instances of cmatrix
)
from cmatrix.
When you type cmatrix --help
it lists all arguments, containing a description for "-L".
-L: Lock mode (can be closed from another terminal)
But like velade I couldn't find anything stoping the lockmode.
To close it, start another console, type ps -a
to get a list of running processes, e.g.
PID TTY TIME CMD
16769 pts/7 00:00:01 cmatrix
and stop "cmatrix" using the PID kill <PID>
e.g. kill 16769
from cmatrix.
Documentation is being added. Intended behaviour is that cmatrix -L
cannot be terminated from the terminal in which it was run. Use a different terminal or tty to kill it when desired. Generally pkill cmatrix
should suffice.
from cmatrix.
First timer here. What is the file for the man page? Meaning, what needs to be edited to add the -L description when running "man cmatrix"?
Thanks in advance.
from cmatrix.
First timer here. What is the file for the man page? Meaning, what needs to be edited to add the -L description when running "man cmatrix"?
Thanks in advance.
"man cmatrix" is running the program "man" aka 'manual', which is able to show "a man file" of a programm (when the programer has made "a man file" for his program). "a man file" lists how to work with this programm, showing syntax of variables and and options you can use with the programm. your command is showing the "man file" for the program cmatrix.
to run cmatrix itself just use enter "cmatrix" and press enter, with ctrl + c you can end cmatrix again.
Please, github isn´t the place to ask questions how to run programs on linux in the first place, there are plenty of other places where people are keen to help you learning linux, irc-channels for example. Github has a different purpose...
from cmatrix.
What do ya'll think about #164 ?
from cmatrix.
Related Issues (20)
- cmatrix is not showing if used with timeout in .bashrc file HOT 4
- Disabling Background Color HOT 6
- Installation Issue HOT 1
- Install Bash Script HOT 5
- cmatrix FFT fork HOT 6
- ClearOS / CentOS / RHEL 7 - X11 fonts misc directory HOT 2
- No available formula with the name "cmatrix". HOT 3
- Make fails with fatal error HOT 2
- Make fails with fatal error #159 HOT 1
- undefined reference to `waddnwstr' HOT 31
- How to unlock my computer? HOT 5
- "+-" characters instead of japanese in linux TTY when using -l argument HOT 3
- Build failed. Should we add -D_XOPEN_SOURCE_EXTENDED in CMakeLists.txt? HOT 5
- customise colours, including background
- Running one character worth of cmatrix HOT 1
- Missing files causing errors
- Segfault when $TERM is unset on Linux HOT 3
- Characters Above the Bottom Do not Change HOT 1
- The black color setting does not work correctly HOT 2
- Wrong color settings HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cmatrix.