-
All replies
-
Helpful answers
-
Aug 27, 2016 11:26 AM in response to ForeCastby leroydouglas,Terminal>Preferences>General>New window opens Default profile
and/or
Shell Opens with> Default login shell
-
Aug 27, 2016 12:57 PM in response to leroydouglasby ForeCast,Thanks, but not quit what I need.
I'm looking for keystroke commands to switch back to the main curser.
For example, if I enter CTR + c, the command ends/terminates the server and brings me back to the curser.
What I want is a a keystroke entry that leaves the server running, but brings me back to the main curser window.
Would you know this?
-
Aug 27, 2016 1:06 PM in response to ForeCastby leroydouglas,bash (default):
chsh -s /bin/bash
see if this helps for keyboard
-
-
Aug 30, 2016 8:26 AM in response to ForeCastby Camelot,★HelpfulYou need to background the task. Your problem is that it's still being controlled by the current shell and that's why you don't regain control.
There are several ways of doing this - my initial reaction is that you shouldn't be manually launching a service this way anyway - use launchd to manage your services. In the short term, though, you can background the task by simply appending & to the end of the command:
/path/to/someprocess &
This will launch the someprocess task in the background, giving you back control of your shell.
Seriously look into having the OS manage this for you, though. -
Aug 30, 2016 8:26 AM in response to ForeCastby Mark Jalbert,★HelpfulSuspend the process with - Control Z. Check if any thing else is running in the background with - jobs and then send the process to the background by its background number - bg %number. You can kill the background process with - kill %number.
-
Aug 30, 2016 8:34 AM in response to ForeCastby ForeCast,Thanks all. Very helpful.
I'm obviously new/low experienced with working directly from terminal.
This has given me an idea, and therefore a new question. I see different titles/headers on the top of the different windows. First when I open terminal I see, "bin - bash - 80x24". When I run caldav, the way I run it, the window title has, "bin - python - 86x28."
Does this mean I can open a terminal window for each job/program that's running, and that the windows will show all the steps, actions, etc., for that job?