X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fterminal%2Fcommand-line.c;h=e152f7009992eb55ad6194bddb62d4efd323488e;hb=458d169f64134f4e0a9d9b72398666a01761fcf8;hp=9eb23d5319f8a021aee53d71d189ff005553efab;hpb=56728c4e740a15c66266f54bed1307299f723f56;p=pspp-builds.git diff --git a/src/ui/terminal/command-line.c b/src/ui/terminal/command-line.c index 9eb23d53..e152f700 100644 --- a/src/ui/terminal/command-line.c +++ b/src/ui/terminal/command-line.c @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 1997-9, 2000 Free Software Foundation, Inc. + Copyright (C) 1997-9, 2000, 2007 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -42,12 +42,8 @@ #define _(msgid) gettext (msgid) #define N_(msgid) msgid -void welcome (void); static void usage (void); -char *subst_vars (char *); - - /* Parses the command line specified by ARGC and ARGV as received by main(). Returns true if normal execution should proceed, false if the command-line indicates that PSPP should exit. */ @@ -209,7 +205,11 @@ parse_command_line (int argc, char **argv, struct source_stream *ss) } if (!syntax_files || interactive_mode) - getl_append_source (ss, create_readln_source () ); + { + getl_append_source (ss, create_readln_source () ); + if (!cleared_device_defaults) + outp_configure_add ("interactive"); + } return true; }