nag

Show:

What's happening?

  • Editing multi-line commands

    Hi, This is request for feature addition for editing the multi-line commands. When dealing with commands that extend beyond one line editing (such as deleting/traversing using arrow keys) features are not working properly. Eg: Snapshot --------------------------- cli>abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxy zabcdefghijklmnopqrs Now when started deleting...

    2008-10-06 07:01:38 UTC in libcli

  • Problem in Length handling + cli_build_shortest

    Hi, Still I could see a problem in handling the length in Building the shortest. Assume 2 commands ip, ip-defaultgateway. In this case min length to distinguish will be 3 according to the logic while (*cp && *pp && *cp++ == *pp++) len++; means truly speaking we have to enter min of 3 characters to distinguish between two commands mentioned above. which is impossible as the length of...

    2008-09-16 12:41:28 UTC in libcli

  • Comment: Up and down Arrow keys are not working properly

    Fix for this Bug -------------------------------------------------- This arised because of not tracking the history index variable in_history in cli_loop() function. Fix: int cli_loop(struct cli_def *cli, int sockfd) { %%%%%if (cli->state == STATE_LOGIN) %%%%%{ %%%%%} %%%%%else if (cli->state == STATE_PASSWORD) %%%%%{ %%%%%} %%%%%else if (cli->state == STATE_ENABLE_PASSWORD...

    2008-09-16 10:23:47 UTC in libcli

  • Up and down Arrow keys are not working properly

    Hi, I am using this libcli in my academic projects. thanx to the functionalities provided by libcli. but i think there is still room for the improvement. Up and Down arrow keys are not displaying the recently executed commands in an order. they are displaying in a random fashion.

    2008-03-04 10:58:01 UTC in libcli

About Me

  • 2008-03-04 (2 years ago)
  • 2026802
  • nag442 (My Site)
  • nag

Send me a message