Apache Geronimo > Discussion Forums  User List | Dev List | Wiki | Issue Tracker  

[jira] Created: (GSHELL-109) GShell fails to retrieve the previous commands if the command is too long

View: New views
6 Messages — Rating Filter:   Alert me  

[jira] Created: (GSHELL-109) GShell fails to retrieve the previous commands if the command is too long

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

GShell fails to retrieve the previous commands if the command is too long
-------------------------------------------------------------------------

                 Key: GSHELL-109
                 URL: https://issues.apache.org/jira/browse/GSHELL-109
             Project: GShell
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: CLI
    Affects Versions: 1.0-alpha-2
         Environment: Windows
            Reporter: YunFeng Ma
            Assignee: Jason Dillon
             Fix For: 1.0-alpha-2


Run the following command in GShell:

----------------------------------
MaYunFeng@IBM-9418A58D694:/> deploy/deploy H:/FTP_ROOT/Build/Pre-Version/sample_v
2.0.0.1_GM/200711082220GM/samples-2.0.0.1/applications/cviewer/target/cvie
wer-2.0.0.1.war
----------------------------------

Note that the command is broken into three lines, then using the "up" button to retrieve the previous commands
and get the following result:

----------------------------------
MaYunFeng@IBM-9418A58D694:/> deploy/deploy H:/FTP_ROOT/Build/Pre-Version/sample_V
2.0.0.1_GM/200711082220GM/samples-2.0.0.1/applications/cviewer/target/cvie

quit
----------------------------------

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GSHELL-109) GShell fails to retrieve the previous commands if the command is too long

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/jira/browse/GSHELL-109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12590870#action_12590870 ]

Jason Dillon commented on GSHELL-109:
-------------------------------------

From what it looks like you are pasting in 3 lines, so sure, the completion returns them as separate lines.  You should update your shell/terminals configuration so that when you copy/paste lines which are long that they don't softwrap them for you.

> GShell fails to retrieve the previous commands if the command is too long
> -------------------------------------------------------------------------
>
>                 Key: GSHELL-109
>                 URL: https://issues.apache.org/jira/browse/GSHELL-109
>             Project: GShell
>          Issue Type: Bug
>      Security Level: public(Regular issues)
>          Components: CLI
>    Affects Versions: 1.0-alpha-2
>         Environment: Windows
>            Reporter: YunFeng Ma
>            Assignee: Jason Dillon
>             Fix For: 1.0-alpha-2
>
>
> Run the following command in GShell:
> ----------------------------------
> MaYunFeng@IBM-9418A58D694:/> deploy/deploy H:/FTP_ROOT/Build/Pre-Version/sample_v
> 2.0.0.1_GM/200711082220GM/samples-2.0.0.1/applications/cviewer/target/cvie
> wer-2.0.0.1.war
> ----------------------------------
> Note that the command is broken into three lines, then using the "up" button to retrieve the previous commands
> and get the following result:
> ----------------------------------
> MaYunFeng@IBM-9418A58D694:/> deploy/deploy H:/FTP_ROOT/Build/Pre-Version/sample_V
> 2.0.0.1_GM/200711082220GM/samples-2.0.0.1/applications/cviewer/target/cvie
> quit
> ----------------------------------

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GSHELL-109) GShell fails to retrieve the previous commands if the command is too long

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/jira/browse/GSHELL-109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12590871#action_12590871 ]

Jason Dillon commented on GSHELL-109:
-------------------------------------

For example, this is what you entered in the issue:

{noformat}
MaYunFeng@IBM-9418A58D694:/> deploy/deploy H:/FTP_ROOT/Build/Pre-Version/sample_v
2.0.0.1_GM/200711082220GM/samples-2.0.0.1/applications/cviewer/target/cvie
wer-2.0.0.1.war
{noformat}

Which is 3 lines.  If it was 1 line it would look like:

{noformat}
MaYunFeng@IBM-9418A58D694:/> deploy/deploy H:/FTP_ROOT/Build/Pre-Version/sample_v2.0.0.1_GM/200711082220GM/samples-2.0.0.1/applications/cviewer/target/cviewer-2.0.0.1.war
{noformat}

> GShell fails to retrieve the previous commands if the command is too long
> -------------------------------------------------------------------------
>
>                 Key: GSHELL-109
>                 URL: https://issues.apache.org/jira/browse/GSHELL-109
>             Project: GShell
>          Issue Type: Bug
>      Security Level: public(Regular issues)
>          Components: CLI
>    Affects Versions: 1.0-alpha-2
>         Environment: Windows
>            Reporter: YunFeng Ma
>            Assignee: Jason Dillon
>             Fix For: 1.0-alpha-2
>
>
> Run the following command in GShell:
> ----------------------------------
> MaYunFeng@IBM-9418A58D694:/> deploy/deploy H:/FTP_ROOT/Build/Pre-Version/sample_v
> 2.0.0.1_GM/200711082220GM/samples-2.0.0.1/applications/cviewer/target/cvie
> wer-2.0.0.1.war
> ----------------------------------
> Note that the command is broken into three lines, then using the "up" button to retrieve the previous commands
> and get the following result:
> ----------------------------------
> MaYunFeng@IBM-9418A58D694:/> deploy/deploy H:/FTP_ROOT/Build/Pre-Version/sample_V
> 2.0.0.1_GM/200711082220GM/samples-2.0.0.1/applications/cviewer/target/cvie
> quit
> ----------------------------------

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (GSHELL-109) GShell fails to retrieve the previous commands if the command is too long

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ https://issues.apache.org/jira/browse/GSHELL-109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Dillon closed GSHELL-109.
-------------------------------

       Resolution: Invalid
    Fix Version/s:     (was: 1.0-alpha-2)

Based on its content, I do not believe this issue to be valid.

> GShell fails to retrieve the previous commands if the command is too long
> -------------------------------------------------------------------------
>
>                 Key: GSHELL-109
>                 URL: https://issues.apache.org/jira/browse/GSHELL-109
>             Project: GShell
>          Issue Type: Bug
>      Security Level: public(Regular issues)
>          Components: CLI
>    Affects Versions: 1.0-alpha-2
>         Environment: Windows
>            Reporter: YunFeng Ma
>            Assignee: Jason Dillon
>
> Run the following command in GShell:
> ----------------------------------
> MaYunFeng@IBM-9418A58D694:/> deploy/deploy H:/FTP_ROOT/Build/Pre-Version/sample_v
> 2.0.0.1_GM/200711082220GM/samples-2.0.0.1/applications/cviewer/target/cvie
> wer-2.0.0.1.war
> ----------------------------------
> Note that the command is broken into three lines, then using the "up" button to retrieve the previous commands
> and get the following result:
> ----------------------------------
> MaYunFeng@IBM-9418A58D694:/> deploy/deploy H:/FTP_ROOT/Build/Pre-Version/sample_V
> 2.0.0.1_GM/200711082220GM/samples-2.0.0.1/applications/cviewer/target/cvie
> quit
> ----------------------------------

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (GSHELL-109) GShell fails to retrieve the previous commands if the command is too long

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ https://issues.apache.org/jira/browse/GSHELL-109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Dillon reopened GSHELL-109:
---------------------------------


Looks like this is related to GSHELL-111

> GShell fails to retrieve the previous commands if the command is too long
> -------------------------------------------------------------------------
>
>                 Key: GSHELL-109
>                 URL: https://issues.apache.org/jira/browse/GSHELL-109
>             Project: GShell
>          Issue Type: Bug
>      Security Level: public(Regular issues)
>          Components: CLI
>    Affects Versions: 1.0-alpha-2
>         Environment: Windows
>            Reporter: YunFeng Ma
>            Assignee: Jason Dillon
>
> Run the following command in GShell:
> ----------------------------------
> MaYunFeng@IBM-9418A58D694:/> deploy/deploy H:/FTP_ROOT/Build/Pre-Version/sample_v
> 2.0.0.1_GM/200711082220GM/samples-2.0.0.1/applications/cviewer/target/cvie
> wer-2.0.0.1.war
> ----------------------------------
> Note that the command is broken into three lines, then using the "up" button to retrieve the previous commands
> and get the following result:
> ----------------------------------
> MaYunFeng@IBM-9418A58D694:/> deploy/deploy H:/FTP_ROOT/Build/Pre-Version/sample_V
> 2.0.0.1_GM/200711082220GM/samples-2.0.0.1/applications/cviewer/target/cvie
> quit
> ----------------------------------

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GSHELL-109) GShell fails to retrieve the previous commands if the command is too long

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ https://issues.apache.org/jira/browse/GSHELL-109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Dillon updated GSHELL-109:
--------------------------------

      Component/s:     (was: CLI)
                   Support - IO
                   JLine
    Fix Version/s: 1.0-alpha-3

> GShell fails to retrieve the previous commands if the command is too long
> -------------------------------------------------------------------------
>
>                 Key: GSHELL-109
>                 URL: https://issues.apache.org/jira/browse/GSHELL-109
>             Project: GShell
>          Issue Type: Bug
>      Security Level: public(Regular issues)
>          Components: JLine, Support - IO
>    Affects Versions: 1.0-alpha-2
>         Environment: Windows
>            Reporter: YunFeng Ma
>            Assignee: Jason Dillon
>             Fix For: 1.0-alpha-3
>
>
> Run the following command in GShell:
> ----------------------------------
> MaYunFeng@IBM-9418A58D694:/> deploy/deploy H:/FTP_ROOT/Build/Pre-Version/sample_v
> 2.0.0.1_GM/200711082220GM/samples-2.0.0.1/applications/cviewer/target/cvie
> wer-2.0.0.1.war
> ----------------------------------
> Note that the command is broken into three lines, then using the "up" button to retrieve the previous commands
> and get the following result:
> ----------------------------------
> MaYunFeng@IBM-9418A58D694:/> deploy/deploy H:/FTP_ROOT/Build/Pre-Version/sample_V
> 2.0.0.1_GM/200711082220GM/samples-2.0.0.1/applications/cviewer/target/cvie
> quit
> ----------------------------------

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

LightInTheBox - Buy quality products at wholesale price