473,378 Members | 1,571 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

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 2507
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\system32\ (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\system32\ (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 "compatibility 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
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
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
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
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",...
2
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...
3
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...
4
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...
6
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...
66
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...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.