From bug-octave-request at bevo dot che dot wisc dot edu Wed Mar 4 10:49:13 1998 Subject: option --no-line-editing is not working From: Georg Thimm To: bug-octave at bevo dot che dot wisc dot edu Date: Wed, 4 Mar 1998 17:49:01 +0100 (MET) Bug report for Octave 2.1.5 configured for %CANONICAL_HOST_TYPE% Description: ----------- The history file is updated although the option --no-line-editing is given ( Repeat-By: --------- rotondo:~> grep cos ~/.octave_hist cos(1.111) cos(1.111) rotondo:~> rm ~/.octave_hist rotondo:~> echo "cos(1.111)" | octave --no-line-editing Octave, version 2.1.5 (sparc-sun-solaris2.5.1). Copyright (C) 1996, 1997, 1998 John W. Eaton. This is free software with ABSOLUTELY NO WARRANTY. For details, type `warranty'. ans = 0.44377 rotondo:~> grep cos ~/.octave_hist cos(1.111) Fix: --- sorry .... Configuration (please do not edit this section): ----------------------------------------------- uname output: SunOS rotondo 5.6 Generic sun4u sparc SUNW,Ultra-1 configure opts: --prefix=/home/vision/thimm/gnu Fortran compiler: g77 FFLAGS: -O F2C: F2CFLAGS: FLIBS: -lf2c -lm -L/usr/ccs/lib -L/usr/lib -L/sym/gnu/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.3.f.1 -L/usr/ccs/bin -L/usr/ccs/lib -L/sym/gnu/lib -lm CPPFLAGS: INCFLAGS: -I/home/vision/thimm/gnu/include/octave-2.1.5/octave -I/home/vision/thimm/gnu/include C compiler: gcc, version 2.7.2.3.f.1 CFLAGS: -DHAVE_CONFIG_H -g -O2 -Wall CPICFLAG: -fPIC C++ compiler: c++, version 2.7.2.3.f.1 CXXFLAGS: -DHAVE_CONFIG_H -fno-rtti -fno-implicit-templates -g -O2 -Wall CXXPICFLAG: -fPIC LDFLAGS: -g LIBFLAGS: -L/home/vision/thimm/gnu/lib/octave-2.1.5 RLD_FLAG: -Xlinker -R -Xlinker /home/vision/thimm/gnu/lib TERMLIBS: -lncurses LIBS: LEXLIB: LIBPLPLOT: LIBDLFCN: DEFS: -DOCTAVE_SOURCE=1 -DSEPCHAR=':' -DSEPCHAR_STR=":" -DUSE_GNU_INFO=1 -DUSE_READLINE=1 -DF77_APPEND_UNDERSCORE=1 -DHAVE_LIBSOCKET=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DSTDC_HEADERS=1 -DHAVE_DIRENT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_ASSERT_H=1 -DHAVE_CURSES_H=1 -DHAVE_FCNTL_H=1 -DHAVE_FLOAT_H=1 -DHAVE_FLOATINGPOINT_H=1 -DHAVE_FNMATCH_H=1 -DHAVE_GLOB_H=1 -DHAVE_GRP_H=1 -DHAVE_IEEEFP_H=1 -DHAVE_LIMITS_H=1 -DHAVE_MEMORY_H=1 -DHAVE_NAN_H=1 -DHAVE_PWD_H=1 -DHAVE_SGTTY_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TIMES_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_UTSNAME_H=1 -DHAVE_TERMCAP_H=1 -DHAVE_TERMIO_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_VARARGS_H=1 -DHAVE_ATEXIT=1 -DHAVE_BCOPY=1 -DHAVE_BZERO=1 -DHAVE_DUP2=1 -DHAVE_ENDGRENT=1 -DHAVE_ENDPWENT=1 -DHAVE_EXECVP=1 -DHAVE_FCNTL=1 -DHAVE_FORK=1 -DHAVE_GETCWD=1 -DHAVE_GETEGID=1 -DHAVE_GETEUI User-preferences (please do not edit this section): -------------------------------------------------- EDITOR = "/usr/dt/bin/dtpad" IMAGEPATH = ".:/home/vision/thimm/gnu/share/octave/2.1.5/imagelib//" INFO_FILE = "/home/vision/thimm/gnu/info/octave.info" LOADPATH = ".:/home/vision/thimm/gnu/libexec/octave/site/oct/sparc-sun-solaris2.5.1//:/home/vision/thimm/gnu/share/octave/site/m//:/home/vision/thimm/gnu/libexec/octave/2.1.5/oct/sparc-sun-solaris2.5.1//:/home/vision/thimm/gnu/share/octave/2.1.5/m//" OCTAVE_VERSION = "2.1.5" PAGER = "less" PS1 = "\\s:\\#> " PS2 = "> " automatic_replot = 0 whitespace_in_literal_matrix = "" default_save_format = "ascii" do_fortran_indexing = 0 empty_list_elements_ok = "warn" eps = 2.22045e-16 gnuplot_binary = "gnuplot" ignore_function_time_stamp = "system" implicit_str_to_num_ok = 0 ok_to_lose_imaginary_part = "warn" output_max_field_width = 10 output_precision = 5 page_screen_output = 1 prefer_column_vectors = 1 print_answer_id_name = 1 print_empty_dimensions = 1 propagate_empty_matrices = 1 resize_on_range_error = 1 return_last_computed_value = 0 save_precision = 15 silent_functions = 0 split_long_rows = 1 treat_neg_dim_as_zero = 0 warn_assign_as_truth_value = 1 warn_divide_by_zero = 1