ipython prompt and the inputting command twinkle - python-2.7

python2.7.10,ipython5.0.0,linux
when I use my ipython console, the prompt and the inputting command is always twinkling, and I uninstall it and reinstall again, but the error occur again, I googled and did find any answer about it

If you are using SecureCRT, change the following settings, select Linux (I haven't tested other options), don't select ANSI, if you are using other terminals such as XShell, there are similar settings.

Related

VS CODE doesn't take input in debug mode while debugging c++ files ? How to provide the input in debug mode running CPP files

Screen shot of window in debugging mode
Hey, I have a problem with debugger in vscode. I set it according to the vscode dowcumentation I set the debugger correct path but I don't why my debugger stuck at input cin and I tried to give input in base=2 , It unable to perform this action,Anyone please how to give input in debugg mode of cpp/c in vscode usin mingw64. Please resolved my issue.Tell how to provide input in debug mode
Enter base number: *running,thread-id="all"
2
Unable to perform this action because the process is running.
I think that's because it's running in output section !
go to vscde settings and find run in terminal and enable it
Firstly, in debugger console do NOT take input at cin or scanf. You shall use terminal for reading in inputs.
1st way: #JaMiT quoted C++ read input by using external console to true.
How do you configure to set the cpp file run in integrated terminal?
2nd way: Check your gcc/g++/gdb version and try to use an more updated version.
In my case, the version goes with mingw-w64 with git bash (GCC 6.2.0) is NOT supported by vscode Integrated Terminal for debugging. However, using an more up-to-date version - GCC (12.2.0) will show your debugging in your integrated Terminal (at least in my case).
Suggested alternative GCC installation: WinLibs - For Standalone GCC

How do I open WebStorm from terminal?

I've looked around but I've only found answers for past versions. I have a new version of WebStorm and I want to open my projects from the command line, but wstorm . and webstorm . doesn't seem to work.
I've tried going to Tools > Create Command Line Launcher... and I get this:
I go to ToolBox's WebStorm Settings and I'm met with this:
Generate shell scripts is turned on, but the but the commands still do not work in my terminal.
Am I missing something? Am I supposed to add in a Shell scripts location? I'm not entirely sure I understand.
It's actually very easy. First you open up Webstorm, and press SHIFT twice. This will bring up a search box, where you type: Create Command Line Launcher. You will see a search result from Tools will be highlighted, click on it, and it will suggest the default path. Just click on Ok. Your command line launcher is now ready, so you can open terminal, cd to your project root folder, and type webstorm ./ to launch webstorm.
If the Create Command Line Launcher option is not working, try the following:
If you are on MacOS, try adding the path as instructed in their official page. And if you are on Linux, just uninstall the current version and reinstall as a snap package using sudo snap install webstorm --classic. This way, you can launch it from the terminal just by typing webstorm
After opening a ticket with Jetbrains support, the default path is /usr/local/bin. Adding this worked.
You can use open-ide tool. It allows you to define all of your editors and to open any folder with your editor straight from terminal

How to run Glade and Devhelp after installing with MSYS2

I was following the steps on the official GTK+ website. (https://www.gtk.org/download/windows.php)
However, after finishing those steps, how do I run them?
2020-02-28 EDIT:
MSYS2 no longer provides the Devhelp package.
See https://github.com/msys2/MINGW-packages/issues/5805
Original version:
I wrote that page. Found that so obvious that I didn't mention it but maybe that's just because I'm too used to the UNIX way of doing things. To run a tool in command line, you just type its name and press enter. So just type devhelp or glade.
You can also use autocompletion and just press the beginning of a word like gla, press the Tab key, and the available choice will appear.
You may append the & sign at the end of the command to run it in the background so you can still use your terminal.

C++ Run Command Error ./ is a directory

I am using the Coderunner app for Mac OS X to mess around with some c++ code. However, whenever I run any c++ program (including when the program is blank) I get this same error -
Run Command: line 1: ./: is a directory I cannot figure out why this is happening, even after I searched for hours. I have installed the newest Xcode (5.0.2) and the command line tools.
icehockey38
Go to "preferences" in CodeRunner and select the option "languages" then at the bottom of the list there is a button that says "Reset", click that and you should get the original way that the languages scripts came with. I was getting the same error message I did that and it work.
Good luck.

Trying to get vim command keystrokes in gdb 7.5

Hi I am using gdb version 7.5. Can someone tell me how I can get the vim keystrokes to work inside the gdb? The up and down arrow keys work for history but I want the k and j to work similar to when I am in a bash shell and have things set as set -o vi from the shell then my vim keystrokes work for command history. I used to have this set up using gdb in a previous linux instance. Currently running ubuntu 13.04.
gdb uses readline. So you just need to put the following command into ~/.inputrc to turn the editing mode to vi.
set editing-mode vi
Note: all programs that use readline will be affected by this setting this includes bash.
Over in this question about ndk-gdb I learned that C-M-j will cause gdb to enter vi mode. I tried that with gdb 7.4.1 and it worked, but I don't know about gdb 7.5. (Note: C-M-j means "Alt-Ctrl-j" for those not used to emacs nomenclature or "Esc Ctrl-j" if you don't have an Alt key.)