Subject: Strange Charater in Pico

From: Sharon Deng <[email-masked]>
Date: Fri, 30 Jul 1993 11:31:01 -0700 (PDT)

Hi, Dear Pine Group:

The following is part of our interactive menu for general users to use
Pico as editor.

   ls -1F
   echo "Enter the file name you want ot edit : "
   echo "   (hit return to create a new file)   "
   set filename = $<
   pico "${filename}"

If the user type a file name to edit a existing file, it works normal.  But
if the user hit return to create a new file, the Pico brings some strange
characters to the screen.  The strange characters are different every time
to the different users.  Could anybody tell me why it happened and how to
solve the problem?   Thank you very much.

Sharon Deng
Assistant Director			Internet: [email-masked]
Academic Computer Center			  [email-masked]
University of Redlands			   Phone: (909)793-2121 x.4963

---

From: David L Miller <[email-masked]>
Date: Fri, 30 Jul 1993 13:24:01 -0700 (PDT)

I am unable to duplicate this with any version of pico...

--
|\ |  |\/|  David L. Miller    [email-masked]  (206) 685-6240
|/ |_ |  |  Software Engineer, Pine Development Team   (206) 685-4045 (FAX)
University of Washington, Networks & Distributed Computing
4545 15th Ave NE, Seattle WA 98105, USA

---

From: "Isaias Callejas Mancilla." <[email-masked]>
Date: Fri, 30 Jul 1993 16:13:48 -0500 (CDT)

> solve the problem?   Thank you very much.
Hi Sharon,
	I did change the program to cshell and work very good..
look..

#      <<<=====  Line 1, Column 1.
   ls -1F
   echo "Enter the file name you want ot edit : "
   echo "   (hit return to create a new file)   "
   set filename = $<
   pico $filename   <<<==  variable changed

I hope to solution you'r problem...

===

Ernesto Isaias Callejas Mancilla.

Miembro del Grupo de Administradores del equipo Microvax 3400.
Departamento de Soporte a Sistemas IBM-DEC.
Coordinacion de Servicios de Computo. 
Direccion General de Servicios de Computo Academico.
Universidad Nacional Autonoma de Mexico.
Telefono  : 6 22 85 22

Internet  :  [email-masked]
Bitnet    :  [email-masked]

---

From: Sharon Deng <[email-masked]>
Date: Fri, 30 Jul 1993 16:15:03 -0700 (PDT)

On Fri, 30 Jul 1993, Isaias Callejas Mancilla. wrote:

> > The following is part of our interactive menu (in C Shell)for general
> > users to use Pico as editor.
> > 
> > #
> >    ls -1F

Hi, Ernesto Isaias Callejas Mancilla:
Thank you for your solution.  It works only when the file name has no
space between.  Our users like to have long name with spaces between.  I
change my code to the following ( it is a C Shell code).  Hope it will help
somebody has the same problem.

#
                ls -1F
                echo ""
                echo "Enter the file name you want to edit : "
                echo "   (hit return to create a new file)   "
                set filename = $<
                if "${filename}" == ""  then
                   pico
                else
                   pico "${filename}"
                endif

Thank you very much.

Sharon Deng