… | |
… | |
2034 | =back |
2034 | =back |
2035 | |
2035 | |
2036 | =head1 BACKGROUND IMAGE |
2036 | =head1 BACKGROUND IMAGE |
2037 | |
2037 | |
2038 | For the BACKGROUND IMAGE XTerm escape sequence B<< C<ESC ] 20 ; Pt ST> >> the value |
2038 | For the BACKGROUND IMAGE XTerm escape sequence B<< C<ESC ] 20 ; Pt ST> >> the value |
2039 | of B<< C<Pt> >> can be the name of the background image file followed by a |
2039 | of B<< C<Pt> >> can be one of the following commands: |
2040 | sequence of scaling/positioning commands separated by semi-colons. The |
|
|
2041 | scaling/positioning commands are as follows: |
|
|
2042 | |
2040 | |
2043 | =over 4 |
2041 | =over 4 |
2044 | |
2042 | |
2045 | =item query scale/position |
2043 | =item B<< C<?> >> |
2046 | |
2044 | |
2047 | B<?> |
2045 | display scale and position in the title |
2048 | |
2046 | |
|
|
2047 | =item B<< C<;WxH+X+Y> >> |
|
|
2048 | |
2049 | =item change scale and position |
2049 | change scale and/or position |
2050 | |
2050 | |
2051 | B<WxH+X+Y> |
2051 | =item B<< C<FILE;WxH+X+Y> >> |
2052 | |
2052 | |
2053 | B<WxH+X> (== B<WxH+X+X>) |
2053 | change background image |
2054 | |
|
|
2055 | B<WxH> (same as B<WxH+50+50>) |
|
|
2056 | |
|
|
2057 | B<W+X+Y> (same as B<WxW+X+Y>) |
|
|
2058 | |
|
|
2059 | B<W+X> (same as B<WxW+X+X>) |
|
|
2060 | |
|
|
2061 | B<W> (same as B<WxW+50+50>) |
|
|
2062 | |
|
|
2063 | =item change position (absolute) |
|
|
2064 | |
|
|
2065 | B<=+X+Y> |
|
|
2066 | |
|
|
2067 | B<=+X> (same as B<=+X+Y>) |
|
|
2068 | |
|
|
2069 | =item change position (relative) |
|
|
2070 | |
|
|
2071 | B<+X+Y> |
|
|
2072 | |
|
|
2073 | B<+X> (same as B<+X+Y>) |
|
|
2074 | |
|
|
2075 | =item rescale (relative) |
|
|
2076 | |
|
|
2077 | B<Wx0> -> B<W *= (W/100)> |
|
|
2078 | |
|
|
2079 | B<0xH> -> B<H *= (H/100)> |
|
|
2080 | |
|
|
2081 | =back |
|
|
2082 | |
|
|
2083 | For example: |
|
|
2084 | |
|
|
2085 | =over 4 |
|
|
2086 | |
|
|
2087 | =item B<\E]20;funky.jpg\a> |
|
|
2088 | |
|
|
2089 | load B<funky.jpg> as a tiled image |
|
|
2090 | |
|
|
2091 | =item B<\E]20;mona.jpg;100\a> |
|
|
2092 | |
|
|
2093 | load B<mona.jpg> with a scaling of 100% |
|
|
2094 | |
|
|
2095 | =item B<\E]20;;200;?\a> |
|
|
2096 | |
|
|
2097 | rescale the current pixmap to 200% and display the image geometry in |
|
|
2098 | the title |
|
|
2099 | |
2054 | |
2100 | =back |
2055 | =back |
2101 | |
2056 | |
2102 | X<Mouse> |
2057 | X<Mouse> |
2103 | |
2058 | |