×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    May 2005
    Posts
    30

    Post Does Symbian console support ANSI.SYS

    hi all
    I would like to know does any concole class in Symbian, for example, CEikConsoleScreen or CConsoleBase support ANSI.SYS standard. I mean does any console mode in Symbian support the key words like "\x1B[...".

  2. #2
    Super Contributor
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    Re: Does Symbian console support ANSI.SYS

    Yes symbian support most of escape characters.

  3. #3
    Registered User
    Join Date
    May 2005
    Posts
    30

    Re: Does Symbian console support ANSI.SYS

    Quote Originally Posted by savaj View Post
    Yes symbian support most of escape characters.
    Thank you, it is realy a comforting news.

  4. #4
    Registered User
    Join Date
    May 2005
    Posts
    30

    Unhappy Re: Does Symbian console support ANSI.SYS

    a sad news. I test the ANSI Escape code(or CSI) on the Symbian S60 SDK 3 emulator using CEikConsoleScreen. The result is really frustrated. It didn't work! partial of my sample codes are below.
    iConsole->SetKeepCursorInSight(TRUE);
    iConsole->DrawCursor();
    iConsole->ConsoleControl()->SetFocus(ETrue, EDrawNow);


    _LIT(KText,"\x1b[5mThis is a console test.%d");
    iConsole->Printf(KText,120);

    and it has no effect on emulator. any suggestion?

  5. #5
    Super Contributor
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    Re: Does Symbian console support ANSI.SYS

    I am not sure about CEikConsoleScreen but it working fine in CConsoleBase. put your constants (i.e. _LIT(KText,"\x1b[5mThis is a console test.%d"); ) global.

  6. #6
    Registered User
    Join Date
    May 2005
    Posts
    30

    Unhappy Re: Does Symbian console support ANSI.SYS

    Quote Originally Posted by savaj View Post
    I am not sure about CEikConsoleScreen but it working fine in CConsoleBase. put your constants (i.e. _LIT(KText,"\x1b[5mThis is a console test.%d"); ) global.
    I started a console mode application in emulation. but it didn't work on emulator. I only add two lines below the hello world example. check it out

    _LIT(KHelloWorldText,"Hello testConsole!\n");
    console->Printf(KHelloWorldText);
    _LIT(KText,"\x1b[7mThis is a console test.%d");
    console->Printf(KText,120);

  7. #7
    Super Contributor
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    Re: Does Symbian console support ANSI.SYS

    Your helloworld is working fine??? Hope u have not removed console->Getch() form E32Main(). Put your _LIT(KHelloWorldText,"Hello testConsole!\n") and _LIT(KText,"\x1b[7mThis is a console test.%d") out of main() function.

Similar Threads

  1. Replies: 2
    Last Post: 2008-01-25, 20:24
  2. Does symbian provide support for RTSP and WMA client implementation?
    By pavanmv in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2007-10-27, 14:20
  3. How can an Symbianapplication find whether a Symbian device support http and socket?
    By anand_zain76 in forum Symbian Networking & Messaging (Closed)
    Replies: 3
    Last Post: 2007-08-16, 15:00
  4. Urgent! Does symbian support DHCP
    By xhsoldier in forum Symbian
    Replies: 6
    Last Post: 2007-06-11, 10:26
  5. Replies: 3
    Last Post: 2003-07-17, 04:11

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×