-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathlchat.1
More file actions
116 lines (116 loc) · 2.07 KB
/
lchat.1
File metadata and controls
116 lines (116 loc) · 2.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
.Dd May 13, 2018
.Dt LCHAT 1
.Os
.Sh NAME
.Nm lchat
.Nd line chat
.Sh SYNOPSIS
.Nm
.Op Fl aeh
.Op Fl n Ar lines
.Op Fl p Ar prompt
.Op Fl t Ar title
.Op Fl i Ar in
.Op Fl o Ar out
.Op Fl m Ar mode
.Op directory
.Sh DESCRIPTION
The
.Nm
utility is a command line front end for ii-like chat programs.
It uses
.Xr tail 1
in the background to get output lines from
.Ar out .
.Nm
locates the
.Ar in
and
.Ar out
files inside of the
.Ar directory
path.
.sp 1
The options are as follows:
.Bl -tag -width Ds
.It Fl a
Turn off the bell on external line input.
.It Fl e
Allow to enter empty lines.
.It Fl h
Shows usage text.
.It Fl n Ar lines
Shows
.Ar lines
of chat history at startup.
.It Fl p Ar prompt
Use
.Ar prompt
as prompt for the input line.
.It Fl t Ar title
Use
.Ar title
as title for the terminal window.
In a
.Xr tmux 1
or
.Xr screen 1
environment its change the window name instead of the window title.
.It Fl i Ar in
Use path of
.Ar in
as in-file.
Default is 'in'.
This overrides
.Ar directory .
.It Fl o Ar out
Use path of
.Ar out
as out-file.
Default is 'out'.
This overrides
.Ar directory .
.It Fl m Ar mode
Use the specified
.Ar mode .
Currently, the only valid argument is
.Ar emacs .
See
.Sy MODES
for more information
.It Ar directory
Uses
.Ar directory
to search for in and out file.
Default path is the current working directory.
.El
.Sh FILES
.Bl -tag -width Ds
.It .bellmatch
contains regular expressions that controls bell ring on matching input.
.It .filter
If this file exists and has executable permissions, it is used as a filter
program for the output lines.
This program should read raw lines from stdin and outputs filtered or
transformed lines to stdout.
.It .prompt
contains the prompt string.
.It .title
contains the terminal window title.
.El
.Sh MODES
.Nm
is able to interpret keypresses differently depending on the mode it is
operating in. Each mode defines a set of keybindings and corresponding actions.
The mode cannot be changed while
.Nm
is running.
.Sh SEE ALSO
.Xr ii 1 ,
.Xr tail 1
.Sh AUTHORS
.An -nosplit
The
.Nm
program was written by
.An Jan Klemkow Aq Mt j.klemkow@wemelug.de .