Comments (10)
@leo-arch Perfect, that worked!
(We need it is small case for Apple though, __ppc__
.)
This will, perhaps, be generally applicable:
--- src/helpers.h.orig 2023-07-18 20:44:17.000000000 +0800
+++ src/helpers.h 2023-08-25 22:16:29.000000000 +0800
@@ -219,7 +219,7 @@
* actually store creation times: the value of __st_birthtim is always zero.
#elif defined(__OpenBSD__)
# define ST_BTIME __st_birthtim */
-#elif defined(__NetBSD__) || defined(__APPLE__)
+#elif defined(__NetBSD__) || (defined(__APPLE__) && !(defined(__ppc__) || defined(__i386__)))
# define ST_BTIME st_birthtimespec
#elif defined(__FreeBSD__) || defined(__CYGWIN__)
# define ST_BTIME st_birthtim
P. S. Are colors like this intended? Yellow is barely readable.
from clifm.
Great! Thanks for testing.
As to the colors, yes, those are the default colors (4-bit). However, the default color scheme is intended to be used with dark terminals (dark background). Try just switching your color scheme: cs light
(you can also try the 256 colors version of the default color scheme: cs default-256
). If you still do not find them comfortable enough, every single color is customizable. Take a look at the colors section in the wiki.
from clifm.
Already done @barracuda156! See c9a0a10.
from clifm.
Good to know. Thanks for your answer @barracuda156!
from clifm.
10.6?! That's quite old, but it doesn't matter: we really want clifm running on everything. So, let's try to fix this.
Is your machine 32-bit?
from clifm.
@leo-arch Thank you for responding! Yes, I build for ppc
, which is only 32-bit on 10.6. (The last OS to support ppc64
is 10.5.8.)
from clifm.
Ok. The thing is that st_birthtimespec
is a 64-bit extension. Try this: replace line 222 in helpers.h from this:
#elif defined(__NetBSD__) || defined(__APPLE__)
to this:
#elif defined(__NetBSD__) || (defined(__APPLE__) && !defined(__PPC__))
If your compiler supports the __PPC__
macro, we should be fine.
from clifm.
@leo-arch Thank you! Noted.
By the way, maybe you could add the patch above into the master? It may help someone who builds clifm
directly (without Macports), and also frees us from a need to carry a local patch :)
from clifm.
Hey @barracuda156, what version of readline does Snow Leopard provide? The oldest version I've tried is 6.3 (2014, I think), but Snow Leopard is probably using something even older (5.2?).
from clifm.
@leo-arch We have the latest one, I believe. Whatever Apple had at the time does not really matter, we can always use newer versions (technically, whatever Macports offers, but usually that is either the latest or latest feasible for the OS).
However it may need to be specified in the portfile, to ensure the correct one is picked by the build.
from clifm.
Related Issues (20)
- Readline vi-mode remapping compatibility HOT 8
- constant CPU utilization on linux HOT 4
- Spawned apps detaching from Clifm HOT 22
- no directory prediction after .. buf after ... HOT 3
- recursive search for files using /... -x doesn't work on Windows HOT 10
- On exit, CliFM breaks pasting in the terminal (xterm) HOT 17
- Missing dependencies HOT 3
- bulk rename HOT 3
- Build failure with -D_NO_ICONS HOT 2
- Default pdf viewer HOT 4
- temporary paging mode HOT 13
- p and pp could show the number of files HOT 80
- Returning to `clifm` prompt after suspending a running job by sending the suspend character (`Ctrl+Z`) HOT 1
- linker erros during the build process on on msys2 HOT 3
- Assign ELNs to the output of commands HOT 3
- 2-step symbolic link creation HOT 10
- Build failure with -D_NO_SUGGESTIONS HOT 1
- files getting deleted by ungood bulk rename HOT 3
- Fastfetch bug HOT 9
- Submit clifm to Debian unstable
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 clifm.