unit crt cause the display shift right
Original Reporter info from Mantis: kandu
-
Reporter name: ZAN DoYe
Original Reporter info from Mantis: kandu
- Reporter name: ZAN DoYe
Description:
To use ls directly, the screenshot:
[kandu@bomb ~]$ ls
bak Desktop Downloads Media t t.pas
bin Documents Dropbox pro t.o 雜亂的筆記本
[kandu@bomb ~]$
then I call ls in fpc:
uses unix; begin sehl('ls'); end.
This one works well, the screenshot is the same as the above. But if add unit crt, e.g.
uses crt,unix; begin shell('ls'); end.
the screenshot will be:
[kandu@bomb ~]$ ./t
bak Desktop Downloads Media t t.pas
bin Documents Dropbox pro t.o 雜亂的筆記本
[kandu@bomb ~]$
I've test this program in gnome-terminal xterm and console.
Mantis conversion info:
- Mantis ID: 18037
- OS: ArchLinux
- OS Build: 2.6.35
- Build: 2010/11/12
- Platform: x86_64
- Version: 2.4.3