Module: Ratpoison

Defined in:
lib/ratpoison.rb,
lib/ratpoison/version.rb

Constant Summary collapse

RATPOISON =
"ratpoison"
VERSION =
"0.0.1"

Class Method Summary collapse

Class Method Details

.abort(*args) ⇒ Object


10
11
12
# File 'lib/ratpoison.rb', line 10

def abort(*args)
  return command("abort", args)
end

.addhook(*args) ⇒ Object


15
16
17
# File 'lib/ratpoison.rb', line 15

def addhook(*args)
  return command("addhook", args)
end

.alias(*args) ⇒ Object


20
21
22
# File 'lib/ratpoison.rb', line 20

def alias(*args)
  return command("alias", args)
end

.banish(*args) ⇒ Object


25
26
27
# File 'lib/ratpoison.rb', line 25

def banish(*args)
  return command("banish", args)
end

.banishrel(*args) ⇒ Object


345
346
347
# File 'lib/ratpoison.rb', line 345

def banishrel(*args)
  return command("banishrel", args)
end

.chdir(*args) ⇒ Object


30
31
32
# File 'lib/ratpoison.rb', line 30

def chdir(*args)
  return command("chdir", args)
end

.clrunmanaged(*args) ⇒ Object


35
36
37
# File 'lib/ratpoison.rb', line 35

def clrunmanaged(*args)
  return command("clrunmanaged", args)
end

.cnext(*args) ⇒ Object


500
501
502
# File 'lib/ratpoison.rb', line 500

def cnext(*args)
  return command("cnext", args)
end

.colon(*args) ⇒ Object


40
41
42
# File 'lib/ratpoison.rb', line 40

def colon(*args)
  return command("colon", args)
end

.command(command, *args) ⇒ Object


5
6
7
# File 'lib/ratpoison.rb', line 5

def command(command, *args)
  return `#{RATPOISON} -c "#{command} #{args.join(' ')}"`
end

.compat(*args) ⇒ Object


575
576
577
# File 'lib/ratpoison.rb', line 575

def compat(*args)
  return command("compat", args)
end

.cother(*args) ⇒ Object


505
506
507
# File 'lib/ratpoison.rb', line 505

def cother(*args)
  return command("cother", args)
end

.cprev(*args) ⇒ Object


510
511
512
# File 'lib/ratpoison.rb', line 510

def cprev(*args)
  return command("cprev", args)
end

.curframe(*args) ⇒ Object


45
46
47
# File 'lib/ratpoison.rb', line 45

def curframe(*args)
  return command("curframe", args)
end

.dedicate(*args) ⇒ Object


515
516
517
# File 'lib/ratpoison.rb', line 515

def dedicate(*args)
  return command("dedicate", args)
end

.definekey(*args) ⇒ Object


50
51
52
# File 'lib/ratpoison.rb', line 50

def definekey(*args)
  return command("definekey", args)
end

.delete(*args) ⇒ Object


60
61
62
# File 'lib/ratpoison.rb', line 60

def delete(*args)
  return command("delete", args)
end

.delkmap(*args) ⇒ Object


65
66
67
# File 'lib/ratpoison.rb', line 65

def delkmap(*args)
  return command("delkmap", args)
end

.describekey(*args) ⇒ Object


520
521
522
# File 'lib/ratpoison.rb', line 520

def describekey(*args)
  return command("describekey", args)
end

.echo(*args) ⇒ Object


70
71
72
# File 'lib/ratpoison.rb', line 70

def echo(*args)
  return command("echo", args)
end

.escape(*args) ⇒ Object


75
76
77
# File 'lib/ratpoison.rb', line 75

def escape(*args)
  return command("escape", args)
end

.exchangedown(*args) ⇒ Object


120
121
122
# File 'lib/ratpoison.rb', line 120

def exchangedown(*args)
  return command("exchangedown", args)
end

.exchangeleft(*args) ⇒ Object


125
126
127
# File 'lib/ratpoison.rb', line 125

def exchangeleft(*args)
  return command("exchangeleft", args)
end

.exchangeright(*args) ⇒ Object


130
131
132
# File 'lib/ratpoison.rb', line 130

def exchangeright(*args)
  return command("exchangeright", args)
end

.exchangeup(*args) ⇒ Object


115
116
117
# File 'lib/ratpoison.rb', line 115

def exchangeup(*args)
  return command("exchangeup", args)
end

.exec(*args) ⇒ Object


80
81
82
# File 'lib/ratpoison.rb', line 80

def exec(*args)
  return command("exec", args)
end

.execa(*args) ⇒ Object


85
86
87
# File 'lib/ratpoison.rb', line 85

def execa(*args)
  return command("execa", args)
end

.execf(*args) ⇒ Object


90
91
92
# File 'lib/ratpoison.rb', line 90

def execf(*args)
  return command("execf", args)
end

.fdump(*args) ⇒ Object


95
96
97
# File 'lib/ratpoison.rb', line 95

def fdump(*args)
  return command("fdump", args)
end

.focus(*args) ⇒ Object


100
101
102
# File 'lib/ratpoison.rb', line 100

def focus(*args)
  return command("focus", args)
end

.focusdown(*args) ⇒ Object


110
111
112
# File 'lib/ratpoison.rb', line 110

def focusdown(*args)
  return command("focusdown", args)
end

.focuslast(*args) ⇒ Object


140
141
142
# File 'lib/ratpoison.rb', line 140

def focuslast(*args)
  return command("focuslast", args)
end

.focusleft(*args) ⇒ Object


145
146
147
# File 'lib/ratpoison.rb', line 145

def focusleft(*args)
  return command("focusleft", args)
end

.focusprev(*args) ⇒ Object


105
106
107
# File 'lib/ratpoison.rb', line 105

def focusprev(*args)
  return command("focusprev", args)
end

.focusright(*args) ⇒ Object


150
151
152
# File 'lib/ratpoison.rb', line 150

def focusright(*args)
  return command("focusright", args)
end

.focusup(*args) ⇒ Object


155
156
157
# File 'lib/ratpoison.rb', line 155

def focusup(*args)
  return command("focusup", args)
end

.frestore(*args) ⇒ Object


160
161
162
# File 'lib/ratpoison.rb', line 160

def frestore(*args)
  return command("frestore", args)
end

.fselect(*args) ⇒ Object


165
166
167
# File 'lib/ratpoison.rb', line 165

def fselect(*args)
  return command("fselect", args)
end

.gdelete(*args) ⇒ Object


170
171
172
# File 'lib/ratpoison.rb', line 170

def gdelete(*args)
  return command("gdelete", args)
end

.getenv(*args) ⇒ Object


175
176
177
# File 'lib/ratpoison.rb', line 175

def getenv(*args)
  return command("getenv", args)
end

.getsel(*args) ⇒ Object


570
571
572
# File 'lib/ratpoison.rb', line 570

def getsel(*args)
  return command("getsel", args)
end

.gmerge(*args) ⇒ Object


180
181
182
# File 'lib/ratpoison.rb', line 180

def gmerge(*args)
  return command("gmerge", args)
end

.gmove(*args) ⇒ Object


185
186
187
# File 'lib/ratpoison.rb', line 185

def gmove(*args)
  return command("gmove", args)
end

.gnew(*args) ⇒ Object


190
191
192
# File 'lib/ratpoison.rb', line 190

def gnew(*args)
  return command("gnew", args)
end

.gnewbg(*args) ⇒ Object


195
196
197
# File 'lib/ratpoison.rb', line 195

def gnewbg(*args)
  return command("gnewbg", args)
end

.gnext(*args) ⇒ Object


205
206
207
# File 'lib/ratpoison.rb', line 205

def gnext(*args)
  return command("gnext", args)
end

.gother(*args) ⇒ Object


215
216
217
# File 'lib/ratpoison.rb', line 215

def gother(*args)
  return command("gother", args)
end

.gprev(*args) ⇒ Object


210
211
212
# File 'lib/ratpoison.rb', line 210

def gprev(*args)
  return command("gprev", args)
end

.gravity(*args) ⇒ Object


220
221
222
# File 'lib/ratpoison.rb', line 220

def gravity(*args)
  return command("gravity", args)
end

.grename(*args) ⇒ Object


200
201
202
# File 'lib/ratpoison.rb', line 200

def grename(*args)
  return command("grename", args)
end

.groups(*args) ⇒ Object


225
226
227
# File 'lib/ratpoison.rb', line 225

def groups(*args)
  return command("groups", args)
end

.gselect(*args) ⇒ Object


230
231
232
# File 'lib/ratpoison.rb', line 230

def gselect(*args)
  return command("gselect", args)
end

.help(*args) ⇒ Object


235
236
237
# File 'lib/ratpoison.rb', line 235

def help(*args)
  return command("help", args)
end

.hsplit(*args) ⇒ Object


240
241
242
# File 'lib/ratpoison.rb', line 240

def hsplit(*args)
  return command("hsplit", args)
end

.inext(*args) ⇒ Object


525
526
527
# File 'lib/ratpoison.rb', line 525

def inext(*args)
  return command("inext", args)
end

.info(*args) ⇒ Object


245
246
247
# File 'lib/ratpoison.rb', line 245

def info(*args)
  return command("info", args)
end

.iother(*args) ⇒ Object


530
531
532
# File 'lib/ratpoison.rb', line 530

def iother(*args)
  return command("iother", args)
end

.iprev(*args) ⇒ Object


535
536
537
# File 'lib/ratpoison.rb', line 535

def iprev(*args)
  return command("iprev", args)
end

.kill(*args) ⇒ Object


250
251
252
# File 'lib/ratpoison.rb', line 250

def kill(*args)
  return command("kill", args)
end

.lastmsg(*args) ⇒ Object


255
256
257
# File 'lib/ratpoison.rb', line 255

def lastmsg(*args)
  return command("lastmsg", args)
end

.license(*args) ⇒ Object


260
261
262
# File 'lib/ratpoison.rb', line 260

def license(*args)
  return command("license", args)
end

265
266
267
# File 'lib/ratpoison.rb', line 265

def link(*args)
  return command("link", args)
end

.listhook(*args) ⇒ Object


270
271
272
# File 'lib/ratpoison.rb', line 270

def listhook(*args)
  return command("listhook", args)
end

.meta(*args) ⇒ Object


275
276
277
# File 'lib/ratpoison.rb', line 275

def meta(*args)
  return command("meta", args)
end

.msgwait(*args) ⇒ Object


280
281
282
# File 'lib/ratpoison.rb', line 280

def msgwait(*args)
  return command("msgwait", args)
end

.newkmap(*args) ⇒ Object


285
286
287
# File 'lib/ratpoison.rb', line 285

def newkmap(*args)
  return command("newkmap", args)
end

.newwm(*args) ⇒ Object


290
291
292
# File 'lib/ratpoison.rb', line 290

def newwm(*args)
  return command("newwm", args)
end

.next(*args) ⇒ Object


295
296
297
# File 'lib/ratpoison.rb', line 295

def next(*args)
  return command("next", args)
end

.nextscreen(*args) ⇒ Object


300
301
302
# File 'lib/ratpoison.rb', line 300

def nextscreen(*args)
  return command("nextscreen", args)
end

.number(*args) ⇒ Object


305
306
307
# File 'lib/ratpoison.rb', line 305

def number(*args)
  return command("number", args)
end

.only(*args) ⇒ Object


310
311
312
# File 'lib/ratpoison.rb', line 310

def only(*args)
  return command("only", args)
end

.other(*args) ⇒ Object


315
316
317
# File 'lib/ratpoison.rb', line 315

def other(*args)
  return command("other", args)
end

.prev(*args) ⇒ Object


320
321
322
# File 'lib/ratpoison.rb', line 320

def prev(*args)
  return command("prev", args)
end

.prevscreen(*args) ⇒ Object


325
326
327
# File 'lib/ratpoison.rb', line 325

def prevscreen(*args)
  return command("prevscreen", args)
end

.prompt(*args) ⇒ Object


540
541
542
# File 'lib/ratpoison.rb', line 540

def prompt(*args)
  return command("prompt", args)
end

.putsel(*args) ⇒ Object


565
566
567
# File 'lib/ratpoison.rb', line 565

def putsel(*args)
  return command("putsel", args)
end

.quit(*args) ⇒ Object


330
331
332
# File 'lib/ratpoison.rb', line 330

def quit(*args)
  return command("quit", args)
end

.ratclick(*args) ⇒ Object


360
361
362
# File 'lib/ratpoison.rb', line 360

def ratclick(*args)
  return command("ratclick", args)
end

.rathold(*args) ⇒ Object


365
366
367
# File 'lib/ratpoison.rb', line 365

def rathold(*args)
  return command("rathold", args)
end

.ratinfo(*args) ⇒ Object


335
336
337
# File 'lib/ratpoison.rb', line 335

def ratinfo(*args)
  return command("ratinfo", args)
end

.ratrelinfo(*args) ⇒ Object


340
341
342
# File 'lib/ratpoison.rb', line 340

def ratrelinfo(*args)
  return command("ratrelinfo", args)
end

.ratrelwarp(*args) ⇒ Object


355
356
357
# File 'lib/ratpoison.rb', line 355

def ratrelwarp(*args)
  return command("ratrelwarp", args)
end

.ratwarp(*args) ⇒ Object


350
351
352
# File 'lib/ratpoison.rb', line 350

def ratwarp(*args)
  return command("ratwarp", args)
end

.readkey(*args) ⇒ Object


370
371
372
# File 'lib/ratpoison.rb', line 370

def readkey(*args)
  return command("readkey", args)
end

.redisplay(*args) ⇒ Object


375
376
377
# File 'lib/ratpoison.rb', line 375

def redisplay(*args)
  return command("redisplay", args)
end

.redo(*args) ⇒ Object


560
561
562
# File 'lib/ratpoison.rb', line 560

def redo(*args)
  return command("redo", args)
end

.remhook(*args) ⇒ Object


380
381
382
# File 'lib/ratpoison.rb', line 380

def remhook(*args)
  return command("remhook", args)
end

.remove(*args) ⇒ Object


385
386
387
# File 'lib/ratpoison.rb', line 385

def remove(*args)
  return command("remove", args)
end

.resize(*args) ⇒ Object


390
391
392
# File 'lib/ratpoison.rb', line 390

def resize(*args)
  return command("resize", args)
end

.restart(*args) ⇒ Object


395
396
397
# File 'lib/ratpoison.rb', line 395

def restart(*args)
  return command("restart", args)
end

.rudeness(*args) ⇒ Object


400
401
402
# File 'lib/ratpoison.rb', line 400

def rudeness(*args)
  return command("rudeness", args)
end

.sdump(*args) ⇒ Object


545
546
547
# File 'lib/ratpoison.rb', line 545

def sdump(*args)
  return command("sdump", args)
end

.select(*args) ⇒ Object


405
406
407
# File 'lib/ratpoison.rb', line 405

def select(*args)
  return command("select", args)
end

.set(*args) ⇒ Object


410
411
412
# File 'lib/ratpoison.rb', line 410

def set(*args)
  return command("set", args)
end

.setenv(*args) ⇒ Object


415
416
417
# File 'lib/ratpoison.rb', line 415

def setenv(*args)
  return command("setenv", args)
end

.sfdump(*args) ⇒ Object


550
551
552
# File 'lib/ratpoison.rb', line 550

def sfdump(*args)
  return command("sfdump", args)
end

.sfrestore(*args) ⇒ Object


425
426
427
# File 'lib/ratpoison.rb', line 425

def sfrestore(*args)
  return command("sfrestore", args)
end

.shrink(*args) ⇒ Object


420
421
422
# File 'lib/ratpoison.rb', line 420

def shrink(*args)
  return command("shrink", args)
end

.source(*args) ⇒ Object


430
431
432
# File 'lib/ratpoison.rb', line 430

def source(*args)
  return command("source", args)
end

.sselect(*args) ⇒ Object


435
436
437
# File 'lib/ratpoison.rb', line 435

def sselect(*args)
  return command("sselect", args)
end

.startup_message(*args) ⇒ Object


440
441
442
# File 'lib/ratpoison.rb', line 440

def startup_message(*args)
  return command("startup_message", args)
end

.swap(*args) ⇒ Object


135
136
137
# File 'lib/ratpoison.rb', line 135

def swap(*args)
  return command("swap", args)
end

.time(*args) ⇒ Object


445
446
447
# File 'lib/ratpoison.rb', line 445

def time(*args)
  return command("time", args)
end

.title(*args) ⇒ Object


450
451
452
# File 'lib/ratpoison.rb', line 450

def title(*args)
  return command("title", args)
end

.tmpwm(*args) ⇒ Object


455
456
457
# File 'lib/ratpoison.rb', line 455

def tmpwm(*args)
  return command("tmpwm", args)
end

.unalias(*args) ⇒ Object


460
461
462
# File 'lib/ratpoison.rb', line 460

def unalias(*args)
  return command("unalias", args)
end

.undefinekey(*args) ⇒ Object


55
56
57
# File 'lib/ratpoison.rb', line 55

def undefinekey(*args)
  return command("undefinekey", args)
end

.undo(*args) ⇒ Object


555
556
557
# File 'lib/ratpoison.rb', line 555

def undo(*args)
  return command("undo", args)
end

.unmanage(*args) ⇒ Object


465
466
467
# File 'lib/ratpoison.rb', line 465

def unmanage(*args)
  return command("unmanage", args)
end

.unsetenv(*args) ⇒ Object


470
471
472
# File 'lib/ratpoison.rb', line 470

def unsetenv(*args)
  return command("unsetenv", args)
end

.verbexec(*args) ⇒ Object


475
476
477
# File 'lib/ratpoison.rb', line 475

def verbexec(*args)
  return command("verbexec", args)
end

.version(*args) ⇒ Object


480
481
482
# File 'lib/ratpoison.rb', line 480

def version(*args)
  return command("version", args)
end

.vsplit(*args) ⇒ Object


485
486
487
# File 'lib/ratpoison.rb', line 485

def vsplit(*args)
  return command("vsplit", args)
end

.warp(*args) ⇒ Object


490
491
492
# File 'lib/ratpoison.rb', line 490

def warp(*args)
  return command("warp", args)
end

.windows(*args) ⇒ Object


495
496
497
# File 'lib/ratpoison.rb', line 495

def windows(*args)
  return command("windows", args)
end