Kompx.com or Compmiscellanea.com

Windows console applications. Text editors

Operating systems : Windows

FTE : JED : MinEd : Nano : MS-DOS Editor

Initially, all text editors did not have a graphical interface. And work with text almost from the outset was one of the main types of user activity on computer. With the invention and spread of low-level and especially high-level programming languages, text editor has become an important working tool of professionals. Then, other users had to use text editors for their daily tasks. So by the time the programs with GUI started to be wide spread, the concept of text editor was already well developed, there were mature, well-designed and implemented specimens of applications for text editing without graphical user interface. Why the text-based versions coexisted with GUI-based ones for very long and still graphical user interface programs have not replaced the console / text-based applications.

While the average user is not aware of their existence, he / she does not know the power of vim or emacs, often even MS-DOS Editor, built in all the 32-bit versions of Windows is unknown, none the less, console text editors continue to exist and be developed. As it is the case with the text web browsers, the main line of text-based text editors development is in Linux and other *nix systems world. But under Windows as well, there are several interesting applications.

FTE - / home page /

Console text editor. Version for Linux, some other *nix systems, DOS, Windows, OS/2.

Syntax highlighting support for: C, C++, Java, Perl, Sh, Pascal, SQL, Assembly, PHP, Python, REXX, Ada, Fortran, IDL, LinuxDoc, TeX, TeXInfo, HTML, etc. ASCII table. Various facilities for coding and errors handling. Copying words, characters or text blocks is in the same mode and by the same keyboard shortcuts (except Ctrl+A) as in major Windows text editors with graphical user interface - plus, there may be other variations.

FTE 0.49.13:

Open file

Image : FTE - 1

FTE 0.49.13:

A submenu

Image : FTE - 2

FTE 0.49.13:

Settings

Image : FTE - 3

FTE 0.49.13:

Opened .php file

Image : FTE - 4

FTE 0.49.13:

Opened .htm file

Image : FTE - 5

FTE 0.49.13:

Opened C code

Image : FTE - 6

JED - / home page /

Console text editor. Version for Linux, some other *nix systems, QNX, OS/2, BeOS, OpenVMS, DOS, Windows.

Syntax highlighting support for: C, C++, FORTRAN, TeX, HTML, SH, python, IDL, DCL, NROFF, etc. JED can emulate Emacs, EDT, Wordstar, Borland, Brief. C-like S-Lang language for extra settings possibilities and extensions. Search and replace across multiple files ( More ).

JED 0.99.18:

Open file

Image : JED - 1

JED 0.99.18:

A submenu

Image : JED - 2

JED 0.99.18:

Help submenu

Image : JED - 3

JED 0.99.18:

Opened .php file

Image : JED - 4

JED 0.99.18:

Opened .htm file

Image : JED - 5

JED 0.99.18:

Opened C code

Image : JED - 6

MinEd - / home page /

Console text editor. Version for Linux, Solaris, some other *nix systems, DOS, Windows.

Unicode support. Capability of editing files with mixed text encoding. Support for diacritical marks of scripts based on Latin, Cyrillic, Vietnamese. Support for left-to-right and right-to-left scripts. Support for CJK with auto detection of encodings. Word wrap with various nuances. In case of an external interrupt, panic handling saving of the text to a panic file if possible ( More ).

MinEd 2011.19.2:

Open file

Image : MinEd - 1

MinEd 2011.19.2:

A submenu

Image : MinEd - 2

MinEd 2011.19.2:

Settings

Image : MinEd - 3

MinEd 2011.19.2:

Opened .php file

Image : MinEd - 4

MinEd 2011.19.2:

Opened .htm file

Image : MinEd - 5

MinEd 2011.19.2:

Opened C code

Image : MinEd - 6

Nano - / home page /

Console text editor. Version for Linux, Solaris, some other *nix systems, Windows.

Version of the Pico text editor from the Pine e-mail client ( More ).

Nano 2.2.6:

Open file

Image : Nano - 1

Nano 2.2.6:

Cursor position info

Image : Nano - 2

Nano 2.2.6:

Help

Image : Nano - 3

Nano 2.2.6:

Opened .php file

Image : Nano - 4

Nano 2.2.6:

Opened .htm file

Image : Nano - 5

Nano 2.2.6:

Opened C code

Image : Nano - 6

MS-DOS Editor - / home page /

Console text editor. Version for DOS, Windows.

Text editor which appeared as far back as in DOS 5.0 and still remaining the built-in editor in all 32-bit Windows. Commonly called just edit and can be launched either by typing it into the Run command dialog on Windows or by typing edit into the command-line interface (cmd, Console). Windows version can edit files of up to 5 MB in size. Copying words, characters or text blocks is in the same mode and by the same keyboard shortcuts (except Ctrl+A) as in major Windows text editors with graphical user interface. Colors of the interface scheme are customizable.

MS-DOS Editor 2.0.026:

Open file

Image : MS-DOS Editor - 1

MS-DOS Editor 2.0.026:

A submenu

Image : MS-DOS Editor - 2

MS-DOS Editor 2.0.026:

Settings

Image : MS-DOS Editor - 3

MS-DOS Editor 2.0.026:

Opened .php file

Image : MS-DOS Editor - 4

MS-DOS Editor 2.0.026:

Opened .htm file

Image : MS-DOS Editor - 5

MS-DOS Editor 2.0.026:

Opened C code

Image : MS-DOS Editor - 6

Also, DOS text editors may be used. Such as SETEDIT, TDE, PEDIT, MultiEdit, EDITV and others.


Aliosque subditos et thema

 

CSS centering floated elements

 

Centering an inline block containing several inline elements. The block is centered horizontally - [ Open demo page ]. Sometimes there is a need to have a centered group of floated elements, which is to serve as a title or a pagination box. Since this group of floated elements is going to be used as a title for content blocks of various dimensions or pagination box may grow or shrink in its size, then the width of the group of floated elements is to vary unpredictably as well. So a method of centering based on using a certain known width of the box is not going to work. And as an extra to the task there is a desirable condition: the title or pagination box has to be centered once and for all at the time of the box creation, so that this group of floated elements may be reused without any extra work over it: just place the complex where you need it and put the text or / and images you want to inside it - the group is centered anyway. This problem can be solved by several methods using several technologies: CSS, CSS + JavaScript, CSS + HTML (<table></table> tags system). The CSS centering floated elements is the most simple and reliable. So, here a pure CSS centering of floated elements is discussed. CSS centering floated elements: 1. First, a more simple case, css centering of a title box consisting of floated elements: images and text: HTML / XHTML. Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>CSS centering floated elements: 1</title> <meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" /> <link rel="stylesheet" type="text/css" href="css.css" /> </head> <body> <div class="box"> <span class="title-box"> <img src="snowflake.gif" width="37" height="34" alt="" class="title-imgs" /> <span class="title-text">CSS centering floated elements</span> <img src="snowflake.gif" width="37" height="34" alt="" class="title-imgs" /> </span> </div> </body> </html> CSS.

Lynx. Web data extraction

 

Aside from browsing / displaying web pages, Lynx can dump the formatted text of the content of a web document or its HTML source to standard output. And that then may be processed by means of some tools present in Linux, like gawk, Perl, sed, grep, etc. Some examples: Dealing with external links Count number of external links Lynx sends list of links from the content of a web page to standard output. Grep looks only for lines starting with "http:", sends the result further again to grep that picks lines not starting with "http://compmiscellanea.com" and "http://www.compmiscellanea.com" (external links of the web page) out of it, wc counts the number of links extracted and displays it: lynx -dump -listonly "elinks.htm" | grep -o "http:.*" | grep -E -v "http://compmiscellanea.com|http://www.compmiscellanea.com" | wc -l Find external links and save them to a file Lynx sends list of links from the content of a web page to standard output. Grep looks only for lines starting with "http:", sends the result further again to grep that picks lines not starting with "http://compmiscellanea.com" and "http://www.compmiscellanea.com" (external links of the web page) out of it and saves them to a file: lynx -dump -listonly "elinks.htm" | grep -o "http:.*" | grep -E -v "http://compmiscellanea.com|http://www.compmiscellanea.com" > file.txt Find external links, omit duplicate entries and save the output to a file Lynx sends list of links from the content of a web page to standard output. Grep looks only for lines starting with "http:", sends the result further again to grep that picks lines not starting with "http://compmiscellanea.com" and "http://www.compmiscellanea.com" (external links of the web page) out of it, sort sorts them and uniq deletes duplicate entries. The output is saved to a file: lynx -dump -listonly "elinks.htm" | grep -o "http:.*" | grep -E -v "http://compmiscellanea.com|http://www.compmiscellanea.com" | sort | uniq > file.txt Dealing with internal links Count number of internal links Lynx sends list of links from the content of a web page to standard output. Grep looks only for lines starting with "http://compmiscellanea.com" and "http://www.compmiscellanea.com" (internal links), wc counts the number of links extracted and displays it: lynx -dump -listonly "elinks.htm" | grep -E -o "http://compmiscellanea.com.*|http://www.compmiscellanea.com.*" | wc -l Find internal links and save them to a file Lynx sends list of links from the content of a web page to standard output. Grep looks only for lines starting with "http://compmiscellanea.com" and "http://www.compmiscellanea.com" (internal links) and saves them to a file: lynx -dump -listonly "elinks.htm" | grep -E -o "http://compmiscellanea.com.*|http://www.compmiscellanea.com.*" > file.txt Find internal links, omit duplicate entries and save the output to a file Lynx sends list of links from the content of a web page to standard output. Grep looks only for lines starting with "http://compmiscellanea.com" and "http://www.compmiscellanea.com" (internal links), sort sorts them and uniq deletes duplicate entries. The output is saved to a file: lynx -dump -listonly "elinks.htm" | grep -E -o "http://compmiscellanea.com.*|http://www.compmiscellanea.com.*" | sort | uniq > file.txt The reason behind using "lynx -dump -listonly" instead of just "lynx -dump" is that there may be web pages with plain text strings looking like links (containing "http://" for instance) in the text of the content, as it is the case with http://www.kompx.com/en/elinks.htm page.