~ubuntu-branches/ubuntu/utopic/rxvt-unicode/utopic-proposed

« back to all changes in this revision

Viewing changes to src/rxvtd.C

  • Committer: Package Import Robot
  • Author(s): Ryan Kavanagh
  • Date: 2013-05-26 18:12:22 UTC
  • mfrom: (33.1.2 experimental)
  • Revision ID: package-import@ubuntu.com-20130526181222-67glcv7nppi4ih7r
Tags: 9.18-2
* Upload to unstable now that wheezy has been released
* Merge in patch from gregor herrman fixing a FTBFS due to POD errors
  (Closes: #708026)

Show diffs side-by-side

added added

removed removed

Lines of Context:
228
228
  ptytty::init ();
229
229
 
230
230
  static char opt_fork, opt_opendisplay, opt_quiet;
 
231
#if ENABLE_PERL
 
232
  static char *opt_eval;
 
233
#endif
231
234
#if ENABLE_MLOCK
232
235
  static char opt_lock;
233
236
#endif
244
247
      else if (!strcmp (argv [i], "-m") || !strcmp (argv [i], "--mlock"))
245
248
        opt_lock = 1;
246
249
#endif
 
250
#if ENABLE_PERL
 
251
      else if (!strcmp (argv [i], "-e") || !strcmp (argv [i], "--eval"))
 
252
        opt_eval = argv [++i];
 
253
#endif
247
254
      else
248
255
        {
249
256
          rxvt_log ("%s: unknown option '%s', aborting.\n", argv [0], argv [i]);
253
260
 
254
261
  rxvt_init ();
255
262
 
 
263
#if ENABLE_PERL
 
264
  if (opt_eval)
 
265
    {
 
266
      rxvt_perl.init ();
 
267
      rxvt_perl.eval (opt_eval);
 
268
    }
 
269
#endif
 
270
 
256
271
  // optionally open display and never release it.
257
272
  if (opt_opendisplay)
258
273
    if (const char *dpy = getenv ("DISPLAY"))