ATL+TAB shortcut, edit

J

Jean-Pierre Coulon

The shortcut ALT+TAB allows to toggle between two applications. One
of my applications is the good old EDIT, text editor of the DOS,
version 2.0.026, which I use to edit text. I am under XP 5.1.2600

My problem is that when I toggle from EDIT to the other application, EDIT
first interprets the ALT key, and the cursor jumps to the toolbar of EDIT,
and I have to enter ESC or another ALT to go back to my text when I come back
to EDIT.

How can I prevent this feature? This didn't happen in WIN98.
Or can I define one of the F keys to be a toggle command like ALT+TAB?

Regards,

Jean-Pierre Coulon (here "cacas.pam" is what others call "nospam")
 
P

Pegasus \(MVP\)

Jean-Pierre Coulon said:
The shortcut ALT+TAB allows to toggle between two applications. One
of my applications is the good old EDIT, text editor of the DOS,
version 2.0.026, which I use to edit text. I am under XP 5.1.2600

My problem is that when I toggle from EDIT to the other application, EDIT
first interprets the ALT key, and the cursor jumps to the toolbar of EDIT,
and I have to enter ESC or another ALT to go back to my text when I come back
to EDIT.

How can I prevent this feature? This didn't happen in WIN98.
Or can I define one of the F keys to be a toggle command like ALT+TAB?

Regards,

Jean-Pierre Coulon (here "cacas.pam" is what others call "nospam")

By far the simplest way is to stop using edit (which is a legacy
16-bit application) and use notepad instead. This will immediately
solve your problem. It will also allow you to cut & paste from and
to any other Windows application (which you cannot do with DOS
edit).

On the other hand, if you're really fond of old applications, consider
using edlin.exe. It is so antiquated that it will immediately make you
feel at least twenty-five years younger!
 
J

Jean-Pierre Coulon

By far the simplest way is to stop using edit (which is a legacy
16-bit application) and use notepad instead. This will immediately
solve your problem.

Notepad is unable to display the line number and the column number where the
cursor is. Compilers usually complain like this: "line 4523: error...."

And I prefer green characters on a black background. Do you know how to obtain
all this with notepad?

Notepad:
It will also allow you to cut & paste from and to any other Windows
application (which you cannot do with DOS edit).

Right. I use Notepad occasionally for cut&paste.

Jean-Pierre Coulon (here "cacas.pam" is what others call "nospam")
 
P

Pegasus \(MVP\)

Jean-Pierre Coulon said:
Notepad is unable to display the line number and the column number where the
cursor is. Compilers usually complain like this: "line 4523: error...."

And I prefer green characters on a black background. Do you know how to obtain
all this with notepad?

Notepad:

Right. I use Notepad occasionally for cut&paste.

Jean-Pierre Coulon (here "cacas.pam" is what others call "nospam")

I don't think notepad can give you the colour scheme you require
but I'm sure there are many 32-bit text editors around that can.
If I needed one then I would use Google to look for words such
as "text editor windows line number colour". I tried it a moment
ago - it gave me more than one million hits, with several editors
right up the top of the hit list.
 
A

Anando [MVP]

Hello Jean,

Notepad can also display the line and column number. Launch notepad and
click on view > status bar. If you see that 'status bar' is grayed out, you
might have to click on 'format' and uncheck 'word wrap'.

Alright, if you want word wrap and the status bar, a bit of registry editing
is required. Launch the registry editor and navigate to (
HKEY_CURRENT_USER\Software\Microsoft\Notepad ) and on the right pane, double
click on 'fWrap' and 'StatusBar' and change both their values to 1.
Re-launch notepad and you will have the status bar showing line and column
numbers as well as word wrap would be enabled. Hope this helps.

--
Anando
Microsoft MVP- Windows Shell/User
http://www.microsoft.com/mvp

Microsoft Certified Professional
http://www.microsoft.com/mcp

My Blog
http://www.anando.org/blog
 
A

Ayush

Jean-Pierre Coulon wrote ::
Notepad is unable to display the line number and the column number where the
cursor is. Compilers usually complain like this: "line 4523: error...."

Turn on the status bar. (View - Status)
And I prefer green characters on a black background. Do you know how to obtain
all this with notepad?

Display properties - Appearance - Advanced - Window - Color1


Good Luck, Ayush.
 
J

Jean-Pierre Coulon

[...]
And I prefer green characters on a black background. Do you know how to
obtain all this with notepad?

Display properties - Appearance - Advanced - Window - Color1

Works for Notepad, thanks. But which other applications will this modify?

Jean-Pierre Coulon (here "cacas.pam" is what others call "nospam")
 
J

Jean-Pierre Coulon

[...]
Alright, if you want word wrap and the status bar, a bit of registry editing
is required. Launch the registry editor and navigate to (
HKEY_CURRENT_USER\Software\Microsoft\Notepad ) and on the right pane, double
click on 'fWrap' and 'StatusBar' and change both their values to 1. Re-launch
notepad and you will have the status bar showing line and column numbers as
well as word wrap would be enabled. Hope this helps.

Yes this helps. Thanks.

Jean-Pierre Coulon (here "cacas.pam" is what others call "nospam")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top