| 1 |
# SOME DESCRIPTIVE TITLE |
| 2 |
# Copyright (C) YEAR Free Software Foundation, Inc. |
| 3 |
# This file is distributed under the same license as the PACKAGE package. |
| 4 |
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
| 5 |
# |
| 6 |
#, fuzzy |
| 7 |
msgid "" |
| 8 |
msgstr "" |
| 9 |
"Project-Id-Version: PACKAGE VERSION\n" |
| 10 |
"POT-Creation-Date: 2026-02-27 18:44+0100\n" |
| 11 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
| 12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
| 13 |
"Language-Team: LANGUAGE <[email protected]>\n" |
| 14 |
"Language: \n" |
| 15 |
"MIME-Version: 1.0\n" |
| 16 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 17 |
"Content-Transfer-Encoding: 8bit\n" |
| 18 |
|
| 19 |
#. type: TH |
| 20 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 21 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 22 |
#, no-wrap |
| 23 |
msgid "clear" |
| 24 |
msgstr "" |
| 25 |
|
| 26 |
#. type: TH |
| 27 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 28 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 29 |
#, no-wrap |
| 30 |
msgid "2025-04-05" |
| 31 |
msgstr "" |
| 32 |
|
| 33 |
#. type: TH |
| 34 |
#: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed |
| 35 |
#, no-wrap |
| 36 |
msgid "ncurses 6.6" |
| 37 |
msgstr "" |
| 38 |
|
| 39 |
#. type: TH |
| 40 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 41 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 42 |
#, no-wrap |
| 43 |
msgid "User commands" |
| 44 |
msgstr "" |
| 45 |
|
| 46 |
#. type: SH |
| 47 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 48 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 49 |
#, no-wrap |
| 50 |
msgid "NAME" |
| 51 |
msgstr "" |
| 52 |
|
| 53 |
#. type: Plain text |
| 54 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 55 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 56 |
msgid "B<\\%clear> - clear the terminal screen" |
| 57 |
msgstr "" |
| 58 |
|
| 59 |
#. type: SH |
| 60 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 61 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 62 |
#, no-wrap |
| 63 |
msgid "SYNOPSIS" |
| 64 |
msgstr "" |
| 65 |
|
| 66 |
#. type: Plain text |
| 67 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 68 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 69 |
msgid "B<clear> [B<-x>] [B<-T\\ >I<terminal-type>]" |
| 70 |
msgstr "" |
| 71 |
|
| 72 |
#. type: Plain text |
| 73 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 74 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 75 |
msgid "B<clear -V>" |
| 76 |
msgstr "" |
| 77 |
|
| 78 |
#. type: SH |
| 79 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 80 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 81 |
#, no-wrap |
| 82 |
msgid "DESCRIPTION" |
| 83 |
msgstr "" |
| 84 |
|
| 85 |
#. type: Plain text |
| 86 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 87 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 88 |
msgid "" |
| 89 |
"B<\\%clear> clears your terminal's screen and its scrollback buffer, if " |
| 90 |
"any. B<\\%clear> retrieves the terminal type from the environment variable " |
| 91 |
"I<TERM>, then consults the I<terminfo> terminal capability database entry " |
| 92 |
"for that type to determine how to perform these actions." |
| 93 |
msgstr "" |
| 94 |
|
| 95 |
#. type: Plain text |
| 96 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 97 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 98 |
msgid "" |
| 99 |
"The capabilities to clear the screen and scrollback buffer are named " |
| 100 |
"\\*(``clear\\*('' and \\*(``E3\\*('', respectively. The latter is a I<user-" |
| 101 |
"defined capability>, applying an extension mechanism introduced in I<\\" |
| 102 |
"%ncurses> 5.0 (1999)." |
| 103 |
msgstr "" |
| 104 |
|
| 105 |
#. type: SH |
| 106 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 107 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 108 |
#, no-wrap |
| 109 |
msgid "OPTIONS" |
| 110 |
msgstr "" |
| 111 |
|
| 112 |
#. "-T type" + 2n |
| 113 |
#. type: Plain text |
| 114 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 115 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 116 |
msgid "B<\\%clear> recognizes the following options." |
| 117 |
msgstr "" |
| 118 |
|
| 119 |
#. type: TP |
| 120 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 121 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 122 |
#, no-wrap |
| 123 |
msgid "B<-T >I<type>" |
| 124 |
msgstr "" |
| 125 |
|
| 126 |
#. type: Plain text |
| 127 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 128 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 129 |
msgid "" |
| 130 |
"produces instructions suitable for the terminal I<type>. Normally, this " |
| 131 |
"option is unnecessary, because the terminal type is inferred from the " |
| 132 |
"environment variable I<TERM>. If this option is specified, B<\\%clear> " |
| 133 |
"ignores the environment variables I<LINES> and I<\\%COLUMNS> as well." |
| 134 |
msgstr "" |
| 135 |
|
| 136 |
#. type: TP |
| 137 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 138 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 139 |
#, no-wrap |
| 140 |
msgid "B<-V>" |
| 141 |
msgstr "" |
| 142 |
|
| 143 |
#. type: Plain text |
| 144 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 145 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 146 |
msgid "" |
| 147 |
"reports the version of I<\\%ncurses> associated with this program and exits " |
| 148 |
"with a successful status." |
| 149 |
msgstr "" |
| 150 |
|
| 151 |
#. type: TP |
| 152 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 153 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 154 |
#, no-wrap |
| 155 |
msgid "B<-x>" |
| 156 |
msgstr "" |
| 157 |
|
| 158 |
#. type: Plain text |
| 159 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 160 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 161 |
msgid "prevents B<\\%clear> from attempting to clear the scrollback buffer." |
| 162 |
msgstr "" |
| 163 |
|
| 164 |
#. type: SH |
| 165 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 166 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 167 |
#, no-wrap |
| 168 |
msgid "PORTABILITY" |
| 169 |
msgstr "" |
| 170 |
|
| 171 |
#. type: Plain text |
| 172 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 173 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 174 |
msgid "" |
| 175 |
"Neither IEEE Std 1003.1/The Open Group Base Specifications Issue\\ 7 " |
| 176 |
"(POSIX.1-2008) nor X/Open Curses Issue\\ 7 documents B<\\%clear>." |
| 177 |
msgstr "" |
| 178 |
|
| 179 |
#. type: Plain text |
| 180 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 181 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 182 |
msgid "" |
| 183 |
"The latter documents B<tput>, which could be used to replace this utility " |
| 184 |
"either via a shell script or by an alias (such as a symbolic link) to run " |
| 185 |
"B<\\%tput> as B<\\%clear>." |
| 186 |
msgstr "" |
| 187 |
|
| 188 |
#. type: SH |
| 189 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 190 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 191 |
#, no-wrap |
| 192 |
msgid "HISTORY" |
| 193 |
msgstr "" |
| 194 |
|
| 195 |
#. https://minnie.tuhs.org/cgi-bin/utree.pl?file=2BSD/src/clear.c |
| 196 |
#. type: Plain text |
| 197 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 198 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 199 |
msgid "" |
| 200 |
"A B<clear> command using the I<termcap> database and library appeared in " |
| 201 |
"2BSD (1979). Eighth Edition Unix (1985) later included it." |
| 202 |
msgstr "" |
| 203 |
|
| 204 |
#. type: Plain text |
| 205 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 206 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 207 |
msgid "" |
| 208 |
"The commercial Unix arm of AT&T adapted a different BSD program (B<tset>) to " |
| 209 |
"make a new command, B<tput>, and replaced the B<clear> program with a shell " |
| 210 |
"script that called \\*(``B<tput clear>\\*(''." |
| 211 |
msgstr "" |
| 212 |
|
| 213 |
#. type: Plain text |
| 214 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 215 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 216 |
#, no-wrap |
| 217 |
msgid "" |
| 218 |
"/usr/bin/tput ${1:+-T$1} clear 2E<gt> /dev/null\n" |
| 219 |
"exit\n" |
| 220 |
msgstr "" |
| 221 |
|
| 222 |
#. https://minnie.tuhs.org/cgi-bin/utree.pl?file=Net2/usr/src/usr.bin/#. tput/clear.sh |
| 223 |
#. type: Plain text |
| 224 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 225 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 226 |
msgid "" |
| 227 |
"In 1989, when Keith Bostic revised the BSD B<tput> command to make it " |
| 228 |
"similar to AT&T's B<tput>, he added a B<clear> shell script as well." |
| 229 |
msgstr "" |
| 230 |
|
| 231 |
#. type: Plain text |
| 232 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 233 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 234 |
#, no-wrap |
| 235 |
msgid "exec tput clear\n" |
| 236 |
msgstr "" |
| 237 |
|
| 238 |
#. type: Plain text |
| 239 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 240 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 241 |
msgid "The remainder of the script in each case is a copyright notice." |
| 242 |
msgstr "" |
| 243 |
|
| 244 |
#. type: Plain text |
| 245 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 246 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 247 |
msgid "" |
| 248 |
"In 1995, I<\\%ncurses>'s B<clear> began by adapting BSD's original B<clear> " |
| 249 |
"command to use I<terminfo>. The B<E3> extension came later." |
| 250 |
msgstr "" |
| 251 |
|
| 252 |
#. type: Plain text |
| 253 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 254 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 255 |
msgid "" |
| 256 |
"In June 1999, I<xterm> provided an extension to the standard control " |
| 257 |
"sequence for clearing the screen. Rather than clearing just the visible " |
| 258 |
"part of the screen using" |
| 259 |
msgstr "" |
| 260 |
|
| 261 |
#. type: Plain text |
| 262 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 263 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 264 |
#, no-wrap |
| 265 |
msgid "printf \\*'\\e033[2J\\*'\n" |
| 266 |
msgstr "" |
| 267 |
|
| 268 |
#. type: Plain text |
| 269 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 270 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 271 |
msgid "one could clear the scrollback buffer as well by using" |
| 272 |
msgstr "" |
| 273 |
|
| 274 |
#. type: Plain text |
| 275 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 276 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 277 |
#, no-wrap |
| 278 |
msgid "printf \\*'\\e033[B<3>J\\*'\n" |
| 279 |
msgstr "" |
| 280 |
|
| 281 |
#. type: Plain text |
| 282 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 283 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 284 |
msgid "" |
| 285 |
"instead. \\*(``XTerm Control Sequences\\*('' documents this feature as " |
| 286 |
"originating with I<xterm>." |
| 287 |
msgstr "" |
| 288 |
|
| 289 |
#. type: Plain text |
| 290 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 291 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 292 |
msgid "A few other terminal emulators adopted it, such as PuTTY in 2006." |
| 293 |
msgstr "" |
| 294 |
|
| 295 |
#. type: Plain text |
| 296 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 297 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 298 |
msgid "" |
| 299 |
"In April 2011, a Red Hat developer submitted a patch to the Linux kernel, " |
| 300 |
"modifying its console driver to do the same thing. Documentation of this " |
| 301 |
"change, appearing in Linux 3.0, did not mention I<xterm>, although that " |
| 302 |
"program was cited in the Red Hat bug report (#683733) motivating the " |
| 303 |
"feature." |
| 304 |
msgstr "" |
| 305 |
|
| 306 |
#. type: Plain text |
| 307 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 308 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 309 |
msgid "" |
| 310 |
"Subsequently, more terminal developers adopted the feature. The next " |
| 311 |
"relevant step was to change the I<\\%ncurses> B<clear> program in 2013 to " |
| 312 |
"incorporate this extension." |
| 313 |
msgstr "" |
| 314 |
|
| 315 |
#. type: Plain text |
| 316 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 317 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 318 |
msgid "" |
| 319 |
"In 2013, the B<E3> capability was not exercised by \\*(``B<\\%tput " |
| 320 |
"clear>\\*(''. That oversight was addressed in 2016 by reorganizing B<\\" |
| 321 |
"%tput> to share its logic with B<\\%clear> and B<\\%tset>." |
| 322 |
msgstr "" |
| 323 |
|
| 324 |
#. type: SH |
| 325 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 326 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 327 |
#, no-wrap |
| 328 |
msgid "SEE ALSO" |
| 329 |
msgstr "" |
| 330 |
|
| 331 |
#. type: Plain text |
| 332 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 333 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 334 |
msgid "B<\\%tput>(1), B<\\%xterm>(1), B<\\%terminfo>(5)" |
| 335 |
msgstr "" |
| 336 |
|
| 337 |
#. type: TH |
| 338 |
#: debian-trixie |
| 339 |
#, no-wrap |
| 340 |
msgid "2025-01-18" |
| 341 |
msgstr "" |
| 342 |
|
| 343 |
#. type: TH |
| 344 |
#: debian-trixie mageia-cauldron opensuse-leap-16-1 |
| 345 |
#, no-wrap |
| 346 |
msgid "ncurses 6.5" |
| 347 |
msgstr "" |