Next: Configuration procedures, Previous: Procedures, Up: Procedures [Contents][Index]
Loads and evaluates filepath.scm from mentioned path or from ~/.freetalk/extensions/ or from /usr/share/freetalk/extensions/.
Example:
(ft-load "beep.scm")
Adds buddy into your contact list.
Example:
(ft-add-buddy! "friend@jabber.org")
Gets jabberid from the console.
Example:
(and (string=? (ft-get-jid) "") …)
Set defaultid as the Jabber ID to be used on the next connect.
Example:
(ft-set-jid! "harsha@jabber.org")
Gets the status of the connection from the server. 0 - Not connected. 1 - Connected, Not authenticated. 2 - Authenticated. (usable for IM)
Example:
(display (ft-get-conn-status))
Gets the currently set password.
Example:
(and (string=? (ft-get-password) …)
Get the servername configured for the next connection.
Example:
(and (string=? (ft-get-server) "") …)
Set the value such that login is in SSL mode or not.
Example:
(ft-set-sslconn! #t)
Set the value such that login is in TLS mode or not.
Example:
(ft-set-tlsconn! #t)
Sends message to the buddy.
Example:
(ft-send-message "harsha@jabber.org" "had breakfast? or was it lunch?")
Prints the message in the console. Unlike the display
primitive, this procedure takes care of printing message
asynchronously keeping the readline state as-is.
Example:
(ft-display ("I am proud of freetalk"))
Binds CTRL+ given char to arbitrary scm command. Allows for displaying roster or whatever by just pressing a key even during composition of new messages, keeping the readline state as-is.
Example:
(ft-bind-to-ctrl-key #\a "(/who \"all\")")
Next: Configuration procedures, Previous: Procedures, Up: Procedures [Contents][Index]