mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-02-03 09:44:24 -05:00
Clear PTT in ftn_init.
F10 to show SpecJT screen. Alt-F to toggle Freeze. Erase when changing modes. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@55 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
1d27cad645
commit
ff8579192c
@ -24,6 +24,7 @@ subroutine ftn_init
|
|||||||
include 'gcom3.f90'
|
include 'gcom3.f90'
|
||||||
include 'gcom4.f90'
|
include 'gcom4.f90'
|
||||||
|
|
||||||
|
i=ptt(nport,0,iptt) !Clear the PTT line
|
||||||
addpfx=' '
|
addpfx=' '
|
||||||
|
|
||||||
do i=80,1,-1
|
do i=80,1,-1
|
||||||
|
15
wsjt.py
15
wsjt.py
@ -96,7 +96,7 @@ g.mode=""
|
|||||||
g.ndevin=IntVar()
|
g.ndevin=IntVar()
|
||||||
g.ndevout=IntVar()
|
g.ndevout=IntVar()
|
||||||
#------------------------------------------------------ showspecjt
|
#------------------------------------------------------ showspecjt
|
||||||
def showspecjt():
|
def showspecjt(event=NONE):
|
||||||
g.showspecjt=1
|
g.showspecjt=1
|
||||||
|
|
||||||
#------------------------------------------------------ restart
|
#------------------------------------------------------ restart
|
||||||
@ -109,6 +109,10 @@ def restart2():
|
|||||||
Audio.gcom2.shok=ShOK.get()
|
Audio.gcom2.shok=ShOK.get()
|
||||||
Audio.gcom2.nrestart=1
|
Audio.gcom2.nrestart=1
|
||||||
|
|
||||||
|
#------------------------------------------------------ toggle_freeze
|
||||||
|
def toggle_freeze(event=NONE):
|
||||||
|
nfreeze.set(1-nfreeze.get())
|
||||||
|
|
||||||
#------------------------------------------------------ btx (1-6)
|
#------------------------------------------------------ btx (1-6)
|
||||||
def btx1(event=NONE):
|
def btx1(event=NONE):
|
||||||
ntx.set(1)
|
ntx.set(1)
|
||||||
@ -505,6 +509,7 @@ def ModeFSK441(event=NONE):
|
|||||||
inctol()
|
inctol()
|
||||||
ntx.set(1)
|
ntx.set(1)
|
||||||
GenStdMsgs()
|
GenStdMsgs()
|
||||||
|
erase()
|
||||||
|
|
||||||
#------------------------------------------------------ ModeJT65
|
#------------------------------------------------------ ModeJT65
|
||||||
def ModeJT65():
|
def ModeJT65():
|
||||||
@ -533,6 +538,7 @@ def ModeJT65():
|
|||||||
inctol()
|
inctol()
|
||||||
ntx.set(1)
|
ntx.set(1)
|
||||||
GenStdMsgs()
|
GenStdMsgs()
|
||||||
|
erase()
|
||||||
# graph2.pack_forget()
|
# graph2.pack_forget()
|
||||||
|
|
||||||
#------------------------------------------------------ ModeJT65A
|
#------------------------------------------------------ ModeJT65A
|
||||||
@ -572,6 +578,7 @@ def ModeJT6M(event=NONE):
|
|||||||
inctol()
|
inctol()
|
||||||
ntx.set(1)
|
ntx.set(1)
|
||||||
GenStdMsgs()
|
GenStdMsgs()
|
||||||
|
erase()
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------ ModeCW
|
#------------------------------------------------------ ModeCW
|
||||||
@ -592,6 +599,7 @@ def ModeCW(event=NONE):
|
|||||||
report.configure(state=NORMAL)
|
report.configure(state=NORMAL)
|
||||||
ntx.set(1)
|
ntx.set(1)
|
||||||
GenStdMsgs()
|
GenStdMsgs()
|
||||||
|
erase()
|
||||||
|
|
||||||
#------------------------------------------------------ ModeEcho
|
#------------------------------------------------------ ModeEcho
|
||||||
def ModeEcho(event=NONE):
|
def ModeEcho(event=NONE):
|
||||||
@ -653,10 +661,12 @@ Shift-F8 Set JT65B mode
|
|||||||
CTRL-F8 Set JT65C mode
|
CTRL-F8 Set JT65C mode
|
||||||
Shift-CTRL-F8 Set CW mode
|
Shift-CTRL-F8 Set CW mode
|
||||||
F9 Set EME Echo mode
|
F9 Set EME Echo mode
|
||||||
|
F10 Display waterfall screen
|
||||||
Alt-1 to Alt-6 Tx1 to Tx6
|
Alt-1 to Alt-6 Tx1 to Tx6
|
||||||
Alt-A Toggle Auto On/Off
|
Alt-A Toggle Auto On/Off
|
||||||
Alt-D Decode
|
Alt-D Decode
|
||||||
Alt-E Erase
|
Alt-E Erase
|
||||||
|
Alt-F Toggle Freeze
|
||||||
Alt-G Generate Standard Messages
|
Alt-G Generate Standard Messages
|
||||||
Alt-I Include
|
Alt-I Include
|
||||||
Alt-L Lookup
|
Alt-L Lookup
|
||||||
@ -1607,6 +1617,7 @@ root.bind_all('<Control-F8>', ModeJT65C)
|
|||||||
root.bind_all('<Shift-F7>', ModeJT6M)
|
root.bind_all('<Shift-F7>', ModeJT6M)
|
||||||
root.bind_all('<Shift-Control-F8>', ModeCW)
|
root.bind_all('<Shift-Control-F8>', ModeCW)
|
||||||
root.bind_all('<F9>', ModeEcho)
|
root.bind_all('<F9>', ModeEcho)
|
||||||
|
root.bind_all('<F10>', showspecjt)
|
||||||
|
|
||||||
root.bind_all('<Alt-Key-1>',btx1)
|
root.bind_all('<Alt-Key-1>',btx1)
|
||||||
root.bind_all('<Alt-Key-2>',btx2)
|
root.bind_all('<Alt-Key-2>',btx2)
|
||||||
@ -1623,6 +1634,8 @@ root.bind_all('<Alt-d>',decode)
|
|||||||
root.bind_all('<Alt-D>',decode)
|
root.bind_all('<Alt-D>',decode)
|
||||||
root.bind_all('<Alt-e>',erase)
|
root.bind_all('<Alt-e>',erase)
|
||||||
root.bind_all('<Alt-E>',erase)
|
root.bind_all('<Alt-E>',erase)
|
||||||
|
root.bind_all('<Alt-f>',toggle_freeze)
|
||||||
|
root.bind_all('<Alt-F>',toggle_freeze)
|
||||||
root.bind_all('<Alt-g>',GenStdMsgs)
|
root.bind_all('<Alt-g>',GenStdMsgs)
|
||||||
root.bind_all('<Alt-G>',GenStdMsgs)
|
root.bind_all('<Alt-G>',GenStdMsgs)
|
||||||
root.bind_all('<Alt-i>',decode_include)
|
root.bind_all('<Alt-i>',decode_include)
|
||||||
|
Loading…
Reference in New Issue
Block a user