This is a pretty basic, mostly un-python-related question, although I'm
asking because of Python.
Is there a different shell I can use (other than cmd.com) to run Python
in, where I can full-screen the window (if I pleased), etc? As it is,
things that would run far off the right have to be word wrapped after
very few characters.
Another problem with cmd.com is when I run IPython, if I have an error,
or tab or anything, I get the speaker beep (ala linux) but I can't find
a way to turn it off. This is a huge problem because I cannot disable
my system speaker on my laptop (not even in BIOS like my old one, and
it's an "error", it bypasses the fact that all my sound is muted in
Windows) and I get incredibly loud beeps all the time (because I suck)
which would not be acceptable while I'm coding on the sly in boring
class.
Ideas? The only thing I can think of now is using Putty to SSH into a
machine, no beeps there, and I can resize... but I don't have a machine
to SSH into, much less one with all the stuff I want on it.
Thanks in advance.
Brett 20 2858
Brett Hoerner wrote: Another problem with cmd.com is when I run IPython, if I have an error, or tab or anything, I get the speaker beep (ala linux) but I can't find a way to turn it off. This is a huge problem because I cannot disable my system speaker on my laptop (not even in BIOS like my old one, and it's an "error", it bypasses the fact that all my sound is muted in Windows) and I get incredibly loud beeps all the time (because I suck) which would not be acceptable while I'm coding on the sly in boring class.
I know that problem... it's extremely annoying!
Here's one way to solve it;
1. Start 'Device manager'.
2. On the menu, click 'View' and check off "Show hidden devices"
3. Locate 'Beep' 'under Non-Plug and Play Drivers'
4. Right-click 'Beep', select 'Disable'
Brett Hoerner wrote: This is a pretty basic, mostly un-python-related question, although I'm asking because of Python.
Is there a different shell I can use (other than cmd.com) to run Python in, where I can full-screen the window (if I pleased), etc? As it is, things that would run far off the right have to be word wrapped after very few characters.
I don't know if you absolutely want a shell, but if what you want is a
Python interactive prompt, I find PyShell coming with wxPython really
nice. It has autocompletion and support copy-paste with/without the
preceding >>>.
Regards,
Nicolas
Rune Strand wrote: I know that problem... it's extremely annoying! Here's one way to solve it;
1. Start 'Device manager'. 2. On the menu, click 'View' and check off "Show hidden devices" 3. Locate 'Beep' 'under Non-Plug and Play Drivers' 4. Right-click 'Beep', select 'Disable'
Christ, thanks. When you install Windows it should pop up first thing
and ask if you want to be annoyed, Y/N.
Well, that solves my sound problem (thanks again), now if only I could
stretch the window horizontally. Thats much less of a problem though,
this is at least usable now.
Thanks again, Rune
Brett Hoerner wrote: Is there a different shell I can use (other than cmd.com) to run Python in, where I can full-screen the window (if I pleased), etc? As it is, things that would run far off the right have to be word wrapped after very few characters.
To make the console full screen hit Alt-Enter. The same thing makes it
windowed again. To accommodate very long lines click the "C:\" icon in
the upper left corner of the window, choose "Properties" and then change
the "Screen Buffer Size" Width and Height to something more to your liking.
While you're there I'd recommend turning on "QuickEdit Mode" on the
"Options" tab. Then you can drag with your left mouse button to select
an area of text, right click to copy, then right click again to paste.
--
Benji York
Benji York wrote: To make the console full screen hit Alt-Enter. The same thing makes it windowed again. To accommodate very long lines click the "C:\" icon in the upper left corner of the window, choose "Properties" and then change the "Screen Buffer Size" Width and Height to something more to your liking.
While you're there I'd recommend turning on "QuickEdit Mode" on the "Options" tab. Then you can drag with your left mouse button to select an area of text, right click to copy, then right click again to paste.
Thanks very much, not sure why I always missed those. I guess I was
just frustrated in general. This will make python a lot more
enjoyable.
Brett
Hi,
You might want to check out ipyhton. http://ipython.scipy.org
Regards,
Philippe
Brett Hoerner wrote: This is a pretty basic, mostly un-python-related question, although I'm asking because of Python.
Is there a different shell I can use (other than cmd.com) to run Python in, where I can full-screen the window (if I pleased), etc? As it is, things that would run far off the right have to be word wrapped after very few characters.
Another problem with cmd.com is when I run IPython, if I have an error, or tab or anything, I get the speaker beep (ala linux) but I can't find a way to turn it off. This is a huge problem because I cannot disable my system speaker on my laptop (not even in BIOS like my old one, and it's an "error", it bypasses the fact that all my sound is muted in Windows) and I get incredibly loud beeps all the time (because I suck) which would not be acceptable while I'm coding on the sly in boring class.
Ideas? The only thing I can think of now is using Putty to SSH into a machine, no beeps there, and I can resize... but I don't have a machine to SSH into, much less one with all the stuff I want on it.
Thanks in advance. Brett
Philippe C. Martin wrote: You might want to check out ipyhton.
I use it. :) I love it. When I meant console I meant the shell app
that runs any text-based programs. The windows console was giving me
loud beeps, etc, which I've now fixed.
Thanks for your reply though,
Brett
Ho!
I thought the shell commands in ipython (cd, lx ....) might cut it.
Regards,
Philippe
Brett Hoerner wrote:
Philippe C. Martin wrote: You might want to check out ipyhton.
I use it. :) I love it. When I meant console I meant the shell app that runs any text-based programs. The windows console was giving me loud beeps, etc, which I've now fixed.
Thanks for your reply though, Brett
On 27 Jun 2005 20:13:41 -0700, rumours say that "Brett Hoerner"
<br**********@gmail.com> might have written: Christ, thanks. When you install Windows it should pop up first thing and ask if you want to be annoyed, Y/N.
When you agree to the EULA of Windows, you implicitly say yes to "do you
want to be annoyed"?
Well, that solves my sound problem (thanks again), now if only I could stretch the window horizontally. Thats much less of a problem though, this is at least usable now.
Hm... right-click the cmd.exe window's title bar (or click on the
top-left icon, or press Alt-Space), go to Properties, Layout tab, Window
Size, Width.
--
TZOTZIOY, I speak England very best.
"Dear Paul,
please stop spamming us."
The Corinthians
* Brett Hoerner (2005-06-28 03:44 +0100) Is there a different shell I can use (other than cmd.com) to run Python in [...]
Holy snake, are you running command.com?! Throw away your Windows 3.11
computer and start using cmd.exe.
Another problem with cmd.com is when I run IPython, if I have an error, or tab or anything, I get the speaker beep (ala linux) but I can't find a way to turn it off.
Use rxvt (Cygwin).
Thorsten
The alt-enter tip is handy, although I must say on multiple monitors
it's not so helpful. It full screens all of them (cloned across
screens), at least on my nVidia card. I'm sure you're all sympathizing
with my multiple monitor problem ;-)
On Tue, 27 Jun 2005, Brett Hoerner wrote: Rune Strand wrote:
Christ, thanks. When you install Windows it should pop up first thing and ask if you want to be annoyed, Y/N.
What, and not install if you say no?
Perhaps your best way to get a proper shell on windows is just to install
a proper shell; Cygwin (<http://www.cygwin.com/>) has bash, but it also
installs a bunch of other unixish stuff you might or might not want. This: http://www.steve.org.uk/Software/bash/
looks like a standalone bash, plus ls, mv, cp rm, chmod and less. Here: http://gnuwin32.sourceforge.net/packages.html
you can get various further bits of free software compiled for windows,
including: http://gnuwin32.sourceforge.net/packages/coreutils.htm
the GNU coreutils, which is the 1% of commands you use 99% of the time.
bash + coreutils should do nicely. For a mostly complete GNU development
toolchain, check out MinGW: http://www.mingw.org/
Which, IMHO, is a better solution than Cygwin for general programming.
tom
--
i'm prepared to do anything as long as someone else works out how to do it and gives me simple instructions... -- Sean
[Christos, on widening the Windows Command Prompt] Hm... right-click the cmd.exe window's title bar (or click on the top-left icon, or press Alt-Space), go to Properties, Layout tab, Window Size, Width.
Just to take this thread *completely* off-topic: does anyone know of a way
to scroll a Command Prompt window using the keyboard?
--
Richie Hindle ri****@entrian.com
* Richie Hindle (2005-06-28 14:44 +0100) [Christos, on widening the Windows Command Prompt] Hm... right-click the cmd.exe window's title bar (or click on the top-left icon, or press Alt-Space), go to Properties, Layout tab, Window Size, Width.
Just to take this thread *completely* off-topic: does anyone know of a way to scroll a Command Prompt window using the keyboard?
[Shift+PageUp/Down]: rxvt (Cywin). Unfortunately only per page; if you
want to scroll one line you have to use the scrollbar.
On Tue, 28 Jun 2005 14:44:21 +0100, rumours say that Richie Hindle
<ri****@entrian.com> might have written: Just to take this thread *completely* off-topic: does anyone know of a way to scroll a Command Prompt window using the keyboard?
This comparison page suggests there is no keyboard shortcut to scroll: http://www.xvsxp.com/power_user/terminal/
--
TZOTZIOY, I speak England very best.
"Dear Paul,
please stop spamming us."
The Corinthians
Brett Hoerner wrote: Is there a different shell I can use (other than cmd.com) to run Python in, where I can full-screen the window (if I pleased), etc? As it is, things that would run far off the right have to be word wrapped after very few characters.
I have a pretty exotic setup but I like it a lot. I use Konsole with
Cygwin and the KDE release for Cygwin (that's the only part of KDE that
I use). I love Konsole's tabbed virtual terminals. You can also get
tabbed virtual terminals with mrxvt, which isn't quite so heavyweight,
but Konsole is the most user-friendly terminal I've ever used.
And on top of that, I run emacs, pull up a shell with M-x shell, and
then I can run any program I want, including Python and Jython, and
freely cut and paste between the command line and my editor window.
As far as the beeps go, I go for any "silent bell" option I can find,
and pick the "No sounds" theme in the "Sounds and Audio Devices" control
panel.
Dave
On Tue, 28 Jun 2005 14:44:21 +0100, Richie Hindle <ri****@entrian.com> wrote: [Christos, on widening the Windows Command Prompt] Hm... right-click the cmd.exe window's title bar (or click on the top-left icon, or press Alt-Space), go to Properties, Layout tab, Window Size, Width.
Just to take this thread *completely* off-topic: does anyone know of a way to scroll a Command Prompt window using the keyboard?
Alt-spacebar, e, l, (uparrow/downarrow)*, Esc
(lower case L)--^ ^^^^^^^^^^^^^^^^^--does the scrolling. Esc ends the scrolling mode.
Seems to work for cmd.exe on NT4
Regards,
Bengt Richter
On Sat, 02 Jul 2005 03:55:43 GMT, rumours say that bo**@oz.net (Bengt
Richter) might have written: Alt-spacebar, e, l, (uparrow/downarrow)*, Esc (lower case L)--^ ^^^^^^^^^^^^^^^^^--does the scrolling. Esc ends the scrolling mode.
Damn! it says Scroll in there in the system menu, doesn't it? Talk
about blindness...
Seems to work for cmd.exe on NT4
XP too.
--
TZOTZIOY, I speak England very best.
"Dear Paul,
please stop spamming us."
The Corinthians
[Richie] does anyone know of a way to scroll a Command Prompt window using the keyboard?
[Bengt] Alt-spacebar, e, l, (uparrow/downarrow)*, Esc (lower case L)--^ ^^^^^^^^^^^^^^^^^--does the scrolling. Esc ends the scrolling mode.
[Christos] Damn! it says Scroll in there in the system menu, doesn't it? Talk about blindness...
<aol>Me too!</aol>
Many thanks, Bengt.
--
Richie Hindle ri****@entrian.com This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: masood.iqbal |
last post by:
I know that this topic may inflame the "C language Taleban", but is
there any prospect of some of the neat features of C++ getting
incorporated in C? No I am not talking out the OO stuff. I am...
|
by: Mullin Yu |
last post by:
But, I want is that I can have a Main app that will start a new process or
kill one particular or all process. The process will open a console exe.
But, I don't want the user to close the console...
|
by: James Carnley |
last post by:
I am learning how to use windows forms and I have come across a small
problem. Whenever I run my program it opens a console window before
launching the windows form. The console doesnt go away...
|
by: Mark Allison |
last post by:
Hi,
I have an application that I want to be to run in Console mode and GUI
mode. If no params are entered, I want the GUI fired up, if params are
entered, then go into console mode.
I believe...
|
by: Barry Mossman |
last post by:
Hi,
can I detect whether my class is running within the context of a Console
application, vs say a WinForm's application ?
also does anyone know whether the compiler or runtime is smart enough...
|
by: MumboJumbo |
last post by:
Hi I have a really basic question hopefully some can help me with:
Can you write a (i.e. one) C# project that works from the cmd line and gui?
I seems if i write a GUI app it can't write to...
|
by: lavu |
last post by:
I currently have a C# windows Application . I would like this App to
work through an command line interface also. I would like to specify
command line params, which should start the app and process...
|
by: Peter Nimmo |
last post by:
Hi,
I am writting a windows application that I want to be able to act as if
it where a Console application in certain circumstances, such as error
logging.
Whilst I have nearly got it, it...
|
by: Michael C |
last post by:
Is it possible to have an app that is both a console app and a windows app?
If there are no command line switches then it will run as a console app, if
there are command line switches then it will...
|
by: Dilip |
last post by:
Hi All
I have a server based C# console application. This application must
hide its console window when its launched out on the field. So I
dutifully P/Invoke'd FindWindow/ShowWindow...
|
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,...
|
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...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
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...
|
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,...
|
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...
| |