Announcement

Collapse
No announcement yet.

Konsole line delay

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Konsole line delay

    How would I add a line return delay on pasting a script into Konsole. As soon as it sees a carriage return, it adds a 3 second delay.

    #2
    Re: Konsole line delay

    I'm a bit baffled by the wording of your question, but I'll give it a shot.

    Code:
    $ sleep --help
    Usage: sleep NUMBER[SUFFIX]...
     or: sleep OPTION
    Pause for NUMBER seconds. SUFFIX may be `s' for seconds (the default),
    `m' for minutes, `h' for hours or `d' for days. Unlike most implementations
    that require NUMBER be an integer, here NUMBER may be an arbitrary floating
    point number. Given two or more arguments, pause for the amount of time
    specified by the sum of their values.
    Welcome newbies!
    Verify the ISO
    Kubuntu's documentation

    Comment


      #3
      Re: Konsole line delay

      If you paste 500 lines of commands into a ssh session that originated in Konsole, it will paste everything faster than the session can handle it. If you slow the line return down, it gives the session a chance to swallow all of the commands.

      Comment


        #4
        Re: Konsole line delay

        Why would you want to paste 500 lines of commands into an ssh session? I would have thought that it would be much more efficient (if you do this more than once) to paste the commands into a script file, send the script as a file to the remote computer with sftp, send one command (with the name of the script), and then let the remote computer run them at its own pace.

        Comment

        Working...
        X