Skip to content

xterm-info bash function script #5

Description

@BrianInglis

xterm-info.bash.txt suffix .txt for xterm-info bash function script because of GH limitations; CSI escape sequence in third column generates reply, if any, in fourth and last column, listed with cat -A, interpreted in second column with values or codes, or display units followed by x column position or size followed by y row:

xterm-info - type, display screen, xterm window, and text position and size info
	type features   VT420wpSeNThcrl	^[[c            ^[[?64;1;2;4;6;9;15;21;22;28;29c$
	type version    mintty v3.5.1-0	^[[>c           ^[[>77;30501;0c$
	type attributes			^[[=c		$
	window position	3 px 210+120	^[[13t		^[[3;210;120t$
	window size     4 px 875x881    ^[[14;2t        ^[[4;881;875t$
	text position   3 px 219+152    ^[[13;2t        ^[[3;219;152t$
	text size	4 px 840x840	^[[14t		^[[4;840;840t$
	text chars	8 ch 120x60	^[[18t		^[[8;60;120t$
	char size	6 px 7x14	^[[16t		^[[6;14;7t$
	screen chars    9 ch 274x77     ^[[19t          ^[[9;77;274t$
	screen size	5 px 1920x1080	^[[15t		^[[5;1080;1920t$
	window status	1 open		^[[11t		^[[1t$

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions