📄 sample.conf
字号:
# Global options. Some of these options apply to the server
# itself. Options that are identical to port options define
# defaults that are applied to all ports.
# What TCP port should we listen on?
TCPPort = 2000
# Should we create a UUCP-style lock file for each port we open?
UUCPLock = Yes
# Define the default serial port settings for a newly-opened port.
Speed = 38400
DataBits = 8
Parity = None
StopBits = 1
# Do we want to use PAM-based authentication?
PAMAuth = No
# If we're using PAM-based authentication, what application
# name should we pass to PAM?
PAMAppName = Portserver
# Define a few groups
Group = Modems
Group = Terminals
Group = Printers
# Define a serial port called modem
Port = Modem
Description = External 33.6kbps Modem
# What device do we connect to?
Device = /dev/modem
# Is this port part of a group?
Group = Modems
# What are the initial settings on opening the port?
Speed = 38400
DataBits = 8
Parity = None
StopBits = 1
# Use UUCP-style lock file?
UUCPLock = Yes
# Use authentication on this port?
PAMAuth = No
# What app name for PAM?
PAMAppName = Portserver-Modem
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -