⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 config.h

📁 通过串口存取HP100LX/HP200LX 掌上型电脑上的文件
💻 H
字号:
/* --------------------------------------------------------------------
   Project: LX tools
   Module:  config.h
   Author:  A. Garzotto
   Started: 30. Nov. 95
   Subject: configuration specific  include file
   -------------------------------------------------------------------- */

/* This file contains constants that are system specific */


/* Set this to reflect the base name of the serial port devices */
/* (on a Sun, this is "/dev/tty") */

#define SERIAL_NAME "/dev/cua"


/* Set this to reflect the name of first serial device */
/* It will be concatenated with SERIAL_NAME to get the full */
/* name of the device. (on a Sun, this is 'a') */

#define SERIAL_FIRST '0'


/* Set this to reflect the stty command on your system */
/* %ld will be replaced by the baud rate and %s by the device name */
/* note that on some systems (e.g. Sun) stty works on the */
/* standard output and not on the standard input. Thus, it */
/* would be "stty pass8 raw crtscts %ld >%s". */

#define STTY_COMMAND "stty pass8 raw crtscts %ld <%s"


/* Set this to the desired default baud rate */

#define DEF_BAUD 38400


/* Set this to the number of seconds after which the connection */
/* is assumed to be broken */

#define TIMEOUT_NORMAL 8


/* Set this to the number of seconds after which we can assume */
/* connection did not work while trying to automagically       */
/* find the correct baud rate */

#define TIMEOUT_AUTO   1


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -