Because I use vi :P

Although it's nice to know that emacs does that, thanks.  Socat is
just what I need for history though.

Another related question to this is how to login to nscp, run a single
command, and then quit.  Netcat should be able to do this.

echo -e "nsadmin\r\npass\r\ncommand\r\nquit\r\n" | nc 127.0.0.1 9999

That command doesn't work though.  Anyone know how to do this?  Should
I try it with socat?

Nate

On Thu, 1 Jul 2004 00:57:33 +1000, Mark Aufflick <[EMAIL PROTECTED]> wrote:
>
> Why not run under a shell in emacs - better IMHO than readline (although
> as russm pointed out, socat is way cool).
>
>
> russm wrote:
>
> > I use the READLINE mode in socat (http://www.dest-unreach.org/socat/)
> > for this sort of thing, myself...
> >
> > socat READLINE TCP4:localhost:6767
> >
> >
> > On 29/06/2004, at 8:56 AM, Brett Schwarz wrote:
> >
> >> --- Dossy <[EMAIL PROTECTED]> wrote:
> >>
> >>> On 2004.06.28, Nathaniel Haggard
> >>> <[EMAIL PROTECTED]> wrote:
> >>>
> >>>> Is there command line history in the nscp module?
> >>>
> >>> If so how do I turn
> >>>
> >>>> it on?  What about tab auto completion.  I don't
> >>>
> >>> want to do any
> >>>
> >>>> unnecessary suffering.
> >>>
> >>>
> >>> No.  Readline support in nscp makes it overly
> >>> complex.  You may be
> >>> better off using an enhanced telnet client (most MUD
> >>> clients come to
> >>> mind) that offer things like history, tab
> >>> completion, etc.
> >>>
> >>
> >> tkcon might be able to help out too...
> >>
> >>
> >> --
> >> AOLserver - http://www.aolserver.com/
> >>
> >> To Remove yourself from this list, simply send an email to
> >> <[EMAIL PROTECTED]> with the
> >> body of "SIGNOFF AOLSERVER" in the email message. You can leave the
> >> Subject: field of your email blank.
> >>
> >
> >
> > --
> > AOLserver - http://www.aolserver.com/
> >
> > To Remove yourself from this list, simply send an email to
> > <[EMAIL PROTECTED]> with the
> > body of "SIGNOFF AOLSERVER" in the email message. You can leave the
> > Subject: field of your email blank.
> >
> > ========================================================================
> > Pain free spam & virus protection by:          www.mailsecurity.net.au
> > Forward undetected SPAM to:                   [EMAIL PROTECTED]
> > ========================================================================
> >
>
> ========================================================================
>  Pain free spam & virus protection by:          www.mailsecurity.net.au
>  Forward undetected SPAM to:                   [EMAIL PROTECTED]
> ========================================================================
>
>
>
>
> --
> AOLserver - http://www.aolserver.com/
>
> To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with 
> the
> body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field 
> of your email blank.
>


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of 
your email blank.

Reply via email to