putting "clear" into start-up scripts causes terminal to crash on start-up. #755

Open
opened 2022-08-22 16:37:29 +02:00 by kasparwinston · 2 comments
kasparwinston commented 2022-08-22 16:37:29 +02:00 (Migrated from github.com)

I put "clear" into the start-up scripts box in settings, and now the terminal crashes immediately on start-up. Deleting and reinstalling didn't work. How do I fix this?

I put "clear" into the start-up scripts box in settings, and now the terminal crashes immediately on start-up. Deleting and reinstalling didn't work. How do I fix this?
alexmyczko commented 2022-09-05 23:04:00 +02:00 (Migrated from github.com)

clear, ctrl-l is not a script that can be launched at startup?

clear, ctrl-l is not a script that can be launched at startup?
aarond0623 commented 2022-12-02 21:13:59 +01:00 (Migrated from github.com)

That's because the box is what to run instead of the shell. So what's happening is instead of running bash, CRT is running clear and then exiting immediately. So another use would be butting something like zsh or fish in there if you wanted CRT to use those shells instead of your default.

From the terminal, run with default settings using cool-retro-term --default-settings. That should stop it from crashing.

Then, if you want the terminal to clear, you could either add it to ~/.bashrc or create a new bash configuration file and run it in CRT by changing that setting to bash --rcfile myconfigfile.

That's because the box is what to run _instead of the shell_. So what's happening is instead of running `bash`, CRT is running `clear` and then exiting immediately. So another use would be butting something like `zsh` or `fish` in there if you wanted CRT to use those shells instead of your default. From the terminal, run with default settings using `cool-retro-term --default-settings`. That should stop it from crashing. Then, if you want the terminal to clear, you could either add it to `~/.bashrc` or create a new bash configuration file and run it in CRT by changing that setting to `bash --rcfile myconfigfile`.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: seeseemelk/cool-retro-term#755
No description provided.