Ctrl-y behavior in gnuplot - not yanking in OS X [closed] - macos

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
Typically, CTRL+Y yanks previously killed text. This works very well in the terminal to cut and paste text. However, once I start gnuplot, using CTRL+Y suspends the program. The odd thing is that this only happens in my OS X machine. On my Ubuntu 12.04, the CTRL+Y inside the gnuplot has the expected behavior of yanking text.
Any ideas ideas on why this is happening? And how can I make CTRL+Y to have the expected behavior in a interactive gnuplot session?

This is just an educated guess -- OS-X does not ship with gnu readline, so gnuplot (by default) builds against the native OS-X readline implementation.
print GPVAL_COMPILE_OPTIONS #... +READLINE_IS_REALLY_EDITLINE ...
To fix this, you'd probably need to download/install gnu readline and then compile gnuplot with --with-readline=gnu or something to that effect.

Related

How to open multiple instances of Alacritty on macOS? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
macOS 11.4 , Alacritty 0.8.0 installed from homebrew 3.2.5 , although this should not matter because the question is mostly related to macOS UI.
What I want to do is something equivalent to Terminal.app's right click on icon > New Window sort of thing; Alacritty does not support windows.
On Linux, I'm used to launching new instance of alacritty with background option in dmenu.
On a mac, what would a similar action look like ?
I think pressing command + N does the trick

Force octave to use command line [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
Before upgrading my ubuntu install to 16.04 invoking 'octave' would open the octave interpreter, useful as a powerful calculator.
Now, typing octave opens the octave gui. I need to type 'octave --no-gui' to get my interpreter back.'
Why does this happen? How can I restore 'octave' opening the interpreter?
Defaults change over time depending on typical usage. To fix it, just:
Add an alias to your ~/.bashrc
alias octave="octave --no-gui"
Now source your file to enable it.
source ~/.bashrc

Vim windows corrupted under tmux [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
Running Vim (7.4) in tmux on OSX causes the windows to corrupt like so:
https://www.dropbox.com/s/l2j79r711i4y6sb/Screenshot%202013-12-02%2014.50.53.png
This usually happens when I open Nerdtree. Any ideas on how to fix this?
It looks like your terminal thinks the special Unicode characters that NERDTree is using in its tree (▾ and ▸) are two cells wide (like e.g. east-Asian Kanji characters), but they actually occupy only one cell. That messes up the display.
Unfortunately, I don't know how to fix this, but you can avoid the problem (at least with NERDTree) by configuring "plain" symbols via
let g:NERDTreeDirArrows = 0

MacVim: How to automatically return to the command line on exit from mvim [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
When I run mvim from OS X's Terminal.app command line, it brings up the GUI version of Vim. But, when I close the GUI Vim widow (via :q), the window focus is left on the MacVim app (even though there is no open window). This quite annoying, as it means I have to then refocus to the terminal window I ran the app from so I can continue to use the command line.
This is also different from the default way it works in Windows XP and Linux (at least in Ubuntu & RHEL).
I can see maybe some hack ways of doing this - like changing the mvim script to run vim with the "-f" (foreground) option, and then running some Mac command to refocus the Terminal. Anyone have a simple way to do this?

in Terminal, what is the difference between normal mode and switching to bash? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
When you are in Terminal, you are greeted with a prompt saying:
computer_name:~ directory user$ (command input)
Then if you use the command "bash", the prompt changes to:
bash-3.2$ (command input)
Now I understand that when you use a command like "python", you are taken into the Python interpreter, but it seems like pretty much all the same commands as usual work when you switch to Bash. Could someone explain what (if anything) is happening here?
When you type bash you are taken into a new Bash instance. If you press Ctrl + D you will exit. OSX uses Bash as default shell.

Resources