473,756 Members | 3,482 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

print help content in a Command Prompt

Hi,
This is a basic problem, but I want to print help content in a Command
Prompt in WinXP and scrolling back to see the first lines. If I start
a command prompt and run python, and then for example,
>>help(list)
it starts showing the help, which can be controlled by page or raw
using Spacebar or Enter but after this ends, it seems that I can't
scroll back to see again the first lines.
In the Command Prompt Properties, layout tab, my Screen buffer size
is Width:80, Height:3000 and windows size 80x40 (W&H).

Any idea...? thanks in advance!!
/Ben
Feb 25 '08 #1
4 2540
On Feb 25, 11:15 am, bkamr...@gmail. com wrote:
Hi,
This is a basic problem, but I want to print help content in a Command
Prompt in WinXP and scrolling back to see the first lines. If I start
a command prompt and run python, and then for example,
>help(list)

it starts showing the help, which can be controlled by page or raw
using Spacebar or Enter but after this ends, it seems that I can't
scroll back to see again the first lines.
In the Command Prompt Properties, layout tab, my Screen buffer size
is Width:80, Height:3000 and windows size 80x40 (W&H).

Any idea...? thanks in advance!!
/Ben
With an 80x300 Buffer on a 80x25 Window Size I can see the help
perfectly fine just by scrolling up on the scrollbar... It seems
rather odd that your prompt would act any differently.
Feb 25 '08 #2
25 February 2008 Monday 11:15:14 tarihinde bk******@gmail. com şunları yazmıştı:
Hi,
This is a basic problem, but I want to print help content in a Command
Prompt in WinXP and scrolling back to see the first lines. If I start
a command prompt and run python, and then for example,
>help(list)
it starts showing the help, which can be controlled by page or raw
using Spacebar or Enter but after this ends, it seems that I can't
scroll back to see again the first lines.
In the Command Prompt Properties, layout tab, my Screen buffer size
is Width:80, Height:3000 and windows size 80x40 (W&H).

Any idea...? thanks in advance!!
/Ben
Try PgUp when in Python help view.

Try "python -c 'help(list)'" to get the help without Python prompt.
Feb 25 '08 #3
On Feb 25, 12:59 pm, Necmettin Begiter <necmettin.begi ...@gmail.com>
wrote:
25 February 2008 Monday 11:15:14 tarihinde bkamr...@gmail. com þunlarý yazmýþtý:
Hi,
This is a basic problem, but I want to print help content in a Command
Prompt in WinXP and scrolling back to see the first lines. If I start
a command prompt and run python, and then for example,
>>help(list)
it starts showing the help, which can be controlled by page or raw
using Spacebar or Enter but after this ends, it seems that I can't
scroll back to see again the first lines.
In the Command Prompt Properties, layout tab, my Screen buffer size
is Width:80, Height:3000 and windows size 80x40 (W&H).
Any idea...? thanks in advance!!
/Ben

Try PgUp when in Python help view.

Try "python -c 'help(list)'" to get the help without Python prompt.
Even this doesn't help. But I think I've found a reason for this.
If I change the "start in" directory to C:\WINDOWS\syst em32\ (this is
where the cmd.exe file is located), then the printed text doesn't get
hide. Don't ask me why...

Thanks anyway,
/Ben
Feb 25 '08 #4
En Mon, 25 Feb 2008 10:18:19 -0200, <bk******@gmail .comescribió:
On Feb 25, 12:59 pm, Necmettin Begiter <necmettin.begi ...@gmail.com>
wrote:
>25 February 2008 Monday 11:15:14 tarihinde bkamr...@gmail. com şunları
yazmıştı:
Hi,
This is a basic problem, but I want to print help content in a Command
Prompt in WinXP and scrolling back to see the first lines. If I start
a command prompt and run python, and then for example,
>>help(list)
it starts showing the help, which can be controlled by page or raw
using Spacebar or Enter but after this ends, it seems that I can't
scroll back to see again the first lines.
In the Command Prompt Properties, layout tab, my Screen buffer size
is Width:80, Height:3000 and windows size 80x40 (W&H).
Any idea...? thanks in advance!!
/Ben

Try PgUp when in Python help view.

Try "python -c 'help(list)'" to get the help without Python prompt.

Even this doesn't help. But I think I've found a reason for this.
If I change the "start in" directory to C:\WINDOWS\syst em32\ (this is
where the cmd.exe file is located), then the printed text doesn't get
hide. Don't ask me why...
I usually open a new console pressing [windows key]+R, "run", no "start
in" directory is involved.
I've seen that after executing a 16-bit program, the console "switches" to
16 bit "compatibil ity mode", or something like that. The prompt is
displayed using short file names, and the screen buffer is disabled.

--
Gabriel Genellina

Feb 26 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
1524
by: p.nagarajkumar | last post by:
my question is i have parsed the xhtml data stream using c i need to diplay the content present in the command prompt as the data present in the webpage as links how it can be done?
3
2731
by: hycn office | last post by:
how to print with pre-define preference such as margin and page size ? and a quick Question , the function call to save as thanks ~~~~~~~
2
16017
by: dan | last post by:
This works in mozilla but I can't figure out why this won't work in IE. Say I have this html <html> header goes here header goes here
4
9742
by: Salty Dog | last post by:
No error or any feedback that I can work with. Code: set objShell = Server.CreateObject("WScript.Shell") objShell.Run "%comspec% /c NET PRINT \\Garchive\ISLaser >c:\WUTemp\Printer_Status1.txt", 0, True objShell.Run "%comspec% /c PRINT /d:\\Garchive\ISLaser c:\WUTemp\test.txt", 0, True Set objShell = nothing
2
1959
by: Rainbow | last post by:
I know that print funciton will be available in the application for each type of file. My question is, can I print a file(any type, e.g. word, bmp, html, etc) in program? No printer dialog should be prompted. Can this be done?
3
5676
by: Rog | last post by:
Yes, I am guessing that typing cmd in the run windows will bring up the command prompt, but not the vs.net command prompt. Is there a switch(s) for accessing the vs.net command prompt? Or do you get to it from the VS.net IDE? Thanks, Rog
4
2839
by: Thomas Johnson | last post by:
I am trying to find out how to access the VS 2003 .Net command prompt. I am trying to execute the 'csc' command against a module but have no idea where to find the command prompt. Here's a stupid question --> Could this actually be the MSDOS CMD prompt that I cann access from the start run command?? Thanks in advance. . .Tom Johnson *** Sent via Developersdex http://www.developersdex.com ***
6
17003
by: Jwolf | last post by:
I have .net 2002 edu version and when it installed there was a shortcut to the .net command prompt. My CLR disk is scratched so I can't reinstall and so I just downloaded express. I dont know how to access the command prompt so I can compile basic files from this book I'm reading. I found this really cool resource here that would save me a lot of typing by being able to sense which directory I'm in...
66
8189
by: happyse27 | last post by:
Hi All, my html code is sno 1) and perl code is sno 2). a) I tried to print $filename and it cant print out the value, only blank was displayed, and the file could not be uploaded. And it didnt display the html after the perl script executed. Using perl 5.1 and apache 2.2.9 version(apache installed and run without any errors and no warning, perl tested fine) b) Also, when i clicked the html code to submit the upload of the...
0
9287
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10046
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9886
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8723
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7259
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6542
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5155
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3817
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2677
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.