VE Tekst Editor za win32
VE je tekst editor za Linuks, DOS i Mac OS X. Zvanična prezentacija se nalazi na sledećoj adresi: http://www.campbell-tx.net/campbellware/ve.html. Info sa zvanične strane:
VE (Visual Editor) – Lean, Powerful xterm/console Text Editor
Key capabilities of VE:
- Small, fast, tight implementation (executable is only 70K)
- Strong large file and multi file support (up to 256 simultaneous files)
- Universal undo
- Horizontal scrolling for files with lines longer than display/window
- Support for chars, words, lines, paragraphs, files
- On-the-fly and after-the-fact text formatting
- Support for both line oriented and column oriented (rectangular) text areas
- Support for interactively defined macros
- No complex installation required – just unpack tarball and run included executable
- Much, much more…
Počeo sam nativni port na win32 koristeći MinGW. U nastavku članka više o postupku i statusu.
Dosadašnji koraci:
- prepravljanje Makefile datoteke za MinGW
- implementacija scandir() i alphasort() funkcija (source preuzet iz Hatari emulatora)
- Manje prepravke tu i tamo
Dosadašnji rezultati:
- Program se pokreće pod Windowsom
- Program ne radi pod Wineom i izlazi sa greškom:
Text | copy code | ? 1 LINES value must be >= 2 and <= 30939: got -1
2 initscr(): Unable to create SP
- Taster „Enter“ se nepravilno registruje. Neka ncurses <-> pdcurses razlika? Ili možda Linux/Win encoding razlike (lf vs. cr/lf)?
Dalji koraci:
- Eliminisati problem sa enter tasterom
- Bolje integrisati scandir kod iz Hatarija
- Prilagoditi ncurses kod pdcurses sintaksi
- Poboljšati kompatibilnost sa Wine komandnom emulacijom
- Proveriti da li VE koristi LF ili CR/LF
Screenshot porta:

Koja je razlika između DOS verzije i Win32 porta
- DOS verzija NIJE verzija za Windows komandnu liniju. To je verzija za DOS operativni sistem. DOS sam po sebi ima brojna ograničenja koja Windows konzolna linija nema.
- DOS nema podršku za duga imena datoteka (LFN)
- DOS ima ograničenja veličine datoteka