Using the "List" command at the command prompt

Using the "List" command at the command prompt

kzD1219
Collaborator Collaborator
7,226 Views
14 Replies
Message 1 of 15

Using the "List" command at the command prompt

kzD1219
Collaborator
Collaborator

Hopefully I can explain this.

 

A coworker of mine was using the 'list' command to get information about a line.  A window will pop up as usual, but on the command prompt line instead of is showing the last lines of information on the window, it asks him to hit enter to get the information.

 

I have attached and image of what my list routine does at the command line.  Pop up window pops up as normal and the last 3 lines of the window show up on my command line.  This is the way the coworker wants it to work. (shown in red)

 

However right now the pop up window will open, but on the command line the first couple lines then asking the press enter.  How can I revert to show the last few lines of information without having the hit enter to get there??

 

Untitled.jpg

0 Likes
Accepted solutions (1)
7,227 Views
14 Replies
Replies (14)
Message 2 of 15

GrantsPirate
Mentor
Mentor
Accepted solution

Open the Text Window (F2) and stretch that window taller than it is now.  Try at the command line.  If that doesn't work stretch the window taller still.


GrantsPirate
Piping and Mech. Designer
EXPERT ELITE MEMBER
Always save a copy of the drawing before trying anything suggested here.
----------------------------------------------------------------------------
If something I wrote can be interpreted two ways, and one of the ways makes you sad or angry, I meant the other one.

Message 3 of 15

john.vellek
Alumni
Alumni

Hi @kzD1219,

 

Here is a nice reference page I found on how to use the command line. I hope this helps.

 

F2 is your friend. It will bring up the text window!


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback
0 Likes
Message 4 of 15

kzD1219
Collaborator
Collaborator

By stretching the text window taller, it still makes my coworker have to hit enter on the command line itself to display the information at the bottom of the list window.  So that isn't quite it.

 

And I have read through that website reference and yes we can stretch the command line window all day, but that still doesn't help when he wants to keep the command line from interfering from the rest of the drawing.

 

So I don't want to change the version that you see in the image.  In coworkers version on his computer, instead of showing the very last line "delta x = 73.45801..." it shows "Line    Layer: "boundary-final..." and then on the command line prompts to hit enter to continue to get the next lines of information.  So what I saw is that he had to hit enter 2 times to get the the "delta x = ..." line information. So somewhere must be a setting that will immediately go to the last line of the list on the command line and not the first.

 

Hopefully I didn't confuse you even more.

0 Likes
Message 5 of 15

Anonymous
Not applicable

QAFLAGS = 2

 

maybe??

0 Likes
Message 6 of 15

GrantsPirate
Mentor
Mentor

I am talking about the Text Window that pops up when you use F2 which I mentioned in my first post.  Don't change the command line window, just the text window.


GrantsPirate
Piping and Mech. Designer
EXPERT ELITE MEMBER
Always save a copy of the drawing before trying anything suggested here.
----------------------------------------------------------------------------
If something I wrote can be interpreted two ways, and one of the ways makes you sad or angry, I meant the other one.

0 Likes
Message 7 of 15

Anonymous
Not applicable

Doesn't matter how big the text window is, many commands like LIST and -LAYER will throw a "pause" "Press ENTER to continue:" every 40 lines or so (full screen) unless you set QAFLAGS to 2.

Message 8 of 15

GrantsPirate
Mentor
Mentor

The OP asked about a line.  A line will use about 10 lines in the list display, so making the text window taller does work, or at least it works here.  I can make it ask for the enter every time with it reduced in size.  Stretch it and it won't ask for the enter to continue.   So the OP has two options to choose from.


GrantsPirate
Piping and Mech. Designer
EXPERT ELITE MEMBER
Always save a copy of the drawing before trying anything suggested here.
----------------------------------------------------------------------------
If something I wrote can be interpreted two ways, and one of the ways makes you sad or angry, I meant the other one.

Message 9 of 15

john.vellek
Alumni
Alumni

Hi @kzD1219,

 

I am checking back to see if my post or others helped you with your problem.
Please add a post with how you decide to proceed and your results so other Community members may benefit.

 


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback
0 Likes
Message 10 of 15

pendean
Community Legend
Community Legend
What you want to do is not an option: info is presented from the top, not the bottom, the "press enter to continue" prompt cannot be changed or eliminated.

>>>...I have attached and image of what my list routine does at the command line...<<<
>>>...This is the way the coworker wants it to work...<<<
If your lisp works for you, why not share it with your coworker?
Or are you saying your lisp fails for your cowroker only? If that's the case, why not post your LISP code for everyone to examine it.
0 Likes
Message 11 of 15

whitney_jeff
Collaborator
Collaborator

qaflags = 2 does work, just tried it.

 

@GrantsPirate - stretching the text screen window works too - but I can see that if there is very much info in the list it would be impractical to stretch the textscr.

 

And on my system, LIST opens the textscr as well as displaying the info on the command line (command line is 5 lines high + command).

0 Likes
Message 12 of 15

kzD1219
Collaborator
Collaborator

Got it to work with the stretched text pop up window.

 

But there was more going on with it than I thought.  When coworker used list command there was no pop up window, but it look like the command line expanded upwards.

 

Once he grabbed the command line to expand it even taller, you could see the list pop up window overlapping the command line.

 

So, we pulled the pop up window off to the side, expanded it taller, then closed the window.  When list was run again, the information on the command line completed without hitting enter.

 

Thanks for all the help!

Message 13 of 15

agorodetsk
Contributor
Contributor

That works

0 Likes
Message 14 of 15

Anonymous
Not applicable

FYI

From: https://www.manusoft.com/resources/acadexposed/sysvars.html

 

QAFLAGS

bitcode 0 - 32767*R11

bit 0 (1) : ^C in menu macro cancels grips (acts like keyboard <Esc>).
bit 1 (2) : no pause during text screen listings.
bit 2 (4) : no "alert" dialogs (text display instead).
bit 7 (128) : accepts "screen picks" (point lists) via (command) function.
*Note that this was an integer with range -32768 - 32767 in R11, then it changed to 0 - 32767 in R12.

0 Likes
Message 15 of 15

Anonymous
Not applicable

Thank you @Anonymous . I have obtained the solution from you to my issue.

0 Likes