You can just copy setaf and setab, the idea is to leave everything except them 
and colors alone

-------- Original message --------
From: Tim Visher <tim.vis...@gmail.com> 
Date: 21/02/2014  15:00  (GMT+00:00) 
To: Nicholas Marriott <nicholas.marri...@gmail.com> 
Cc: tmux-users@lists.sourceforge.net 
Subject: Re: PS1 Not Wrapping 
 
On Fri, Feb 21, 2014 at 3:01 AM, Nicholas Marriott
<nicholas.marri...@gmail.com> wrote:
> On Thu, Feb 20, 2014 at 07:25:31PM -0500, Tim Visher wrote:
>> On Thu, Feb 20, 2014 at 6:40 PM, Nicholas Marriott
>> <nicholas.marri...@gmail.com> wrote:
>> > Did you try modifying a copy of screen terminfo from the running system
>> > instead of copying it from another? You only really need colors, setaf
>> > and setab.
>>
>> How would I go about doing that? All I find on my system are compiled
>> terminfo files, not the source code.
>
> infocmp -x screen >foo
> edit foo
> tic -x foo

Sweet! So I've got this going on and colors seems like a _very_ easy
thing to change. But the value of setab/f are… intimidating.

Can you give me any tips as to something I could read or just what I
should set them to?

# infocmp -x screen screen-256color
comparing screen to screen-256color.
…
setab: '\E[4%p1%dm',
'\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m'.
setaf: '\E[3%p1%dm',
'\E[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m'.
…

FWIW, satab/f are the exact same value on the remote box as they are
on my mac and on my mac everything works.

--

In Christ,

Timmy V.

http://blog.twonegatives.com/
http://five.sentenc.es/ -- Spend less time on mail
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to