I have written a few scripts that display monitoring counters on the
hardstatus line.
Thinking I would avoid the overhead of starting new processes,
particularly for stuff that requires frequent updates in order to be
relevant .. such as CPU utilization, I thought I'd write scripts that
run in th
Hey all, I've currently got my prompt set like so:
if ($TERM == "screen") then
#alias precmd'printf "\033%s%s %s\033\\" "k" "tcsh" "[$HOST]"'
set prompt="%{\ek%}tcsh [$HOST] %{\e\\%}\%"
alias postcmd 'printf "\033%s%s %s %s\033\\" "k" "\!#:0" "\!#:$"
"[$HOST]"'
endif
what I notice, howev
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...@gmail.com
On Wed, 07 Jan 2009 09:56:27 -0800, Micah Cowan
wrote:
> See the FAQ on the Wiki (currently the top item: "How do I get screen to
> put things into my terminal's scrollback?") for an alternative method,
> and reasons why it may not be advisable (in particular, in combination
> with switching from
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Leslie P. Polzer wrote:
> Hi,
>
> it seems that some random screen command* switches Screen into
> sending ^M instead of a proper newline.
>
> Does anyone here know of a command that switches things
> like this?
I don't know of any screen commands t