… | |
… | |
257 | answerbackstring backgroundPixmap backspace_key boldFont boldItalicFont |
257 | answerbackstring backgroundPixmap backspace_key boldFont boldItalicFont |
258 | borderLess color cursorBlink cursorUnderline cutchars delete_key |
258 | borderLess color cursorBlink cursorUnderline cutchars delete_key |
259 | display_name embed ext_bwidth fade font geometry hold iconName |
259 | display_name embed ext_bwidth fade font geometry hold iconName |
260 | imFont imLocale inputMethod insecure int_bwidth intensityStyles |
260 | imFont imLocale inputMethod insecure int_bwidth intensityStyles |
261 | italicFont jumpScroll lineSpace loginShell mapAlert menu meta8 modifier |
261 | italicFont jumpScroll lineSpace loginShell mapAlert menu meta8 modifier |
262 | mouseWheelScrollPage name pastableTabs path perl_eval perl_ext |
262 | mouseWheelScrollPage name pastableTabs path perl_eval perl_ext_1 perl_ext_2 |
263 | perl_lib pointerBlank pointerBlankDelay preeditType print_pipe pty_fd |
263 | perl_lib pointerBlank pointerBlankDelay preeditType print_pipe pty_fd |
264 | reverseVideo saveLines scrollBar scrollBar_align scrollBar_floating |
264 | reverseVideo saveLines scrollBar scrollBar_align scrollBar_floating |
265 | scrollBar_right scrollBar_thickness scrollTtyKeypress scrollTtyOutput |
265 | scrollBar_right scrollBar_thickness scrollTtyKeypress scrollTtyOutput |
266 | scrollWithBuffer scrollstyle secondaryScreen secondaryScroll selectstyle |
266 | scrollWithBuffer scrollstyle secondaryScreen secondaryScroll selectstyle |
267 | shade term_name title transparent transparent_all tripleclickwords |
267 | shade term_name title transparent transparent_all tripleclickwords |
268 | utmpInhibit visualBell |
268 | utmpInhibit visualBell |
269 | |
269 | |
|
|
270 | $rend = $term->screen_rstyle ([$new_rstyle]) |
|
|
271 | Return and optionally change the current rendition. Text thta is |
|
|
272 | output by the temrianl application will use this style. |
|
|
273 | |
|
|
274 | ($row, $col) = $term->screen_cur ([$row, $col]) |
|
|
275 | Return the current coordinates of the text cursor position and |
|
|
276 | optionally set it (which is usually bad as applications don't expect |
|
|
277 | that). |
|
|
278 | |
270 | ($row, $col) = $term->selection_mark ([$row, $col]) |
279 | ($row, $col) = $term->selection_mark ([$row, $col]) |
271 | ($row, $col) = $term->selection_beg ([$row, $col]) |
280 | ($row, $col) = $term->selection_beg ([$row, $col]) |
272 | ($row, $col) = $term->selection_end ([$row, $col]) |
281 | ($row, $col) = $term->selection_end ([$row, $col]) |
273 | Return the current values of the selection mark, begin or end |
282 | Return the current values of the selection mark, begin or end |
274 | positions, and optionally set them to new values. |
283 | positions, and optionally set them to new values. |
… | |
… | |
339 | Write the octets given in $data to the tty (i.e. as program input). |
348 | Write the octets given in $data to the tty (i.e. as program input). |
340 | To pass characters instead of octets, you should convert your |
349 | To pass characters instead of octets, you should convert your |
341 | strings first to the locale-specific encoding using |
350 | strings first to the locale-specific encoding using |
342 | "$term->locale_encode". |
351 | "$term->locale_encode". |
343 | |
352 | |
|
|
353 | $window_width = $term->width |
|
|
354 | $window_height = $term->height |
|
|
355 | $font_width = $term->fwidth |
|
|
356 | $font_height = $term->fheight |
|
|
357 | $font_ascent = $term->fbase |
344 | $nrow = $term->nrow |
358 | $terminal_rows = $term->nrow |
345 | $ncol = $term->ncol |
359 | $terminal_columns = $term->ncol |
346 | Return the number of rows/columns of the terminal window (i.e. as |
360 | $has_focus = $term->focus |
347 | specified by "-geometry", excluding any scrollback). |
|
|
348 | |
|
|
349 | $nsaved = $term->nsaved |
361 | $is_mapped = $term->mapped |
350 | Returns the number of lines in the scrollback buffer. |
362 | $max_scrollback = $term->saveLines |
|
|
363 | $nrow_plus_saveLines = $term->total_rows |
|
|
364 | $lines_in_scrollback = $term->nsaved |
|
|
365 | Return various integers describing terminal characteristics. |
351 | |
366 | |
352 | $view_start = $term->view_start ([$newvalue]) |
367 | $view_start = $term->view_start ([$newvalue]) |
353 | Returns the negative row number of the topmost line. Minimum value |
368 | Returns the negative row number of the topmost line. Minimum value |
354 | is 0, which displays the normal terminal contents. Larger values |
369 | is 0, which displays the normal terminal contents. Larger values |
355 | scroll this many lines into the scrollback buffer. |
370 | scroll this many lines into the scrollback buffer. |