Skip to content

Instantly share code, notes, and snippets.

@aktau
Last active June 23, 2022 07:10
Show Gist options
  • Select an option

  • Save aktau/d493e6a50a1856a8b5de3d552b9544b0 to your computer and use it in GitHub Desktop.

Select an option

Save aktau/d493e6a50a1856a8b5de3d552b9544b0 to your computer and use it in GitHub Desktop.

Revisions

  1. aktau renamed this gist Jun 23, 2022. 1 changed file with 0 additions and 0 deletions.
  2. aktau revised this gist Jun 23, 2022. 1 changed file with 4 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions xterm-256color vs hterm-256color terminfo diff
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,7 @@
    diff --git a/tmp/zshhttmNa b/tmp/zsh3ggAug
    index 1950aed..be145ed 100644
    --- a/tmp/zshhttmNa
    +++ b/tmp/zsh3ggAug
    @@ -1,21 +1,18 @@
    -# Reconstructed via infocmp from file: /lib/terminfo/x/xterm-256color
    -xterm-256color|xterm with 256 colors,
  3. aktau created this gist Jun 23, 2022.
    83 changes: 83 additions & 0 deletions xterm-256color vs hterm-256color terminfo diff
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,83 @@
    @@ -1,21 +1,18 @@
    -# Reconstructed via infocmp from file: /lib/terminfo/x/xterm-256color
    -xterm-256color|xterm with 256 colors,
    +# Reconstructed via infocmp from file: /usr/share/terminfo/h/hterm
    +hterm|Chromium hterm,
    am,
    bce,
    - ccc,
    - eslok,
    - hs,
    km,
    mc5i,
    mir,
    msgr,
    npc,
    xenl,
    - colors#0x100,
    + colors#8,
    cols#80,
    it#8,
    lines#24,
    - pairs#0x10000,
    + pairs#64,
    acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
    bel=^G,
    blink=\E[5m,
    @@ -41,13 +38,11 @@ xterm-256color|xterm with 256 colors,
    dim=\E[2m,
    dl=\E[%p1%dM,
    dl1=\E[M,
    - dsl=\E[1$~,
    ech=\E[%p1%dX,
    ed=\E[J,
    el=\E[K,
    el1=\E[1K,
    flash=\E[?5h$<100/>\E[?5l,
    - fsl=\E[0$},
    home=\E[H,
    hpa=\E[%i%p1%dG,
    ht=^I,
    @@ -57,7 +52,6 @@ xterm-256color|xterm with 256 colors,
    il1=\E[L,
    ind=\n,
    indn=\E[%p1%dS,
    - initc=\E]4;%p1%d;rgb:%p2%{255}%*%{1000}%/%2.2X/%p3%{255}%*%{1000}%/%2.2X/%p4%{255}%*%{1000}%/%2.2X\E\\,
    invis=\E[8m,
    is2=\E[!p\E[?3;4l\E[4l\E>,
    kDC=\E[3;2~,
    @@ -68,13 +62,7 @@ xterm-256color|xterm with 256 colors,
    kNXT=\E[6;2~,
    kPRV=\E[5;2~,
    kRIT=\E[1;2C,
    - ka1=\EOw,
    - ka3=\EOy,
    - kb2=\EOu,
    - kbeg=\EOE,
    kbs=^?,
    - kc1=\EOq,
    - kc3=\EOs,
    kcbt=\E[Z,
    kcub1=\EOD,
    kcud1=\EOB,
    @@ -179,8 +167,10 @@ xterm-256color|xterm with 256 colors,
    rs1=\Ec\E]104\007,
    rs2=\E[!p\E[?3;4l\E[4l\E>,
    sc=\E7,
    - setab=\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m,
    - setaf=\E[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m,
    + setab=\E[4%p1%dm,
    + setaf=\E[3%p1%dm,
    + setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
    + setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
    sgr=%?%p9%t\E(0%e\E(B%;\E[0%?%p6%t;1%;%?%p5%t;2%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m,
    sgr0=\E(B\E[m,
    sitm=\E[3m,
    @@ -196,7 +186,6 @@ xterm-256color|xterm with 256 colors,
    smso=\E[7m,
    smul=\E[4m,
    tbc=\E[3g,
    - tsl=\E[2$~\E[1$}\E[%i%p1%d`,
    u6=\E[%i%d;%dR,
    u7=\E[6n,
    u8=\E[?%[;0123456789]c,