Print this page
6117 Many small bugs prevent a clean build on SPARC

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libcurses/screen/maketerm.ed
          +++ new/usr/src/lib/libcurses/screen/maketerm.ed
↓ open down ↓ 300 lines elided ↑ open up ↑
 301  301  g/[     .]_scroll_/s/_scroll_/_scrll_/
 302  302  g/^     _......[,;]                     \//s/,  /,/
 303  303  g/^     _..............[,;]             \//s/,  /,/
 304  304  g/^     _......................[,;]     \//s/,  /,/
 305  305  w ./tmp/term.h.new
 306  306  e ./tmp/term.h.new
 307  307  !# the following lines GO away when Vr2 compat code goes away
 308  308  1;/^#define     auto_left_margin/,/^#define     xon_xoff/s/CURB.*/CUR _b/
 309  309  1;/^#define     auto_left_margin/,/^#define     xon_xoff/w ./tmp/tmp.term.h
 310  310  1;/^#define     auto_left_margin/,/^#define     xon_xoff/d
 311      -!/usr/bin/echo '{printf "\%s\%d\\n", $0,++i}' > ./tmp/tmp.awk
      311 +!/usr/bin/print '{printf "\%s\%d\\n", $0,++i}' > ./tmp/tmp.awk
 312  312  .-1r !awk -f ./tmp/tmp.awk < ./tmp/tmp.term.h
 313  313  1;/^#define     columns/,/^#define      width_status_line/s/CURN.*/CUR _c/
 314  314  1;/^#define     columns/,/^#define      width_status_line/w ./tmp/tmp.term.h
 315  315  1;/^#define     columns/,/^#define      width_status_line/d
 316      -!/usr/bin/echo '{printf "\%s\%d\\n", $0,++i}' > ./tmp/tmp.awk
      316 +!/usr/bin/print '{printf "\%s\%d\\n", $0,++i}' > ./tmp/tmp.awk
 317  317  .-1r !awk -f ./tmp/tmp.awk < ./tmp/tmp.term.h
 318  318  1;/^#define     back_tab/,/^#define     lab_f8/s/CURS.*/CUR _Vr2_Astrs._s/
 319  319  1;/^#define     back_tab/,/^#define     lab_f8/w ./tmp/tmp.term.h
 320  320  1;/^#define     back_tab/,/^#define     lab_f8/d
 321      -!/usr/bin/echo '{printf "\%s\%d\\n", $0,++i}' > ./tmp/tmp.awk
      321 +!/usr/bin/print '{printf "\%s\%d\\n", $0,++i}' > ./tmp/tmp.awk
 322  322  .-1r !awk -f ./tmp/tmp.awk < ./tmp/tmp.term.h
 323  323  1;/^#define     lab_f9/,/^#define       prtr_non/s/CURS.*/CUR _Vr2_Bstrs._s/
 324  324  1;/^#define     lab_f9/,/^#define       prtr_non/w ./tmp/tmp.term.h
 325  325  1;/^#define     lab_f9/,/^#define       prtr_non/d
 326      -!/usr/bin/echo 'BEGIN{i=100}\n{printf "\%s\%d\\n", $0,++i}' > ./tmp/tmp.awk
      326 +!/usr/bin/print 'BEGIN{i=100}\n{printf "\%s\%d\\n", $0,++i}' > ./tmp/tmp.awk
 327  327  .-1r !awk -f ./tmp/tmp.awk < ./tmp/tmp.term.h
 328  328  !rm -f ./tmp/tmp.term.h ./tmp/tmp.awk
 329  329  w ./tmp/term.h.new
 330  330  e ./tmp/term.h.new
 331  331  !# Vr2 compat code ends here
 332  332  1i
 333  333  #ifndef _TERM_H
 334  334  #define _TERM_H
 335  335  
 336  336  /*
↓ open down ↓ 268 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX