📄 lxtools.1
字号:
.nr N -1.nr D 5.TH LXtools l Local.UC 4.SH NAMELX tools - a set of utilities to access files on the HP100LX/HP200LX palmtop computers.SH SYNOPSIS.B lxdir[<options>] [<directory name>|<file name>].br.B lxcopy[<options>] <source> {<source>} <destination>.br.B lxdel[<options>] <file name>.br.B lxmkdir[<options>] <directory name>.br.B lxrmdir[<options>] <directory name>.PPwhere <options> can be: [-1|-2|-3|-4] [-b <baud>].SH DESCRIPTION.\" This defines appropriate quote strings for nroff and troff.ds lq \&".ds rq \&".if t .ds lq ``.if t .ds rq ''.\" Just in case these number registers aren't set yet....if \nN==0 .nr N 10.if \nD==0 .nr D 5.ILXtoolsis a set of utilities that let you access files and directories on theHP100LX and HP200LX palmtop computers using a serial line. In order to usethe LX tools, you need to connect your palmtop with the Unix machine using aserial cable. Then, you have to launch Filer on the palmtop and adjust thecommunication options in the "Communications/Remote Settings..." dialogof Filer to 38400 baud, Com1 and server mode enabled. That's it..I lxdirdisplays the contents of a directory on the palmtop..I lxcopycopies one or more files from the Unix system to the palmtop orthe other way round..I lxdeldeletes a file on the palmtop..I lxmkdircreates a new directory on the palmtop. If you tell it to createa:/b/c/d/e/f and any of the directories b, c, d or e do not exist,it creates them on the fly..I lxrmdirdeletes a directory on the palmtop..SH OPTIONS.TP.B-1, -2, -3 and -4sets serial line 1, 2, 3 or 4, respectively. Default is -1..TP.B -b <baudrate>sets the baud rate to <baudrate>. Default is 38400..SH EXAMPLES.TP.Blxdir c:/_datdisplays the contents of the C:\\_DAT directory of the palmtop..TP.Blxdir "c:/_dat/*.env"displays all .ENV files in the C:\\_DAT directory. Note that quotesare needed so that the wildcards are not expanded locally..TP.Blxcopy a:/bin/gaga.com gugu.comcopies the file A:\\BIN\\GAGA.COM from the palmtop to the currentdirectory of the Linux system and names it 'gugu.com'.TP.Blxcopy a:/bin/gaga.com .copies the file A:\\BIN\\GAGA.COM from the palmtop to the currentdirectory of the Linux system and names it 'GAGA.COM'.TP.Blxcopy a:/bin .copies all files from the A:\\BIN directory of the palmtop tothe current directory on the Linux system..TP.Blxcopy "a:/bin/*.com" a:/util/gaga.exe /usr/local/testcopies all .COM files from the A:\\BIN directory of the palmtop andthe file A:\\UTIL\\GAGA.EXE to the /usr/local/test directory on theLinux system..TP.Blxcopy gaga.c a:/trash/gugu.ccopies the file gaga.c from the current directory of the Linuxsystem to A:\\TRASH\\GUGU.C on the palmtop..TP.Blxcopy gaga.c a:/trashcopies the file gaga.c from the current directory of the Linuxsystem to A:\\TRASH\\GAGA.C on the palmtop..TP.Blxcopy ../*.c *.c c:/srccopies all .c files in the current directory and the parent directoryof the Linux system to the C:\\SRC directory on the palmtop..TP.Blxdel c:/test.txtdeletes the file C:\\TEST.TXT..TP.Blxmkdir c:/guguscreates the directory C:\\GUGUS on the palmtop..TP.Blxrmdir c:/gugusdeletes the directory C:\\GUGUS on the palmtop..SH NOTESlxcopy finds out from where to where you want to copy bylooking for a ':' in the specified path. Therefore,a path on the LX must always have a drive specified..PP All path names use the '/' character. Do not use a '\\' even forfiles on the palmtop..PPIf you have problems with transfering files, you can try a lowerbaud rate. Set your palmtop, e.g., to 19200 baud and run theLX tools with the "-b 19200" option..SH DIAGNOSTICSIf you see the message "Cannot open /dev/cua0", most probably you have nopermissions to access the serial line device. It might be owned by root andhas read/write access only by the owner for security reasons. If you do notintend to use this serial port for logging in into your machine, just changethe permissions as root using: "chmod o+r+w /dev/cua0"..PPIf the serial port behaves "strangely", e.g. if the permissions suddenlyare altered again or the baud rate is reset automatically, you mostlikely have a "getty" running on the serial port. Check the file/etc/inittab or /etc/ttytab. You have to either stop getty running onthat port or choose a different port for the connection to the palmtop..SH BUGSUnknown. Probably none :-).SH TODOA recursive copy would be nice to have in order to producea backup with one command.Also a lxbackup would be a good idea. It would do the same thingas the recursive copy, but only transfer files that are modified..SH COPYRIGHTThe LX tools are copyrighted freeware (c) 1995 by Andreas GarzottoPortions Copyright, 1995, The PAL Group..SH ACKNOWLEDGMENTSI want to thank the contributors to the PAL (Palmtop ApplicationLibrary) who provided the basic routines the LX tools use. Aspecial thank to Harry Konstas who "hacked" the communicationformat the HP Filer application uses..PPAndreas Garzotto, December 1995
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -