zlacker

[parent] [thread] 7 comments
1. dbacar+(OP)[view] [source] 2025-12-03 20:24:14
i type exit
replies(1): >>Verifi+w6
2. Verifi+w6[view] [source] 2025-12-03 20:54:57
>>dbacar+(OP)
Same. I didn't know Ctrl-D did anything.
replies(2): >>queser+Mb >>dbacar+SO2
◧◩
3. queser+Mb[view] [source] [discussion] 2025-12-03 21:23:21
>>Verifi+w6
Ctrl+D is the ASCII End Of File (EOF) marker.

Software that takes text input should interpret that as the end of the input.

Shells decide that end of input means it's time to exit. Terminals usually decide that if the shell exits, there's nothing else to do and so close the window.

macOS Terminal.app instead prints "Process exited", which I can't quite fathom the value of. I guess it's marginally less confusing than making the window disappear. :)

(Note though -- I can't find it in Terminal.app settings right now, but there must be a way to change the behaviour to close the window instead. Mine is configured that way, but it's not the default)

replies(2): >>Verifi+Rf >>bombca+9X
◧◩◪
4. Verifi+Rf[view] [source] [discussion] 2025-12-03 21:43:36
>>queser+Mb
Thanks. It exists, and I found that I already have it active. In Settings, it's under Profiles / Shell and the control is

When the shell exits: - Close if the shell existed cleanly

◧◩◪
5. bombca+9X[view] [source] [discussion] 2025-12-04 02:53:58
>>queser+Mb
Process exited is somewhat useful if you want to look at the results-but even then I think it exits automatically if you opened it by double clicking a script.
◧◩
6. dbacar+SO2[view] [source] [discussion] 2025-12-04 17:43:10
>>Verifi+w6
In fact I know the ctrl-d stuff, yet it is too much strain on your wrist if you use a finger to press the CTRL. Takes longer but typing exit is way easier.

Alternatively I use the intersection of my palm and left pinky to press CTRL.

:)

replies(1): >>fragme+gP2
◧◩◪
7. fragme+gP2[view] [source] [discussion] 2025-12-04 17:45:07
>>dbacar+SO2
Remap caps-lock to be ctrl to save yourself from RSI.
replies(1): >>dbacar+hn6
◧◩◪◨
8. dbacar+hn6[view] [source] [discussion] 2025-12-05 17:09:41
>>fragme+gP2
too old to remap my brain :D
[go to top]