Comments (3)
I think sl -e
will do what you want.
from sl.
@kugiyasan I give the parameter --help to the sl command and i can escape the train with CTRL+C
It isn't a question, it is a report.
from sl.
@xVoiceSyntax oops sorry I misread that!
Anyway, I went to read the code, and the issue you're pointing seems old. I tried running the sl that is in the ubuntu repo (v3.03) and I was able to reproduce your experience. This was caused by the simple argument parser that is still used. It simply checks if the argument starts with "-", and then toggle on all options for the letters after the "-". When you run "sl --help", the code sees "e" and "l" in the word "help", so the train becomes little and you can escape out of it.
In v5.03 (the latest version), the -e argument isn't accepted anymore, so your issue is solved (kinda). If you want to install the newer version of sl, clone the repo, compile it, and replace the old sl in /usr/games by the new one.
git clone https://github.com/mtoyoda/sl.git
cd sl
make
mv /usr/games/sl /usr/games/oldsl
mv sl /usr/games
from sl.
Related Issues (20)
- Needs an install target in order to be "snapped"
- Move to team maintenance?
- Number of coaches HOT 1
- Ctrl-z not handled HOT 1
- license clarification HOT 1
- No documentation of source image HOT 1
- Usleep is deprecated.[https://linux.die.net/man/3/usleep]
- This broke ls... HOT 2
- -lc does the same as -c
- Updated fork - with some PRs HOT 9
- Makefile error when compiling
- Please add an option so that it can be interrupted by any key. HOT 1
- Feature: `brew intsall cim`
- Please add an lsd command HOT 2
- [request] `sud`
- Exit via Ctrl+Z HOT 3
- Segmentation fault HOT 1
- Support french train with more cars
- Cd HOT 1
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 sl.