• Welcome to OS2World OLD-STATIC-BACKUP Forum.
 

News:

This is an old OS2World backup forum for reference only. IT IS READ ONLY!!!

If you need help with OS/2 - eComStation visit http://www.os2world.com/forum

Main Menu

CLI text editor

Started by pphhee, 2008.05.24, 14:58:36

Previous topic - Next topic

pphhee

Hello,

I try to activate ACPI.
During this process (trial and error), I need to find out the right parameters for the config.sys line.
And when the wrong parameter is entered, my system hangs during boot.

The only way to let it boot again, is changing (rem out) the just modified line in config.sys.

But to do this, I need to boot in command line (Management console with the install CD).
Or :
Boot with ALT-F1 (recovery choises)  and chose F2 (Go to command line)
When I do this, I get the command line very fast ! (;-) )
But : when I want to edit config.sys, I need to enter     " e config.sys"
And this line starts the texteditor IN my gui (and desktop !)
But I lose immediatly the focus from the texteditor (wallpaper appears, and can not get the focus back to the texteditor)
I need to press ctrl-esc
what gives me an application fault on the program desktop, and I must chose "close application".
I must do this at least 3 times, and then I get the focus back on the texteditor and do my changes.

To shutdow/restart :

There is only 1 solution :

2 x CAD !  :-(

Is someone who has a more convient solution ?

Patrick



bjorso

Hi,

Use your CD to boot the system, on the CD there is a small editor called tedit, you can easily do changes with that tool to any textfile and start the system again, this time without the CD. I used that when ACPI 3.06 caused my system the trap when two kernels was activated.

Go to a commandline from the CD and you'll find it.

//Bjorso


jep

Hello,

As Bjorso mentioned, use tedit.

If you can boot to command line as you describe when the ██OS/2 or ██eCS (Alt+F1) is visible at the top left, do it, then type tedit config.sys Press ESC so that you can edit the code and use F2 to save and F3 to quit file (just as in epm).

//Jan-Erik

pphhee

Hello,

Thanks ! !

This is very helpfull !

phe

Ben

The SemWare Editor Junior/2 (TSE Jr/2) - version 4.0, is by far and away the best CLI editor for OS/2.

TEDIT is... OKAY, but Q, (as it's generally called), blows the doors off of it, with many more features and being much more user friendly.

The whole TSE directory is only slightly more that 0.5 meg in size.

I hope this helps you.

sdennis

Quote from: Ben on 2008.05.26, 18:27:16
The SemWare Editor Junior/2 (TSE Jr/2) - version 4.0, is by far and away the best CLI editor for OS/2.

Okay, now where can I get it and can I get it registered? <G>

--Sean
OS/2: Shuts gates, opens windows.

Shai

I prefer FTE as a console editor for OS/2. It's a powerful text editor for programmers.
http://hobbes.nmsu.edu/cgi-bin/h-search?sh=1&button=Search&key=fte-03-02-08.zip&stype=all&sort=type&dir=%2F
Of course there's TECO - a mixup of a text editor and a programming language. You can write programs to do complex text transformations in a few keystrokes (that way old-fashioned text editing is possible. too). TECOC is one of the projects I want to pick up and extend someday. OS/2 binaries available here: http://almy.us/teco.html

cheers,
Robin

ddan

I can divert a thread with the best, but despite this thread's title, the previous three posts seem to get a little off the original topic of fixing CONFIG.SYS.

TEDIT may be ALL that you have, particularly if installing. It's peculiar, but not difficult to learn by using its F1 help. (Getting OUT of its help is another matter: I tried <escape>, searched the rest of the help screens, then flailed around until found that F4 got me back to editing. I've seen only a few programs that tell the most basic function of how to exit up front, and have sometimes had to re-boot DOS just to ESCAPE from a program that I was trying out for the first time.)

Anyway, the thread began with this fellow not even knowing that TEDIT existed. It's an all too common problem. Those who've long known such basics have difficulty even remembering that much is ENTIRELY unknown to someone with a problem.

RobertM

Some great things about tedit is those using Warp 4 can figure out how to fit it on the install disks, it's in all the new installs, it doesnt require anything but an OS/2  text session, it's Tiny (hence the t in the name if memory serves)... and though the "interface" isnt necessarily intuitive at first, the help system is top notch on explaining how to do things.

-R


|
|
Kirk's 5 Year Mission Continues at:
Star Trek New Voyages
|
|