Sign in Join
Wiki copytemporary

Textmode IDE: what changed

Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.

Title: Textmode IDE

OldNewLine
1+[[How to get the fpc ide running under Mac OS X]]\
2+
3+Terminals, fonts, ESC codes, and why do I get all these funny characters: [[Terminal & Fonts]]
4+
5+Noticed TCRT does not give proper results in Darwin terminal.app. Using DEC control codes, some of them can be done.
6+
7+White on black: Write( ESC, '\[7m' ); Bright on black: Write( ESC, '\[7;1m' );
8+
9+## How to get a bigger textmode screen under Windows?
10+
11+Adapt the properties of the IDE shortcut (set a 7 bit wide font if needed), or, if you prefer to execute from the command line, make a batch file that contains:
12+
13+`MODE CON COLS=132 LINES=70`\
14+`fp`
15+
16+## How to change codepage locally under Windows?
17+
18+This has never been confirmed, but the sequence below was recommended to a Japanese IDE user who had the default codepage set to Japanese, while the IDE requires CP437 (Mantis 9649):
19+
20+- set the console font to Lucida Console
21+- execute chcp 850
22+- start the IDE
23+
24+## Physical Terminal (udev) problems
25+
26+From <http://bugs.freepascal.org/view.php?id=10758> :
27+
28+`There appears to be an additional wrinkle when using a user virtual terminal.`\
29+`Symptoms: The User Screen overwrites the IDE screen.`\
30+`Analysis: In ~/ide/fpusrscr.pas source code, in 'constructor TLinuxScreen.Init;', where FName = '/dev/vcsa/x'`
31+
32+`TYFd:= fpOpen(FName, &666, O_RdWr); `
33+
34+`always returns a '-1' due to the standard udev permissions for /dev/vcc/a* .`\
35+`Brute force work-around: As root, chmod 666 /dev/vcc/a*" or edit /etc/udev/rules.d/50-udev.rules to make the permissions at boot:`\
36+`original:`\
37+`KERNEL=="vcsa[0-9]*", NAME="vcc/a%n", SYMLINK+="%k", GROUP="tty"`\
38+`to:`\
39+`KERNEL=="vcsa[0-9]*", NAME="vcc/a%n", SYMLINK+="%k", GROUP="tty", MODE="666"`\
40+`Other: Maybe there is an underlying incompatibility between grab_vcsa and udev ?`
41+
42+## See also
43+
44+- [[Textmode IDE development]]
45+
46+---
47+*From the Free Pascal wiki, page "Textmode IDE", as it stood on 2022-01-28 after a change by Alextp, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*

Back to history