There's a setting in Screen that will print a status line on the bottom of the
window, telling you which window you're in. I think it's called Hardstatus. I
turned it off because I found it annoying, but that might be what you are
looking for.
----- Original Message -----
From: Cheryl Homiak
To: Informal discussion between users and developers of BRLTTY.
Sent: Tuesday, September 02, 2014 1:08 PM
Subject: [BRLTTY] screen differentiation
I know what I am going to ask is probably a bit offtopic but I am posting it
here because there are likely to be users of the Mac who also use screen if
running brltty and because brltty users will understand why this issue would be
important to me.
After all these years of suffering with a prompt when going into screen on
the Mac that just said bash-3.2$ even though the main prompt on the Mac gave
more, I finally realized that all I had to do was uncomment the "shell" line in
the .screenrc. Then I also modified the PS1 variable via .profile and made my
prompt exactly what I wanted in both Mac shell and in screen. But now I have a
problem. At least with the annoying prompt when I went into screen before, I
always knew whether I was in screen. When running brltty it's important to know
this, especially if one for some reason also runs a window in Terminal that is
not within screen, but really it's important to know this anyway. I can't find
a way to put something either in my .profile or .screenrc that will allow me to
tell immediately on pressing enter whether or not I am in screen at any given
point. Doing anything with $PS1 effects both the normal shell and screen. Is
there a way to maybe append the shell line in .screenrc so that it shows that I
am in screen in addition to the normal prompt? Replies to this, onlist or off,
would be greatly appreciated if anybody has an answer or suggestion.
Thanks much.
--
Cheryl
I tried and tried to turn over a new leaf.
I got crumpled wads of tear-stained paper
thrown in the trash!
Then God gave me a new heart and life:
His joy for my despairing tears!
And now, every day:
"This I call to mind,
and therefore I have hope:
The steadfast love of the Lord
never ceases;
his mercies never come to an end;
they are new every morning;
great is your faithfulness."
(Lamentations 3:21-23 ESV)
------------------------------------------------------------------------------
_______________________________________________
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@mielke.cc
For general information, go to: http://mielke.cc/mailman/listinfo/brltty
_______________________________________________
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@mielke.cc
For general information, go to: http://mielke.cc/mailman/listinfo/brltty