*BSD News Article 44020


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yarrina.connect.com.au!classic.iinet.com.au!news.uoknor.edu!ns1.nodak.edu!netnews.nwnet.net!reuter.cse.ogi.edu!uwm.edu!spool.mu.edu!agate!dog.ee.lbl.gov!news.cs.utah.edu!news.provo.novell.com!park.uvsc.edu!usenet
From: Terry Lambert <terry@cs.weber.edu>
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: need sx help..
Date: 9 May 1995 16:54:48 GMT
Organization: Utah Valley State College, Orem, Utah
Lines: 20
Message-ID: <3oo6oo$s00@park.uvsc.edu>
References: <3onc42$m15@uuneo.neosoft.com>
NNTP-Posting-Host: hecate.artisoft.com

thuy@starbase.neosoft.com (Thuy Mai) wrote:
>
> Iam using sx from rzsz package.  After each transfer finhished,
> I have to hit <enter> to get back to my prompt.  Is there anyway that
> I don't have to hit <enter> to complete my session?

Put a "sleep( 2);" before the exit() in the sx program.

That will keep the program you are using to talk to the machine
from eating the prompt.

Because it's the program on your end that's at fault -- it's not
like you can cause a shell to not emit a prompts when a program
exits, even if the program is sx.

                                        Terry Lambert
                                        terry@cs.weber.edu
---
Any opinions in this posting are my own and not those of my present
or previous employers.