S.U.P.E.R. Archivo HP 200LX
← Volver al catálogo

PAT (Play Alarm Tune)

Versión 1.0 · Gilles Kohl

Descargar 19.4 KB

Descripción

PAT is a utility that allows you to associate different tunes with different types of alarms. You can also assign special PCX files to be displayed for alarms of your choosing. Copyrighted freeware.

Ficha técnica

Fichero
pat.zip
Tamaño
19.4 KB
Formato
.zip
Año
1995
Alta en S.U.P.E.R.
1998-05-12
Ficheros dentro
16
Autor
Gilles Kohl
Ruta
anonftp/pub/pat.zip

Cómo instalarlo

Qué enviar al palmtop ahorras 13.9 KB

Estos son los ficheros que necesitas. Puedes enviarlos desde el contenido del paquete.

  • PAT.EXE → A:\SOFT programa de DOS 11.9 KB
  • PAT.CFG → A:\_DAT configuración 668 B

No hace falta llevar al palmtop PAT.DOC, BALLPARK.SND, BEEP.SND, BLOWIN.SND, BUMBLBEE.SND, GYMNO.SND, JAWS.SND, MORNRAIN.SND y 6 más: son manuales, código fuente o material de apoyo. Léelos aquí y ahórrate 13.9 KB en un disco de 1 MB.

Pasos
  1. Copia PAT.EXE a A:\SOFT. Son programas de DOS: se ejecutan desde el icono DOS, o añadiendo A:\SOFT al PATH de C:\AUTOEXEC.BAT para poder llamarlos por su nombre.
  2. Copia PAT.CFG a A:\_DAT, que es donde el 200LX busca la configuración. Ábrelo con Memo y ajústalo antes de usarlo.
  3. Si editas un fichero de configuración en el palmtop, asegúrate de dejar un salto de línea al final: hay programas que se comen la última línea sin avisar.

Deducido del contenido del paquete y de las convenciones del 200LX. Se instala en A: a propósito: C: es un disco RAM y cada byte ahí resta memoria al sistema.

Instrucciones del autor
Installation of PAT

To install PAT, create a subdirectory C:\PAT on your
palmtop, and copy all files of the distribution archive to
it using the connectivity pack, Eric Meyers ZIP, a terminal
program, KERMIT or other suitable means.  (Refer to your
documentation for instructions on how to transfer files to
your palmtop.)

If you're short on space, you can omit some of the .SND files,
and you don't need to copy the PAT.DOC file to the palmtop
either. While PAT.EXE is able to run stand-alone (it will use
built-in defaults then), you will probably want to copy its
PAT.CFG file too, since you can configure many of its features
in there.

You can of course also use another directory to store PAT -
remember to change references to C:\PAT in this
documentation and in the PAT.CFG file accordingly.


Customizing your PAT.CFG

The PAT.CFG file is where you define your customized
appointments. It is best explained using an example. Suppose
you want to create a new appointment type 'Staff meeting'.

First, open PAT.CFG using an editor - MEMO, for example.
Then, think of a name for this type of appointment. It has
to be one word and shouldn't be too long, so that you don't
need to type much when entering an appointment. Let's use
'Mtg' as a shorthand for now. You'd append a section for it
at the end of PAT.CFG, like so:

[Mtg]
Title   = ' Remember ... '
Message = ' Staff meeting in room 102 '
File    = C:\PAT\VICTORS.SND

The 'Title' setting controls the title of the message box
that PAT displays, and 'Message' defines its contents.
'File' tells PAT what sound to play when the appointment is
due. (See below for a description of .SND files)

If the tune you want to play is short, no need to create a
.SND file for it - you can directly specify it in the CFG
…

Extracto literal de PAT.DOC, tal cual venía en el paquete.

Enviar a mi palmtop

El palmtop tiene que quedar esperando antes de pulsar el botón, o la transferencia fallará. Es él quien avisa de que está listo, no al revés.

En el palmtop

  1. Conecta el cable serie entre el palmtop y el ordenador.
  2. Abre Data Comm y ve a Menu → Connect → Settings. Ajusta: 9600 baudios, 8 bits de datos, paridad None, 1 bit de parada.
  3. Vuelve al menú y entra en Menu → File → Receive, con el protocolo Zmodem. El palmtop se queda esperando: déjalo así.

En el ordenador

  1. Usa Chrome (o Edge / Opera). Firefox y Safari no pueden abrir el puerto serie, y ningún navegador móvil tampoco.
  2. Averigua cuál es tu puerto: si no lo tienes claro, despliega la ayuda de aquí abajo.
  3. Pulsa el botón y selecciónalo en la ventana que abre Chrome.
¿Cómo sé cuál es mi puerto?

Linux — tu adaptador USB-serie será /dev/ttyUSB0 o /dev/ttyACM0. Los /dev/ttyS0ttyS31 son puertos heredados de la placa base: el núcleo los lista aunque no exista ninguno, así que casi nunca son el tuyo. Para salir de dudas:

ls -l /dev/serial/by-id/

Sale el fabricante y el modelo, y a qué ttyUSB* apunta. Si no aparece nada, desenchufa y vuelve a enchufar el cable y mira dmesg | tail: verás una línea del estilo «ch341-uart converter now attached to ttyUSB0».

Permisos: en Debian y derivados tu usuario debe estar en el grupo dialout o el puerto no se abrirá. Compruébalo con groups, y si falta:

sudo usermod -aG dialout $USER

Hay que cerrar la sesión y volver a entrar para que surta efecto.

Windows — Administrador de dispositivos → Puertos (COM y LPT). Tu adaptador aparece como COM3, COM4… Si aparece con un triángulo amarillo, te falta el driver del chip (FTDI, Prolific o CH340 según el cable).

macOSls /dev/cu.*; tu adaptador será algo como /dev/cu.usbserial-A50285BI. Usa siempre el cu., no el tty..

El 200LX no lleva un conector serie estándar: necesitas el cable de conectividad de HP (el F1015A o un equivalente) y, salvo que tu ordenador tenga puerto serie de verdad, un adaptador USB-serie detrás.