screen-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Odd "backspace" behavior?


From: Dan Mahoney, System Admin
Subject: Odd "backspace" behavior?
Date: Mon, 19 Jan 2009 21:05:17 -0500 (EST)
User-agent: Alpine 2.00 (BSF 1167 2008-08-23)

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, however, is that there's some "oddness" that the screen manpage makes vague allusions to. Specifically, when I backspace, everything gets corrupted, but only some of the time.

I seem to recall it having to do with your prompt being a multiple-of-8-characters.

Does any of this make sense or am I shooting in the dark?

--

--------Dan Mahoney--------
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---------------------------





reply via email to

[Prev in Thread] Current Thread [Next in Thread]