Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add indicator that the terminal is being transmitted #14

Open
vitorbaptista opened this issue Aug 10, 2013 · 2 comments
Open

Add indicator that the terminal is being transmitted #14

vitorbaptista opened this issue Aug 10, 2013 · 2 comments

Comments

@vitorbaptista
Copy link
Owner

A suggestion I've found in https://news.ycombinator.com/item?id=6191266 was to add a red recording sign. To do so, we could use:

RECORDING="`printf '\033[1;31m\342\227\217\033[0m '`"
export PS1="$RECORDING $PS1"

The problem is: how to pass this through script?

@domoritz
Copy link
Collaborator

What do you mean by "how to pass this through script"?

@vitorbaptista
Copy link
Owner Author

When we run script, it forks a shell process. How do we inject an
environment variable in this new process? Not sure if it's possible...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants