Closed Jack15911 closed 12 months ago
<Last login: Wed May 3 18:51:09 on ttys000 /Users/abc/Downloads/Age/age/age ; exit; abc@MacBook-Air ~ % /Users/abc/Downloads/Age/age/age ; exit;
; exit;
effectively kills the terminal session if I'm not missing something?
<Last login: Wed May 3 18:51:09 on ttys000 /Users/abc/Downloads/Age/age/age ; exit; abc@MacBook-Air ~ % /Users/abc/Downloads/Age/age/age ; exit;
; exit;
effectively kills the terminal session if I'm not missing something?
Yes.
age is a command line binary, you need to execute it from a terminal regardless of how you install it, not from Finder.
@Jack15911 What we could have communicated better: ; exit
part is added by macOS when you click on the binary in Finder, it has nothing to do with age
. If you execute age
from your terminal, it should print help but not close the terminal session.
Thanks. There are a couple of related things that cause me concern. First, I need to use MacOS Terminal for age, but command line is not my first language and it's a bit of a struggle. I now have the age binary working, but having to use "./age" seems clumsy. I'll search for a way to ideally put age and age-keygen into Applications properly. (It worked better under MacPorts, but I eliminated that due to excess tweaks required.) My Linux command line works fine.
Second, I'd like to do an article to help popularize age - I write well, but but I'm not professional and have no journal to which to offer my efforts. I expect many of them will accept free content, however. (I have noted that at least two "How To" articles I've read on age are wrong and aren't following the man page.) I'm particularly interested in age "encrypt to delete" and would like to showcase this for people who have the SSD wear-leveling problem with deleting.
As I mentioned, however, at this point I'm still struggling with making age run under MacOS, so the article is a mid-range goal.
Environment
What were you trying to do: Open and run Age on MacOS with M2 architecture
What happened: I gained a Gatekeeper exception by using Finder - right click - Open. Age appeared to open in a terminal window and delivered possibly the result I would receive if I entered "age --help". Then the session appeared to terminate and I could not get a next line prompt. With the Gatekeeper exception now established I can double-click the icon to execute it, but I still get the same result.
Edit: Using MacPorts, I installed age successfully, and it's currently running. It does not run after install using pre-compiled binary directly into Mac Applications. If it's supposed to install directly, then it isn't working; if there are other steps necessary, please include those notes in the Readme.