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

CALVIN

Versión 2.2 · Paul Vojta

Descargar 36.9 KB

Descripción

Calvin is a DOS-based vi clone that works well on the on the HP 100/200LX. Freeware.

Ficha técnica

Fichero
calvin22.zip
Tamaño
36.9 KB
Formato
.zip
Año
1993
Alta en S.U.P.E.R.
1997-09-15
Ficheros dentro
3
Autor
Paul Vojta
Ruta
anonftp/pub/calvin22.zip

Cómo instalarlo

Qué enviar al palmtop ahorras 24.8 KB

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

  • VI.EXE → A:\SOFT programa de DOS 45.2 KB

No hace falta llevar al palmtop READ.ME, VI.DOC: son manuales, código fuente o material de apoyo. Léelos aquí y ahórrate 24.8 KB en un disco de 1 MB.

Pasos
  1. Copia VI.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.

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

	Installation is fairly straightforward; you should copy vi.exe into
	some directory mentioned on your PATH command.

	There is one catch, however.  If you want Calvin to use the disk to
	store information which does not fit into memory (i.e., long files),
	then you should tell it which drive and directory to use.  This can be
	done at any time using the :set directory command (see below).
	However, if you edit long files often, it would perhaps be most
	convenient to always set it when Calvin starts up.  This can be done by
	the DOS command line

		set EXINIT=set directory c:/tmp

	if, for example, you wanted to use c:/tmp as the temporary directory.
	This line can also be placed in the autoexec.bat file.


GETTING STARTED
	To edit an existing file, type

	vi name

	as a DOS command.  The first few lines of the file will then appear on
	the screen, and you may use any of the editing commands to modify it.
	For example:

		dw	    delete a word
		de	    delete a word, leaving punctuation
		dd	    delete a line
		3dd	    delete three lines
		itext<End>  insert text (note that <End> refers to the "End"
			    key on the numeric keypad)
		/string	    search for string
		xp	    transpose characters (actually two commands)

	In addition, all of the keys on the numeric keypad perform as labeled.
	When you are finished editing, type ZZ or ":x" to write the corrections
	to disk and quit.  If no corrections were made, then ZZ just quits.  To
	quit without saving corrections, use ":q!".

	If the file named in the DOS command "vi name" does not exist, Calvin
	starts with an empty file, into which text can be inserted.  This is
	how Calvin can be used to create a file.


EDITOR MODES
	Calvin has three modes, all of which occur in at least one of the above
…

Extracto literal de VI.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.