/usr/lib/ruby/vendor_ruby/ratpoison.rb is in ratpoison 1.4.8-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 | module Ratpoison
RATPOISON=ENV.fetch('RATPOISON', "ratpoison")
def command(command, *args)
return `#{RATPOISON} -c "#{command} #{args.join(' ')}"`
end
module_function :command
def abort(*args)
return command("abort", args)
end
module_function :abort
def addhook(*args)
return command("addhook", args)
end
module_function :addhook
def alias(*args)
return command("alias", args)
end
module_function :alias
def banish(*args)
return command("banish", args)
end
module_function :banish
def chdir(*args)
return command("chdir", args)
end
module_function :chdir
def clrunmanaged(*args)
return command("clrunmanaged", args)
end
module_function :clrunmanaged
def colon(*args)
return command("colon", args)
end
module_function :colon
def curframe(*args)
return command("curframe", args)
end
module_function :curframe
def definekey(*args)
return command("definekey", args)
end
module_function :definekey
def undefinekey(*args)
return command("undefinekey", args)
end
module_function :undefinekey
def delete(*args)
return command("delete", args)
end
module_function :delete
def delkmap(*args)
return command("delkmap", args)
end
module_function :delkmap
def echo(*args)
return command("echo", args)
end
module_function :echo
def escape(*args)
return command("escape", args)
end
module_function :escape
def exec(*args)
return command("exec", args)
end
module_function :exec
def execa(*args)
return command("execa", args)
end
module_function :execa
def execf(*args)
return command("execf", args)
end
module_function :execf
def fdump(*args)
return command("fdump", args)
end
module_function :fdump
def focus(*args)
return command("focus", args)
end
module_function :focus
def focusprev(*args)
return command("focusprev", args)
end
module_function :focusprev
def focusdown(*args)
return command("focusdown", args)
end
module_function :focusdown
def exchangeup(*args)
return command("exchangeup", args)
end
module_function :exchangeup
def exchangedown(*args)
return command("exchangedown", args)
end
module_function :exchangedown
def exchangeleft(*args)
return command("exchangeleft", args)
end
module_function :exchangeleft
def exchangeright(*args)
return command("exchangeright", args)
end
module_function :exchangeright
def swap(*args)
return command("swap", args)
end
module_function :swap
def focuslast(*args)
return command("focuslast", args)
end
module_function :focuslast
def focusleft(*args)
return command("focusleft", args)
end
module_function :focusleft
def focusright(*args)
return command("focusright", args)
end
module_function :focusright
def focusup(*args)
return command("focusup", args)
end
module_function :focusup
def frestore(*args)
return command("frestore", args)
end
module_function :frestore
def fselect(*args)
return command("fselect", args)
end
module_function :fselect
def gdelete(*args)
return command("gdelete", args)
end
module_function :gdelete
def getenv(*args)
return command("getenv", args)
end
module_function :getenv
def gmerge(*args)
return command("gmerge", args)
end
module_function :gmerge
def gmove(*args)
return command("gmove", args)
end
module_function :gmove
def gnew(*args)
return command("gnew", args)
end
module_function :gnew
def gnewbg(*args)
return command("gnewbg", args)
end
module_function :gnewbg
def gnumber(*args)
return command("gnumber", args)
end
module_function :gnumber
def grename(*args)
return command("grename", args)
end
module_function :grename
def gnext(*args)
return command("gnext", args)
end
module_function :gnext
def gprev(*args)
return command("gprev", args)
end
module_function :gprev
def gother(*args)
return command("gother", args)
end
module_function :gother
def gravity(*args)
return command("gravity", args)
end
module_function :gravity
def groups(*args)
return command("groups", args)
end
module_function :groups
def gselect(*args)
return command("gselect", args)
end
module_function :gselect
def help(*args)
return command("help", args)
end
module_function :help
def hsplit(*args)
return command("hsplit", args)
end
module_function :hsplit
def info(*args)
return command("info", args)
end
module_function :info
def kill(*args)
return command("kill", args)
end
module_function :kill
def lastmsg(*args)
return command("lastmsg", args)
end
module_function :lastmsg
def license(*args)
return command("license", args)
end
module_function :license
def link(*args)
return command("link", args)
end
module_function :link
def listhook(*args)
return command("listhook", args)
end
module_function :listhook
def meta(*args)
return command("meta", args)
end
module_function :meta
def msgwait(*args)
return command("msgwait", args)
end
module_function :msgwait
def newkmap(*args)
return command("newkmap", args)
end
module_function :newkmap
def newwm(*args)
return command("newwm", args)
end
module_function :newwm
def next(*args)
return command("next", args)
end
module_function :next
def nextscreen(*args)
return command("nextscreen", args)
end
module_function :nextscreen
def number(*args)
return command("number", args)
end
module_function :number
def only(*args)
return command("only", args)
end
module_function :only
def other(*args)
return command("other", args)
end
module_function :other
def prev(*args)
return command("prev", args)
end
module_function :prev
def prevscreen(*args)
return command("prevscreen", args)
end
module_function :prevscreen
def quit(*args)
return command("quit", args)
end
module_function :quit
def ratinfo(*args)
return command("ratinfo", args)
end
module_function :ratinfo
def ratrelinfo(*args)
return command("ratrelinfo", args)
end
module_function :ratrelinfo
def banishrel(*args)
return command("banishrel", args)
end
module_function :banishrel
def ratwarp(*args)
return command("ratwarp", args)
end
module_function :ratwarp
def ratrelwarp(*args)
return command("ratrelwarp", args)
end
module_function :ratrelwarp
def ratclick(*args)
return command("ratclick", args)
end
module_function :ratclick
def rathold(*args)
return command("rathold", args)
end
module_function :rathold
def readkey(*args)
return command("readkey", args)
end
module_function :readkey
def redisplay(*args)
return command("redisplay", args)
end
module_function :redisplay
def remhook(*args)
return command("remhook", args)
end
module_function :remhook
def remove(*args)
return command("remove", args)
end
module_function :remove
def removeup(*args)
return command("removeup", args)
end
module_function :removeup
def removedown(*args)
return command("removedown", args)
end
module_function :removedown
def removeleft(*args)
return command("removeleft", args)
end
module_function :removeleft
def removeright(*args)
return command("removeright", args)
end
module_function :removeright
def resize(*args)
return command("resize", args)
end
module_function :resize
def restart(*args)
return command("restart", args)
end
module_function :restart
def rudeness(*args)
return command("rudeness", args)
end
module_function :rudeness
def select(*args)
return command("select", args)
end
module_function :select
def set(*args)
return command("set", args)
end
module_function :set
def setenv(*args)
return command("setenv", args)
end
module_function :setenv
def shrink(*args)
return command("shrink", args)
end
module_function :shrink
def sfrestore(*args)
return command("sfrestore", args)
end
module_function :sfrestore
def source(*args)
return command("source", args)
end
module_function :source
def sselect(*args)
return command("sselect", args)
end
module_function :sselect
def startup_message(*args)
return command("startup_message", args)
end
module_function :startup_message
def time(*args)
return command("time", args)
end
module_function :time
def title(*args)
return command("title", args)
end
module_function :title
def tmpwm(*args)
return command("tmpwm", args)
end
module_function :tmpwm
def unalias(*args)
return command("unalias", args)
end
module_function :unalias
def unmanage(*args)
return command("unmanage", args)
end
module_function :unmanage
def unsetenv(*args)
return command("unsetenv", args)
end
module_function :unsetenv
def verbexec(*args)
return command("verbexec", args)
end
module_function :verbexec
def version(*args)
return command("version", args)
end
module_function :version
def vsplit(*args)
return command("vsplit", args)
end
module_function :vsplit
def warp(*args)
return command("warp", args)
end
module_function :warp
def windows(*args)
return command("windows", args)
end
module_function :windows
def cnext(*args)
return command("cnext", args)
end
module_function :cnext
def cother(*args)
return command("cother", args)
end
module_function :cother
def cprev(*args)
return command("cprev", args)
end
module_function :cprev
def dedicate(*args)
return command("dedicate", args)
end
module_function :dedicate
def describekey(*args)
return command("describekey", args)
end
module_function :describekey
def inext(*args)
return command("inext", args)
end
module_function :inext
def iother(*args)
return command("iother", args)
end
module_function :iother
def iprev(*args)
return command("iprev", args)
end
module_function :iprev
def prompt(*args)
return command("prompt", args)
end
module_function :prompt
def sdump(*args)
return command("sdump", args)
end
module_function :sdump
def sfdump(*args)
return command("sfdump", args)
end
module_function :sfdump
def undo(*args)
return command("undo", args)
end
module_function :undo
def redo(*args)
return command("redo", args)
end
module_function :redo
def putsel(*args)
return command("putsel", args)
end
module_function :putsel
def getsel(*args)
return command("getsel", args)
end
module_function :getsel
def compat(*args)
return command("compat", args)
end
module_function :compat
end
|