#!/usr/bin/perl -w # This file was preprocessed, do not edit! package Debconf::FrontEnd::Noninteractive; use strict; use Debconf::Encoding qw(width wrap); use Debconf::Gettext; use base qw(Debconf::FrontEnd); sub init { my $this=shift; $this->SUPER::init(@_); $this->need_tty(0); } sub display { my $this=shift; my $text=shift; $Debconf::Encoding::columns=76; $this->display_nowrap(wrap('','',$text)); } sub display_nowrap { my $this=shift; my $text=shift; my @lines=split(/\n/, $text); push @lines, "" if $text=~/\n$/; my $title=$this->title; if (length $title) { unshift @lines, $title, ('-' x width $title), ''; $this->title(''); } foreach (@lines) { print "$_\n"; } } 1
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
Kde | Folder | 0755 |
|
|
Dialog.pm | File | 7.22 KB | 0644 |
|
Editor.pm | File | 2.11 KB | 0644 |
|
Gnome.pm | File | 7.34 KB | 0644 |
|
Kde.pm | File | 4.31 KB | 0644 |
|
Noninteractive.pm | File | 734 B | 0644 |
|
Passthrough.pm | File | 6.29 KB | 0644 |
|
Readline.pm | File | 3.53 KB | 0644 |
|
ScreenSize.pm | File | 881 B | 0644 |
|
Teletype.pm | File | 1.54 KB | 0644 |
|
Text.pm | File | 155 B | 0644 |
|
Web.pm | File | 2.6 KB | 0644 |
|