Adding setb and setf and a comment about terminfo installation.
This commit is contained in:
		
							
								
								
									
										2
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
									
									
									
									
								
							| @@ -48,6 +48,8 @@ install: all | |||||||
| 	@mkdir -p ${DESTDIR}${MANPREFIX}/man1 | 	@mkdir -p ${DESTDIR}${MANPREFIX}/man1 | ||||||
| 	@sed "s/VERSION/${VERSION}/g" < st.1 > ${DESTDIR}${MANPREFIX}/man1/st.1 | 	@sed "s/VERSION/${VERSION}/g" < st.1 > ${DESTDIR}${MANPREFIX}/man1/st.1 | ||||||
| 	@chmod 644 ${DESTDIR}${MANPREFIX}/man1/st.1 | 	@chmod 644 ${DESTDIR}${MANPREFIX}/man1/st.1 | ||||||
|  | 	@echo If things do not seem to work, be sure that there is no \ | ||||||
|  | 		floating st terminfo in the .terminfo directory in your home dir. | ||||||
| 	@tic -s st.info | 	@tic -s st.info | ||||||
|  |  | ||||||
| uninstall: | uninstall: | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								st.info
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								st.info
									
									
									
									
									
								
							| @@ -91,6 +91,8 @@ st| simpleterm, | |||||||
| 	sc=\E7, | 	sc=\E7, | ||||||
| 	setab=\E[4%p1%dm, | 	setab=\E[4%p1%dm, | ||||||
| 	setaf=\E[3%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, | ||||||
| 	sgr0=\E[0m, | 	sgr0=\E[0m, | ||||||
| 	sgr=%?%p9%t\E(0%e\E(B%;\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m, | 	sgr=%?%p9%t\E(0%e\E(B%;\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m, | ||||||
| 	smacs=\E(0, | 	smacs=\E(0, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user