very common bash idiom is to have "[[ -f ~/.bashrc ]] && .
~/.bashrc" in .bash_profile.
is this OS X or linux/bsd/cygwin windows/something else? i've heard reports of
shell initialization differences in OS X zsh, so there might be issues in bash
too.
--
Aaron Davies
aaron.dav...@gmail.com
___
screen-users mailing list
screen-users@gnu.org
https://lists.gnu.org/mailman/listinfo/screen-users
re currently visible in the outer screen.
--
Aaron Davies
aaron.dav...@gmail.com
___
screen-users mailing list
screen-users@gnu.org
https://lists.gnu.org/mailman/listinfo/screen-users
for myself in "who" or "w". is screen removing
the entry corresponding to my original login, its parent process? how do i
prevent this?
--
Aaron Davies
aaron.dav...@gmail.com
___
screen-users mailing list
screen-users@gnu.org
https://lists.gnu.org/mailman/listinfo/screen-users
is there a way to print the current screen's title to standard out? involving
screen -X or something?
--
Aaron Davies
aaron.dav...@gmail.com
___
screen-users mailing list
screen-users@gnu.org
https://lists.gnu.org/mailman/listinfo/screen-users
What could be up here?
what's your TERM setting?
what happens if you type Ctrl-v, then up-arrow? the most common result
is "^[[A".
these are the sort of things that screw up arrow-based history in the
shell, they might affect screen as well
--
ometimes. the fix i settled on is to chmod my tty up to
777 at login.
--
Aaron Davies
aaron.dav...@gmail.com
___
screen-users mailing list
screen-users@gnu.org
https://lists.gnu.org/mailman/listinfo/screen-users
> out why it takes so long to kill a screen?
what's your scrollback set to? ime a big scrollback makes it take
quite a bit of time to create and destroy new screens (presumably
malloc and free of big multi-MB buffers)
--
Aaron Davies
aaron.dav...@gmail.com
___
variables in the operating shell of a given window, or just the status
line
>> > of a window.
>> >
>> >
>>
>> Would this work better?
>>
>> :eval "at 0" "exec echo '$HOSTNAME $USER $PWD'"
>
> No, that does basi
On Aug 14, 2011, at 2:49 AM, Artur Skonecki wrote:
> On Sat, 13 Aug 2011, Aaron Davies wrote:
>> third is that this screen interprets "hardcopy -h" as "write a hardcopy of
>> the current screen (without scrollback) to a file named "-h" (relative to
>&g
27;" "at '#' hardcopy"
2676.search : 2for hardcopy in $HARDCOPYDIR/$session/*
2676.search : 2rmdir "$HARDCOPYDIR/$session"
2676.search : 2 rmdir "$HARDCOPYDIR"
i now know that "HARDCOPY" is on windows one and two of screen "searc
ts "hardcopy -h" as "write a hardcopy of the
current screen (without scrollback) to a file named "-h" (relative to screen's
pwd). i'm not entirely sure how to fix that one, as i'm not sure how to get the
number of windows in a screen back out to the script.
, so will come back when
> I've done so.
I've generally done this sort of thing by screen-scraping the current
state. put sg like
screen -ls|grep -q Detatched&&screen -r||screen
in your .profile/ssh command/whatever
--
Aaron Davies
aaron.dav...@gmail.com
discover some
sort of utmp-related process in ps. If I kill it, screen unlocks. This
generally seems to happen when I type (or mistype) a complex series of
screen commands, but I've never been able to isolate exactly what
causes it. Anyone have any ideas?
--
Aaron Davies
aaron.dav...@gmail.com
on), what sort of %= do I wrap around the %H?
--
Aaron Davies
aaron.dav...@gmail.com
___
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users
ocess-into-a-new-Screen-window-programmatically-tp31094765p31094765.html
> Sent from the Gnu - Screen mailing list archive at Nabble.com.
>
>
> ___
> screen-users mailing list
> screen-users@gnu.org
> http://lists.gnu.org/mail
and, and a plain console one could potentially
be tee'd or something.
--
Aaron Davies
aaron.dav...@gmail.com
___
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users
On Dec 15, 2010, at 6:37 PM, Peder Stray wrote:
> On Wed, 15 Dec 2010, Stephane Ascoet wrote:
>
>> Hi, thanks for your answers, but I realised that I made a big mistake: It's
>> Ctrl-C which closes everythings and that I want to disable!
>
> Are you sure this is a screen-problem and not a ssh-p
m like the pid is one of
> the supported variables.
>
> Is there a way for me to do this?
Maybe with a backtick involving $$ or ps or something in /proc? I'm
not sure what context backticks are executed in tho
--
Aaron Davies
aaron.dav...@gmail.com
___
; http://lists.gnu.org/mailman/listinfo/screen-users
>
>
> ___
> screen-users mailing list
> screen-users@gnu.org
> http://lists.gnu.org/mailman/listinfo/screen-users
>
>
>
--
Aaron Davies
aaron.dav...@gmail.com
___
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users
-1 (the last row), range starting
at width of "%H ..." (e.g. whatever part of your particular caption
comes before the clock) and extending 11 columns, is ignored.
I realize this is probably an infeasibly complex request, but I
thought I'd throw it out there.
a M).
if the converse, use silence (C-a _). note that clocks in nested
screens render both of these useless. (it would be nifty to be able to
define a mask for them)
--
Aaron Davies
aaron.dav...@gmail.com
___
screen-users mailing list
screen-use
On Tuesday, September 14, 2010, Aaron Davies wrote:
> a little script to do something vaguely like a KVM's scan function
>
> invoke from some other terminal against a screen with many windows to
> be monitored
>
> #!/bin/sh
> while true; do screen -S $1 -X next; sleep
a little script to do something vaguely like a KVM's scan function
invoke from some other terminal against a screen with many windows to
be monitored
#!/bin/sh
while true; do screen -S $1 -X next; sleep 1; done
--
Aaron Davies
aaron.dav...@gmai
l, I sorted this out:
>
> bindkey ^[[1;5C prev
> bindkey ^[[1;5D next
anyone know what this is likely to do if set on both levels of a nested screen?
--
Aaron Davies
aaron.dav...@gmail.com
___
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users
tory)?
I tried to "fit" both btw.
Misha
Pandurangan R S wrote:
Did u try "fit" command (shortcut + F)?
___
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/scr
RNAME
Do you not need to still export VARNAME?
no, it should be being expanded by the shell, not screen, and
exporting would only change its visibility inside screen. my guess is
either a quoting issue. brad, can you paste the relevant lines of the
actual script?
--
Aaron Davies
Is there a general way to get "status" info (e.g., sessionname,
number, info, time, version, last message, etc.) out of the message
line and into the terminal? Possibilities that occur to me include
making it the paste buffer or pushing it onto stdin.
--
Aaron Davies
aaron.dav...
How can I pass an argument to the startup shell? E.g. If I want to use
a custom .rc with bash, I would say "bash --rcfile .foorc", but that
doesn't work from my .screenrc.
--
Aaron Davies
aaron.dav...@gmail.com
___
screen-users mail
PuTTY. Any ideas?
--
Aaron Davies
aaron.dav...@gmail.com
___
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users
then use -X to send commands to it.
If this is a common problem, it might be worth looking at adding
something like ssh's "-o key=value" syntax. The only problem I can
forsee is that command lines could get ridiculously long…
--
Aaron Davies
aaron.dav...@gmail.com
___
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users
On Monday, December 21, 2009, Aaron Davies wrote:
> A new oddity just showed up in the version of screen installed at
> work--when starting screen, or creating a new window, I get several
> hundred messages of the form "Name collision between TERM TERM", where
> TERM is the
t
> screen-users@gnu.org
> http://lists.gnu.org/mailman/listinfo/screen-users
>
--
Aaron Davies
aaron.dav...@gmail.com
___
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users
on was compiled only last week. Any ideas what's
going on?
--
Aaron Davies
aaron.dav...@gmail.com
___
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users
Screen 4.00.02, running on RHEL AS 4.5 (and possibly further
customized by my employer, I'm not sure) sets the PuTTY window title to
[screen %n: %t]
(Those are screen escapes, e.g. a literal title might be "[screen 0: -
ksh]".)
Any change I make to hstatus is *appended* to this, rather than
including "gnu screen" as a quoted phrase in a google search usually
works
(except when google decides to ignore the literal term, of course,
which it does frequently nowadays)
On Oct 7, 2009, at 2:11 AM, Tom Drabenstott wrote:
It is very hard to google or otherwise find information for
How can I get the title of the current window as a command-line
result? I want to save it before issuing "screen -X title foo", so I
can restore it later.
Sent from my iPhone
___
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/
> there is a fairly high likelihood that there are buffer overruns lurking
you know, it's probably a bit late, but it occurs to me that an audit
would be a great Summer of Code project....
--
Aaron Davies
aaron.dav...@gmail.com
___
scre
start typing a search string, then keep hitting ctrl-R to go
further backwards in time.
--
Aaron Davies
aaron.dav...@gmail.com
___
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users
On Thu, Apr 9, 2009 at 1:14 PM, Tony Cebzanov wrote:
> Aaron Davies wrote:
>> not to be non-responsive, but wouldn't it be a lot easier to use
>> growlnotify or osascript to communicate with growl?
>
> Sure, when the terminal session that's sending the notification
notification:
>
> echo $'\e]9;Hello, world!\007'
not to be non-responsive, but wouldn't it be a lot easier to use
growlnotify or osascript to communicate with growl?
--
Aaron Davies
aaron.dav...@gmail.com
___
screen-users maili
On Wed, Mar 25, 2009 at 12:45 PM, Chris Henderson wrote:
> On Tue, Mar 24, 2009 at 9:27 PM, Aaron Davies wrote:
>> for 3, condition the creation of the function on your being in screen
>> ([ "$STY" ] || ...)
>
> Thanks. Could you please elaborate this a bit? I
rt the ssh
various "stuff" commands hashed over repeatedly on this list can help
you with 1 and 2
for 3, condition the creation of the function on your being in screen
([ "$STY" ] || ...)
--
Aaron Davies
aaron.dav...@gmail.com
___
want to look into CryoPID.
--
Aaron Davies
aaron.dav...@gmail.com
___
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users
On Tue, Feb 24, 2009 at 12:38 PM, Micah Cowan wrote:
> Aaron Davies wrote:
> > is it possible to change the socket name of an existing screen?
>
> C-a : sessionname newname
>
> --
> Micah J. Cowan
> Programmer, musician, typesetting enthusiast, gamer.
> GNU M
is it possible to change the socket name of an existing screen?
--
Aaron Davies
aaron.dav...@gmail.com
___
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users
On Feb 9, 2009, at 12:59 AM, Charles A. Templeton III wrote:
On Sat, Feb 7, 2009 at 8:56 PM, Aaron Davies
wrote:
On Feb 8, 2009, at 1:41 AM, Charles A. Templeton III wrote:
When using "%w" in the hardstatus line a '*' character is
displayed between the window num
for activity, an @ indicates a window
with activity since last view
--
Aaron Davies
aaron.dav...@gmail.com
___
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users
x27;d
> like something that will reformat the log either to a file or to a pipe.
> )
>
> Thanks!
>
> --J.
>
>
> ___
> screen-users mailing list
> screen-users@gnu.org
> http://lists.gnu.org/mailman/listinfo/screen-user
On Wed, Jan 28, 2009 at 3:24 PM, William Pursell wrote:
> Aaron Davies wrote:
>
>> ok, here's a patch (i can't get github to work so this is against the
>> tarball http://www.wpursell.net/screen-4.1.0w.110-349d.tar.gz)
>
> the github address I gave is wrong. M
On Tue, Jan 20, 2009 at 9:47 AM, Aaron Davies wrote:
> there doesn't seem to be a specific escape for hour or minute, and %c prints
> unpadded and colon-separated.
>
> for purposes of setting 7logfile, i'd like to be able to get the same time
> format that
>
> d
there doesn't seem to be a specific escape for hour or minute, and %c prints
unpadded and colon-separated.
for purposes of setting 7logfile, i'd like to be able to get the same time
format that
date +%H%M%S
yields (ie zero-padded and unpunctuated)
--
Aaron Davies
aaron.dav...
east one detached
"daemon" screen hanging around. (the TERM test filters out my
blackberry's ssh app. i have enough trouble using it without dealing
with ^A :)
a named version of -D -RR (attach to named screen (power-detaching
others if necessary) if exists, create if not) would be
be ^a a c
>
>>
>> Certainly does! Thanks very much,
>
> You are welcome! I am glad to help!
>
>
> Pia Mikeal
> System Administrator
> Markey Center for Structural Biology
> Purdue University
> [EMAIL PROTECTED]
> (765)496-6781
>
>
> ___
On Fri, Nov 21, 2008 at 1:01 AM, Joseph Lorenzo Hall <[EMAIL PROTECTED]> wrote:
> On Thu, Nov 20, 2008 at 11:10 AM, Aaron Davies <[EMAIL PROTECTED]> wrote:
>>
>> is this leopard or tiger? i'd suggest trying out dtrace (leopard) or
>> ktrace (tiger) to get so
On Thu, Nov 20, 2008 at 11:54 PM, Joseph Lorenzo Hall <[EMAIL PROTECTED]> wrote:
> On Thu, Nov 20, 2008 at 10:11 AM, Dan Mahoney, System Admin
> <[EMAIL PROTECTED]>
>>
>> I would suggest trying to compare the environment outside screen with the
>> environment inside a screen session. Does the OSX
read my .zprofile. it does read my .zshrc
tho, as my aliases are all present. this worked fine in tiger, so
presumably apple's done something screwy with screen and/or zsh in
leopard. anyone have any clues?
--
Aaron Davies
[EMAIL PROTECTED]
___
s
s, in fact the following is from my screenrc.
> source ${HOME}/.screenrc-${TERM}
>
> On Fri, Sep 5, 2008 at 1:33 AM, Aaron Davies <[EMAIL PROTECTED]> wrote:
>>
>> any support for any "if" branching in screenrc's? i two windows boxes
>> using a common (network
ave the sessions between
> reboots.?
well, there's CryoPID
--
Aaron Davies
[EMAIL PROTECTED]
___
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users
ns where not having a ~/.screenrc leads to screen
starting with no status line at all--you can't tell anything's
happened, even once you start creating new windows. the only way to
know you're inside screen would be by the odd things that happen once
you h
"cat
.screenrc .screenrc.`hostname` | screen -c -". or maybe there's some
other way to just do the actual variant part (create various
screens)--execute a shell script or something, and let that handle the
branching. thoughts?
--
Aaron Davies
[EMAIL PROTECTED]
___
On Thu, Sep 4, 2008 at 1:33 AM, Andy Harrison <[EMAIL PROTECTED]> wrote:
> On Tue, Sep 2, 2008 at 9:32 PM, Aaron Davies wrote:
>> this is trivial, but it's been bugging me for a while. when i add a
>> bunch of screens at once from inside a running screen (using a shell
er of these? (i should mention i'm running screen
4.00.02, the stock version for SuSE 9.3, so if these are fixed in HEAD
or something, that's cool too. :)
--
Aaron Davies
[EMAIL PROTECTED]
___
screen-users mailing list
screen-users@gnu.org
http
creen -x || screen
?)
but that seems kind of inelegant.
--
Aaron Davies
[EMAIL PROTECTED]
___
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users
es,
running bash and screen remotely.
--
Aaron Davies
[EMAIL PROTECTED]
___
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users
zsh still uses it
for texi docs?" otoh, their consensus seems to be that it would be
hard enough for them to move to some other tool that they should
become the new yodl maintainers
--
Aaron Davies
[EMAIL PROTECTED]
___
screen-users mailing lis
On Thu, Aug 7, 2008 at 2:14 PM, Micah Cowan <[EMAIL PROTECTED]> wrote:
> Aaron Davies wrote:
>> How do I get the screen size env vars set properly? Screen appears to
>> be populating TERMCAP for me (correctly), as it's not defined when
>> outside of screen, bu
der cygwin, using the latest version of cygwin,
the cygwin distro of screen, and the latest version of puttycyg as my
terminal.
--
Aaron Davies
[EMAIL PROTECTED]
___
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users
INIT(8), Linux System Administrator's Manual, 18 April 2003:
> runlevel 1 is used to get the system down into single user mode
also,
> Runlevel 0 is used to halt the system
--
Aaron Davies
[EMAIL PROTECTED]
___
screen-users mailing lis
On Wed, May 21, 2008 at 6:14 AM, Sonia Hamilton <[EMAIL PROTECTED]> wrote:
> My second question is: how do I "unsplit"?
"unsplit" is either C-a X (removes the current region) or C-a Q (makes
current region the only region).
--
> screen-users mailing list
> screen-users@gnu.org
> http://lists.gnu.org/mailman/listinfo/screen-users
>
--
Aaron Davies
[EMAIL PROTECTED]
___
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users
5.10 Generic_125100-04 sun4v sparc SUNW,Sun-Fire-T200
>
> Cheers,
> Ethan
>
>
> ___
> screen-users mailing list
> screen-users@gnu.org
> http://lists.gnu.org/mailman/listinfo/screen-users
>
--
Aaron Davies
[EMAIL
27; command but which would take the
>
> environment from the shell of the current window, not the parent shell
>
>
>
> ___
> screen-users mailing list
> screen-users@gnu.org
> http://lists.gnu.org/mailman/listinfo/screen-users
>
--
Aaron Davies
[EMAIL PROTECTED]
___
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users
> could store it in a variable before creating the new window...
>
> and... since on every window, the variable $WINDOW is defined (at window
> creation, I know, but I don't change the window number), in my ~/.bashrc, I
> could find
> back the process with $WINDOW = cur
erminals I believe.
Masquerading as vt100/vt102 usually seems to be fairly safe. Of
course, you lose any interesting capabilities
--
Aaron Davies
[EMAIL PROTECTED]
___
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users
Is it possible to bind shift-tab to a screen command ("focus up", in
particular)? Using ctrl-V to print a literal shift-tab results in a
^[[Z under my current terminal settings.
--
Aaron Davies
[EMAIL PROTECTED]
___
screen-users mailing l
ndo in the previous email conversation (bindkey -d
-k kb stuff "\010"), but putting the suggested line (bindkey -d -k kb)
in ~/.screenrc only made things worse. Any ideas?
--
Aaron Davies
[EMAIL PROTECTED]
___
screen-users mailing list
screen-users@g
Do you guys have any suggestions for suppressing flow control? I'm
following a previous reccomendation and running screen on windows
under PuTTY/Cygterm, but the flow control behavior of ^S is making
emacs impossible to use. Is there something I can do to screen or
getty to fix this?
--
While we're on the subject of feature requests, I would love to see an
official cygwin version of screen. I'm stuck using windows at work,
and I really miss screen.
--
Aaron Davies
[EMAIL PROTECTED]
___
screen-users mailing list
screen-use
ust make the
leap and run everything in screen? That's what I do, and it means that I
never have to worry that something might not be detachable.
--
Aaron Davies
___
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users
a non-screen process into screen. For example, I might start
a compilation or a download in a normal shell, realize I have to go
somewhere, and want to detach it for later monitoring through screen,
but if I didn't have the forsight to start it in screen in the first
place, I can't do that n
On 5/12/06, Alain Bench <[EMAIL PROTECTED]> wrote:
On Thursday, May 11, 2006 at 11:44:24 -0400, Aaron Davies wrote:
> On 5/11/06, Alain Bench <[EMAIL PROTECTED]> wrote:
>>| $ infocmp -1 | grep kbs
>>| kbs=^H,
> Nope, I get \177
Good. It's the good kb
Nope, I get \177 for both lines.
On 5/11/06, Alain Bench <[EMAIL PROTECTED]> wrote:
Hello Aaron,
On Wednesday, May 10, 2006 at 14:56:27 -0400, Aaron Davies wrote:
> Backspace works fine in the shell running inside screen (bash), but
> not at all in most other contexts
Direc
elete makes things worse, as screen
then interprets backspace as an attempt to enter copy mode, which then
immediately aborts.
This is screen 3.09.15, running on RHEL3u1, accessed using PuTTY 0.58.
--
Aaron Davies
[EMAIL PROTECTED]
___
screen-users ma
83 matches
Mail list logo