disable repeating code at command line
Moderators: EViews Gareth, EViews Moderator
disable repeating code at command line
Using EViews 9.5
Is there any way to turn off the mirroring or repeating of lines of code executed at the command line? I searched the forum and options and can't find one.
Thanks
Carl
Is there any way to turn off the mirroring or repeating of lines of code executed at the command line? I searched the forum and options and can't find one.
Thanks
Carl
-
- EViews Developer
- Posts: 799
- Joined: Tue Sep 16, 2008 3:00 pm
- Location: Irvine, CA
Re: disable repeating code at command line
Check the command capture setting by going to the Options menu/General Options/Command capture and make sure the "Send command capture to Command Capture Window Only" is selected.
If this doesn't help, please provide some more details and a screenshot of what you are seeing.
Steve
If this doesn't help, please provide some more details and a screenshot of what you are seeing.
Steve
Re: disable repeating code at command line
I have set command capture to "Send command capture to Command Capture Window Only".
I typed one line of code and ran it (hit enter/return). Then I typed the second line of code and ran it. (See screen1)
When I move my cursor to the first line and run it again, the code is repeated as line three. When I move my cursor to line two and hit return, that line of code runs and is then repeated as line 4. (See screen 2)
Sorry for the full size images.
Not only is the behavior inconsistent, but after a few minutes of work on programs, the command line is overflowing with duplicate lines of code.
Carl
I typed one line of code and ran it (hit enter/return). Then I typed the second line of code and ran it. (See screen1)
When I move my cursor to the first line and run it again, the code is repeated as line three. When I move my cursor to line two and hit return, that line of code runs and is then repeated as line 4. (See screen 2)
Sorry for the full size images.
Not only is the behavior inconsistent, but after a few minutes of work on programs, the command line is overflowing with duplicate lines of code.
Carl
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13323
- Joined: Tue Sep 16, 2008 5:38 pm
Re: disable repeating code at command line
I'm not sure why you think the behaviour is inconsistent. It is very consistent - every command you issue (whether it is a new command or a re-issuing of an existing command) is shown in the command window.
Follow us on Twitter @IHSEViews
Re: disable repeating code at command line
Gareth,
The reason I say it is inconsistent is because the first time I put my cursor on line 1 of the code in the command line and hit return, that line of code is not duplicated. Same goes for the second line of code. But once I have two lines of code, when I put my cursor at the first line and hit return, that line is duplicated below the first two.
Regardless of whether it is a consistent behavior or not, I would love to make it go away. If there is an option I am missing lmk.
Thanks
Carl
The reason I say it is inconsistent is because the first time I put my cursor on line 1 of the code in the command line and hit return, that line of code is not duplicated. Same goes for the second line of code. But once I have two lines of code, when I put my cursor at the first line and hit return, that line is duplicated below the first two.
Regardless of whether it is a consistent behavior or not, I would love to make it go away. If there is an option I am missing lmk.
Thanks
Carl
Re: disable repeating code at command line
Shouldn't the Command Capture Option to "Send command capture to Command Capture Window Only" result in no executed commands being sent to the command window? It certainly does not work that way on my install of Eviews 11(latest version). In fact, when I execute commands in the command window with the setting set to command capture window only, the command is repeated in the command window, but does not get sent to the command capture window. If I use a menu to execute a command, then it shows up in the command capture window and the command window. Is there, any setting to stop each executed command in the command window from being sent back to the command window. If not, can that feature please be added. As someone who prefers typing commands to execute programs and other commands, my command window is quickly overwhelmed with tens of duplicate lines of code.
Thanks for any suggestions
Thanks for any suggestions
- Attachments
-
- Screen Shot 2020-03-27 at 4.32.14 AM.png (109.39 KiB) Viewed 32737 times
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13323
- Joined: Tue Sep 16, 2008 5:38 pm
Re: disable repeating code at command line
I'm not sure I understand this.
Are you saying that when you type a command in the command window, that command then gets repeated in the command window? So if you type "series X=nrnd" you end up with two lines that say "series X=nrnd" ?
Are you saying that when you type a command in the command window, that command then gets repeated in the command window? So if you type "series X=nrnd" you end up with two lines that say "series X=nrnd" ?
Follow us on Twitter @IHSEViews
Re: disable repeating code at command line
Gareth,
Yes, that is exactly what I mean. In the attached iamge, I typed the first two lines in the command window and executed them one at a time. The last two lines are the repeated lines Eviews generates.
Aloha
Carl
Yes, that is exactly what I mean. In the attached iamge, I typed the first two lines in the command window and executed them one at a time. The last two lines are the repeated lines Eviews generates.
Aloha
Carl
- Attachments
-
- Screen Shot 2020-03-27 at 5.36.05 AM.png (39.36 KiB) Viewed 32734 times
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13323
- Joined: Tue Sep 16, 2008 5:38 pm
Re: disable repeating code at command line
What's the build date of your copy of EViews? (Help->About EViews)
Follow us on Twitter @IHSEViews
Re: disable repeating code at command line
Enterprise Edition - March 16 2020 build
-
- EViews Developer
- Posts: 870
- Joined: Tue Sep 16, 2008 3:50 pm
Re: disable repeating code at command line
I think I know what is happening. If you paste more than one line into the command window but do not execute the last line, EViews will always place a copy of the just executed line at the end.
In your example, (if I understand correctly) you pasted 2 lines into the command window but you pressed enter on the first. EViews will placed a copy of line 1 on line 3. EViews always appends to the end, the newly executed command unless it the same as the last.
Did I understand your example correctly?
In your example, (if I understand correctly) you pasted 2 lines into the command window but you pressed enter on the first. EViews will placed a copy of line 1 on line 3. EViews always appends to the end, the newly executed command unless it the same as the last.
Did I understand your example correctly?
Re: disable repeating code at command line
Jason, sorry for my slow response.
The lines of code are typed into the command line one at a time and executed (press enter). So type one line of code and execute, then type a second line of code and execute ... each time a new line is added and executed, the command is not repeated. But if i go back to the top of the command window and execute the first line of code again, or any of the lines of code except the last, the code is repeated at the bottom of the list of commands.
It sounds like this is the way EViews is designed, I can't really figure out why you would want to fill the command line with duplicate lines of code, and it seems that it not what is implied by the Command Settings: "Send Command Capture to Command Capture Window Only". Maybe I am miss-interpreting that setting.
Anyway, I for one find it very difficult to work extensively at the command line running programs and using the command line instead of the menus when my command window fills up with duplicated commands, if there is any way to turn this "feature" off, or add a new feature to disable it, that would be amazing.
Aloha
Carl
The lines of code are typed into the command line one at a time and executed (press enter). So type one line of code and execute, then type a second line of code and execute ... each time a new line is added and executed, the command is not repeated. But if i go back to the top of the command window and execute the first line of code again, or any of the lines of code except the last, the code is repeated at the bottom of the list of commands.
It sounds like this is the way EViews is designed, I can't really figure out why you would want to fill the command line with duplicate lines of code, and it seems that it not what is implied by the Command Settings: "Send Command Capture to Command Capture Window Only". Maybe I am miss-interpreting that setting.
Anyway, I for one find it very difficult to work extensively at the command line running programs and using the command line instead of the menus when my command window fills up with duplicated commands, if there is any way to turn this "feature" off, or add a new feature to disable it, that would be amazing.
Aloha
Carl
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13323
- Joined: Tue Sep 16, 2008 5:38 pm
Re: disable repeating code at command line
I think you're saying that you are re-using commands you have previously issued, and don't like the fact that EViews will then copy that command to the bottom of the command window.
This is by design, and it is so that you can keep track of both what you have done, and the order in which you did them. Without the repetitions, there is no log of which commands you have issued.
This is by design, and it is so that you can keep track of both what you have done, and the order in which you did them. Without the repetitions, there is no log of which commands you have issued.
Follow us on Twitter @IHSEViews
Re: disable repeating code at command line
Thanks Gareth, thats what i was afraid of. I managed just fine using AREMOS for almost 20 years without the repetition. Seems to me that sending the commands to the command capture window only would suffice.
So if i may, i am requesting this option for EViews 12.
Thanks again.
Carl
So if i may, i am requesting this option for EViews 12.
Thanks again.
Carl
Return to “General Information and Tips and Tricks”
Who is online
Users browsing this forum: No registered users and 32 guests