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


 291 e ./tmp/term.h.new
 292 g/[     .]_cursor_/s/_cursor_/_crsr_/
 293 g/[     .]_delete_/s/_delete_/_dlt_/
 294 g/[     .]_enter_/s/_enter_/_entr_/
 295 g/[     .]_insert_/s/_insert_/_ins_/
 296 g/[     .]_key_/s/_key_/_ky_/
 297 g/[     .]_keypad_/s/_keypad_/_kpad_/
 298 g/[     .]_label_/s/_label_/_labl_/
 299 g/[     .]_memory_/s/_memory_/_mem_/
 300 g/[     .]_parm_/s/_parm_/_prm_/
 301 g/[     .]_scroll_/s/_scroll_/_scrll_/
 302 g/^     _......[,;]                     \//s/,  /,/
 303 g/^     _..............[,;]             \//s/,  /,/
 304 g/^     _......................[,;]     \//s/,  /,/
 305 w ./tmp/term.h.new
 306 e ./tmp/term.h.new
 307 !# the following lines GO away when Vr2 compat code goes away
 308 1;/^#define     auto_left_margin/,/^#define     xon_xoff/s/CURB.*/CUR _b/
 309 1;/^#define     auto_left_margin/,/^#define     xon_xoff/w ./tmp/tmp.term.h
 310 1;/^#define     auto_left_margin/,/^#define     xon_xoff/d
 311 !/usr/bin/echo '{printf "\%s\%d\\n", $0,++i}' > ./tmp/tmp.awk
 312 .-1r !awk -f ./tmp/tmp.awk < ./tmp/tmp.term.h
 313 1;/^#define     columns/,/^#define      width_status_line/s/CURN.*/CUR _c/
 314 1;/^#define     columns/,/^#define      width_status_line/w ./tmp/tmp.term.h
 315 1;/^#define     columns/,/^#define      width_status_line/d
 316 !/usr/bin/echo '{printf "\%s\%d\\n", $0,++i}' > ./tmp/tmp.awk
 317 .-1r !awk -f ./tmp/tmp.awk < ./tmp/tmp.term.h
 318 1;/^#define     back_tab/,/^#define     lab_f8/s/CURS.*/CUR _Vr2_Astrs._s/
 319 1;/^#define     back_tab/,/^#define     lab_f8/w ./tmp/tmp.term.h
 320 1;/^#define     back_tab/,/^#define     lab_f8/d
 321 !/usr/bin/echo '{printf "\%s\%d\\n", $0,++i}' > ./tmp/tmp.awk
 322 .-1r !awk -f ./tmp/tmp.awk < ./tmp/tmp.term.h
 323 1;/^#define     lab_f9/,/^#define       prtr_non/s/CURS.*/CUR _Vr2_Bstrs._s/
 324 1;/^#define     lab_f9/,/^#define       prtr_non/w ./tmp/tmp.term.h
 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
 327 .-1r !awk -f ./tmp/tmp.awk < ./tmp/tmp.term.h
 328 !rm -f ./tmp/tmp.term.h ./tmp/tmp.awk
 329 w ./tmp/term.h.new
 330 e ./tmp/term.h.new
 331 !# Vr2 compat code ends here
 332 1i
 333 #ifndef _TERM_H
 334 #define _TERM_H
 335 
 336 /*
 337  * term.h - this file is automatically made from caps and maketerm.ed.
 338  * Don't make changes directly to term.h.
 339  */
 340 
 341 #ifdef  __cplusplus
 342 extern "C" {
 343 #endif
 344 
 345 .
 346 $a




 291 e ./tmp/term.h.new
 292 g/[     .]_cursor_/s/_cursor_/_crsr_/
 293 g/[     .]_delete_/s/_delete_/_dlt_/
 294 g/[     .]_enter_/s/_enter_/_entr_/
 295 g/[     .]_insert_/s/_insert_/_ins_/
 296 g/[     .]_key_/s/_key_/_ky_/
 297 g/[     .]_keypad_/s/_keypad_/_kpad_/
 298 g/[     .]_label_/s/_label_/_labl_/
 299 g/[     .]_memory_/s/_memory_/_mem_/
 300 g/[     .]_parm_/s/_parm_/_prm_/
 301 g/[     .]_scroll_/s/_scroll_/_scrll_/
 302 g/^     _......[,;]                     \//s/,  /,/
 303 g/^     _..............[,;]             \//s/,  /,/
 304 g/^     _......................[,;]     \//s/,  /,/
 305 w ./tmp/term.h.new
 306 e ./tmp/term.h.new
 307 !# the following lines GO away when Vr2 compat code goes away
 308 1;/^#define     auto_left_margin/,/^#define     xon_xoff/s/CURB.*/CUR _b/
 309 1;/^#define     auto_left_margin/,/^#define     xon_xoff/w ./tmp/tmp.term.h
 310 1;/^#define     auto_left_margin/,/^#define     xon_xoff/d
 311 !/usr/bin/print '{printf "\%s\%d\\n", $0,++i}' > ./tmp/tmp.awk
 312 .-1r !awk -f ./tmp/tmp.awk < ./tmp/tmp.term.h
 313 1;/^#define     columns/,/^#define      width_status_line/s/CURN.*/CUR _c/
 314 1;/^#define     columns/,/^#define      width_status_line/w ./tmp/tmp.term.h
 315 1;/^#define     columns/,/^#define      width_status_line/d
 316 !/usr/bin/print '{printf "\%s\%d\\n", $0,++i}' > ./tmp/tmp.awk
 317 .-1r !awk -f ./tmp/tmp.awk < ./tmp/tmp.term.h
 318 1;/^#define     back_tab/,/^#define     lab_f8/s/CURS.*/CUR _Vr2_Astrs._s/
 319 1;/^#define     back_tab/,/^#define     lab_f8/w ./tmp/tmp.term.h
 320 1;/^#define     back_tab/,/^#define     lab_f8/d
 321 !/usr/bin/print '{printf "\%s\%d\\n", $0,++i}' > ./tmp/tmp.awk
 322 .-1r !awk -f ./tmp/tmp.awk < ./tmp/tmp.term.h
 323 1;/^#define     lab_f9/,/^#define       prtr_non/s/CURS.*/CUR _Vr2_Bstrs._s/
 324 1;/^#define     lab_f9/,/^#define       prtr_non/w ./tmp/tmp.term.h
 325 1;/^#define     lab_f9/,/^#define       prtr_non/d
 326 !/usr/bin/print 'BEGIN{i=100}\n{printf "\%s\%d\\n", $0,++i}' > ./tmp/tmp.awk
 327 .-1r !awk -f ./tmp/tmp.awk < ./tmp/tmp.term.h
 328 !rm -f ./tmp/tmp.term.h ./tmp/tmp.awk
 329 w ./tmp/term.h.new
 330 e ./tmp/term.h.new
 331 !# Vr2 compat code ends here
 332 1i
 333 #ifndef _TERM_H
 334 #define _TERM_H
 335 
 336 /*
 337  * term.h - this file is automatically made from caps and maketerm.ed.
 338  * Don't make changes directly to term.h.
 339  */
 340 
 341 #ifdef  __cplusplus
 342 extern "C" {
 343 #endif
 344 
 345 .
 346 $a