Operating System - HP-UX
1825771 Members
2320 Online
109687 Solutions
New Discussion

Command line with more than 255 chars

 
Joao Rei
Frequent Advisor

Command line with more than 255 chars

Hi,

Im trying to execute a shell command with more than 255 chars.

/opt/omni/bin/omnir -preview -filesystem ....
..... -target systemA


Is there any way to configure the input queue to accept more than 255 chars?

stty ?

Regards,

Joao Rei
2 REPLIES 2
OldSchool
Honored Contributor

Re: Command line with more than 255 chars

I take it you are constructing the command basically like what a language teacher would call a "run-on sentence", in that you just keep typing and let the line wrap.

try breaking it up using the "\" as a line continuation. something like this:

bfed# /opt/omni/bin/omnir -preview \
> -filesystem .......... \
> ................ \
> -target systemA

In this case, each backslash is followed by an "enter", the ">" is the second level prompt indicating that you can continue typing
Dennis Handly
Acclaimed Contributor

Re: Command line with more than 255 chars

>I'm trying to execute a shell command with more than 255 chars.

You only have this problem if you are trying to edit a line. Otherwise as OldSchool says, you can keep typing.