octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #49765] Windows CLI version octave tries to wr


From: Amro
Subject: [Octave-bug-tracker] [bug #49765] Windows CLI version octave tries to write history to C:\
Date: Thu, 8 Dec 2016 13:44:06 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:45.9) Gecko/20100101 Goanna/3.0 Firefox/45.9 PaleMoon/27.0.2

Follow-up Comment #15, bug #49765 (project octave):

Either way, since cmdshell.bat launches a Bash shell and not Octave itself, I
think it should be started as an interactive/login shell, that way it
processes startup scripts in /etc/profile first followed by user-defined ones
(like  ~/.bash_profile, ~/.bash_login, ~/.profile, and ~/.bashrc).

This is similar to what default shortcuts of Cygwin or MinGW/MSYS on Windows
do anyway.

It should be mentioned that $HOME is set by /etc/profile initialization
script, along with $PS1 and creating ~/.inputrc to make a better shell
experience.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?49765>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]