Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • this isn't working for me xterm -e csh -l -c 'set prompt="foo> "' Commented Sep 20, 2018 at 19:03
  • @nmz787 No it wouldn't. It would execute the set command and then immediately exit since the child csh shell was done. You'd be better off putting that set command in your shell's .login script. Commented Sep 20, 2018 at 19:36
  • adding to the .login isn't a viable method for this, as I specifically need to do it dynamically and without editing a user's startup files... for now a friend simply recommended I start with a background color to differentiate shells xterm -bg darkred csh Commented Sep 20, 2018 at 21:11
  • 1
    This takes focus out of the current terminal window and take it back to XQuartz Commented Jul 15, 2020 at 13:31