YaST2 Developers Documentation: Unknown YCP Module

Unknown YCP Module

This module has an unstable interface.

Imports

  • Report

Global Functions

Local Variables

Local Functions

Info:

File: modules/LogViewCore.ycp Package: YaST2 Summary: Displaying a log Authors: Jiri Srain Arvin Schnell

local max_lines_default -> integer

default value of maximum displayed lines

local lines -> list<string>

lines of the log

local data -> map<string, any>

data describing log: file: filename to read from grep: grep file with expression command: command to run (use instead of file and grep) max_lines: max lines to keep (0 -> infinite)

local id -> integer

id of background process

local is_running -> boolean

flag indicating if background process is (or should be) running

local DeleteOldLines () -> void

Remove unneeded items from a list of lines If max_lines is 0, then don't remove anything

global Start (term widget, map<string, any> d) -> void

Starts the log reading command via process agent.

Parameters:
widget
d