Sign in Join
Wiki copytemporary

Textmode IDE: what changed

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

OldNewLine
11[[How to get the fpc ide running under Mac OS X]]\
22
33Terminals, fonts, ESC codes, and why do I get all these funny characters: [[Terminal & Fonts]]
44
55Noticed TCRT does not give proper results in Darwin terminal.app. Using DEC control codes, some of them can be done.
66
77White on black: Write( ESC, '\[7m' ); Bright on black: Write( ESC, '\[7;1m' );
88
99## How to get a bigger textmode screen under Windows?
1010
1111Adapt 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:
1212
13-`MODE CON COLS=132 LINES=70`\
14-`fp`
13+```text
14+MODE CON COLS=132 LINES=70
15+fp
16+```
1517
1618## How to change codepage locally under Windows?
1719
1820This 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):
1921
2022- set the console font to Lucida Console
2123- execute chcp 850
2224- start the IDE
2325
2426## Physical Terminal (udev) problems
2527
2628From <http://bugs.freepascal.org/view.php?id=10758> :
2729
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'`
30+```text
31+There appears to be an additional wrinkle when using a user virtual terminal.
32+Symptoms: The User Screen overwrites the IDE screen.
33+Analysis: In ~/ide/fpusrscr.pas source code, in 'constructor TLinuxScreen.Init;', where FName = '/dev/vcsa/x'
34+```
3135
32-`TYFd:= fpOpen(FName, &666, O_RdWr); `
36+``` pascal
37+TYFd:= fpOpen(FName, &666, O_RdWr);
38+```
3339
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 ?`
40+```text
41+always returns a '-1' due to the standard udev permissions for /dev/vcc/a* .
42+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:
43+original:
44+KERNEL=="vcsa[0-9]*", NAME="vcc/a%n", SYMLINK+="%k", GROUP="tty"
45+to:
46+KERNEL=="vcsa[0-9]*", NAME="vcc/a%n", SYMLINK+="%k", GROUP="tty", MODE="666"
47+Other: Maybe there is an underlying incompatibility between grab_vcsa and udev ?
48+```
4149
4250## See also
4351
4452- [[Textmode IDE development]]
4553
4654---
4755*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