Questions tagged [interactive-mode]

59 questions
3
votes
2 answers

Azure Devops (VSTS) - Start build agent as an administrator (interactive mode) in a console

is there any way to setup the VSTS build agent to run at windows startup in the interactive mode (as an admin)? Now I'm at the stage where I have installed and configured the agent to run in the interactive mode. So it is running in a console. In…
Chris4D
  • 167
  • 4
  • 12
3
votes
1 answer

Some choices in interactive mode don't work on git

I'm just trying the interactive mode with a commit checkout git checkout -p There are different choices available Apply this hunk to index and worktree [y,n,q,a,d,/,s,e,?]? and pressing ? it shows even more options y - apply this…
Kamafeather
  • 8,663
  • 14
  • 69
  • 99
3
votes
0 answers

cursor control for "python -i" in cygwin

When using python in cygwin, you need to use "python -i" to get into interactive mode. This mode however removes my ability to use my arrow keys to go through my history. When I push the Up-Key, the cursor goes up. When I press DELETE, the…
Vjeetje
  • 5,314
  • 5
  • 35
  • 57
3
votes
2 answers

PHP & mysqli: What is the difference between persistent connection and interactive?

What are the differences between the following: // Persistent connection $mysqli->real_connect("p:" . $host, $user, $pass, $db, null, null, 0); and // Interactive connection $mysqli->real_connect($host, $user, $pass, $db, null, null,…
Simon Forsberg
  • 13,086
  • 10
  • 64
  • 108
3
votes
2 answers

Handling exceptions without try block in Python's interactive shell

See the title of this question. I want to play with the exception raised in the last command. _ didn't help me. Is there anything like that?
Achimnol
  • 1,551
  • 3
  • 19
  • 31
2
votes
2 answers

How to have offline CLHS available from the REPL?

I'm using GNU Common Lisp on Windows. In interactive moed, after I type (funcnTAB, the REPL auto-completes the function name. When I press TAB again, the debugger triggers as follows: Break 1 [31]> (isqrt ISQRT is the symbol ISQRT, lies in…
Kos
  • 70,399
  • 25
  • 169
  • 233
2
votes
1 answer

Specifying system properties in Grails 2.0 interactive mode

Is there a way how to specify system property in (already started) grails interactive mode ? For example I would specify environment in command line: grails -Dgrails.env=staging run-app but in interactive mode it is not possible this way (since JVM…
verglor
  • 616
  • 7
  • 21
2
votes
1 answer

After enabling the "experimentalInteractiveRunEvents" flag to run the after:spec event in Cypress IDE : after:spec event is not calling

I have enabled the "experimentalInteractiveRunEvents": true in cypress.json to run the after:spec event of cypress-testRail-simple plugin through cypress IDE. link for plugin : https://github.com/bahmutov/cypress-testrail-simple.git I am using this…
2
votes
2 answers

sys.stdout.write() Acting different in interactive mode

I have the code : import sys import time for i in range(10): sys.stdout.write("\r Loading: {}".format(i)) sys.stdout.flush() time.sleep(0.5) which works perfectly when I run python3 dynamic_print.py, but when I fire the up the…
Roshin Raphel
  • 2,612
  • 4
  • 22
  • 40
2
votes
0 answers

Looking for Net::SSH2 authentication with interactive screen. Perl

I am trying to access shell of a remote unix node. I need to go through its login process. Step 1 : The login screen requires me to type 'start' after which below screen appears Step 2: To get the password prompt, I need to press 'down arrow key'…
Kiran Chaudhary
  • 124
  • 1
  • 2
  • 7
2
votes
0 answers

Matplotlib, Pylab using TKAgg: encountering PyEval_RestoreThread: NULL tstate when using plt.ion() on win32

EDIT: Bah, finally found a discussion on the Runtime Error, although it focuses on using PythonWin, which I did not have installed at the time. After installing PythonWin and setting up GTK (as per an earlier question), I was still encountering the…
user312364
2
votes
1 answer

mac os X 10.6.8 python 2.7.10 issues with direct typing of two-bytes utf-8 characters

I'm running Mac OS X 10.6.8; I had been using python 2.5.4 for 8 years and had NO problem, and neither had I with python 2.6 and python 3.1 as well; but I recently had to install python 2.7.10, which has become the default interpreter, and now there…
jym feat
  • 21
  • 1
2
votes
2 answers

What is the equivalent for swift REPL of Python's python -i thisfiletoload.py?

What is the equivalent for swift REPL of Python's python -i thisfiletoload.py ? Thanks. i.e. python -i thisfiletoload.py in the command prompt. What's the swift REPL equivalent?
2
votes
1 answer

Git: How to "restage" the same lines which were staged?

I have staged some of the modified lines with git add --patch. I have later modified those lines. How could I stage the same lines without selecting them again with git add --patch?
Haralan Dobrev
  • 7,617
  • 2
  • 48
  • 66
2
votes
1 answer

How does Ipython matplotlib interactive mode work?

I am trying to learn matplotlib using Ipython but can't work out how interactive mode works. There is a similar question here Exact semantics of Matplotlib's "interactive mode" (ion(), ioff())? but the referenced discussion link is broken. I start…
pheon
  • 2,867
  • 3
  • 26
  • 33