2015-07-26 11:16:05 +02:00
|
|
|
|
.\" # @configure_input@
|
2023-05-05 08:57:45 +02:00
|
|
|
|
.\"
|
2015-07-26 11:16:05 +02:00
|
|
|
|
.\" $Id$
|
|
|
|
|
.\" Copyright (c) 2005 G. Allen Morris III
|
2023-05-05 08:57:45 +02:00
|
|
|
|
.\"
|
2015-07-26 11:16:05 +02:00
|
|
|
|
.\" Permission is hereby granted, free of charge, to any person obtaining
|
|
|
|
|
.\" a copy of this software and associated documentation files (the
|
|
|
|
|
.\" "Software"), to deal in the Software without restriction, including
|
|
|
|
|
.\" without limitation the rights to use, copy, modify, merge, publish,
|
|
|
|
|
.\" distribute, sublicense, and/or sell copies of the Software, and to
|
|
|
|
|
.\" permit persons to whom the Software is furnished to do so, subject to
|
|
|
|
|
.\" the following conditions:
|
2023-05-05 08:57:45 +02:00
|
|
|
|
.\"
|
2015-07-26 11:16:05 +02:00
|
|
|
|
.\" The above copyright notice and this permission notice shall be included
|
|
|
|
|
.\" in all copies or substantial portions of the Software.
|
2023-05-05 08:57:45 +02:00
|
|
|
|
.\"
|
2015-07-26 11:16:05 +02:00
|
|
|
|
.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
|
|
|
.\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
|
|
|
.\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
|
|
|
.\" IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
|
|
|
|
.\" OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
|
|
|
|
.\" ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
|
|
|
.\" OTHER DEALINGS IN THE SOFTWARE.
|
2023-05-05 08:57:45 +02:00
|
|
|
|
.\"
|
2015-07-26 11:16:05 +02:00
|
|
|
|
.\" Except as contained in this notice, the name of the X Consortium shall
|
|
|
|
|
.\" not be used in advertising or otherwise to promote the sale, use or
|
|
|
|
|
.\" other dealings in this Software without prior written authorization
|
|
|
|
|
.\" from the X Consortium.
|
|
|
|
|
.\"
|
|
|
|
|
.\" $XFree86: xc/programs/xcalc/xcalc.man,v 1.5 2003/03/19 01:49:28 dawes Exp $
|
|
|
|
|
.\"
|
2023-09-20 11:17:53 +02:00
|
|
|
|
.de EX \"Begin example
|
2015-07-26 11:16:05 +02:00
|
|
|
|
.ne 5
|
|
|
|
|
.if n .sp 1
|
|
|
|
|
.if t .sp .5
|
|
|
|
|
.nf
|
|
|
|
|
.in +.5i
|
|
|
|
|
..
|
|
|
|
|
.de EE
|
|
|
|
|
.fi
|
|
|
|
|
.in -.5i
|
|
|
|
|
.if n .sp 1
|
|
|
|
|
.if t .sp .5
|
|
|
|
|
..
|
2023-09-14 16:25:33 +02:00
|
|
|
|
.TH X48NG 1 "14 September 2023" "Version @VERSION@" "X48NG Manual Pages"
|
2015-07-26 11:16:05 +02:00
|
|
|
|
.SH NAME
|
2023-09-14 16:25:33 +02:00
|
|
|
|
x48ng \- scientific calculator and an HP 48 emulator
|
2015-07-26 11:16:05 +02:00
|
|
|
|
.SH SYNOPSIS
|
2023-05-05 08:57:45 +02:00
|
|
|
|
.B x48ng
|
2023-09-14 16:25:33 +02:00
|
|
|
|
[\--options ...]
|
2015-07-26 11:16:05 +02:00
|
|
|
|
|
2023-09-27 16:26:27 +02:00
|
|
|
|
where options include (depending on compiled front-ends):
|
2015-07-26 11:16:05 +02:00
|
|
|
|
.br
|
2023-09-15 09:53:03 +02:00
|
|
|
|
\-h \-\-help what you are reading
|
2015-07-26 11:16:05 +02:00
|
|
|
|
.br
|
2023-09-15 09:53:03 +02:00
|
|
|
|
\-v \-\-version show version
|
2015-07-26 11:16:05 +02:00
|
|
|
|
.br
|
2023-10-01 12:47:42 +02:00
|
|
|
|
\-\-print\-config print configuration as config file
|
|
|
|
|
.br
|
|
|
|
|
\-c <path> \-\-config=<path> use <path> as x48ng's config file (default: ~/.config/x48ng/config.lua)
|
|
|
|
|
.br
|
|
|
|
|
\-\-config\-dir=<path> use <path> as x48ng's home (default: ~/.config/x48ng/)
|
2015-07-26 11:16:05 +02:00
|
|
|
|
.br
|
2023-11-01 17:46:01 +01:00
|
|
|
|
\-\-rom=<filename> use <filename> (absolute or relative to <config\-dir>) as ROM (default: rom)
|
2015-07-26 11:16:05 +02:00
|
|
|
|
.br
|
2023-11-01 17:46:01 +01:00
|
|
|
|
\-\-ram=<filename> use <filename> (absolute or relative to <config\-dir>) as RAM (default: ram)
|
2015-07-26 11:16:05 +02:00
|
|
|
|
.br
|
2023-11-01 17:46:01 +01:00
|
|
|
|
\-\-state=<filename> use <filename> (absolute or relative to <config\-dir>) as STATE (default: hp48)
|
2015-07-26 11:16:05 +02:00
|
|
|
|
.br
|
2023-11-01 17:46:01 +01:00
|
|
|
|
\-\-port1=<filename> use <filename> (absolute or relative to <config\-dir>) as PORT1 (default: port1)
|
2015-07-26 11:16:05 +02:00
|
|
|
|
.br
|
2023-11-01 17:46:01 +01:00
|
|
|
|
\-\-port2=<filename> use <filename> (absolute or relative to <config\-dir>) as PORT2 (default: port2)
|
2015-07-26 11:16:05 +02:00
|
|
|
|
.br
|
2023-09-15 09:53:03 +02:00
|
|
|
|
\-\-serial\-line=<path> use <path> as serial device default: /dev/ttyS0)
|
2015-07-26 11:16:05 +02:00
|
|
|
|
.br
|
2023-09-15 09:53:03 +02:00
|
|
|
|
\-V \-\-verbose be verbose (default: false)
|
2023-09-20 09:52:16 +02:00
|
|
|
|
.br
|
|
|
|
|
\-\-x11 use X11 front-end (default: true)
|
|
|
|
|
.br
|
2024-09-07 21:13:13 +02:00
|
|
|
|
\-\-sdl2 use SDL2 front-end (default: false)
|
|
|
|
|
.br
|
|
|
|
|
\-\-sdl use SDL front-end (DEPRECATED) (default: false)
|
2023-09-20 09:52:16 +02:00
|
|
|
|
.br
|
|
|
|
|
\-\-tui use terminal front-end (default: false)
|
2023-11-04 23:05:18 +01:00
|
|
|
|
.br
|
|
|
|
|
\-\-tui\-small use text small front-end (2×2 pixels per character) (default: false)
|
|
|
|
|
.br
|
|
|
|
|
\-\-tui\-tiny use text tiny front-end (2×2 pixels per character) (default: false)
|
2015-07-26 11:16:05 +02:00
|
|
|
|
.br
|
2023-10-01 12:47:42 +02:00
|
|
|
|
\-t \-\-terminal activate pseudo terminal interface (default: false)
|
2015-07-26 11:16:05 +02:00
|
|
|
|
.br
|
2023-10-01 12:47:42 +02:00
|
|
|
|
\-s \-\-serial activate serial interface (default: false)
|
2015-07-26 11:16:05 +02:00
|
|
|
|
.br
|
2023-10-01 12:47:42 +02:00
|
|
|
|
\-\-debug enable the debugger
|
2015-07-26 11:16:05 +02:00
|
|
|
|
.br
|
2023-09-15 09:53:03 +02:00
|
|
|
|
\-r \-\-reset perform a reset on startup
|
|
|
|
|
.br
|
|
|
|
|
\-T \-\-throttle try to emulate real speed (default: false)
|
2023-09-19 14:01:12 +02:00
|
|
|
|
.br
|
2023-10-01 12:47:42 +02:00
|
|
|
|
\-\-no\-chrome only display the LCD (default: false)
|
2023-09-19 14:01:12 +02:00
|
|
|
|
.br
|
2023-10-01 12:47:42 +02:00
|
|
|
|
\-\-fullscreen make the UI fullscreen (default: false)
|
2024-09-07 21:13:47 +02:00
|
|
|
|
.br
|
|
|
|
|
\-\-scale=<float> scale the SDL2 UI by <float>
|
2023-09-19 14:01:12 +02:00
|
|
|
|
.br
|
2023-10-01 12:47:42 +02:00
|
|
|
|
\-\-netbook make the UI horizontal (default: false)
|
2023-09-19 14:01:12 +02:00
|
|
|
|
.br
|
2023-10-01 12:47:42 +02:00
|
|
|
|
\-\-visual=<X visual> use visual <X visual> (default: default), possible values: <default | staticgray | staticcolor | truecolor | grayscale | pseudocolor | directcolor | 0xnn | nn>
|
2023-09-19 14:01:12 +02:00
|
|
|
|
.br
|
2023-10-01 12:47:42 +02:00
|
|
|
|
\-\-small\-font=<fontname> use <fontname> as small font
|
2023-09-19 14:01:12 +02:00
|
|
|
|
.br
|
2023-10-01 12:47:42 +02:00
|
|
|
|
\-\-medium\-font=<fontname> use <fontname> as medium font
|
2023-09-19 14:01:12 +02:00
|
|
|
|
.br
|
2023-10-01 12:47:42 +02:00
|
|
|
|
\-\-large\-font=<fontname> use <fontname> as large font
|
2023-09-20 11:17:53 +02:00
|
|
|
|
.br
|
2023-10-01 12:47:42 +02:00
|
|
|
|
\-\-connection\-font=<fontname> use <fontname> as connection font
|
2023-09-23 18:16:16 +02:00
|
|
|
|
.br
|
2023-09-26 13:16:53 +02:00
|
|
|
|
\-\-mono make the UI monochrome (default: false)
|
2023-09-23 18:16:16 +02:00
|
|
|
|
.br
|
2023-09-26 13:16:53 +02:00
|
|
|
|
\-\-gray make the UI grayscale (default: false)
|
2023-11-01 17:46:01 +01:00
|
|
|
|
.br
|
|
|
|
|
\-\-leave\-shift\-keys _not_ mapping the shift keys to let them free for numbers (default: false)
|
2024-04-02 16:16:29 +02:00
|
|
|
|
.br
|
|
|
|
|
\-\-inhibit\-shutdown __tentative fix for stuck-on-OFF bug__ (default: false)
|
2023-11-01 17:46:01 +01:00
|
|
|
|
|
2015-07-26 11:16:05 +02:00
|
|
|
|
|
|
|
|
|
.SH DESCRIPTION
|
2023-05-05 08:57:45 +02:00
|
|
|
|
.I x48ng
|
2015-07-26 11:16:05 +02:00
|
|
|
|
is a scientific calculator desktop accessory that emulate an HP\-48 SX
|
|
|
|
|
or an HP\-48 GX.
|
2023-09-14 16:25:33 +02:00
|
|
|
|
\" .SH OPTIONS
|
|
|
|
|
\" .PP
|
|
|
|
|
\" \fIx48ng\fP accepts all of the standard toolkit command line options along
|
|
|
|
|
\" with several additional options:
|
|
|
|
|
\" .PP
|
|
|
|
|
\" .TP 8
|
|
|
|
|
\" .B \-help
|
|
|
|
|
\" Show a list of options.
|
|
|
|
|
\" .PP
|
|
|
|
|
\" .TP 8
|
|
|
|
|
\" .B \-version
|
|
|
|
|
\" This causes x48ng to print a version number to the standard output.
|
|
|
|
|
\" .PP
|
|
|
|
|
\" .TP 8
|
|
|
|
|
\" .B \-iconic
|
|
|
|
|
\" Start iconic
|
|
|
|
|
\" .SH OPERATION
|
2015-07-26 11:16:05 +02:00
|
|
|
|
|
|
|
|
|
.PP
|
2023-05-05 08:57:45 +02:00
|
|
|
|
x48ng emulates an HP 48 calculator. This manual does not attempt to
|
2015-07-26 11:16:05 +02:00
|
|
|
|
describe the operation of the HP calulator, but only the user interface
|
|
|
|
|
to the emulator.
|
|
|
|
|
|
2023-09-14 16:25:33 +02:00
|
|
|
|
\" .I Pointer Usage:
|
|
|
|
|
\" When mouse button one is press on an x48ng key the key is depress until
|
|
|
|
|
\" the mouse button is released. If you wish to have more than one key
|
|
|
|
|
\" press at a time mouse button 3 may be used. Button pressed with mouse
|
|
|
|
|
\" button 3 will remain pressed until mouse button 1 is used. For example
|
|
|
|
|
\" to reset the calulator you can press the A key and the F key with mouse
|
|
|
|
|
\" button 3 and then press the on button with mouse button 1.
|
2015-07-26 11:16:05 +02:00
|
|
|
|
|
2023-09-14 16:25:33 +02:00
|
|
|
|
\" Mouse button 2 will paste the text in the cut buffer to the calculator
|
|
|
|
|
\" if it is press in the display area of the calculator. See notes on
|
|
|
|
|
\" pasting text into the calculator below.
|
2015-07-26 11:16:05 +02:00
|
|
|
|
|
2023-09-14 16:25:33 +02:00
|
|
|
|
\" Use of mouse elsewhere on the image of the calculator is undefined.
|
2015-07-26 11:16:05 +02:00
|
|
|
|
|
|
|
|
|
.SH ACCELERATORS
|
|
|
|
|
|
2023-05-05 08:57:45 +02:00
|
|
|
|
The keyboard may be used to input data into the x48ng.
|
2015-07-26 11:16:05 +02:00
|
|
|
|
The number keys on the keyboard coresponds to the number buttons on
|
|
|
|
|
the calaculator, and the alphbetic keys on the keyboard control the
|
|
|
|
|
buttons on the top half of the calculator and the @code{+/-} and
|
|
|
|
|
@code{EXX} keys.
|
|
|
|
|
|
|
|
|
|
The @code{ENTER} button is attached to the Enter key, the delete key
|
|
|
|
|
to the <-/DROP button and Divide, multiply, subtract and add buttons to
|
|
|
|
|
the /, *, -, and + keys on the key board.
|
|
|
|
|
|
2023-09-23 18:56:39 +02:00
|
|
|
|
.SH --tui SPECIAL KEYBINDINGS
|
|
|
|
|
|
|
|
|
|
I had to be a bit 'creative' mapping keys there:
|
|
|
|
|
|
|
|
|
|
- [On] is either [F4] or [Esc] or [Home] or [\\]
|
|
|
|
|
|
|
|
|
|
- [Left Shift] is either [F5] or [PgUp] or [[]
|
|
|
|
|
|
|
|
|
|
- [Right Shift] is either [F6] or [PgDn] or []]
|
|
|
|
|
|
|
|
|
|
- [Alpha] is either [F8] or [Ins] or [;]
|
|
|
|
|
|
|
|
|
|
To quit `x48ng --tui` use [F10] or [Shift+End] or [|]
|
|
|
|
|
|
|
|
|
|
|
2015-07-26 11:16:05 +02:00
|
|
|
|
.SH COLORS
|
2023-05-05 08:57:45 +02:00
|
|
|
|
The x48ng is trying to look like a particular device.
|
2015-07-26 11:16:05 +02:00
|
|
|
|
The colors are therefore not selectable.
|
|
|
|
|
.br
|
2023-09-14 16:25:33 +02:00
|
|
|
|
\" .SH "ENVIRONMENT"
|
|
|
|
|
\" XUSERFILESEARCHPATH
|
|
|
|
|
\" .SH "SEE ALSO"
|
|
|
|
|
\" X(7x), xrdb(1)
|
2015-07-26 11:16:05 +02:00
|
|
|
|
.SH BUGS
|
|
|
|
|
.PP
|
2023-05-05 08:57:45 +02:00
|
|
|
|
Bugs can be found and reported at: https://github.com/gwenhael-le-moine/x48ng
|
2015-07-26 11:16:05 +02:00
|
|
|
|
.SH COPYRIGHT
|
2023-09-14 16:25:33 +02:00
|
|
|
|
Copyright \(co 2023- Gwenhael Le Moine
|
2023-05-05 08:57:45 +02:00
|
|
|
|
.br
|
2023-09-20 10:34:27 +02:00
|
|
|
|
Copyright \(co 1994-2005 Eddie C. Dost
|
|
|
|
|
.br
|
2015-07-26 11:16:05 +02:00
|
|
|
|
This is free software; see the source for copying conditions. There is NO
|
|
|
|
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
|
.SH AUTHORS
|
2023-09-20 10:34:27 +02:00
|
|
|
|
Gwenhael Le Moine
|
|
|
|
|
.br
|
2015-07-26 11:16:05 +02:00
|
|
|
|
Eddie C. Dost
|
|
|
|
|
.br
|
|
|
|
|
G. Allen Morris III <gam3@gam3.net>
|