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

 

JavaScript rollover. Image swap

 

Example n.1 ( For modern web browsers: Internet Explorer 4.0+, Firefox 1.0+, Google Chrome, Opera 4.0+, Safari 3.1+, SeaMonkey 1.0+, [ 3 ] ): HTML / XHTML. Code: <a href="javascript-rollover-image-swap.htm" onmouseover="image_over();" onmouseout="image_out();"><img src="out.gif" class="image" id="imageout" width="728" height="67" alt="JavaScript rollover. Image swap" /></a> CSS. Code: .image {border: 0px;} JavaScript. Code: imageout=new Image(); imageout.src="out.gif"; imageover=new Image(); imageover.src="over.gif"; function image_out(){ document.images['imageout'].src='out.gif'; }; function image_over(){ document.images['imageout'].src='over.gif'; }; Swap image 1 ( out.gif ): Swap image 2 ( over.gif ): Example n.2 ( For older web browsers: Internet Explorer 4.0+, Netscape 3.04+, Opera 3.21+ ): HTML / XHTML. Code: <a href="javascript-rollover-image-swap.htm" onmouseover="image_over();" onmouseout="image_out();"><img src="out.gif" class="image" id="imageout" name="imageout" width="728" height="67" border="0" alt="JavaScript rollover. Image swap"></a> JavaScript.

Lynx browser. Creating sitemap.xml

 

There are more than few online services for sitemap.xml generation. But it is also possible to do it yourself, by means of lynx web browser and several Linux command line utilities. An example bash script employing them, named "sitemap.sh" is described below. Bash script creating a sitemap.xml file: #!/bin/bash cd /home/me/sitemap/www/ lynx -crawl -traversal -accept_all_cookies -connect_timeout=30 http://www.compmiscellanea.com/ > /dev/null cd /home/me/sitemap/www2/ lynx -crawl -traversal -accept_all_cookies -connect_timeout=30 http://compmiscellanea.com/ > /dev/null cat /home/me/sitemap/www2/traverse.dat >> /home/me/sitemap/www/traverse.dat cat /home/me/sitemap/www/traverse.dat | sed -e 's/\<www\>\.//g' | sort | uniq > /home/me/sitemap/sitemap/sitemap.xml sed -i 's/\&/\&amp\;/g' /home/me/sitemap/sitemap/sitemap.xml sed -i "s/'/\&apos\;/g" /home/me/sitemap/sitemap/sitemap.xml sed -i 's/"/\&quot\;/g' /home/me/sitemap/sitemap/sitemap.xml sed -i 's/>/\&gt\;/g' /home/me/sitemap/sitemap/sitemap.xml sed -i 's/</\&lt\;/g' /home/me/sitemap/sitemap/sitemap.xml sed -i 's/http:\/\//http:\/\/www\./g' /home/me/sitemap/sitemap/sitemap.xml sed -i -e 's/^/<url><loc>/' /home/me/sitemap/sitemap/sitemap.xml sed -i -e 's/$/<\/loc><\/url>/' /home/me/sitemap/sitemap/sitemap.xml sed -i -e '1 i <?xml version="1\.0" encoding="UTF-8"?>\r\r<urlset xmlns="http:\/\/www\.sitemaps\.org\/schemas\/sitemap\/0\.9" xmlns:xsi="http:\/\/www\.w3\.org\/2001\/XMLSchema-instance" xsi:schemaLocation="http:\/\/www\.sitemaps\.org\/schemas\/sitemap\/0\.9 http:\/\/www\.sitemaps\.org\/schemas\/sitemap\/0\.9\/sitemap\.xsd">\r\r<!-- created by sitemap.sh from http:\/\/www.compmiscellanea.com\/en\/lynx-browser-creating-sitemap.xml\.htm -->\r\r' /home/me/sitemap/sitemap/sitemap.xml sed -i -e '$ a \\r</urlset>' /home/me/sitemap/sitemap/sitemap.xml sed -i '/static/d' /home/me/sitemap/sitemap/sitemap.xml echo "...Done" After the bash script file is prepared: "chmod +x sitemap.sh" to make it executable. Download sitemap.sh in sitemap.sh.tar.gz archive ( After downloading and unpacking it, put a web site name with "www" instead of http://www.compmiscellanea.com/ and a web site name without "www" instead of http://compmiscellanea.com/ in the file. Replace "static" in the last line of the file by a string unnecessary links should possess to be removed. Then "chmod +x sitemap.sh". Then run sitemap.sh ). Commentary Download sitemap2.sh with line by line commentary in sitemap2.sh.tar.gz archive. Before running the bash script, three folders should be created. Since lynx browser may miss some links if a web site domain name to be crawled is put with or without "www", bash script runs lynx twice, crawling the web site by its name with "www" and crawling the web site by its name without "www". The two result files are put into two of these separate folders, here they are "/home/me/sitemap/www/" and "/home/me/sitemap/www2/". And "/home/me/sitemap/sitemap/" is for sitemap.xml created in the end. 1. Path to bash: #!/bin/bash 2. Going to a folder - lynx browser is going to put there the files obtained from crawling a web site with "www" in its name: cd /home/me/sitemap/www/ 3. Running lynx browser to crawl a web site.