home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.apps
- Path: sparky!uunet!portal!darla
- From: darla@shell.portal.com (Kuby Downs)
- Subject: Procom 4 Windows
- Message-ID: <C1At0q.4oo@unix.portal.com>
- Sender: news@unix.portal.com
- Nntp-Posting-Host: jobe
- Organization: Portal Communications Company
- X-Newsreader: TIN [version 1.1 PL7]
- Date: Sat, 23 Jan 1993 08:31:37 GMT
- Lines: 66
-
- Hi Brad,
-
- =>The messages come out double spaced no matter what we've tried.
-
- Here is a script by Chuck Soper that works for me.
-
- cut here---------------------------------------------------------------------------------
-
- ; VIPASTE.WAS v 1.00 Paste function for Unix hosts
- ;****************************************************************************
- ;* *
- ;* VIPASTE.WAS *
- ;* Copyright (C) 1992 Datastorm Technologies, Inc. *
- ;* All rights reserved. *
- ;* *
- ;* Purpose: Pastes the current contents of the Windows Clipboard to the *
- ;* terminal screen, stripping Line Feed characters. This is *
- ;* especially useful on Unix system. *
- ;* *
- ;* This ASPECT SCRIPT is intended only as a sample of ASPECT programming. *
- ;* DATASTORM makes no warranty of any kind, express or implied, including *
- ;* without limitation, any warranties of mechantability and/or fitness *
- ;* for a particular purpose. Use of this program is at your own risk. *
- ;* *
- ;* Author: Chuck Spohr *
- ;* *
- ;****************************************************************************
-
- proc main
- integer LFSetting
-
- cliptofile TEXT "\CLIPBRD.TMP" ; Capture clipboard text to a file
- fetch ascii upld_lf LFSetting ; Store current value before changing
- set ascii upld_lf STRIP ; Set Linefeed Strip option
- sendfile ascii "\CLIPBRD.TMP" ; ASCII upload the file
-
- delfile "\CLIPBRD.TMP" ; Clean up
-
- switch LFSetting ; Reset Line Feed traslation based on
- case 0 ; previously stored value
- set ascii upld_lf STRIP
- endcase
- case 1
- set ascii upld_lf CR_LF
- endcase
- case 2
- set ascii upld_lf LF
- endcase
- endswitch
- endproc
- cut here--------------------------------------------------------------------------------------------------------
-
- Just run this through the compiler and you should be all set. Works
- fine for me.
-
- ____
- / \__ Darla
- |\ / @ \
- \ \_______| \ .:|> Portal: darla@shell.portal.com
- \ ##| | \__/ darla@cup.portal.com
- | ####\__/ \ AOL: kuby2u@aol.com
- / / ## \| darlaiam@aol.com
- / /__________\ \ WIX: darla |GENIE: KUBY
- L_JJ \__JJ
-
-
-